:root {
  --ink: #10252c;
  --ink-deep: #071820;
  --teal: #13766f;
  --teal-bright: #1fa693;
  --gold: #d1ad4f;
  --gold-soft: #f4e4af;
  --paper: #f5f7f5;
  --white: #ffffff;
  --muted: #667c7a;
  --line: #dbe4e0;
  --shadow: 0 28px 70px rgba(6, 28, 35, .17);
  --serif: "Marcellus", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 30; height: 82px; padding: 0 max(24px, 4vw);
  display: flex; align-items: center; justify-content: space-between; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.15); transition: background .25s, height .25s;
}
.site-header.scrolled { height: 70px; color: var(--ink); background: rgba(247,249,247,.94); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand span { display: grid; }
.brand strong { font-family: var(--serif); font-size: 19px; letter-spacing: 0; }
.brand small { color: var(--gold); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.desktop-nav { display: flex; gap: 32px; }
.desktop-nav a, .text-link { font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: right .2s; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.button { min-height: 50px; padding: 0 24px; border: 1px solid var(--gold); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--ink-deep); background: var(--gold); font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); background: #dfbd62; }
.button-small { min-height: 42px; padding: 0 18px; }
.button-ghost { color: var(--white); background: rgba(4,18,25,.25); border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.button-ghost:hover { color: var(--ink-deep); background: var(--white); }
.button-outline { color: var(--teal); background: transparent; border-color: var(--teal); }
.button-outline:hover { color: var(--white); background: var(--teal); }
.button-dark { color: var(--white); background: var(--ink-deep); border-color: var(--ink-deep); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; background: transparent; border: 0; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: currentColor; }
.mobile-nav { display: none; }

.hero { position: relative; height: min(900px, 92vh); min-height: 670px; overflow: hidden; color: var(--white); }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 15%; transform: scale(1.03); }
.hero-shade { background: linear-gradient(90deg, rgba(4,19,26,.96) 0%, rgba(4,19,26,.83) 40%, rgba(4,19,26,.35) 75%, rgba(4,19,26,.52) 100%), linear-gradient(0deg, rgba(4,19,26,.55), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); height: 100%; margin: auto; padding-top: 150px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(72px, 11vw, 164px); font-weight: 400; line-height: .92; }
.hero-lead { max-width: 710px; margin: 26px 0 34px; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.25; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 72px; display: flex; gap: 38px; color: rgba(255,255,255,.78); font-size: 13px; }
.hero-proof span { position: relative; padding-left: 18px; }
.hero-proof span::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; background: var(--teal-bright); border-radius: 50%; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; width: 30px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 13px; top: 10px; width: 3px; height: 8px; border-radius: 2px; background: var(--white); animation: scrollCue 1.7s infinite; }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(17px); opacity: 0; } }

.section { padding: 110px max(24px, 5vw); }
.section-intro { width: min(1320px, 100%); margin: 0 auto 58px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 70px; align-items: end; }
.section-intro h2, .pricing-heading h2, .faq-heading h2, .story h2, .final-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.5vw, 68px); font-weight: 400; line-height: 1.06; }
.section-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 18px; line-height: 1.65; }

