/* NVX Studio marketing homepage. Builds on the tokens in styles.css. */

/* Glows extend past the edges; clip them per section so phones don't get a wider-than-screen page. */
.home section { position: relative; overflow-x: clip; }
.home .wrap { width: min(1160px, 100% - 32px); }

/* Soft colour glows behind sections */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; z-index: 0; }
.glow.peach { background: #ffd2b0; }
.glow.lilac { background: #e2d6ff; }
.glow.mint { background: #cdeee0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .glow { opacity: 0.12; }
}

/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav > .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-nav .links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 550; color: var(--ink-2); }
.site-nav .links a { text-decoration: none; }
.site-nav .links a:hover, .menu-trigger:hover, .menu-trigger[aria-expanded='true'] { color: var(--ink); }
.site-nav .actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.burger { display: none; width: 40px; padding: 0; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .site-nav .links { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 420px) { .site-nav .signin { display: none; } }

/* Solutions mega-menu */
.menu { position: relative; }
.menu-trigger { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 8px 0; cursor: pointer; font-weight: 550; color: var(--ink-2); }
.menu-trigger svg { width: 15px; height: 15px; transition: transform 0.2s; }
.menu-trigger[aria-expanded='true'] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: -24px; width: min(860px, calc(100vw - 48px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgb(40 30 20 / 0.3);
  animation: mega-in 0.16s ease-out;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega-col { display: grid; gap: 2px; align-content: start; }
.mega-col .eyebrow { padding: 0 10px 8px; }
.mega-link { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega-link:hover, .mega-link:focus-visible { background: var(--surface-2); }
.mega-link b { display: block; font-size: 14px; font-weight: 600; }
.mega-link small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.mega-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mega-icon svg { width: 18px; height: 18px; }

/* Mobile menu */
/* 100dvh is the screen height actually visible (100vh would hide the end of the menu behind a phone's address bar) */
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mobile-menu .wrap { display: grid; gap: 20px; padding: 18px 0 calc(40px + env(safe-area-inset-bottom)); }
.mobile-plain { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
/* Phone menu app icons: a white glyph on a coloured tile (colours set per icon in site.js) */
.app-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 6px 14px -8px var(--c2);
}
.app-icon svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.14)); }
.mobile-plain .app-icon { width: 34px; height: 34px; border-radius: 10px; }
.mobile-plain .app-icon svg { width: 19px; height: 19px; }
.mobile-menu .mega-link:active .app-icon, .mobile-plain:active .app-icon { transform: scale(0.94); }
.app-icon { transition: transform 0.15s ease; }
.mobile-plain:hover { background: var(--surface-2); }
body.menu-open { overflow: hidden; }
/* Phone menu animation: panel drops in, links cascade, icon spins; reversed on close */
.mobile-menu:not([hidden]) { animation: menu-in 0.34s cubic-bezier(.2,.8,.2,1); transform-origin: top center; }
.mobile-menu.closing { animation: menu-out 0.22s ease-in forwards; pointer-events: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-14px) scaleY(0.96); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-10px) scaleY(0.97); } }
.mobile-menu:not(.closing) :is(.eyebrow, .mega-link, .mobile-plain) { animation: item-in 0.42s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 28ms + 70ms); }
@keyframes item-in { from { opacity: 0; transform: translateX(-12px); } }
.burger svg { transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.burger[aria-expanded='true'] svg { transform: rotate(90deg); }
.site-nav:has(.mobile-menu:not([hidden])) { border-bottom-color: var(--line); background: var(--bg); }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu:not([hidden]), .mobile-menu.closing, .mobile-menu :is(.eyebrow, .mega-link, .mobile-plain) { animation: none; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* Hero */
.hero-home { padding: 72px 0 40px; text-align: center; }
.hero-home .glow.peach { width: 520px; height: 420px; left: -120px; top: -60px; }
.hero-home .glow.lilac { width: 560px; height: 460px; right: -160px; top: 40px; }
.hero-home .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; animation: pulse 1.6s infinite; }
.hero-home h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em; max-width: 920px; }
.hero-home h1 em { font-style: italic; color: var(--accent); }
.hero-home .lede { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 640px; margin: 0; }
.feature-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 14px; color: var(--ink-2); max-width: 760px; }
.feature-line span::after { content: '·'; margin-left: 14px; color: var(--ink-3); }
.feature-line span:last-child::after { content: none; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.trust { font-size: 13px; color: var(--ink-3); }

/* Browser mockup */
.mock-browser { width: min(1040px, 100%); margin-top: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgb(60 40 20 / 0.35); overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-url { margin: 0 auto; padding: 5px 16px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.mock-body { display: grid; grid-template-columns: 1fr 260px; min-height: 380px; }
.mock-gallery { padding: 18px; display: grid; gap: 12px; align-content: start; }
.mock-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mock-gallery-head strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.mock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-grid .ph { aspect-ratio: 1 / 1; border-radius: 8px; position: relative; overflow: hidden; }
.mock-grid .ph.new { animation: drop-in 0.7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
.mock-side { border-left: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; align-content: start; background: var(--bg); }
.mock-stat { display: grid; gap: 2px; }
.mock-stat b { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-stat span { font-size: 12px; color: var(--ink-3); }
.mock-qr { width: 96px; aspect-ratio: 1; border-radius: 10px; background:
  conic-gradient(from 90deg at 30% 30%, var(--ink) 25%, transparent 0) 0 0 / 14px 14px,
  var(--surface); border: 6px solid var(--surface); outline: 1px solid var(--line); }
@media (max-width: 760px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
  .mock-side .mock-qr, .mock-side .faint { display: none; }
  .mock-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Photo placeholders: warm event-light gradients with a soft figure, no stock imagery */
.ph { background: linear-gradient(160deg, var(--a), var(--b)); }
.ph::after { content: ''; position: absolute; left: 50%; bottom: -12%; width: 58%; aspect-ratio: 1 / 1.25; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 22%, rgb(255 255 255 / 0.55) 0 16%, transparent 17%), radial-gradient(ellipse at 50% 92%, rgb(255 255 255 / 0.4) 0 48%, transparent 49%); }
.ph.wide::after { width: 36%; left: 35%; box-shadow: 70px 0 0 -2px transparent; }
.t1 { --a: #f6c27a; --b: #c2582b; } .t2 { --a: #f3a6a0; --b: #8e3b5c; } .t3 { --a: #b6d7f2; --b: #3f5d8f; }
.t4 { --a: #f5e2b8; --b: #b0844a; } .t5 { --a: #cbb7f0; --b: #5a3f8f; } .t6 { --a: #a8e0c9; --b: #2e6b5a; }
.t7 { --a: #ffd1a6; --b: #d4693a; } .t8 { --a: #e8c4d8; --b: #7d4a6c; }

/* AI-generated event photos (illustrative, not real customers). Replace any .ph placeholder. */
.photo { background: var(--b, #3a2a1f) var(--img) center / cover no-repeat; }
.photo::after { display: none; }
.p-haldi { --img: url('/assets/img-haldi.jpg'); }
.p-sangeet { --img: url('/assets/img-sangeet.jpg'); }
.p-varmala { --img: url('/assets/img-varmala.jpg'); }
.p-keynote { --img: url('/assets/img-keynote.jpg'); }
.p-birthday { --img: url('/assets/img-birthday.jpg'); }
.p-aerial { --img: url('/assets/img-aerial.jpg'); }
.p-mehendi { --img: url('/assets/img-mehendi.jpg'); }
.p-marathon { --img: url('/assets/img-marathon.jpg'); }
.p-pheras { --img: url('/assets/img-pheras.jpg'); }
.p-concert { --img: url('/assets/img-concert.jpg'); }
/* Tight crop on the bride's face, used as the "selfie" */
.p-selfie { --img: url('/assets/img-mehendi.jpg'); background-size: 240%; background-position: 43% 22%; }

/* Section headings */
.section { padding: 96px 0; }
.section-head { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.025em; max-width: 760px; }
.section-head p { color: var(--ink-2); max-width: 620px; margin: 0; font-size: 17px; }

/* Audience cards */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud-card { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform 0.2s, box-shadow 0.2s; }
.aud-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.aud-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.aud-icon svg { width: 22px; height: 22px; }
.aud-card h3 { font-size: 18px; }
.aud-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }

/* Replaces strip */
.replaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.replaces span { padding: 10px 16px; border-radius: 999px; border: 1px dashed var(--ink-3); color: var(--ink-2); font-size: 14px; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 16px; }
.feature-copy h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.02em; }
.feature-copy p { margin: 0; color: var(--ink-2); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4520f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.feature-visual { border-radius: 22px; padding: 28px; background: var(--surface-2); border: 1px solid var(--line); position: relative; overflow: hidden; min-height: 360px; display: grid; place-items: center; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature-row.flip .feature-copy { order: 0; }
}

/* Timeline visual */
.timeline { width: 100%; display: grid; gap: 12px; }
.tl-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.tl-item .ph { width: 54px; height: 54px; border-radius: 10px; position: relative; overflow: hidden; }
.tl-item b { font-size: 14px; display: block; }
.tl-item span { font-size: 12px; color: var(--ink-3); }
.tl-time { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 650; color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); padding: 3px 8px; border-radius: 999px; }

/* Phone visual */
.phone { width: 250px; border-radius: 34px; padding: 10px; background: #15120e; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.45); }
.phone-screen { border-radius: 26px; overflow: hidden; background: #faf7f2; color: #1a1712; display: grid; gap: 10px; padding: 18px 14px; min-height: 440px; align-content: start; }
.phone-screen .selfie { width: 74px; height: 74px; border-radius: 50%; justify-self: center; border: 3px solid #b4520f; position: relative; overflow: hidden; }
.phone-screen .found { text-align: center; font-size: 14px; font-weight: 650; }
.phone-screen .found small { display: block; font-weight: 500; color: #5c554b; font-size: 12px; }
.phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.phone-grid .ph { aspect-ratio: 1; border-radius: 6px; position: relative; overflow: hidden; }
.phone-grid .ph.match { outline: 2px solid #b4520f; outline-offset: 1px; }
.phone-btn { justify-self: stretch; text-align: center; background: #1a1712; color: #faf7f2; border-radius: 999px; padding: 10px; font-size: 13px; font-weight: 650; }
.privacy-badge { position: absolute; right: 18px; bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 12px; box-shadow: var(--shadow); max-width: 190px; }
.privacy-badge b { display: block; font-size: 13px; }

/* Watermark visual */
.proof { width: min(420px, 100%); aspect-ratio: 4 / 3; border-radius: 14px; position: relative; overflow: hidden; }
.proof .wm { position: absolute; inset: -40%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; transform: rotate(-24deg); color: rgb(255 255 255 / 0.28); font-weight: 650; font-size: 15px; place-items: center; }
.proof .corner { position: absolute; right: 14px; bottom: 12px; color: #fff; font-weight: 700; text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }
.proof-toggle { position: absolute; left: 18px; top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.switch { width: 34px; height: 20px; border-radius: 999px; background: var(--accent); position: relative; }
.switch::after { content: ''; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* Everything grid */
.everything { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-card { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.ev-card .aud-icon { width: 38px; height: 38px; border-radius: 10px; }
.ev-card h4 { margin: 4px 0 0; font-size: 16px; }
.ev-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .everything { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .everything { grid-template-columns: 1fr; } }

/* Comparison */
.compare-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 650; }
.compare td:first-child { font-weight: 600; }
.compare td:nth-child(2) { color: var(--ink-3); }
.compare th:last-child, .compare td:last-child { background: var(--accent-soft); }
.compare td:last-child { font-weight: 600; color: var(--ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 34px; color: var(--accent); line-height: 1; }
.step h4 { margin: 0; font-size: 17px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); gap: 4px; }
.billing button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.billing button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.save { font-size: 13px; color: var(--ok); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; align-items: stretch; }
.plan { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; position: relative; }
.plan.popular { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-size: 40px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--ink-3); font-size: 14px; }
.plan .ticks li { font-size: 14px; }
.plan .btn { width: 100%; }
.price-note { text-align: center; margin-top: 18px; }
.price-sub { margin: -8px 0 0; font-size: 13px; color: var(--ok); font-weight: 550; min-height: 1.4em; }
.plans-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .plans-4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 620px) { .plans-4 { grid-template-columns: 1fr; } }
.plan .btn { margin-top: auto; }
.plan { grid-template-rows: auto auto auto auto 1fr auto; }
.plan-compare { min-width: 760px; }
.plan-compare td:not(:first-child), .plan-compare th:not(:first-child) { text-align: center; }
.plan-compare td:nth-child(2) { color: inherit; }
.plan-compare th:last-child, .plan-compare td:last-child { background: none; font-weight: inherit; }
.plan-compare .hl { background: var(--accent-soft) !important; }
.plan-compare .tick { color: var(--ok); font-weight: 700; font-size: 17px; }
.plan-compare .no { color: var(--ink-3); }
.plan-compare .soon { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.addon { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.addon-photo { min-height: 320px; }
.addon-copy { padding: 40px; display: grid; gap: 14px; align-content: center; justify-items: start; }
.addon-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.addon-copy p { margin: 0; }
@media (max-width: 820px) { .addon { grid-template-columns: 1fr; } .addon-photo { min-height: 220px; } .addon-copy { padding: 26px; } }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* Closing CTA */
.final { margin: 0 16px 16px; border-radius: 28px; background: #17140f; color: #faf7f2; padding: 88px 24px; text-align: center; overflow: hidden; }
.final .glow { opacity: 0.25; }
.final .glow.peach { width: 420px; height: 320px; left: -80px; bottom: -120px; }
.final .glow.lilac { width: 420px; height: 320px; right: -80px; top: -120px; }
.final .wrap { position: relative; z-index: 1; display: grid; gap: 18px; justify-items: center; }
.final h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.025em; }
.final p { margin: 0; color: rgb(250 247 242 / 0.75); }
.final .btn.primary { background: #faf7f2; color: #17140f; border-color: #faf7f2; }
.final .btn.ghost { color: #faf7f2; border-color: rgb(250 247 242 / 0.3); }
.final .btn.ghost:hover { background: rgb(250 247 242 / 0.08); }

/* Footer */
.site-footer { padding: 48px 0 40px; color: var(--ink-2); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer-brand { display: grid; gap: 8px; align-content: start; }
.footer-brand p { margin: 0; max-width: 240px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer nav .eyebrow { margin-bottom: 4px; }
.site-footer a { text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* Audience cards as links */
a.aud-card { text-decoration: none; color: inherit; }
.aud-card .aud-photo { display: block; margin: -22px -22px 6px; aspect-ratio: 4 / 3; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.aud-card:hover .aud-photo { transform: scale(1.04); }
.aud-card .aud-photo + .aud-icon { margin-top: -38px; position: relative; border: 3px solid var(--surface); width: 50px; height: 50px; }
.aud-card .more { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 4px; }

/* Login / start free */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-art { position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; background: #17140f; }
.auth-slides, .auth-slide { position: absolute; inset: 0; }
.auth-slide { opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease; }
.auth-slide.show { opacity: 1; transform: none; }
.auth-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.35), transparent 30%, transparent 45%, rgb(0 0 0 / 0.75)); }
.auth-brand { position: relative; z-index: 1; color: #fff; }
.auth-brand .wordmark span { color: rgb(255 255 255 / 0.75); }
.auth-brand .brand-mark { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25); }
.auth-quote { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; max-width: 520px; }
.auth-quote p { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.auth-quote em { color: #ffb37a; }
.auth-quote .chip { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.25); color: #fff; }
.auth-note.float-note { position: static; color: var(--ink); }
.auth-main { display: grid; place-items: center; align-content: center; gap: 18px; padding: 40px 20px; background: var(--bg); }
.auth-brand-mobile { display: none; }
.auth-card { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.auth-card h1 { font-size: 34px; margin-bottom: 6px; }
.auth-card section > p.muted { margin: 0 0 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.auth-tabs button { border: 0; background: transparent; height: 38px; border-radius: 999px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.auth-tabs button[aria-selected='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.auth-form { display: grid; gap: 14px; }
.auth-form .btn { width: 100%; }
.auth-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form p { margin: 0; text-align: center; }
.auth-help { margin: 14px 0 0; text-align: center; }
.chosen-plan { display: inline-flex; gap: 8px; align-items: baseline; margin: 0 0 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.chosen-plan a { color: var(--accent); }
.owner-login { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.owner-login summary { cursor: pointer; font-size: 13px; color: var(--ink-3); text-align: center; list-style: none; }
.owner-login summary::-webkit-details-marker { display: none; }
.owner-login[open] summary { margin-bottom: 12px; }
.auth-help a { color: var(--accent); }
.auth-done { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 12px 0; }
.auth-done h2 { font-size: 28px; }
.auth-foot a { text-decoration: none; }
.auth-foot a:hover { color: var(--ink); }
.account-kind { display: flex; width: 100%; margin: 0 0 14px; }
.account-kind button { flex: 1; padding: 8px 10px; }
.auth-form .two:has(> [hidden]) { grid-template-columns: 1fr; }

/* Privacy policy and terms */
.legal { max-width: 760px; padding: 48px 0 64px; }
.legal h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; }
.legal h2 { margin: 36px 0 10px; font-size: 20px; scroll-margin-top: 80px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal ul { display: grid; gap: 6px; padding-left: 20px; }
.legal b { color: var(--ink); }
.legal a { color: var(--accent); }
.legal .legal-meta { font-size: 14px; color: var(--ink-3); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 8px; }
.legal-toc a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; color: var(--ink-2); }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent); }
.footer-base a { color: inherit; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-brand-mobile { display: inline-flex; }
}
@media (max-width: 480px) { .auth-form .two { grid-template-columns: 1fr; } .auth-card { padding: 22px 18px; } }

/* Contact page */
.contact-hero { text-align: left; padding-bottom: 72px; }
.contact-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; justify-items: stretch !important; }
.contact-copy { display: grid; gap: 18px; justify-items: start; }
.contact-copy h1 { font-size: clamp(36px, 5vw, 60px); }
.contact-card { justify-self: end; }
.auth-form textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } .contact-card { justify-self: stretch; width: 100%; } }

/* Solution pages */
.sol-hero { padding: 64px 0 24px; }
.sol-hero .glow.peach { width: 480px; height: 380px; left: -140px; top: -80px; }
.sol-hero .glow.lilac { width: 520px; height: 420px; right: -180px; top: 20px; }
.sol-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.crumbs { font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.sol-copy { display: grid; gap: 18px; justify-items: start; }
.sol-copy h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.sol-copy h1 em { font-style: italic; color: var(--accent); }
.sol-copy .lede { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 560px; }
.sol-visual { position: relative; display: grid; place-items: center; }
.sol-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(420px, 100%); transform: rotate(-3deg); }
.sol-collage .ph { aspect-ratio: 1 / 1; border-radius: 12px; position: relative; overflow: hidden; box-shadow: 0 12px 30px -12px rgb(60 40 20 / 0.4); }
.sol-collage .ph:nth-child(3n + 2) { transform: translateY(18px); }
.sol-badge { position: absolute; left: 0; bottom: 6%; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; }
.sol-badge b { display: block; font-size: 14px; }
.sol-badge .mega-icon { width: 30px; height: 30px; }
.moments { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.moments span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 550; }
.sol-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sol-points .ev-card { padding: 26px; }
.sol-points .ev-card h4 { font-size: 18px; }
.sol-points .ev-card p { font-size: 15px; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related .mega-link { background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 900px) {
  .sol-hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .sol-visual { order: -1; }
  .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sol-points { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}

/* Apple-style type: heavy, tightly tracked sans headlines; accent words stay upright */
.display, .home h1, .home h2, .home h3,
.hero-home h1, .section-head h2, .feature-copy h3, .final h2, .sol-copy h1, .auth-quote p, .mock-gallery-head strong {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -0.035em;
}
.hero-home h1, .sol-copy h1 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; }
.home em, .display em { font-style: normal; }
.step::before { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-grid .ph.new, .chip .dot { animation: none; }
}
