/* Virtual Hirix marketing site — shared stylesheet.
   Source of truth for the visual system: docs/design-reference-marketing.html
   and docs/plans/2026-08-16-marketing-site-design.md §3.
   Blocks under "stand-ins" render S1–S6 as CSS until the screenshot
   pipeline (plan §5) replaces them with real captures. */

/* ————— Font (self-hosted, OFL) ————— */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/schibsted-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ————— Tokens ————— */
:root {
  --cream: #E9E4DA; --card: #FAF8F3; --white: #FFFFFF;
  --line: #ECE6D8; --line-strong: #E0D9C8;
  --ink: #161613; --ink-soft: #3E3A31; --muted: #6F6A60; --faint: #8A8271;
  --green: #22C673; --green-bright: #3DE58B; --green-deep: #0E9A57; --green-ink: #0B2A1A;
  --room: #141317; --room-card: #1A1922; --room-line: #272533; --room-muted: #8C8698;
}

/* ————— Base ————— */
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
::selection { background: #BFF2D6; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--green-bright);
  font-weight: 700; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ————— Nav ————— */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(233, 228, 218, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--ink);
  color: var(--green-bright); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: -0.5px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.signin { font-size: 14px; font-weight: 700; color: var(--ink-soft); }

/* ————— Buttons ————— */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 800; border-radius: 12px;
}
.btn-green { background: var(--green); color: var(--green-ink); font-size: 14px; padding: 11px 20px; }
.btn-green:hover { background: #1FB86A; }
.btn-quiet { font-size: 15px; font-weight: 700; color: var(--green-deep); padding: 11px 4px; }
.btn-quiet:hover { text-decoration: underline; }

/* ————— Hero ————— */
.hero { padding: 84px 0 0; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--faint); }
h1 {
  font-size: clamp(42px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 800; margin: 18px 0 22px; max-width: 19ch;
}
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 52ch; margin: 0 0 30px; }
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-ctas .btn-green { font-size: 15px; padding: 14px 26px; }

/* ————— Screenshot mats ————— */
.shot {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(30, 25, 10, 0.06), 0 24px 60px -30px rgba(30, 25, 10, 0.25);
  overflow: hidden;
}
.fig { margin: 0; }
.fig figcaption {
  font-size: 12px; color: var(--faint); font-weight: 600; padding: 12px 4px 0;
  display: flex; gap: 8px; align-items: baseline;
}
.fig .tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: var(--green-deep);
  background: #D9F5E6; border-radius: 99px; padding: 2px 8px;
}
.hero .fig { margin-top: 56px; }

/* ————— Proof line ————— */
.proof { text-align: center; padding: 40px 0 0; font-size: 14px; color: var(--faint); font-weight: 600; }
.proof strong { color: var(--ink-soft); font-weight: 800; }

/* ————— Feature sections ————— */
.feature { padding: 110px 0 0; }
.f-grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 56px; align-items: center; }
.f-grid.flip { grid-template-columns: 7fr minmax(300px, 5fr); }
.f-label { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--green-deep); }
h2 {
  font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.02em;
  font-weight: 800; margin: 14px 0 16px;
}
.f-body { font-size: 16.5px; color: var(--muted); margin: 0 0 26px; max-width: 46ch; }
.f-body strong { color: var(--ink); font-weight: 700; }
.f-points { display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; list-style: none; }
.f-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.f-points .ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: #D9F5E6;
  color: var(--green-deep); display: flex; align-items: center; justify-content: center; margin-top: -2px;
}
.f-points small { display: block; font-weight: 500; color: var(--faint); font-size: 13px; }

