:root {
  --ink: #0b0c0d;
  --ink-soft: #151719;
  --ink-raised: #1b1d1f;
  --paper: #f6f3ea;
  --paper-soft: #ece8dd;
  --white: #ffffff;
  --yellow: #ffd11a;
  --yellow-deep: #eab900;
  --mint: #69d5a7;
  --coral: #ff656a;
  --muted: #8d8e88;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px;
  border-radius: 12px; background: var(--yellow); color: var(--ink); transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(11, 12, 13, .86); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 820; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.main-nav { display: flex; align-items: center; gap: 32px; color: #c5c5c0; font-size: 14px; font-weight: 650; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--white); }
.main-nav .nav-cta { padding: 11px 18px; border-radius: 999px; color: var(--ink); background: var(--yellow); }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform .2s ease; }

.hero { position: relative; overflow: hidden; padding: 162px 0 0; min-height: 860px; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 240px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.24)); pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .19; pointer-events: none; }
.hero-glow-one { width: 540px; height: 540px; background: var(--yellow); top: -240px; right: 2%; }
.hero-glow-two { width: 360px; height: 360px; background: #266b56; left: -180px; bottom: 80px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #a7a8a1; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 26px; height: 2px; background: var(--yellow); }
.eyebrow.light { color: rgba(11,12,13,.62); }
.eyebrow.light span { background: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0 24px; max-width: 770px; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.065em; font-weight: 860; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 650px; color: #b3b4af; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 30px; }
.button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px;
  padding: 0 22px; border: 1px solid transparent; border-radius: 15px; font-weight: 780;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px rgba(255,209,26,.12); }
.button-primary:hover { background: #ffda3f; box-shadow: 0 16px 36px rgba(255,209,26,.2); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.035); color: #e2e2df; }
.button-light { background: var(--ink); color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); border: 0; }
.button.full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; color: #858680; font-size: 12px; font-weight: 650; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(105,213,167,.09); }

.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 400px; height: 400px; border-color: rgba(255,209,26,.11); }
.phone {
  position: relative; overflow: hidden; padding: 7px; border-radius: 36px;
  background: #040505; border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow);
}
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; }
.phone-bar { position: absolute; z-index: 3; top: 14px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 99px; background: #010101; }
.phone-main { width: 286px; height: 590px; transform: rotate(1.8deg); z-index: 2; }
.floating-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; min-width: 220px;
  padding: 14px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: rgba(24,26,27,.9); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.34);
}
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: #81827d; font-size: 11px; }
.floating-card strong { font-size: 13px; }
.mini-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 900; }
.shield-icon { color: var(--ink); background: var(--yellow); }
.package-icon { color: #8dc2ff; background: #172c3e; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px rgba(105,213,167,.1); margin: 0 8px; }
.card-security { left: -20px; top: 120px; }
.card-delivery { right: -28px; top: 300px; }
.card-status { left: -16px; bottom: 70px; }
.proof-bar { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 65px; border: 1px solid var(--line); border-radius: 24px 24px 0 0; overflow: hidden; background: var(--line); }
.proof-bar > div { padding: 24px 28px; background: rgba(15,16,17,.92); }
.proof-bar strong, .proof-bar span { display: block; }
.proof-bar strong { margin-bottom: 5px; font-size: 15px; }
.proof-bar span { color: #858680; font-size: 12px; line-height: 1.5; }

.section { padding: 120px 0; }
.section-heading { max-width: 670px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section h2 { margin: 20px 0 22px; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.055em; }
.section-heading > p { color: #8e8f89; font-size: 18px; }
.problems { position: relative; background: var(--paper); color: var(--ink); }
.problems .eyebrow, .license-section .eyebrow { color: #76766f; }
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 58px; }
.feature-card { min-height: 330px; padding: 32px; border: 1px solid #dedacf; border-radius: var(--radius); background: rgba(255,255,255,.48); }
.feature-card-large { grid-row: span 2; min-height: 680px; display: flex; flex-direction: column; justify-content: space-between; }
.feature-number { color: #96948b; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature-card h3 { margin: 16px 0 12px; font-size: 30px; line-height: 1.1; letter-spacing: -.04em; }
.feature-card p { color: #66665f; }
.flow-demo { display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: center; gap: 10px; padding: 18px; border-radius: 18px; background: var(--ink); color: #a7a8a1; font-size: 12px; text-align: center; }
.flow-demo span { padding: 14px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; }
.flow-demo .active { color: var(--ink); background: var(--yellow); border-color: var(--yellow); font-weight: 800; }
.metric-mini { display: flex; align-items: flex-end; gap: 12px; margin-top: 34px; padding-top: 28px; border-top: 1px solid #ddd8cd; }
.metric-mini strong { font-size: 48px; letter-spacing: -.06em; line-height: 1; }
.metric-mini span { color: #7a7971; font-size: 13px; }
.pulse-line { position: relative; height: 65px; margin-top: 34px; overflow: hidden; }
.pulse-line::before { content: ""; position: absolute; top: 32px; left: 0; right: 0; height: 1px; background: #d3cfc5; }
.pulse-line span { position: absolute; left: 35%; top: 21px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 11px rgba(255,101,106,.12); }

.roles-section { background: var(--ink); }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.role-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-soft); }
.role-card.management { border-color: rgba(255,209,26,.34); background: linear-gradient(145deg, rgba(255,209,26,.11), var(--ink-soft) 52%); }
.role-top { display: flex; justify-content: space-between; align-items: center; }
.role-tag { padding: 7px 10px; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.role-tag.free { color: var(--mint); background: rgba(105,213,167,.1); }
.role-index { color: #555752; font-size: 12px; font-weight: 800; }
.role-card h3 { margin: 38px 0 7px; font-size: 28px; letter-spacing: -.04em; }
.role-card > p { color: #858680; }
.role-card ul, .license-card ul { list-style: none; padding: 0; margin: 28px 0 0; }
.role-card li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); color: #c3c4bf; font-size: 14px; }

.product-section { overflow: hidden; background: #101213; }
.product-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.product-copy > p { color: #92938d; font-size: 18px; }
.product-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 42px; }
.product-points strong, .product-points span { display: block; }
.product-points strong { color: var(--yellow); font-size: 25px; }
.product-points span { color: #777873; font-size: 11px; }
.screen-stage { position: relative; min-height: 700px; }
.screen-stage::before { content: ""; position: absolute; inset: 10% 3%; border-radius: 50%; background: rgba(255,209,26,.09); filter: blur(75px); }
.phone-left, .phone-right { position: absolute; width: 300px; height: 650px; }
.phone-left { left: 4%; top: 25px; transform: rotate(-5deg); }
.phone-right { right: 2%; top: 10px; transform: rotate(6deg); }

.apple-section { padding-top: 0; background: #101213; }
.apple-card { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 54px; border-radius: 34px; color: var(--ink); background: var(--yellow); }
.apple-copy { display: flex; align-items: flex-start; gap: 30px; max-width: 780px; }
.apple-mark { flex: 0 0 auto; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--ink); }
.apple-mark svg { width: 38px; height: 38px; fill: var(--white); }
.apple-copy h2 { margin: 14px 0 14px; font-size: clamp(35px, 4vw, 52px); }
.apple-copy p { margin-bottom: 0; color: rgba(11,12,13,.66); }
.apple-actions { flex: 0 0 215px; text-align: center; }
.apple-actions small { display: block; margin-top: 12px; color: rgba(11,12,13,.55); font-size: 10px; line-height: 1.5; }

.license-section { color: var(--ink); background: var(--paper); }
.license-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: center; }
.license-card { padding: 38px; border-radius: 30px; color: var(--white); background: var(--ink); box-shadow: 0 35px 70px rgba(28,25,15,.14); }
.license-head { display: flex; justify-content: space-between; align-items: center; color: #c9c9c5; font-size: 13px; font-weight: 750; }
.recommended { padding: 7px 10px; border-radius: 99px; color: var(--ink); background: var(--yellow); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.price-line { margin: 35px 0 25px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price-line strong, .price-line span { display: block; }
.price-line strong { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.05em; }
.price-line span { color: #777873; font-size: 13px; }
.license-card li { display: flex; gap: 11px; padding: 10px 0; color: #c6c7c2; font-size: 14px; }
.license-card li span { color: var(--yellow); }
.license-card .button { margin-top: 28px; }
.license-card > small { display: block; margin-top: 14px; color: #686a66; font-size: 10px; text-align: center; }

.faq-section { background: var(--paper-soft); color: var(--ink); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.faq-section .eyebrow { color: #77766e; }
.faq-list details { border-top: 1px solid #d3cec2; }
.faq-list details:last-child { border-bottom: 1px solid #d3cec2; }
.faq-list summary { position: relative; padding: 24px 40px 24px 0; list-style: none; cursor: pointer; font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 21px; font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 40px 22px 0; color: #696860; }

.demo-section { background: var(--ink); }
.demo-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 60px; border-radius: 36px; color: var(--ink); background: var(--yellow); }
.demo-copy h2 { margin: 18px 0; font-size: clamp(42px, 5vw, 64px); }
.demo-copy p { color: rgba(11,12,13,.64); font-size: 17px; }
.demo-form { padding: 28px; border-radius: 24px; background: var(--paper); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form label { display: block; margin-bottom: 12px; }
.demo-form label > span { display: block; margin: 0 0 6px 3px; color: #67675f; font-size: 11px; font-weight: 750; }
.demo-form input, .demo-form textarea { width: 100%; border: 1px solid #d7d2c6; border-radius: 12px; outline: none; background: var(--white); color: var(--ink); padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.demo-form textarea { resize: vertical; }
.demo-form input:focus, .demo-form textarea:focus { border-color: #a78300; box-shadow: 0 0 0 3px rgba(167,131,0,.11); }
.form-note { margin: 12px 2px 0; color: #77766f; font-size: 10px; text-align: center; }

.site-footer { padding: 46px 0; border-top: 1px solid var(--line); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.site-footer p { margin: 12px 0 0; color: #666862; font-size: 12px; }
.footer-links { display: flex; gap: 24px; color: #9a9b95; font-size: 12px; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 1020px) {
  .hero-grid, .product-grid, .license-grid, .demo-card { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .trust-row { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { margin-top: 20px; }
  .product-grid, .license-grid, .demo-card { gap: 54px; }
  .product-copy { max-width: 700px; }
  .apple-card { align-items: flex-start; flex-direction: column; }
  .apple-actions { flex-basis: auto; text-align: left; }
}

@media (max-width: 780px) {
  :root { --container: min(100% - 28px, 680px); --radius: 22px; }
  .nav-wrap { height: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 72px 14px auto; display: grid; gap: 0; padding: 12px;
    border: 1px solid var(--line); border-radius: 20px; background: rgba(20,22,23,.98);
    opacity: 0; transform: translateY(-12px); pointer-events: none; transition: .2s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px; }
  .main-nav .nav-cta { margin-top: 6px; text-align: center; }
  .hero { padding-top: 128px; }
  h1 { font-size: clamp(45px, 13vw, 66px); }
  .hero-grid { gap: 28px; }
  .hero-visual { min-height: 520px; transform: scale(.88); margin: -12px 0 -30px; }
  .phone-main { width: 260px; height: 540px; }
  .card-security { left: -5%; }
  .card-delivery { right: -9%; }
  .card-status { left: -5%; bottom: 34px; }
  .proof-bar { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; }
  .section { padding: 86px 0; }
  .feature-grid, .roles-grid, .faq-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-row: auto; min-height: 520px; }
  .roles-grid { gap: 12px; }
  .screen-stage { min-height: 590px; transform: scale(.86); margin: -30px -40px -70px; }
  .phone-left, .phone-right { width: 270px; height: 590px; }
  .apple-card { padding: 34px 24px; }
  .apple-copy { display: block; }
  .apple-mark { margin-bottom: 26px; }
  .demo-card { padding: 30px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-row { display: grid; justify-content: start; width: fit-content; margin-inline: auto; }
  .hero-visual { transform: scale(.74); margin: -60px -85px -90px; }
  .floating-card { min-width: 205px; }
  .feature-card { padding: 24px; }
  .flow-demo { grid-template-columns: 1fr; }
  .flow-demo i { transform: rotate(90deg); }
  .product-points { grid-template-columns: 1fr; }
  .screen-stage { transform: scale(.68); margin: -95px -135px -145px; }
  .apple-copy h2 { font-size: 36px; }
  .license-card { padding: 28px 22px; }
}

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