/* UBX website — styles.css */

:root {
  --navy: #1B2256;
  --navy-deep: #10153A;
  --navy-line: #3C4480;
  --gold: #C9A227;
  --gold-dark: #B8962E;
  --gold-light: #E3C65A;
  --cream: #F6F4EF;
  --line: #E8E6E0;
  --text: #1B2256;
  --muted: #44485F;
  --muted-2: #5B5F78;
  --muted-3: #6B6F8A;
  --on-navy: #C9CCE0;
  --on-navy-2: #A9AEC8;
  --green: #16A34A;
  --green-bg: #DCFCE7;
  --green-text: #15803D;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: 'Montserrat', 'DM Sans', sans-serif; margin: 0; line-height: 1.15; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 24px; border-radius: 6px;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border: 0;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #262e6e; color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); font-weight: 600; }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { display: block; }
.header-cta { font-size: 14px; min-height: 44px; padding: 10px 20px; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero .container { display: flex; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: 50px; font-weight: 700; line-height: 1.1; }
.hero .lead { color: var(--on-navy); font-size: 18px; max-width: 520px; }
.hero-media { flex: 0 1 520px; min-width: 0; }
.hero-media img { border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.waitlist-inline { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.waitlist-inline input { flex: 1 1 240px; min-width: 0; padding: 13px 16px; border-radius: 6px; border: 1px solid var(--navy-line); font: inherit; font-size: 15px; }
.price-pill {
  display: inline-flex; align-items: center; gap: 14px; align-self: flex-start;
  background: rgba(255,255,255,0.06); border: 1px solid var(--navy-line); border-radius: 10px; padding: 12px 18px;
}
.price-pill .label { font-size: 12px; color: var(--on-navy-2); text-transform: uppercase; letter-spacing: 0.08em; }
.price-pill .value { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; }
.price-pill .unit { font-size: 13px; color: var(--on-navy-2); }
.badge-live { font-size: 11px; font-weight: 600; color: var(--green-text); background: var(--green-bg); padding: 3px 9px; border-radius: 999px; }
.price-note { font-size: 12px; color: var(--on-navy-2); }

/* Trust strip */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }
.trust-item svg { flex-shrink: 0; }
.trust-item span { color: var(--muted-2); display: block; }

/* Generic sections */
.section { padding: 88px 0; }
.section-alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .eyebrow { color: var(--gold-light); }
.section-navy .lead { color: var(--on-navy); }
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.section-head.center { margin: 0 auto; text-align: center; align-items: center; }
.split { display: flex; gap: 72px; align-items: center; }
.split-copy { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split-media { flex: 0 1 360px; min-width: 0; }
.split-media.wide { flex-basis: 560px; }
.split-media.medium { flex-basis: 400px; }
.split-media img { border-radius: 12px; }
.split-media.shadow img { box-shadow: 0 20px 50px rgba(27,34,86,0.16); }

/* Why list */
.points { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 9px; flex-shrink: 0; }
.point strong { display: block; font-size: 16px; font-weight: 600; }
.point span { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* How it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 28px; height: 2px; background: #D9CDA3; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center; border: 4px solid var(--cream); box-sizing: content-box;
}
.step-num.gold { background: var(--gold); color: var(--navy); }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 240px; }
.steps-note { max-width: 760px; margin: 48px auto 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Products */
.product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-size: 15px; margin-top: 4px; }
.product-specs strong { display: block; font-weight: 600; }
.product-specs span { color: var(--muted-2); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.product-tile { display: flex; flex-direction: column; gap: 12px; font-weight: 600; font-size: 15px; }
.product-tile .frame { height: 250px; background: var(--cream); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.product-tile .frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; }

/* App */
.app-shot { max-width: 980px; margin: 48px auto 0; }
.app-shot img { border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.app-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1100px; margin: 48px auto 0; }
.app-features h3 { color: var(--gold-light); font-size: 16px; margin-bottom: 8px; }
.app-features p { font-size: 14px; line-height: 1.55; color: var(--on-navy); }
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.store-badge { border: 1px solid var(--navy-line); border-radius: 8px; padding: 10px 18px; font-size: 13px; color: var(--on-navy-2); min-height: 44px; display: inline-flex; align-items: center; }

/* Audience cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.card .eyebrow { color: var(--muted-2); letter-spacing: 0.08em; }
.card h3 { font-size: 21px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.compare strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* About */
.entities { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 36px; }
.entity { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; display: flex; gap: 16px; align-items: center; font-size: 13px; line-height: 1.45; color: var(--muted); }
.entity img { height: 36px; width: auto; }
.entity img.sm { height: 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.contact-details { border-top: 1px solid #E0DDD4; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.contact-details img { height: 42px; width: auto; align-self: flex-start; }
.contact-details address { font-style: normal; font-size: 15px; line-height: 1.55; color: var(--muted); }
.contact-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 15px; }
.contact-lines small { display: block; font-size: 11px; color: var(--muted-3); text-transform: uppercase; letter-spacing: 0.08em; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.form label { font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea { padding: 12px 14px; border: 1px solid #C8C5BC; border-radius: 6px; font: inherit; font-size: 15px; background: #fff; width: 100%; }
.form textarea { resize: vertical; }
.form .btn { margin-top: 6px; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: var(--green-text); }
.form-status.err { color: #B91C1C; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); }
.site-footer .container { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; font-size: 14px; line-height: 1.6; }
.footer-brand img { height: 36px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; align-self: flex-start; }
.footer-brand a { color: var(--gold-light); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { color: #fff; font-weight: 600; }
.footer-col a { color: var(--on-navy-2); }
.footer-col a:hover { color: #fff; }
.footer-rule { height: 1px; background: #2A3270; }
.footer-legal { font-size: 13px; line-height: 1.6; max-width: 1000px; }
.footer-copy { font-size: 13px; }

/* Legal pages */
.legal-page { padding: 72px 0; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 36px; margin-bottom: 8px; }
.legal-page .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 36px; }
.legal-page h2 { font-size: 22px; margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal-page ul { padding-left: 22px; margin: 8px 0 0; }
.legal-page li { margin-bottom: 6px; }

/* Responsive */
@media (max-width: 1024px) {
  h2 { font-size: 32px; }
  .hero h1 { font-size: 42px; }
  .trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .steps::before { display: none; }
  .product-grid, .app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { flex-wrap: wrap; gap: 40px; }
  .split-media, .split-media.wide, .split-media.medium { flex-basis: 100%; max-width: 560px; }
  .split-media.first { order: -1; }
  .entities { padding-top: 0; flex-basis: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  h2 { font-size: 28px; }
  .hero .container { flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-media { flex-basis: 100%; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .trust .container { grid-template-columns: 1fr; gap: 14px; }
  .steps, .product-grid, .app-features, .cards-3, .compare, .product-specs, .contact-lines { grid-template-columns: 1fr; }
  .product-tile .frame { height: 220px; }
  .form { padding: 24px; }
  .footer-cols { gap: 32px; }
}
