/* ==========================================================
   Oakleaf marketing site — plain CSS, no build step.
   The Oakleaf logo is black and white only (brand pack in public/brand/).
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #101010;
  --surface: #141414;
  --surface-2: #1b1b1b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --muted: #a3a3a3;
  --dim: #737373;

  --violet: #ffffff;
  --violet-2: #e5e5e5;
  --azure: #d4d4d4;
  --grad: linear-gradient(180deg, #ffffff 0%, #e4e4e4 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #d4d4d4 55%, #8a8a8a 100%);

  --green: #fafafa;
  --green-bg: rgba(255, 255, 255, 0.1);
  --amber: #d4d4d4;
  --amber-bg: rgba(255, 255, 255, 0.07);
  --pink: #fafafa;
  --sky: #fafafa;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Inter Tight", var(--font);
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--primary { background: #fafafa; color: #0a0a0a; box-shadow: 0 8px 30px -10px rgba(255,255,255,.25); }
.btn--primary:hover { background: #ffffff; box-shadow: 0 12px 36px -10px rgba(255,255,255,.35); transform: translateY(-1px); }
.btn--light { background: #fff; color: #0a0a0a; }
.btn--light:hover { background: #e5e5e5; }
.btn--outline { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn--outline:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, rgba(255,255,255,0.088), rgba(255,255,255,0.066)); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; text-align: center; color: #d4d4d4; }
.announce__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.099); color: #e5e5e5; flex-shrink: 0; }
.announce__link { color: #fff; font-weight: 600; white-space: nowrap; }
.announce__link:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; border-bottom: 1px solid transparent; }
.nav--scrolled { background: rgba(10,10,10,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); font-weight: 500; transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.nav__toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .2s ease; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { padding: 8px 24px 24px; border-top: 1px solid var(--line); background: rgba(10,10,10,.97); display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mobile-menu__cta .btn--ghost { border: 1px solid var(--line-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(255,255,255,0.193), transparent 70%),
    radial-gradient(35% 35% at 72% 28%, rgba(255,255,255,0.138), transparent 70%),
    radial-gradient(50% 30% at 50% 70%, rgba(255,255,255,0.099), transparent 70%);
  filter: blur(10px);
}
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 50% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 20%, #000 20%, transparent 75%);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: 13px; color: #d4d4d4; font-weight: 500; }
.pill:hover { border-color: rgba(255,255,255,.28); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(255,255,255,0.099); }
.hero__title { margin-top: 26px; font-size: clamp(38px, 6.2vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.hero__title .serif { font-size: 1.06em; }
.hero__sub { margin-top: 24px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__facts { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero__product { position: relative; margin-top: 64px; width: 100%; max-width: 1120px; }
.hero__product::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,0.275), rgba(255,255,255,0.083) 40%, transparent 70%); z-index: -1; filter: blur(30px); opacity: .55; }

/* Window chrome */
.window { border-radius: 18px; background: #111111; box-shadow: var(--shadow); overflow: hidden; text-align: left; border: 1px solid var(--line-2); }
.window__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #151515; border-bottom: 1px solid var(--line); }
.window__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #333333; }
.window__url { margin: 0 auto; font-size: 12px; color: var(--dim); background: rgba(255,255,255,.04); padding: 3px 14px; border-radius: 6px; border: 1px solid var(--line); }

.app { display: grid; grid-template-columns: 56px 1fr 270px; min-height: 430px; }
.app__side { border-right: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; background: #0e0e0e; }
.app__logo { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.06); margin-bottom: 8px; }
.ico { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.04); display: block; }
.ico--active { background: rgba(255,255,255,0.121); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.193); }
.app__main { padding: 18px 18px 20px; min-width: 0; }
.app__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.app__eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; }
.app__title { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.app__tools { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #e5e5e5; white-space: nowrap; }
.chip--muted { color: var(--muted); }
.chip--solid { background: #fafafa; color: #0a0a0a; border-color: transparent; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.board__col { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.board__col--won { background: rgba(255,255,255,0.022); border-color: rgba(255,255,255,0.077); }
.board__h { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); padding: 2px 2px 4px; }
.board__h b { color: var(--text); font-weight: 600; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; min-width: 0; }
.card b { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card small { color: var(--muted); font-size: 11.5px; }
.card .tag { align-self: flex-start; margin-top: 4px; }
.card--lift { transform: rotate(-1.5deg) translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,0.193); background: #1f1f1f; }

.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: rgba(255,255,255,.07); color: #d4d4d4; white-space: nowrap; }
.tag--green { background: var(--green-bg); color: var(--green); }
.tag--amber { background: var(--amber-bg); color: var(--amber); }
.tag--violet { background: rgba(255,255,255,0.088); color: #e5e5e5; }

.app__ai { border-left: 1px solid var(--line); padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.044), transparent 60%); display: flex; flex-direction: column; gap: 12px; }
.ai__head { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.spark { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.11); color: #e5e5e5; font-size: 12px; }
.ai__msg { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 12px; color: #d4d4d4; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.ai__msg b { color: var(--text); }
.ai__msg--sm p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ai__draft { background: rgba(255,255,255,0.044); border: 1px dashed rgba(255,255,255,0.193); border-radius: 9px; padding: 9px 10px; color: #d4d4d4; font-style: italic; }
.ai__draft small { display: block; font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: #bdbdbd; font-weight: 600; margin-bottom: 3px; }
.ai__actions { display: flex; gap: 6px; }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(27,27,27,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); text-align: left; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 13px; font-weight: 600; }
.float small { display: block; font-size: 12px; color: var(--muted); }
.float--a { left: -32px; bottom: -26px; }
.float--b { right: 290px; top: -22px; animation-delay: -3s; }
.float__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.float__ico--green { background: var(--green-bg); color: var(--green); }
.float__ico--pink { background: rgba(255,255,255,0.083); color: var(--pink); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Strip ---------- */
.strip { padding: 56px 0 24px; }
.strip__label { text-align: center; font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 14px; animation: scroll 40s linear infinite; }
.marquee__track span { padding: 10px 20px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font-family: var(--display); font-weight: 600; font-size: 16px; color: #cfcfcf; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__head h2, .split h2, .faq h2, .cta h2, .founding h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.03em; line-height: 1.06; }
.section__head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d4d4d4; margin-bottom: 16px; }
.eyebrow--ai { color: #e5e5e5; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.problem__before, .problem__after { border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); padding: 28px; display: flex; flex-direction: column; }
.problem__after { background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(16,16,16,1) 60%); border-color: rgba(255,255,255,0.121); }
.problem__label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--dim); }
.problem__label--brand { color: #e5e5e5; }
.scatter { position: relative; height: 260px; margin: 18px 0; }
.scatter span { position: absolute; left: var(--x); top: var(--y); padding: 7px 12px; border-radius: 9px; font-size: 13px; color: #a3a3a3; border: 1px dashed rgba(255,255,255,.16); background: rgba(255,255,255,.02); white-space: nowrap; transform: rotate(calc((var(--x) - 30%) * .08)); }
.problem__list { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.problem__list li { display: flex; gap: 10px; align-items: baseline; }
.problem__list li::before { content: "×"; color: #a3a3a3; font-weight: 700; width: 14px; flex-shrink: 0; }
.problem__list--good li { color: #e5e5e5; }
.problem__list--good li::before { content: "✓"; color: var(--green); }
.hub { position: relative; height: 260px; margin: 18px 0; display: grid; place-items: center; }
.hub::before { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.154); }
.hub__core { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: #181818; border: 1px solid rgba(255,255,255,0.22); box-shadow: 0 0 60px rgba(255,255,255,0.248); z-index: 1; }
.hub__n { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateY(-108px) rotate(calc(-1 * var(--a))) translate(-50%, -50%); transform-origin: 0 0; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #1a1a1a; border: 1px solid var(--line-2); color: #e5e5e5; white-space: nowrap; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; gap: 6px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); width: max-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tabs__list button:hover { color: var(--text); }
.tabs__list button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.tabs__ico { display: inline-flex; opacity: .85; }
.tabs__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 40px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); animation: fade .35s ease; }
.tabs__panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabs__copy h3 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 15.5px; }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.099) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fafafa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks--compact { gap: 10px; }

.mock { border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); padding: 20px; font-size: 13px; }
.mock__row--head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock__row--head small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 600; }
.mock__row--head b { font-family: var(--display); font-size: 16px; font-weight: 600; }

.lines { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lines th { text-align: left; font-weight: 600; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; padding: 0 0 8px; }
.lines td { padding: 9px 0; border-top: 1px solid var(--line); color: #d4d4d4; }
.lines th:not(:first-child), .lines td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.totals { margin-top: 10px; display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.totals__grand { color: var(--text) !important; font-weight: 700; font-size: 15px !important; padding-top: 6px; }
.approval { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--green-bg); border: 1px solid rgba(255,255,255,0.11); }
.approval b { display: block; font-size: 13px; color: var(--green); }
.approval small { color: var(--muted); font-size: 12px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.11); color: var(--green); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: relative; }
.steps li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; }
.steps li:hover { background: rgba(255,255,255,.03); }
.steps li b { display: block; font-size: 13px; }
.steps li small { color: var(--muted); font-size: 12px; }
.steps li em { font-style: normal; font-size: 12px; color: #d4d4d4; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #ddd; font-size: 14px; }
.steps__ico--sky { background: rgba(255,255,255,0.077); color: var(--sky); }
.steps__ico--green { background: var(--green-bg); color: var(--green); }

.mock--flow { display: flex; flex-direction: column; align-items: center; padding: 28px 20px; background-color: var(--surface); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 18px 18px; }
.node { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 16px; min-width: 210px; text-align: center; }
.node small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 700; }
.node b { font-size: 13px; font-weight: 600; }
.node--trigger { border-color: rgba(255,255,255,0.22); box-shadow: 0 0 0 4px rgba(255,255,255,0.039); }
.node--trigger small { color: var(--pink); }
.node--ai { border-color: rgba(255,255,255,0.248); background: #1d1d1d; box-shadow: 0 0 30px -8px rgba(255,255,255,0.33); }
.node--ai small { color: #e5e5e5; }
.node--done small { color: var(--green); }
.edge { width: 2px; height: 26px; background: linear-gradient(var(--line-2), rgba(255,255,255,0.275)); }
.edge--split { height: 16px; }
.branches { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; padding-top: 14px; }
.branches::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 14px; border: 2px solid rgba(255,255,255,0.22); border-bottom: 0; border-radius: 10px 10px 0 0; }
.branches .node { min-width: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stats div { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.stats small { display: block; color: var(--muted); font-size: 11.5px; }
.stats b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stats em { font-style: normal; font-size: 11.5px; font-weight: 600; }
.up { color: var(--green); }
.down { color: var(--green); }
.bars { position: relative; height: 190px; display: flex; align-items: flex-end; gap: 14px; padding: 0 6px 22px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(255,255,255,0.303), rgba(255,255,255,0.138)); position: relative; transform-origin: bottom; }
.bars span.bars__hi { background: var(--grad); box-shadow: 0 0 30px -6px rgba(255,255,255,0.44); }
.bars i { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; color: var(--dim); }
.bars__target { position: absolute; left: 0; right: 0; bottom: calc(22px + (100% - 22px) * 0.7); border-top: 1.5px dashed rgba(255,255,255,0.385); }
.bars__target small { position: absolute; right: 0; top: -20px; font-size: 10.5px; color: var(--amber); font-weight: 600; }
.reveal.in .bars span { animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes grow { from { transform: scaleY(0); } }

.fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fields li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-weight: 500; }
.fields em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.ft { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 11.5px; font-weight: 700; color: #d6d6d6; }

/* ---------- AI ---------- */
.ai { overflow: hidden; }
.ai__wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 50% 10%, rgba(255,255,255,0.099), transparent 70%); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.033), var(--bg-2) 45%); padding: 26px; transition: border-color .25s, transform .25s; }
.tile:hover { border-color: rgba(255,255,255,0.193); transform: translateY(-2px); }
.tile--wide { grid-column: span 2; }
.tile__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,0.088); color: #e5e5e5; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.tile h3 { font-size: 20px; letter-spacing: -0.015em; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.prompt { margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.165); background: rgba(10,10,10,.6); font-size: 14px; color: #e5e5e5; }
.prompt__caret { color: #e5e5e5; font-weight: 700; }
.prompt__btn { margin-left: auto; padding: 8px 14px; border-radius: 10px; background: var(--grad); color: #0a0a0a; font-weight: 600; font-size: 13px; white-space: nowrap; }
.suggest { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(10,10,10,.6); }
.suggest b { display: block; font-size: 14px; }
.suggest small { color: var(--muted); font-size: 13px; }
.suggest .chip { margin-left: auto; }

/* ---------- Split / Timeline ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split__copy p { margin: 18px 0 28px; color: var(--muted); font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 39px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(rgba(255,255,255,0.275), rgba(255,255,255,0.275)); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; padding: 8px 0; }
.timeline time { justify-self: center; position: relative; z-index: 1; font-size: 12px; font-weight: 700; color: #e5e5e5; background: #1c1c1c; border: 1px solid rgba(255,255,255,0.193); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.timeline li > div { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.timeline b { display: block; font-size: 15px; }
.timeline small { color: var(--muted); font-size: 13.5px; }
.timeline__done time { color: var(--green); border-color: rgba(255,255,255,0.22); background: #161616; }
.timeline__done > div { border-color: rgba(255,255,255,0.138) !important; background: linear-gradient(90deg, rgba(255,255,255,0.039), var(--bg-2)) !important; }

/* ---------- Numbers ---------- */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers__grid > div { padding: 44px 24px; text-align: center; border-left: 1px solid var(--line); }
.numbers__grid > div:first-child { border-left: 0; }
.numbers b { display: block; font-family: var(--display); font-size: clamp(38px, 4.5vw, 56px); font-weight: 600; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.numbers span { color: var(--muted); font-size: 14.5px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sec { background: var(--bg); padding: 32px; transition: background .25s; }
.sec:hover { background: var(--bg-2); }
.sec__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 17px; color: #e5e5e5; margin-bottom: 20px; }
.sec h3 { font-size: 18px; }
.sec p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Founding ---------- */
.founding { padding-top: 40px; }
.founding__card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 56px; border-radius: 28px; border: 1px solid rgba(255,255,255,0.154); background:
  radial-gradient(60% 80% at 0% 0%, rgba(255,255,255,0.121), transparent 60%),
  radial-gradient(50% 70% at 100% 100%, rgba(255,255,255,0.077), transparent 60%),
  var(--bg-2); position: relative; overflow: hidden; }
.founding__copy p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.founding__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: center; }
.founding__list li { display: flex; gap: 16px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10,10,10,.5); }
.founding__list span { font-family: var(--display); font-weight: 700; color: #d4d4d4; font-size: 14px; padding-top: 2px; }
.founding__list b { display: block; font-size: 15.5px; }
.founding__list small { color: var(--muted); font-size: 14px; }
.founding__cta { grid-column: 1 / -1; }

/* ---------- Pricing ---------- */
.price-controls { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-checked="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.save { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--green-bg); color: var(--green); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); }
.plan h3 { font-size: 22px; }
.plan__desc { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.plan__price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); font-size: 14px; }
.plan__note { display: block; color: var(--dim); font-size: 13px; min-height: 20px; margin: 2px 0 20px; }
.plan__list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; color: #d4d4d4; }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--violet-2); font-weight: 700; }
.plan__list li:first-child { color: var(--muted); padding-left: 0; font-weight: 600; font-size: 13px; }
.plan__list li:first-child::before { display: none; }
.plan[data-plan="ember"] .plan__list li:first-child { color: #d4d4d4; padding-left: 24px; font-weight: 400; font-size: 14px; }
.plan[data-plan="ember"] .plan__list li:first-child::before { display: block; }
.plan--featured { border-color: rgba(255,255,255,0.275); background: linear-gradient(180deg, rgba(255,255,255,0.099), var(--bg-2) 45%); box-shadow: 0 30px 80px -30px rgba(255,255,255,0.33); }
.plan__badge { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--grad); color: #0a0a0a; }
.price-foot { text-align: center; color: var(--dim); font-size: 13.5px; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.faq__head p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.faq__head a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__list details p { padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA / Form ---------- */
.cta { overflow: hidden; }
.cta__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 20% 50%, rgba(255,255,255,0.121), transparent 70%), radial-gradient(40% 50% at 85% 60%, rgba(255,255,255,0.077), transparent 70%); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta__copy p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.cta__form { border-radius: 24px; border: 1px solid var(--line-2); background: rgba(16,16,16,.85); backdrop-filter: blur(12px); padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: #e5e5e5; }
.opt { color: var(--dim); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a3a3a3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255,255,255,0.385); box-shadow: 0 0 0 4px rgba(255,255,255,0.099); }
.form input[aria-invalid="true"] { border-color: #a3a3a3; }
.form__msg { min-height: 20px; font-size: 14px; color: var(--muted); text-align: center; }
.form__msg--ok { color: var(--green); }
.form__msg--err { color: #d4d4d4; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 300px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: 14px; font-family: var(--font); }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a:not(.brand) { color: var(--muted); font-size: 14.5px; }
.footer__grid a:not(.brand):hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .app { grid-template-columns: 56px 1fr; }
  .app__ai { display: none; }
  .float--a { left: 12px; bottom: -28px; }
  .float--b { right: 12px; top: -26px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .section { padding: 88px 0; }
  .problem__grid, .split, .faq, .cta__inner, .founding__card { grid-template-columns: 1fr; }
  .split, .faq, .cta__inner { gap: 40px; }
  .tabs__panel { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .numbers__grid > div:nth-child(3) { border-left: 0; }
  .numbers__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .founding__card { padding: 36px; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .announce__inner span:nth-child(2) { font-size: 12.5px; }
  .announce__link { display: none; }
  .hero { padding-top: 48px; }
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__product { margin-top: 48px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .app__tools .chip--muted { display: none; }
  .board { grid-template-columns: repeat(4, 74%); overflow: hidden; }
  .float { display: none; }
  .window__url { display: none; }
  .scatter span { font-size: 12px; }
  .bento, .sec-grid, .plans { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .prompt { flex-wrap: wrap; }
  .prompt__btn { margin-left: 0; }
  .suggest { flex-wrap: wrap; }
  .suggest .chip { margin-left: 0; }
  .tabs__list { width: 100%; }
  .tabs__panel { padding: 20px; }
  .tabs__copy h3 { font-size: 23px; }
  .mock { padding: 16px; }
  .lines th:nth-child(3), .lines td:nth-child(3) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:last-child { display: none; }
  .timeline::before { left: 29px; }
  .timeline li { grid-template-columns: 60px 1fr; gap: 10px; }
  .founding__card { padding: 24px; border-radius: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .cta__form { padding: 22px; }
  .numbers__grid > div { padding: 32px 12px; }
  .footer__bottom { flex-direction: column; }
}

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

/* ---------- Icons (inline SVG sprite) ---------- */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.tabs__ico .i { width: 16px; height: 16px; }
.spark .i { width: 13px; height: 13px; }
.float__ico .i { width: 16px; height: 16px; stroke-width: 2.4; }
.eyebrow--ai { display: inline-flex; align-items: center; gap: 6px; }
.eyebrow--ai .i { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .scatter { height: auto; display: flex; flex-wrap: wrap; gap: 8px; }
  .scatter span { position: static; transform: none; }
}

/* ---------- Real screenshots ---------- */
.window__shot { display: block; width: 100%; height: auto; background: #111; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #111; }
.shot img { display: block; width: 100%; height: auto; }
.tabs__panel { grid-template-columns: 0.85fr 1.25fr; }

/* ---------- Product tour ---------- */
.tour__wrap { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: center; }
.tour__list { display: grid; gap: 8px; }
.tour__list button { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 12px; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s; }
.tour__list button:hover { background: rgba(255,255,255,.03); }
.tour__list button[aria-selected="true"] { background: var(--bg-2); border-color: var(--line-2); }
.tour__num { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--dim); padding-top: 2px; }
.tour__list button[aria-selected="true"] .tour__num { color: #e5e5e5; }
.tour__list b { display: block; font-size: 15.5px; font-weight: 600; color: var(--muted); }
.tour__list button[aria-selected="true"] b { color: var(--text); }
.tour__list small { display: none; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.tour__list button[aria-selected="true"] small { display: block; }
.tour__bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: transparent; }
.tour__list button[aria-selected="true"] .tour__bar { background: var(--line); }
.tour__bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.tour__stage { position: relative; }
.tour__stage::before { content: ""; position: absolute; inset: 6% 4%; background: radial-gradient(closest-side, rgba(255,255,255,0.248), transparent); filter: blur(40px); z-index: -1; }
.tour__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #111; }
@media (max-width: 1100px) {
  .tour__wrap { grid-template-columns: 1fr; }
  .tour__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) { .tabs__panel { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .tour__list { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tour__list button { padding: 12px; grid-template-columns: 1fr; gap: 2px; }
  .tour__list small { display: none !important; }
  .tour__list b { font-size: 13.5px; }
}

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { margin: 0; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.gallery__item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item button { display: block; padding: 0; border: 0; background: #111; cursor: zoom-in; border-bottom: 1px solid var(--line); }
.gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.gallery__item figcaption { padding: 16px 18px 18px; color: var(--muted); font-size: 14px; }
.gallery__item figcaption b { display: block; color: var(--text); font-size: 15.5px; font-family: var(--display); font-weight: 600; margin-bottom: 4px; }
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 32px; cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 12px; box-shadow: var(--shadow); cursor: default; }
.zoom__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20,20,20,.8); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 960px) { .gallery__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gallery__grid { grid-template-columns: 1fr; } .gallery__item--wide { grid-column: auto; } .zoom { padding: 12px; } }
.tour__wrap { grid-template-columns: 360px 1fr; }
.tour__list { gap: 4px; }
.tour__list button { padding: 13px 16px; }
@media (max-width: 1100px) { .tour__wrap { grid-template-columns: 1fr; } .tour__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tour__list { grid-template-columns: 1fr 1fr; } }
