:root {
  --orange: #f2b02c;
  --orange-deep: #e09a12;
  --orange-light: #f7c948;
  --gold-text: #8a6200;
  --black: #2a2a2e;
  --ink: #2a2a2e;
  --muted: #5f5f63;
  --line: #e6e4df;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --radius: 14px;
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 48px); margin: 0 auto; }
.section { padding: 96px 0; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Header */
.header { position: relative; z-index: 3; padding: 22px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; transition: opacity .2s; }
.logo:hover { opacity: .85; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.logo-text { display: flex; flex-direction: row; align-items: baseline; gap: 6px; line-height: 1; white-space: nowrap; }
.logo-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; }
.logo-tag { font-size: 1.35rem; font-weight: 300; letter-spacing: -0.02em; color: var(--orange-light); }
.nav { display: flex; gap: 28px; background: #fff; padding: 10px 26px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.nav a { color: rgba(17,17,17,.78); font-weight: 500; font-size: .98rem; transition: color .2s; }
.nav a:hover { color: var(--black); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.header .logo { color: var(--black); }
.header .logo-tag { color: var(--black); }
.header .logo-mark { filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background-color: #fff;
  background-image: linear-gradient(100deg, #fff 0 61%, var(--black) 61% 63%, var(--orange) 63% 100%);
}
.hero-bg { display: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .7; animation: drift 20s ease-in-out infinite alternate; }
.blob-1 { width: 560px; height: 560px; background: radial-gradient(circle, #ff8a2a 0%, rgba(255,138,42,0) 70%); top: -220px; right: -80px; }
.blob-2 { width: 480px; height: 480px; background: radial-gradient(circle, #ff6a00 0%, rgba(255,106,0,0) 70%); bottom: -240px; right: 20%; opacity: .6; animation-delay: -7s; }
.blob-3 { width: 420px; height: 420px; background: radial-gradient(circle, #ffc58f 0%, rgba(255,197,143,0) 70%); top: 30%; left: -180px; opacity: .5; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
  100% { transform: translate(40px, -20px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.hero-content { padding: 80px 0 120px; max-width: 600px; }
.h1-accent { color: var(--black); background: linear-gradient(transparent 64%, var(--orange) 64%, var(--orange) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-outline { border: 1.5px solid rgba(17,17,17,.85); color: var(--black); background: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 12.5px 30px; }
.btn-outline:hover { background: var(--black); color: #fff; transform: translateY(-2px); }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: flex-end; padding-top: 56px; }
.hero-visual::before {
  content: ""; position: absolute; width: 420px; height: 420px; bottom: 40px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 65%); pointer-events: none;
}
.phone {
  position: relative; width: 300px; height: 620px; margin-bottom: -110px;
  padding: 11px; border-radius: 48px; background: linear-gradient(145deg, #2b2b2b, #0c0c0c);
  box-shadow: 0 0 0 2px #3a3a3a inset, 0 40px 80px rgba(0,0,0,.3), 0 12px 24px rgba(0,0,0,.2);
}
.phone-screen { height: 100%; border-radius: 38px; overflow: hidden; background: #fafaf8; padding: 0 16px; color: var(--ink); font-size: 12px; line-height: 1.3; }
.ps-status { display: flex; align-items: center; justify-content: space-between; height: 44px; font-weight: 600; font-size: 13px; padding: 0 8px; }
.ps-island { width: 84px; height: 24px; border-radius: 20px; background: #0c0c0c; }
.ps-sys { display: flex; align-items: flex-end; gap: 2px; }
.ps-sys i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.ps-sys i:nth-child(1) { height: 5px; } .ps-sys i:nth-child(2) { height: 7px; } .ps-sys i:nth-child(3) { height: 9px; }
.ps-sys b { display: block; width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid var(--ink); margin-left: 5px; background: linear-gradient(90deg, var(--ink) 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.ps-top { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 14px; }
.sk { display: block; height: 8px; border-radius: 999px; background: #e4e2dd; }
.ps-lines .sk-sm { width: 58px; height: 7px; margin-bottom: 8px; }
.ps-lines .sk-lg { width: 112px; height: 13px; background: var(--ink); }
.sk-search { width: 92px; height: 7px; background: #e4e2dd; }
.ps-cart { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.ps-cart svg { width: 18px; height: 18px; }
.ps-cart em { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); color: var(--black); font-style: normal; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.ps-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid #ebe9e4; color: #8f8f94; }
.ps-search svg { width: 15px; height: 15px; }
.ps-chips { display: flex; gap: 6px; margin: 12px 0; }
.ps-chips span { display: block; width: 46px; height: 24px; border-radius: 999px; background: #fff; border: 1px solid #ebe9e4; }
.ps-chips span:nth-child(2) { width: 54px; } .ps-chips span:nth-child(3) { width: 60px; } .ps-chips span:nth-child(4) { width: 50px; }
.ps-chips .active { background: var(--black); border-color: var(--black); color: #fff; }
.ps-banner {
  position: relative; overflow: hidden; border-radius: 16px; padding: 14px 16px; color: #fff; margin-bottom: 14px;
  background: linear-gradient(120deg, var(--black) 0%, #3a3a40 100%);
}
.ps-banner::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -30px; top: -40px; background: var(--orange); opacity: .9; }
.ps-banner .sk { background: rgba(255,255,255,.55); }
.ps-banner .sk-b1 { width: 40px; height: 6px; margin-bottom: 9px; }
.ps-banner .sk-b2 { width: 132px; height: 11px; margin-bottom: 6px; background: rgba(255,255,255,.9); }
.ps-banner .sk-b3 { width: 94px; height: 11px; background: rgba(255,255,255,.9); }
.ps-banner-btn { display: block; width: 62px; height: 18px; border-radius: 999px; background: var(--orange); margin-top: 11px; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-item { background: #fff; border-radius: 14px; padding: 7px 7px 9px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.ps-thumb { display: block; position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ps-thumb::before, .ps-thumb::after { content: ""; position: absolute; }
.t1 { background: linear-gradient(160deg, #fdf6e3, #f7e4b0); }
.t1::before { width: 46%; height: 46%; left: 27%; top: 22%; border-radius: 50%; background: linear-gradient(135deg, var(--orange-light), var(--orange-deep)); box-shadow: 0 8px 14px rgba(224,154,18,.3); }
.t1::after { width: 46%; height: 7%; left: 27%; bottom: 14%; border-radius: 50%; background: rgba(120,90,10,.14); }
.t2 { background: linear-gradient(160deg, #2a2420, #111); }
.t2::before { width: 34%; height: 58%; left: 33%; top: 21%; border-radius: 999px 999px 10px 10px; background: linear-gradient(180deg, var(--orange-light), var(--orange)); }
.t3 { background: linear-gradient(160deg, #fbe7b0, #f2b02c); }
.t3::before { width: 44%; height: 44%; left: 28%; top: 28%; border-radius: 12px; background: #fff; transform: rotate(12deg); box-shadow: 0 8px 16px rgba(120,90,10,.18); }
.t4 { background: linear-gradient(160deg, #f7f6f2, #ebe9e4); }
.t4::before { width: 56%; height: 26%; left: 22%; top: 42%; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--orange-deep)); }
.t4::after { width: 18%; height: 18%; right: 20%; top: 18%; border-radius: 50%; background: var(--black); }
.sk-name { width: 78%; height: 8px; margin: 9px 2px 8px; }
.ps-row { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.ps-row .sk-price { width: 30px; height: 10px; background: var(--ink); }
.ps-row i { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: var(--black); font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 14px; line-height: 1; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--black); margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--orange); }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 800; margin-bottom: 22px; color: var(--black); }
.hero-sub { font-size: 1.15rem; color: #4a4a50; max-width: 580px; margin-bottom: 36px; }

.btn { display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.btn-primary { background: var(--orange); color: var(--black); box-shadow: 0 10px 26px rgba(242,176,44,.35); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(242,176,44,.45); }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
}
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; color: var(--black);
  background: var(--orange);
}
.card-icon svg { width: 24px; height: 24px; }

.about { background: var(--bg-soft); }

/* Reach */
.reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.reach-text p { color: var(--muted); font-size: 1.05rem; }
.reach-image img { width: 100%; height: auto; border-radius: var(--radius); background: #eee; box-shadow: 0 20px 50px rgba(0,0,0,.12); }

/* Careers */
.careers { background: linear-gradient(160deg, #232326 0%, var(--black) 60%, #34343a 100%); color: #fff; }
.careers .section-head p { color: rgba(255,255,255,.75); }
.sub-head { font-size: 1.3rem; margin-bottom: 24px; color: var(--orange-light); }
.card-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card-dark p { color: rgba(255,255,255,.72); }
@media (hover: hover) {
  .card-dark:hover { box-shadow: 0 14px 34px rgba(0,0,0,.4); }
}
.quote { margin: 56px 0 28px; padding-left: 24px; border-left: 3px solid var(--orange); max-width: 640px; }
.quote p { font-size: 1.2rem; font-style: italic; margin-bottom: 8px; }
.quote cite { font-style: normal; color: rgba(255,255,255,.65); font-size: .92rem; }
.careers-cta { color: rgba(255,255,255,.85); }
.careers-cta a { color: var(--orange-light); font-weight: 600; }
.careers-cta a:hover { text-decoration: underline; }

/* Terms (separate view, shown at #terms) */
.terms-page { display: none; background: #fff; }
.terms-page:target { display: block; }
body.terms-open .hero,
body.terms-open > .section { display: none; }
.terms-bar { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.terms-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; }
.terms-bar .logo { color: var(--black); }
.terms-bar .logo-tag { color: var(--black); }
.back-link { color: var(--gold-text); font-weight: 600; font-size: .95rem; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.terms-inner { max-width: 820px; padding: 64px 0 96px; }
.terms-inner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--black); margin-bottom: 28px; letter-spacing: .02em; }
.terms-inner h2 { font-size: 1.1rem; color: var(--black); margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); letter-spacing: .02em; }
.terms-inner p { color: var(--muted); font-size: .96rem; margin-bottom: 12px; }
.terms-inner p.sub { padding-left: 24px; }
.terms-inner p.caps { font-size: .88rem; }
.terms-inner .terms-address { color: var(--ink); padding: 14px 18px; border-left: 3px solid var(--orange); background: var(--bg-soft); border-radius: 0 8px 8px 0; }
.terms-inner a { color: var(--gold-text); word-break: break-word; }
.terms-inner a:hover { text-decoration: underline; }
.back-link-bottom { display: inline-block; margin-top: 32px; }

/* Footer */
.footer { background: #1f1f22; color: #fff; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 280px; font-size: .95rem; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-light); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.75); margin-bottom: 10px; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; color: rgba(255,255,255,.5); font-size: .88rem; }

/* Responsive */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .nav-toggle span { transition: none; }
  .nav.open { animation: none !important; }
}

/* Small laptops */
@media (max-width: 1100px) {
  .hero-grid { gap: 32px; }
  .reach-grid { gap: 48px; }
}

/* Tablet */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .nav { gap: 22px; padding: 9px 22px; }
  .hero { background-image: linear-gradient(180deg, #fff 0 calc(100% - 340px), var(--black) calc(100% - 340px) calc(100% - 334px), var(--orange) calc(100% - 334px) 100%); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding: 56px 0 8px; max-width: 640px; }
  .hero-visual { justify-content: center; padding-top: 48px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; max-width: 680px; gap: 16px; }
  .cards-3 .card { display: grid; grid-template-columns: 50px 1fr; column-gap: 20px; align-items: start; }
  .cards-3 .card .card-icon { grid-column: 1; grid-row: 1 / span 2; }
  .cards-3 .card h3, .cards-3 .card p { grid-column: 2; }
  .cards-3 .card h3 { margin: 2px 0 6px; }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .reach-grid { grid-template-columns: 1fr; gap: 40px; }
  .reach-text { max-width: 680px; }
  .quote { margin-top: 44px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 40px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p, .reach-text p { font-size: 1rem; }
  h2 { font-size: clamp(1.65rem, 7vw, 2rem); margin-bottom: 14px; }

  .header { padding: 14px 0; }
  .logo { gap: 10px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-name, .logo-tag { font-size: 1.2rem; }
  .nav-toggle { display: flex; width: 44px; height: 44px; margin-right: -8px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; padding: 4px 20px 12px; border-radius: 0;
    box-shadow: 0 16px 30px rgba(0,0,0,.12);
  }
  .nav.open { display: flex; animation: navIn .2s ease-out; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { text-decoration: none; }

  .hero { background-image: linear-gradient(180deg, #fff 0 calc(100% - 300px), var(--black) calc(100% - 300px) calc(100% - 294px), var(--orange) calc(100% - 294px) 100%); }
  .hero-content { padding: 32px 0 8px; }
  .eyebrow { font-size: .74rem; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); margin-bottom: 16px; }
  .hero-sub { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 15px 24px; }
  .hero-visual { padding-top: 40px; }
  .hero-visual::before { width: 320px; height: 320px; }
  .phone { width: 260px; height: 540px; margin-bottom: -150px; padding: 10px; border-radius: 44px; }
  .phone-screen { border-radius: 34px; padding: 0 13px; }

  .cards { gap: 14px; }
  .card { padding: 22px 20px; }
  .cards-3 .card { grid-template-columns: 44px 1fr; column-gap: 16px; }
  .card-icon { width: 44px; height: 44px; border-radius: 10px; }
  .card-icon svg { width: 22px; height: 22px; }
  .card h3 { margin: 14px 0 6px; }
  .cards-4, .cards-2 { grid-template-columns: 1fr; }
  .reach-grid { gap: 28px; }
  .sub-head { font-size: 1.15rem; margin-bottom: 18px; }
  .quote { margin: 40px 0 24px; padding-left: 18px; }
  .quote p { font-size: 1.08rem; }

  .terms-bar-inner { padding: 14px 0; flex-wrap: wrap; gap: 10px 16px; }
  .back-link { padding: 6px 0; white-space: nowrap; }
  .terms-inner { padding: 40px 0 64px; }
  .terms-inner h1 { font-size: 1.6rem; margin-bottom: 22px; }
  .terms-inner h2 { margin: 32px 0 12px; padding-top: 20px; }
  .terms-inner p.sub { padding-left: 14px; }
  .terms-inner p.caps { font-size: .82rem; }

  .footer { padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col a { padding: 6px 0; margin-bottom: 2px; }
}

/* Small phones */
@media (max-width: 380px) {
  .logo-name, .logo-tag { font-size: 1.1rem; }
  .phone { width: 236px; height: 490px; margin-bottom: -140px; }
  .ps-grid { gap: 8px; }
  .ps-banner .sk-b2 { width: 110px; }
}