/* ————— Dark band (office + events) ————— */
.rooms { margin-top: 120px; background: var(--room); color: #F5F2EA; padding: 100px 0; }
.rooms .f-label { color: var(--green-bright); }
.rooms .f-body { color: #B9B4C4; }
.rooms .f-body strong { color: #F5F2EA; }
.rooms .f-points li { color: #D3CFDE; }
.rooms .f-points .ic { background: #123324; color: var(--green-bright); }
.rooms .shot { background: var(--room-card); border-color: var(--room-line); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6); }
.rooms .fig figcaption { color: var(--room-muted); }
.rooms .fig .tag { background: #123324; color: var(--green-bright); }
.rooms-divider { height: 1px; background: var(--room-line); margin: 100px 0; }
.callout {
  margin-top: 30px; background: var(--room-card); border: 1px solid var(--room-line);
  border-radius: 16px; padding: 18px 22px; font-size: 15px; font-weight: 600;
  color: #D3CFDE; display: flex; gap: 14px; align-items: center; max-width: 520px;
}
.callout b { color: var(--green-bright); font-weight: 800; }

/* ————— Network ————— */
.network .wrap { max-width: 760px; text-align: center; }
.network .f-body { margin: 0 auto 6px; max-width: 52ch; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }
.pill { font-size: 13px; font-weight: 700; border-radius: 99px; padding: 8px 16px; background: #D9F5E6; color: var(--green-deep); }
.pill.off { background: #EFEAE0; color: var(--faint); text-decoration: line-through; }

/* ————— Privacy strip ————— */
.privacy {
  margin-top: 120px; border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong); padding: 54px 0;
}
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.privacy h3 { font-size: 15px; font-weight: 800; margin: 12px 0 6px; letter-spacing: -0.01em; }
.privacy p { font-size: 13.5px; color: var(--muted); margin: 0; }
.privacy .ic {
  width: 34px; height: 34px; border-radius: 11px; background: var(--white);
  border: 1px solid var(--line-strong); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
}

/* ————— CTA band ————— */
.cta-band { margin: 120px 0 0; background: var(--ink); color: #F5F2EA; }
.cta-in { padding: 96px 28px; text-align: center; }
.cta-band h2 { margin: 0 0 14px; }
.cta-band p { color: #B7AFA0; font-size: 17px; margin: 0 0 32px; }
.cta-band .btn-green { font-size: 15px; padding: 14px 26px; }
.cta-band .talk { font-size: 15px; font-weight: 700; color: #D9D2C2; margin-left: 20px; }
.cta-band .talk:hover { color: #fff; }

/* ————— Footer ————— */
footer { padding: 64px 0 48px; }
.foot-grid { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-brand { max-width: 260px; }
.foot-brand p { font-size: 13px; color: var(--faint); margin: 14px 0 0; }
.foot-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--faint); margin: 0 0 14px; }
.foot-col a { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.foot-col a:hover { color: var(--green-deep); }

/* ═════════ Stand-ins for product screenshots (S1–S6) ═════════
   Replaced by <img> captures from scripts/captureMarketingShots.mjs.
   Kept in a separate block so deleting them later is one cut. */
.app { display: flex; gap: 10px; background: var(--cream); padding: 10px; font-size: 12px; }
.rail { display: flex; flex-direction: column; gap: 8px; align-items: center; padding-top: 4px; }
.rail .tile { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.side { width: 168px; flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; }
.side .ws-name { font-weight: 800; font-size: 13px; padding: 6px 8px 0; display: flex; align-items: center; gap: 6px; }
.lock-badge { font-size: 8px; font-weight: 800; color: var(--muted); background: #EFEAE0; padding: 2px 6px; border-radius: 99px; }
.side .ws-sub { font-size: 9.5px; color: var(--faint); padding: 0 8px 6px; }
.side .sec { font-size: 8.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--faint); padding: 8px 8px 3px; }
.side .row { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 8px; color: var(--ink-soft); font-weight: 600; }
.side .row.active { background: #DDD7C9; font-weight: 700; color: var(--ink); }
.side .row .h { color: #A79E8C; }
.side .dot { margin-left: auto; width: 5px; height: 5px; border-radius: 99px; background: var(--green); }
.pane { flex: 1; background: var(--card); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(30, 25, 10, 0.06); }
.pane-head { padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.pane-head .ch { font-weight: 800; font-size: 12.5px; }
.pane-head .ch span { color: #A79E8C; }
.pane-head .topic { font-size: 9.5px; color: var(--faint); }
.huddle-btn { margin-left: auto; background: var(--ink); color: var(--green-bright); font-weight: 700; font-size: 9.5px; padding: 5px 10px; border-radius: 8px; }
.huddle-live { display: flex; align-items: center; gap: 7px; padding: 6px 14px; background: #123324; color: #BFF2D6; font-size: 10px; font-weight: 600; }
.huddle-live .pulse { width: 6px; height: 6px; border-radius: 99px; background: var(--green-bright); }
.msgs { padding: 12px 14px; display: flex; flex-direction: column; gap: 11px; }
.msg { display: flex; gap: 9px; }
.av { width: 26px; height: 26px; border-radius: 9px; color: #fff; display: flex; flex-shrink: 0; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; }
.msg .who { font-weight: 700; font-size: 11px; }
.msg .when { font-size: 9px; color: #A79E8C; margin-left: 5px; }
.msg .host { font-size: 8px; font-weight: 800; color: var(--green-deep); background: #D9F5E6; border-radius: 99px; padding: 1px 6px; margin-left: 5px; }
.msg .txt { font-size: 11px; color: var(--ink-soft); line-height: 1.5; margin-top: 1px; }
.rx { display: inline-flex; gap: 5px; margin-top: 5px; }
.rx span { font-size: 9px; background: #EFEAE0; border: 1px solid var(--line-strong); border-radius: 99px; padding: 1px 7px; font-weight: 700; color: var(--ink-soft); }
.composer { margin: 8px 12px 12px; border: 1.5px solid var(--line-strong); background: var(--white); border-radius: 10px; padding: 7px 10px; font-size: 10.5px; color: var(--faint); display: flex; align-items: center; }
.composer .send { margin-left: auto; background: var(--green); color: var(--green-ink); font-weight: 800; font-size: 9px; padding: 5px 11px; border-radius: 7px; }

.map { position: relative; height: 360px; background: #8A6A3A; background-image: linear-gradient(#00000022 1px, transparent 1px), linear-gradient(90deg, #00000022 1px, transparent 1px); background-size: 30px 30px; overflow: hidden; }
.map .zone-label { position: absolute; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; color: #E8DFCB; }
.zone-meeting { position: absolute; left: 0; top: 0; width: 30%; height: 100%; background: #3D1A22; border-right: 3px solid #4F8F6B; }
.zone-lounge { position: absolute; right: 0; top: 0; width: 17%; height: 55%; border-left: 2px dashed #4F8F6B; }
.zone-break { position: absolute; right: 0; bottom: 0; width: 17%; height: 45%; background: #3D1A22; border-left: 2px dashed #4F8F6B; }
.desk { position: absolute; background: #B5772F; border: 3px solid #3E2812; border-radius: 4px; }
.avatar-pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.avatar-pin .name { font-size: 9px; font-weight: 700; background: rgba(22, 22, 19, 0.75); color: #F5F2EA; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.avatar-pin .body { width: 26px; height: 26px; border-radius: 9px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 800; }
.bubble { position: absolute; width: 84px; height: 62px; border-radius: 12px; background: linear-gradient(160deg, #2E2C38, #17161E); border: 2px solid var(--green-bright); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.bubble .tag { position: absolute; left: 6px; bottom: 5px; font-size: 8px; font-weight: 700; color: #F5F2EA; background: rgba(11, 11, 16, 0.7); border-radius: 6px; padding: 2px 6px; }
.map-hint { position: absolute; left: 12px; bottom: 10px; font-size: 9px; font-weight: 700; color: #00000066; }

.er { background: var(--room); color: #F5F2EA; padding: 14px; display: flex; gap: 12px; }
.er-main { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.er-head { display: flex; align-items: center; gap: 10px; }
.live { font-size: 9px; font-weight: 800; color: var(--green-ink); background: var(--green-bright); border-radius: 99px; padding: 3px 9px; }
.er-title { font-weight: 800; font-size: 13.5px; }
.er-sub { font-size: 9.5px; color: var(--room-muted); }
.seatsleft { margin-left: auto; text-align: right; }
.seatsleft b { font-size: 13px; color: var(--green-bright); }
.seatsleft small { display: block; font-size: 9px; color: var(--room-muted); font-weight: 600; }
.stage { background: var(--room-card); border: 1px solid var(--room-line); border-radius: 14px; padding: 16px; display: flex; justify-content: center; gap: 34px; }
.speaker { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.speaker .face { width: 58px; height: 58px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 0 0 3px var(--green-bright); }
.speaker .nm { font-size: 10.5px; font-weight: 700; }
.speaker .rl { font-size: 8px; font-weight: 700; color: var(--room-muted); letter-spacing: 0.06em; }
.seat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.seat { border-radius: 10px; background: var(--room-card); border: 1.5px solid var(--room-line); padding: 7px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.seat .sav { width: 22px; height: 22px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 7.5px; font-weight: 800; }
.seat .snm { font-size: 7.5px; font-weight: 700; color: #D3CFDE; }
.seat.empty { border-style: dashed; border-color: #3A3846; }
.seat.empty .sav { background: transparent; border: 1.5px dashed #3A3846; }
.seat.empty .snm { color: #6F6A80; }
.er-rail { width: 148px; flex-shrink: 0; background: var(--room-card); border: 1px solid var(--room-line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 9px; }
.er-rail .rt { font-size: 8.5px; font-weight: 800; letter-spacing: 0.12em; color: var(--room-muted); }
.er-chat { font-size: 9.5px; line-height: 1.45; color: #D3CFDE; }
.er-chat b { display: block; font-size: 9px; color: #F5F2EA; }
.er-chat small { color: #6F6A80; font-size: 8px; }

/* ————— Responsive ————— */
@media (max-width: 900px) {
  .f-grid, .f-grid.flip { grid-template-columns: 1fr; gap: 32px; }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .er { flex-wrap: wrap; }
  .er-rail { width: 100%; }
  .feature { padding: 80px 0 0; }
  .rooms { padding: 72px 0; margin-top: 88px; }
  .rooms-divider { margin: 72px 0; }
}
@media (max-width: 560px) {
  .privacy-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-green { display: none; }
  .side { display: none; }
  .hero { padding: 56px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
