/* multivent.app: the same calm, Apple-style look as the app.
   System font for text; Archivo SemiBold (uppercase) for brand moments and big headlines only.
   Brand colours: Deep Dimension #183328, Portal Lime #B2E763, Void #161618, Static #E1E1E1, White.
   Lime is never text on white; text on lime is always Deep Dimension. */

:root {
  --deep: #183328; --lime: #b2e763; --void: #161618; --static: #e1e1e1;
  --bg: #fff; --surface: #f2f2f7; --card: #fff; --raised: #fff; --line: #e1e1e1;
  --text: #161618; --text-2: #5c5c62; --link: #183328;
  --btn-bg: #183328; --btn-text: #fff;
  --accent-bg: #b2e763; --accent-text: #183328;
  --focus: #183328;
  --radius: 22px;
  --display: "Archivo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color-scheme: light dark;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618; --surface: #1f1f22; --card: #1f1f22; --raised: #2a2a2e; --line: #2c2c30;
    --text: #fff; --text-2: #a1a1a8; --link: #b2e763;
    --btn-bg: #b2e763; --btn-text: #183328; --focus: #b2e763;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Brand bits ---------- */
/* The mark is the original Multivent artwork (mark-lime.png), used as a mask so it can take brand colours.
   Its aspect is always 5:3; never stretch, rotate or add effects. */
.mark { display: inline-block; width: 30px; aspect-ratio: 5 / 3; flex: none; background: var(--deep);
  -webkit-mask: url(/mark-lime.png) center / contain no-repeat; mask: url(/mark-lime.png) center / contain no-repeat; }
@media (prefers-color-scheme: dark) { .mark { background: var(--lime); } }
.mark.lime { background: var(--lime); }
.wordmark, .brand-head, .display { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }
.wordmark { font-size: 19px; letter-spacing: 0; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; }
@supports not (background: color-mix(in srgb, red, blue)) { header.site { background: var(--bg); } }
header.site .bar { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
header.site nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
header.site nav a { color: var(--text); text-decoration: none; }
header.site nav a:hover { color: var(--text-2); }
header.site nav .nav-cta { background: var(--btn-bg); color: var(--btn-text); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
header.site nav .nav-cta:hover { color: var(--btn-text); opacity: .88; }
@media (max-width: 620px) { .hide-sm { display: none; } header.site nav { gap: 14px; } }
@media (max-width: 380px) { .wordmark { font-size: 16px; } header.site .bar { padding: 12px 16px; } header.site nav .nav-cta { padding: 6px 11px; } }

/* ---------- Narrow reading pages (legal, open) ---------- */
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 80px; }
.wrap h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 4px; }
.wrap h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 40px 0 8px; }
.wrap h3 { font-size: 17px; margin: 24px 0 4px; }
.wrap p, .wrap li { margin: 0 0 12px; }
.muted { color: var(--text-2); }
.draft { background: var(--lime); color: var(--deep); border-radius: 12px; padding: 12px 16px; font-weight: 600; margin: 16px 0 24px; }
.todo { background: var(--surface); border-radius: 6px; padding: 0 6px; font-weight: 600; }
.card { background: var(--surface); border-radius: 16px; padding: 20px; margin: 16px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--btn-bg); color: var(--btn-text); text-decoration: none;
  padding: 13px 22px; border-radius: 14px; font-weight: 600; margin: 4px 8px 4px 0; transition: opacity .2s; }
