/* 3FS Tokenized — design system.
   Brand: 3FS white + crimson (usda.3fs.app tokens), liquid glass surfaces (UnyKorn glass recipe from chain.unykorn.ai),
   Inter for UI, Instrument Serif italic for accent words, IBM Plex Mono for figures.
   Every page loads this file. App shells (investor, back office) also load app.css. */

@import url("fonts.css");

:root {
  --on-accent: #FFFFFF; /* text on accent fills; themes with a light accent override it */
  color-scheme: light;
  --accent: #A30D22;          /* 3FS crimson; white-label overrides via store brand.accent */
  --accent-d: #8A0B1D;
  --accent-soft: color-mix(in srgb, var(--accent) 8%, transparent);
  --ink: #111214;
  --ink2: #24272C;
  --muted: #5F6670;
  --faint: #8C929B;
  --line: #E2E3E7;
  --line-2: #EEEEEC;
  --bg: #F6F6F4;
  --bg-2: #EFEFEC;
  --surface: #FFFFFF;
  --navy: #1F3A66;
  --chrome: linear-gradient(180deg, #FBFBFC 0%, #E4E6EA 55%, #C9CCD2 100%);
  --ok: #128A66;   --ok-bg: rgba(18, 138, 102, .10);
  --warn: #B7791F; --warn-bg: rgba(183, 121, 31, .12);
  --bad: #C9362F;  --bad-bg: rgba(201, 54, 47, .10);
  --info: #2F6BD8; --info-bg: rgba(47, 107, 216, .10);
  --idle-bg: rgba(95, 102, 112, .10);

  /* Liquid glass */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-b: rgba(255, 255, 255, .85);
  --glass-dark: rgba(17, 18, 20, .42);
  --glass-dark-b: rgba(255, 255, 255, .18);
  --blur: blur(22px) saturate(180%);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-s: 10px; --r: 16px; --r-l: 24px; --r-xl: 32px;
  --shadow-s: 0 1px 2px rgba(17, 18, 20, .06), 0 2px 8px rgba(17, 18, 20, .04);
  --shadow: 0 1px 2px rgba(17, 18, 20, .05), 0 12px 32px rgba(17, 18, 20, .08);
  --shadow-l: 0 2px 6px rgba(17, 18, 20, .06), 0 28px 64px -12px rgba(17, 18, 20, .22);
  --max: 1240px;
  --gutter: 16px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #E0324A; --accent-d: #C21F37; --accent-soft: rgba(224, 50, 74, .14);
  --ink: #F2F2F0; --ink2: #D9DADD; --muted: #A2A8B1; --faint: #7D838C;
  --line: #2A2D33; --line-2: #24272C;
  --bg: #0D0E10; --bg-2: #141518; --surface: #17181B;
  --glass: rgba(28, 29, 33, .62); --glass-strong: rgba(28, 29, 33, .86); --glass-b: rgba(255, 255, 255, .10);
  --ok: #3CC497; --warn: #E3A64A; --bad: #F06A5F; --info: #6FA0FF;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-l: 0 28px 64px -12px rgba(0, 0, 0, .6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"])[data-auto-theme] { color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
[data-theme="dark"] :focus-visible { outline-color: #8FB0FF; }
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -.025em; text-wrap: balance; font-weight: 800; }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.06; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
h4 { font-size: 16px; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }
.serif, h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.eyebrow.plain::before { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.hide { display: none !important; }

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.section.alt { background: var(--surface); }
.section.dark { background: #0D0E10; color: #F2F2F0; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .muted { color: #A2A8B1; }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 12px; }
.stack-l { display: grid; gap: 24px; }
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

/* ---------- Surfaces ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 28px; box-shadow: var(--shadow-s);
}
.card.hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.glass {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-b); border-radius: var(--r-l);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), var(--shadow);
}
.glass.strong { background: var(--glass-strong); }
.glass.dark {
  background: var(--glass-dark); border-color: var(--glass-dark-b); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 60px -20px rgba(0, 0, 0, .5);
}
.glass.dark .muted { color: rgba(255, 255, 255, .72); }
.chrome-edge { position: relative; }
.chrome-edge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(201,204,210,.35) 40%, color-mix(in srgb, var(--accent) 35%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}

/* Ambient crimson glow behind glass sections */
.ambient { position: relative; isolation: isolate; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); filter: blur(10px);
}
.ambient::after {
  content: ""; position: absolute; z-index: -1; inset: auto auto -30% -10%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, rgba(31, 58, 102, .10), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 650 15px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn:hover { color: inherit; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent-d); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-primary:hover { background: var(--accent-d); color: var(--on-accent); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #2A2D33; color: #fff; }
[data-theme="dark"] .btn-dark:hover { background: #fff; color: #111; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-glass:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.btn-link { background: none; border: 0; padding: 0; height: auto; color: var(--accent); font-weight: 650; }
.btn-link:hover { color: var(--accent-d); text-decoration: underline; }
.btn-s { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.btn-l { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #A72A24; color: #fff; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 600 12px/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  background: var(--idle-bg); color: var(--ink2);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.no-dot::before { display: none; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.glass { background: rgba(255, 255, 255, .78); color: var(--ink); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 0; box-shadow: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font: 600 13.5px/1 var(--sans); color: var(--ink2); cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tag { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font: 600 13px/1.2 var(--sans); color: var(--ink2); }
.hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 400 15px/1.2 var(--sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235F6670' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 18, 20, .06); }
.input.s, .select.s { height: 38px; font-size: 14px; border-radius: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.range { width: 100%; accent-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }

/* ---------- Data ---------- */
.kpi { display: grid; gap: 4px; }
.kpi .v { font: 700 clamp(24px, 2.6vw, 34px)/1.05 var(--mono); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi .k { font-size: 13px; color: var(--muted); }
.progress { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-d), var(--accent)); }
.progress.ok > i { background: var(--ok); }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 12px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--bg); }
.table .r, .table th.r { text-align: right; }
.table td.num, .table td.r { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14.5px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; text-align: right; font-weight: 600; }
.hash { font: 500 12.5px/1.4 var(--mono); color: var(--muted); word-break: break-all; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font: 600 14px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }

/* ---------- Site header ---------- */
.demo-bar {
  background: #111214; color: #E9E9EB; font: 500 12.5px/1.35 var(--sans); text-align: center; padding: 8px var(--gutter);
}
.demo-bar b { color: #fff; }
.demo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-head { position: sticky; top: 0; z-index: 60; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-head.solid, .site-head.scrolled {
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom-color: rgba(17, 18, 20, .06);
}
[data-theme="dark"] .site-head.solid, [data-theme="dark"] .site-head.scrolled { background: rgba(13, 14, 16, .78); border-bottom-color: rgba(255,255,255,.06); }
.site-head.on-photo:not(.scrolled) { color: #fff; }
.site-head.on-photo:not(.scrolled) .nav-link, .site-head.on-photo:not(.scrolled) .brand { color: #fff; }
.site-head.on-photo:not(.scrolled) .brand-sub { color: rgba(255, 255, 255, .7); }
.site-head.on-photo:not(.scrolled) .icon-btn { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.head-in { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand-name { font: 800 19px/1 var(--sans); letter-spacing: -.02em; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-sub { display: block; margin-top: 3px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { flex: 1; display: flex; justify-content: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 10px; font: 600 15px/1 var(--sans); color: var(--ink2); background: none; border: 0; }
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.open .nav-link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: min(760px, 92vw);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  background: var(--glass-strong); color: var(--ink);
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; color: var(--ink); }
.mega a:hover { background: var(--surface); color: var(--ink); }
.mega .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.mega .ico svg { width: 20px; height: 20px; }
.mega b { display: block; font-size: 14.5px; font-weight: 650; }
.mega small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.head-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .head-actions .hide-m { display: none; }
  .mobile-nav.open {
    display: grid; position: fixed; inset: 72px 12px auto 12px; max-height: calc(100dvh - 90px); overflow: auto; padding: 10px; z-index: 70; color: var(--ink);
    background: var(--glass-strong);
  }
  .mobile-nav a { padding: 14px 12px; border-radius: 12px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
  .mobile-nav a:last-child { border-bottom: 0; }
  .mobile-nav .group { padding: 14px 12px 6px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- Page hero (photo) ---------- */
.hero-photo { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; color: #fff; margin-top: -73px; isolation: isolate; overflow: hidden; }
.hero-photo > img, .hero-photo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.12) 34%, rgba(10,10,12,.30) 62%, rgba(10,10,12,.82) 100%); }
.hero-photo h1, .hero-photo h2 { color: #fff; }
.hero-photo h1 em { color: #fff; }
.hero-photo .lead { color: rgba(255, 255, 255, .86); }
.hero-photo .eyebrow { color: #fff; }
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 64px); }
.page-hero .lead { max-width: 680px; margin-top: 20px; }

/* ---------- Property cards ---------- */
.prop-card { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); color: var(--ink); }
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prop-card:hover .prop-media img { transform: scale(1.04); }
.prop-media .badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.prop-media .price-pill { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; border-radius: 14px; }
.prop-body { padding: 20px 22px 22px; display: grid; gap: 14px; }
.prop-body h3 { font-size: 19px; }
.prop-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.prop-meta div { display: grid; gap: 2px; }
.prop-meta b { font: 650 15px/1.2 var(--mono); }
.prop-meta span { font-size: 12px; color: var(--muted); }

/* ---------- Feature list / icons ---------- */
.ico-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.ico-tile svg { width: 24px; height: 24px; }
.ico-tile.dark { background: var(--ink); color: #fff; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink2); }
.checklist li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000' fill-opacity='.14'/%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' stroke='%23000' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000' fill-opacity='.14'/%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' stroke='%23000' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.feature-cols { columns: 3 260px; column-gap: 32px; }
.feature-cols li { break-inside: avoid; margin-bottom: 12px; }

/* ---------- Browser / device frames for product shots ---------- */
.frame { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-l); }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9DADD; }
.frame-bar i:first-child { background: #F26B5E; } .frame-bar i:nth-child(2) { background: #F4BE4F; } .frame-bar i:nth-child(3) { background: #5CC873; }
.frame-bar .url { margin-left: 10px; flex: 1; height: 24px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font: 500 11.5px/22px var(--mono); color: var(--muted); padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; padding: clamp(36px, 6vw, 72px); isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--accent-d) 92%, #000) 0%, color-mix(in srgb, var(--accent) 72%, transparent) 45%, rgba(17, 18, 20, .25) 100%); }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band h2 em { color: #fff; }

/* ---------- Footer ---------- */
.site-foot { background: #0D0E10; color: #C9CBD0; padding-top: 72px; }
.site-foot a { color: #C9CBD0; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand-sub { color: #8C929B; }
.foot-legal { margin-top: 56px; padding-block: 28px 36px; border-top: 1px solid #24272C; display: grid; gap: 14px; font-size: 12.5px; line-height: 1.6; color: #8C929B; }
.foot-legal .row { justify-content: space-between; }
.powered { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1px solid #24272C; color: #E9E9EB; font-size: 13px; }
.powered img { width: 28px; height: 28px; border-radius: 6px; }
.powered .wm { font: 800 13px/1 var(--sans); letter-spacing: .04em; }
.powered .wm .u { color: #B7BBBE; } .powered .wm .k { color: #D9631F; letter-spacing: .16em; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Toast / modal / drawer ---------- */
.toast-wrap { position: fixed; z-index: 200; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.toast { padding: 14px 16px; border-radius: 14px; background: #111214; color: #fff; font-size: 14px; box-shadow: var(--shadow-l); display: flex; gap: 10px; align-items: flex-start; animation: toastIn .25s ease; }
.toast.ok { background: #0E5E46; } .toast.bad { background: #8F1F1A; } .toast.warn { background: #7A5214; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.modal-back { position: fixed; inset: 0; z-index: 150; background: rgba(13, 14, 16, .48); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
.modal { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-l); }
.modal.wide { width: min(880px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; }
.modal-body { padding: 20px 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 22px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* ---------- Notice ---------- */
.notice { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--ink2); font-size: 14px; line-height: 1.5; }
.notice svg { width: 20px; height: 20px; color: var(--warn); margin-top: 1px; }
.notice.info { background: var(--info-bg); } .notice.info svg { color: var(--info); }
.notice.accent { background: var(--accent-soft); } .notice.accent svg { color: var(--accent); }

/* Header fit on phones (fix: actions overflowed to ~479px at 375px wide) */
.head-in > * { min-width: 0; }
@media (max-width: 560px) {
  .head-in { gap: 10px; min-height: 64px; padding-block: 10px; }
  .brand { gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
  .head-actions { gap: 6px; margin-left: auto; }
  .head-actions .btn-s { padding: 0 12px; font-size: 13.5px; }
  .mobile-nav.open { inset: 64px 12px auto 12px; }
  .hero-photo { margin-top: -65px; }
}
@media (max-width: 340px) { .head-actions .btn-primary { display: none; } }
/* Grid and flex children may shrink below their content width, so wide tables scroll inside .table-wrap instead of widening the page. */
.table-wrap { max-width: 100%; min-width: 0; }
.grid > *, .stack > *, .stack-l > *, .split > *, .section-head > * { min-width: 0; }

.tabs { max-width: 100%; }
@media (max-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr); } }
.g2, .g3, .g4 { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.g2 { --cols: 2; } .g3 { --cols: 3; } .g4 { --cols: 4; }
@media (max-width: 1000px) { .g3, .g4 { --cols: 2; } }
@media (max-width: 640px) { .g2, .g3, .g4 { --cols: 1; } }
.site-head.on-photo:not(.scrolled) .brand-name em { color: #fff; }
.site-head.on-photo:not(.scrolled) .brand img { filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); }

/* Label added by ui.js to any image slot whose real photo is missing and a stand-in loaded instead. */
.standin-tag { position: absolute; right: 10px; bottom: 10px; z-index: 3; padding: 5px 9px; border-radius: 8px; background: rgba(17,18,20,.72); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .02em; pointer-events: none; }
.standin-tag.top { top: 120px; bottom: auto; right: 16px; }

/* A market with no brand film hides the video frame. */
.vid[data-motion=""] { display: none; }
.nav-link { white-space: nowrap; }
@media (max-width: 1240px) { .nav-link { padding: 10px 9px; font-size: 14.5px; } .head-actions .btn-s { padding: 0 12px; } }