.applications { background: var(--paper); }
.app-grid { width: min(1320px, 100%); margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.app-card { min-height: 430px; padding: 42px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.72); }
.app-card:nth-child(2n) { border-right: 0; }
.app-card:nth-child(n+3) { border-bottom: 0; }
.app-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.app-card-top img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }
.app-card-top span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.app-card h3 { margin: 30px 0 12px; font-family: var(--serif); font-size: 37px; font-weight: 400; }
.app-card p { max-width: 580px; margin: 0; color: var(--muted); line-height: 1.6; }
.app-card ul { margin: 24px 0 28px; padding: 0; display: grid; gap: 8px; list-style: none; }
.app-card li { position: relative; padding-left: 21px; font-size: 14px; }
.app-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 2px; background: var(--gold); }
.app-card > a { margin-top: auto; color: var(--teal); font-weight: 700; }
.app-card > a span { margin-left: 4px; }
.app-community { background: #f0faf7; }
.app-studio { background: #f5f0fa; }
.app-console { background: #eef3f4; }
.private-label { margin-top: auto; color: var(--muted); font-size: 13px; font-weight: 600; }

.experience { overflow: hidden; color: var(--white); background: var(--ink-deep); }
.section-intro.light > p { color: #a8b9b8; }
.device-stage { position: relative; width: min(1250px, 100%); height: 690px; margin: 30px auto 50px; }
.device { position: absolute; overflow: hidden; background: #101415; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.device .screen { overflow: hidden; background: #102235; }
.device .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.desktop-device { width: 78%; height: 510px; left: 2%; top: 20px; padding: 12px; border-radius: 12px; }
.desktop-bar { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 7px; color: #91a0a1; background: #202728; border-radius: 7px 7px 0 0; }
.desktop-bar i { width: 8px; height: 8px; border-radius: 50%; background: #667; }
.desktop-bar i:first-child { background: #d8706b; }.desktop-bar i:nth-child(2) { background: #d8af5c; }.desktop-bar i:nth-child(3) { background: #65aa7a; }
.desktop-bar span { margin-left: auto; margin-right: auto; font-size: 10px; }
.desktop-device .screen { height: calc(100% - 34px); }
.tablet-device { width: 46%; height: 470px; right: 2%; bottom: 5px; padding: 16px; border: 1px solid #3f4c4e; border-radius: 22px; transform: rotate(1deg); }
.tablet-device .screen { width: 100%; height: 100%; border-radius: 10px; }
.camera { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #3f4c4e; }
.phone-device { width: 190px; height: 390px; left: 3%; bottom: 0; padding: 10px; border: 1px solid #515b5d; border-radius: 30px; transform: rotate(-3deg); }
.phone-device .screen { width: 100%; height: 100%; border-radius: 22px; }
.phone-device .screen img { object-position: 49% top; }
.phone-speaker { position: absolute; z-index: 2; top: 7px; left: 50%; width: 44px; height: 5px; transform: translateX(-50%); border-radius: 6px; background: #333c3e; }
.experience-points { width: min(1250px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #33474c; }
.experience-points article { padding: 28px 32px 0 0; display: grid; gap: 9px; }
.experience-points strong { color: var(--gold); font-family: var(--serif); font-size: 21px; font-weight: 400; }
.experience-points span { color: #a8b9b8; line-height: 1.55; }

.story { width: 100%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: #e9efec; }
.story-copy { align-self: center; }
.story-copy > p:not(.eyebrow) { margin: 28px 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.journey { border-top: 1px solid #b9c8c3; }
.journey div { padding: 28px 0; display: grid; grid-template-columns: 58px 1fr; border-bottom: 1px solid #b9c8c3; }
.journey span { grid-row: 1 / 3; color: var(--gold); font-family: var(--serif); font-size: 24px; }
.journey strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.journey small { margin-top: 5px; color: var(--muted); font-size: 15px; }

.pricing { background: var(--white); }
.pricing-heading { max-width: 850px; margin: 0 auto 58px; text-align: center; }
.pricing-heading > p:last-child { color: var(--muted); }
.pricing-grid { width: min(1380px, 100%); margin: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.price-card { position: relative; min-height: 600px; padding: 34px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.price-card:last-child { border-right: 0; }
.price-card.featured { color: var(--white); background: var(--teal); transform: translateY(-18px); box-shadow: var(--shadow); }
.recommended { position: absolute; top: -32px; left: 0; right: 0; height: 32px; display: grid; place-items: center; color: var(--ink-deep); background: var(--gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.plan { font-family: var(--serif); font-size: 30px; }
.price-card > div > p { min-height: 72px; color: var(--muted); line-height: 1.5; }
.featured > div > p, .featured li { color: #d4e6e1; }
.price { min-height: 84px; margin: 18px 0; display: flex; align-items: center; gap: 12px; }
.price strong { font-family: var(--serif); font-size: 54px; font-weight: 400; }
.price span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.featured .price span { color: #d4e6e1; }
.price-card ul { min-height: 210px; margin: 0 0 28px; padding: 24px 0 0; display: grid; align-content: start; gap: 13px; border-top: 1px solid var(--line); list-style: none; }
.featured ul { border-color: rgba(255,255,255,.25); }
.price-card li { position: relative; padding-left: 21px; color: #425956; font-size: 14px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.featured li::before { color: var(--gold-soft); }
.price-card .button { margin-top: auto; }
.featured .button { color: var(--ink-deep); background: var(--gold); }
.custom .price strong { font-size: 37px; }
.pricing-note { margin: 42px 0 0; text-align: center; color: var(--muted); }
.pricing-note a { color: var(--teal); font-weight: 700; }

.faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; background: var(--paper); }
.faq-heading { position: sticky; top: 110px; align-self: start; }
.faq-list { border-top: 1px solid #b9c8c3; }
details { border-bottom: 1px solid #b9c8c3; }
summary { position: relative; padding: 28px 46px 28px 0; cursor: pointer; font-family: var(--serif); font-size: 23px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; top: 25px; color: var(--teal); font-family: var(--sans); font-size: 30px; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { margin: -7px 50px 28px 0; color: var(--muted); line-height: 1.65; }

.final-cta { padding: 90px max(24px, 6vw); display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; color: var(--white); background: var(--teal); }
.final-cta .eyebrow { color: var(--gold-soft); }
.final-cta > div:last-child { max-width: 500px; }
.final-cta > div:last-child p { margin: 0 0 28px; font-size: 18px; line-height: 1.6; }
footer { padding: 46px max(24px, 5vw); display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; color: var(--white); background: var(--ink-deep); }
.footer-links { display: flex; gap: 25px; font-size: 13px; }
footer > p { justify-self: end; color: #8fa2a3; font-size: 12px; }

@media (max-width: 1060px) {
  .desktop-nav, .text-link { display: none; }
  .menu-button { display: block; }
  .mobile-nav { position: fixed; z-index: 29; inset: 70px 0 auto; padding: 24px; display: grid; gap: 0; color: var(--white); background: var(--ink-deep); transform: translateY(-130%); transition: transform .25s; }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav a { padding: 15px 4px; border-bottom: 1px solid #2b4045; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .app-card:last-child { border-bottom: 0 !important; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { border-bottom: 1px solid var(--line); }
  .price-card:nth-child(2n) { border-right: 0; }
  .price-card.featured { transform: none; }
  .recommended { top: 0; height: 28px; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; }
  .header-actions .button { display: none; }
  .hero { height: 780px; min-height: 0; }
  .hero-media img { object-position: 58% top; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,19,26,.97) 0%, rgba(4,19,26,.84) 65%, rgba(4,19,26,.5) 100%); }
  .hero-content { width: calc(100% - 40px); padding-top: 92px; justify-content: flex-end; padding-bottom: 92px; }
  .hero h1 { font-size: clamp(56px, 18vw, 82px); }
  .hero-lead { margin: 20px 0 28px; font-size: 22px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-proof { margin-top: 36px; display: grid; gap: 12px; }
  .scroll-cue { display: none; }
  .section { padding: 76px 20px; }
  .section-intro { margin-bottom: 38px; grid-template-columns: 1fr; gap: 24px; }
  .section-intro h2, .pricing-heading h2, .faq-heading h2, .story h2, .final-cta h2 { font-size: 40px; }
  .app-card { min-height: 0; padding: 30px 24px; }
  .app-card h3 { font-size: 31px; }
  .device-stage { height: 530px; margin-bottom: 28px; }
  .desktop-device { width: 100%; height: 300px; left: 0; top: 0; }
  .tablet-device { width: 72%; height: 310px; right: -8%; bottom: 5px; }
  .phone-device { width: 132px; height: 275px; left: -1%; bottom: 0; padding: 7px; border-radius: 22px; }
  .experience-points { grid-template-columns: 1fr; }
  .experience-points article { padding: 24px 0; border-bottom: 1px solid #33474c; }
  .story { grid-template-columns: 1fr; gap: 55px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; border-right: 0; }
  .price-card > div > p, .price-card ul { min-height: 0; }
  .faq { grid-template-columns: 1fr; gap: 44px; }
  .faq-heading { position: static; }
  .final-cta { grid-template-columns: 1fr; gap: 36px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  footer > p { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