.btn:hover { opacity: .88; }
.btn.secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--link); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Wide marketing pages ---------- */
.wide section { padding: 96px 20px; }
.inner { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; color: var(--text-2); margin: 0 0 14px; }
.wide h1, .wide h2.display { margin: 0; line-height: 1.02; letter-spacing: -0.02em; }
.wide h1 { font-size: clamp(40px, 7.2vw, 80px); }
.wide h2.display { font-size: clamp(32px, 5vw, 56px); }
.wide h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--text-2); max-width: 36em; margin: 22px 0 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.tint { background: var(--surface); }
.hl { background: var(--lime); color: var(--deep); padding: 0 .12em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Hero */
.hero { padding-top: 56px !important; overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 .accent { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-bottom: 64px !important; }
}

/* Store badges: honest "coming soon", not links */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px;
  background: var(--void); color: #fff; min-width: 172px; line-height: 1.15; }
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store small { display: block; font-size: 11px; opacity: .75; letter-spacing: .02em; }
.store b { font-size: 17px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .store { background: #fff; color: var(--void); } }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 520px; }
.phone { position: relative; width: min(290px, 64vw); border-radius: 46px; padding: 9px; background: #0b0b0c;
  box-shadow: 0 0 0 1.5px #3a3a3e, 0 30px 60px -20px rgba(22, 22, 24, .45); flex: none; }
.phone img { width: 100%; border-radius: 37px; aspect-ratio: 736 / 1624; object-fit: cover; object-position: top; background: #1f1f22; }
.phones .phone.back { position: absolute; transform: translate(42%, 9%) scale(.88); transform-origin: top center; z-index: 0; opacity: .97; }
.phones .phone.front { transform: translateX(-16%); z-index: 1; }
@media (max-width: 900px) {
  .phones { min-height: 0; }
  .phones .phone.front { transform: translateX(-18%); }
  .phones .phone.back { transform: translate(36%, 8%) scale(.86); }
  .phone { width: min(270px, 58vw); }
}
@media (max-width: 420px) { .phone { border-radius: 36px; padding: 7px; } .phone img { border-radius: 30px; } }
@media (prefers-reduced-motion: no-preference) {
  .phones .phone { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  .phones .phone.back { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--raised); border-radius: var(--radius); padding: 30px 28px 32px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--accent-bg); color: var(--accent-text); font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 22px; }
.steps p { margin: 0; color: var(--text-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature groups */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-bg);
  -webkit-mask: none; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 5px); width: 8px; height: 5px; border: 2px solid var(--accent-text); border-top: 0; border-right: 0; rotate: -45deg; }
.ticks b { display: block; }
.ticks span { color: var(--text-2); }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-media { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }
}

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.tint .tile { background: var(--raised); }
.tile p { margin: 0; color: var(--text-2); }
.tile .chip { margin-bottom: 18px; }
.chip { display: inline-block; background: var(--accent-bg); color: var(--accent-text); font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.chip.quiet { background: var(--surface); color: var(--text); }

/* Mini UI made of HTML (for things the screenshots don't show) */
.mini { background: #1f1f22; color: #fff; border-radius: 26px; padding: 22px; width: min(380px, 100%); box-shadow: 0 24px 50px -24px rgba(22, 22, 24, .5); }
.mini + .mini { margin-top: 16px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #2c2c30; font-size: 15px; }
.mini-row:first-of-type { border-top: 0; padding-top: 0; }
.mini-row .t { flex: 1; min-width: 0; }
.mini-row .t small { display: block; color: #a1a1a8; font-size: 13px; }
.mini-label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #a1a1a8; margin: 0 0 12px; }
.mini .pill { background: var(--lime); color: var(--deep); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.mini .pill.ghost { background: #2c2c30; color: #fff; }
.mini .ic { width: 36px; height: 36px; border-radius: 10px; background: #183328; display: grid; place-items: center; flex: none; }
.mini .ic .mark { width: 20px; background: var(--lime); }
.mini .ic svg { width: 18px; height: 18px; stroke: var(--lime); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stack { display: grid; justify-items: center; }
.shot-card { border-radius: 26px; overflow: hidden; width: min(420px, 100%); box-shadow: 0 24px 50px -24px rgba(22, 22, 24, .5); background: #1f1f22; }

/* Friends band (Deep Dimension in both modes) */
.band { background: var(--deep); color: #fff; }
.band .eyebrow { color: var(--lime); }
.band .lede, .band .ticks span { color: rgba(255, 255, 255, .78); }
.band .ticks li::before { background: var(--lime); }
.band .ticks li::after { border-color: var(--deep); }
.band a { color: var(--lime); }
.band :focus-visible { outline-color: var(--lime); }

/* Organizer promo */
.promo { border-radius: 32px; background: var(--void); color: #fff; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.promo .eyebrow { color: var(--lime); }
.promo .lede { color: rgba(255, 255, 255, .75); }
.promo .btn { background: var(--lime); color: var(--deep); }
.promo .btn.secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.promo :focus-visible { outline-color: var(--lime); }
.promo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promo li { background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 16px 18px; }
.promo li b { display: block; }
.promo li span { color: rgba(255, 255, 255, .7); font-size: 15px; }
@media (prefers-color-scheme: dark) { .promo { background: #1f1f22; } }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; } }


/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--text-2); transition: rotate .25s; flex: none; }
.faq details[open] summary::after { rotate: 45deg; }
.faq .a { padding: 0 4px 22px; color: var(--text-2); max-width: 44em; }
.faq .a p { margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Closing CTA */
.cta { text-align: center; }
.cta .mark { width: 64px; margin: 0 auto 28px; display: block; }
.cta .stores { justify-content: center; margin-top: 32px; }
.cta .small { margin-top: 22px; color: var(--text-2); font-size: 15px; }

/* Simple page hero (organizers, safety) */
.page-hero { padding-top: 72px !important; padding-bottom: 72px !important; }
.page-hero .hero-actions { margin-top: 32px; }
.callout { border-radius: var(--radius); padding: 28px; background: var(--surface); }
.callout.lime { background: var(--lime); color: var(--deep); }
.callout.lime p, .callout.lime a { color: var(--deep); }
.callout.lime :focus-visible { outline-color: var(--deep); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.facts { margin: 16px 0 0; padding-left: 1.2em; color: var(--text-2); }
.facts li { margin-bottom: 8px; }
.facts b { color: var(--text); }
.badge-demo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.badge-demo .v { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.badge-demo .v svg { width: 13px; height: 13px; stroke: var(--deep); stroke-width: 3; fill: none; }

@media (max-width: 600px) {
  .wide section { padding: 72px 20px; }
  .section-head { margin-bottom: 40px; }
  .steps li, .tile { padding: 24px; }
  .faq summary { font-size: 17px; }
}
@media (max-width: 380px) { .wide section { padding-left: 16px; padding-right: 16px; } .store { min-width: 0; flex: 1 1 150px; } }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.foot { max-width: 1120px; margin: 0 auto; padding: 56px 20px 24px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.foot-brand p { margin: 14px 0 0; }
.foot-brand .small { color: var(--text-2); font-size: 14px; max-width: 26em; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin: 0 0 12px; font-weight: 600; }
.foot-cols a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.foot-cols a:hover { text-decoration: underline; }
.foot-legal { max-width: 1120px; margin: 0 auto; padding: 16px 20px 40px; color: var(--text-2); font-size: 13px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, 1fr); } }
.wide h3.display.sub { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; margin: 14px 0 0; letter-spacing: -0.02em; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
header.site nav a, .store small, .store b { white-space: nowrap; }
@media (max-width: 420px) {
  .stores { gap: 10px; }
  .store { flex: 1 1 0; min-width: 0; padding: 9px 12px 9px 10px; gap: 8px; }
  .store svg { width: 20px; height: 20px; }
  .store small { font-size: 10px; }
  .store b { font-size: 15px; }
}
@media (max-width: 370px) { header.site .logo { gap: 8px; } header.site nav { gap: 10px; font-size: 14px; } .store small { letter-spacing: 0; } }

/* Pre-launch footer: the small mark and where we're made. */
footer.site.mini { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 18px 16px; font-size: 13px; background: var(--void); color: rgba(255, 255, 255, .55); border-top: 0; }
footer.site.mini .mark { background: var(--lime); }
footer.site.mini .mark { width: 20px; }
