/* Rotabook — Feature Page template styles (marketing register: warm, rounded, soft cards, light-only) */
@import url("colors_and_type.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ── Nav ───────────────────────────────────────── */
.rb-nav { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); background: color-mix(in oklab, var(--bg) 80%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent); }
.rb-nav-inner { max-width: 1280px; margin: 0 auto; padding: 15px 32px; display: flex; align-items: center; gap: 30px; }
.rb-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--text); }
.rb-brand .brand-mark { width: 30px; height: 30px; display: block; color: var(--text); flex: none; }
.rb-nav-links { display: flex; gap: 4px; margin-left: 6px; font-size: 14.5px; color: var(--text-muted); }
.rb-nav-links > a, .rb-nav-trigger { color: var(--text-muted); padding: 8px 10px; cursor: pointer; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.rb-nav-links > a:hover, .rb-nav-trigger:hover { color: var(--text); background: var(--bg-muted); }
.rb-nav-trigger svg { width: 13px; height: 13px; transition: transform var(--dur-base) var(--ease-out); }
.rb-has-mega { position: relative; }
.rb-has-mega.open .rb-nav-trigger { color: var(--text); background: var(--bg-muted); }
.rb-has-mega.open .rb-nav-trigger svg { transform: rotate(180deg); }
.rb-nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14.5px; }
.rb-nav-right > a { color: var(--text-muted); cursor: pointer; }
.rb-nav-right > a:hover { color: var(--text); }
.rb-nav-cta { background: var(--text); color: #fff !important; padding: 9px 17px; border-radius: 999px; font-weight: 600; transition: background var(--dur-base) ease; }
.rb-nav-cta:hover { background: color-mix(in oklab, var(--text) 86%, var(--accent)); }
@media (max-width: 1000px) { .rb-nav-links { display: none; } }

/* ── Features mega-menu ───────────────────────── */
.rb-mega { position: absolute; top: calc(100% + 12px); left: 0; transform: translateY(-6px); width: min(720px, 92vw); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 14px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); z-index: 70; }
.rb-has-mega.open .rb-mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.rb-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.rb-mega-item { display: flex; gap: 13px; padding: 13px; border-radius: var(--radius); cursor: pointer; transition: background var(--dur-fast) ease; align-items: flex-start; }
.rb-mega-item:hover { background: var(--bg-muted); }
.rb-mega-item.current { background: var(--accent-soft); }
.rb-mega-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.rb-mega-item.current .rb-mega-ic { background: var(--accent); color: #fff; }
.rb-mega-ic svg { width: 19px; height: 19px; }
.rb-mega-tt { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.rb-mega-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: var(--radius-chip); }
.rb-mega-ds { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; margin-top: 3px; }
.rb-mega-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 13px 6px; border-top: 1px solid var(--border-soft); }
.rb-mega-foot .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.rb-mega-foot a { color: var(--accent); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; flex: none; }
.rb-mega-foot a svg { width: 14px; height: 14px; flex: none; }

/* ── Buttons (pill) ────────────────────────────── */
.rb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 16px 28px; font-family: var(--font-body); font-size: 16px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; white-space: nowrap; }
.rb-btn:active { transform: scale(0.97); }
.rb-btn svg { width: 16px; height: 16px; }
.rb-btn-primary { background: var(--text); color: #fff; }
.rb-btn-primary:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--text) 88%, var(--accent) 12%); }
.rb-btn-secondary { background: transparent; color: var(--text); border-color: color-mix(in oklab, var(--text) 22%, transparent); }
.rb-btn-secondary:hover { border-color: var(--text); background: color-mix(in oklab, var(--text) 4%, transparent); }
.rb-btn-sm { padding: 11px 19px; font-size: 14.5px; }

/* ── Breadcrumb ────────────────────────────────── */
.rb-crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-dim); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.rb-crumb a { color: var(--text-dim); cursor: pointer; transition: color var(--dur-fast) ease; }
.rb-crumb a:hover { color: var(--accent); }
.rb-crumb .sep { color: color-mix(in oklab, var(--text-dim) 55%, transparent); }
.rb-crumb .cur { color: var(--text); }

/* ════════════════════════════════════════════════
   HERO — Direction A (centered, screenshot below)
   ════════════════════════════════════════════════ */
.feat-hero { padding: 30px 0 56px; }
.heroA-center { max-width: 860px; margin: 32px auto 0; text-align: center; }
.heroA-eyebrow { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.heroA-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }
.heroA-h1 { font-family: var(--font-head); font-weight: 600; font-size: clamp(33px, 4.1vw, 50px); line-height: 1.12; letter-spacing: -0.025em; color: var(--text); text-wrap: wrap; max-width: 20ch; margin: 0 auto; }
.heroA-tagline { font-family: var(--font-head); font-style: italic; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.2; color: var(--text); margin: 16px auto 0; }
.heroA-tagline em { font-style: italic; color: var(--accent); }
.heroA-h1 em { font-style: italic; color: var(--accent); }
.heroA-sub { margin: 24px auto 0; max-width: 52ch; color: var(--text-muted); font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.heroA-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.heroA-trust { margin-top: 30px; display: flex; gap: 12px 26px; flex-wrap: wrap; justify-content: center; color: var(--text-muted); font-size: 13.5px; }
.heroA-trust-item { display: inline-flex; align-items: center; gap: 9px; }
.heroA-trust-dot { width: 18px; height: 18px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 16%, var(--bg)); color: var(--accent); display: grid; place-items: center; flex: none; }
.heroA-trust-dot svg { width: 11px; height: 11px; }
.heroA-shot { max-width: 1000px; margin: 52px auto 0; }

/* ── Faux app screenshot (shared) ──────────────── */
.appshot-frame { background: var(--bg-muted); border: 1px solid var(--border); border-radius: 18px; padding: 14px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 36px 80px -34px rgba(11,17,32,0.32), 0 10px 24px -14px rgba(11,17,32,0.10); position: relative; }
.appshot-bar { display: flex; align-items: center; gap: 12px; padding: 2px 6px 13px; }
.appshot-dots { display: flex; gap: 6px; }
.appshot-dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--text) 13%, transparent); }
.appshot-url { margin-left: 6px; flex: 1; max-width: 340px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 7px; overflow: hidden; }
.appshot-url .lock { width: 9px; height: 9px; color: var(--green); flex: none; }
.appshot-url .u-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appshot { background: var(--bg); border: 1px solid color-mix(in oklab, var(--border) 80%, transparent); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 188px 1fr; min-height: 392px; container-type: inline-size; }
.as-side { background: var(--bg); border-right: 1px solid var(--border-soft); padding: 14px 10px; display: flex; flex-direction: column; }
.as-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 15px; padding: 2px 8px 12px; color: var(--text); }
.as-brand .brand-mark { width: 20px; height: 20px; }
.as-sec { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin: 12px 8px 5px; }
.as-sec:first-of-type { margin-top: 2px; }
.as-item { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 8px; font-size: 12.5px; color: var(--text-muted); }
.as-item svg { width: 14px; height: 14px; color: var(--text-dim); flex: none; }
.as-item .ct { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.as-item.active { background: color-mix(in oklab, var(--accent) 10%, var(--bg)); color: var(--text); font-weight: 500; }
.as-item.active svg, .as-item.active .ct { color: var(--accent); }
.as-store { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.as-store .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.as-store > div { flex: 1; min-width: 0; }
.as-store .snm { font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.as-store .ssub { font-size: 9.5px; color: var(--text-dim); white-space: nowrap; }
.as-store svg { width: 14px; height: 14px; color: var(--text-dim); flex: none; }
.as-main { padding: 16px 18px; min-width: 0; }
.as-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.as-top h3 { font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.as-top .sub { font-size: 11.5px; color: var(--text-dim); margin-top: 3px; }
.as-chip { font-family: var(--font-mono); font-size: 10px; color: var(--green); background: color-mix(in oklab, var(--green) 12%, var(--bg)); border: 1px solid color-mix(in oklab, var(--green) 26%, transparent); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.as-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.as-stat { border: 1px solid var(--border); border-radius: 11px; padding: 11px 13px; }
.as-stat.accent { background: color-mix(in oklab, var(--accent) 8%, var(--bg)); border-color: color-mix(in oklab, var(--accent) 24%, transparent); }
.as-stat .k { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); }
.as-stat .v { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; display: flex; align-items: baseline; gap: 4px; }
.as-stat .v .u { color: var(--accent); font-size: 16px; }
.as-stat .d { font-family: var(--font-mono); font-size: 9.5px; margin-top: 3px; color: var(--green); }
.as-stat .d.mute { color: var(--text-dim); }
.as-panel { border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.as-panel-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.as-panel-h .t { font-family: var(--font-head); font-size: 13.5px; font-weight: 600; }
.as-panel-h .m { font-family: var(--font-mono); font-size: 9.5px; color: var(--text-dim); }
.as-grid { display: grid; grid-template-columns: 96px repeat(7, 1fr); gap: 5px; align-items: center; }
.as-grid .day { text-align: center; font-family: var(--font-mono); font-size: 8.5px; color: var(--text-dim); text-transform: uppercase; }
.as-grid .nm { font-size: 11px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.as-av { width: 19px; height: 19px; border-radius: 50%; background: color-mix(in oklab, var(--text) 10%, transparent); color: var(--text); font-size: 8.5px; font-weight: 600; display: grid; place-items: center; font-family: var(--font-head); flex: none; }
.as-cell { height: 22px; border-radius: 5px; background: color-mix(in oklab, var(--border) 50%, transparent); transition: transform 120ms ease; }
.as-cell.p { background: color-mix(in oklab, var(--accent) 62%, white); }
.as-cell.h { background: color-mix(in oklab, var(--green) 50%, white); }
.as-cell.a { background: color-mix(in oklab, var(--text) 8%, var(--bg)); }
.as-legend { display: flex; gap: 14px; margin-top: 12px; font-size: 10px; color: var(--text-muted); }
.as-legend span { display: inline-flex; align-items: center; gap: 6px; }
.as-legend i { width: 10px; height: 10px; border-radius: 3px; }

/* ── Realistic attendance log (feature-page hero shot) ── */
.as-th.shot-hide, .as-td.shot-hide, .as-tools.shot-hide, .as-pillbtn.shot-hide { display: none; }
.as-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.as-tabs { display: flex; gap: 3px; background: var(--bg-muted); padding: 3px; border-radius: 9px; }
.as-tab { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.03em; padding: 5px 9px; border-radius: 6px; color: var(--text-dim); white-space: nowrap; }
.as-tab.on { background: var(--bg); color: var(--accent); box-shadow: 0 1px 2px rgba(0,0,0,.05), inset 0 0 0 1px var(--border); }
.as-tools { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.as-btn { font-size: 11px; font-weight: 500; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--border); color: var(--text); background: var(--bg); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.as-btn svg { width: 12px; height: 12px; }
.as-btn.primary { background: var(--text); color: #fff; border-color: var(--text); }
.as-filter { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.as-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-muted); color: var(--text-dim); font-size: 11px; }
.as-search svg { width: 12px; height: 12px; flex: none; }
.as-pillbtn { font-size: 10.5px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; }
.as-pillbtn svg { width: 10px; height: 10px; color: var(--text-dim); }
.as-mini { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.as-mini > div { padding: 9px 12px; border-right: 1px solid var(--border-soft); border-top: 1px solid var(--border-soft); }
.as-mini > div:nth-child(-n+2) { border-top: 0; }
.as-mini .k { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.as-mini .v { font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; color: var(--text); }
.as-mini .v small { font-size: 10.5px; color: var(--text-dim); font-family: var(--font-body); font-weight: 400; }
.as-table { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.as-thead, .as-trow { display: grid; grid-template-columns: minmax(0,1.5fr) 0.62fr 0.92fr; gap: 8px; padding: 8px 12px; align-items: center; }
.as-thead { background: var(--bg-muted); border-bottom: 1px solid var(--border); }
.as-th { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-dim); display: flex; align-items: center; gap: 3px; }
.as-th svg { width: 8px; height: 8px; }
.as-trow { border-top: 1px solid var(--border-soft); font-size: 11.5px; transition: background var(--dur-fast) ease; }
.as-trow:first-of-type { border-top: 0; }
.as-trow.sel { background: color-mix(in oklab, var(--accent) 6%, var(--bg)); box-shadow: inset 2px 0 0 var(--accent); }
.as-emp { display: flex; align-items: center; gap: 8px; min-width: 0; }
.as-emp .nm2 { display: block; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.as-emp .ro2 { display: block; font-size: 9px; color: var(--text-dim); line-height: 1.2; }
.as-td { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-td.mono { font-family: var(--font-mono); font-size: 10.5px; color: var(--text); }
.as-td.mute { color: var(--text-dim); }
.as-st { font-size: 9px; font-weight: 600; padding: 3px 7px; border-radius: 999px; white-space: nowrap; justify-self: start; }
.as-st.ok { background: color-mix(in oklab, var(--green) 15%, var(--bg)); color: var(--green); }
.as-st.late { background: color-mix(in oklab, var(--amber) 20%, var(--bg)); color: var(--amber-ink); }
.as-st.leave { background: var(--bg-muted); color: var(--text-dim); }
.as-st.soon { background: var(--accent-soft); color: var(--accent-dark); }
.as-tfoot { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 9.5px; color: var(--text-dim); }
.as-tfoot a { color: var(--accent); }
@container (min-width: 600px) {
  .as-td.shot-hide { display: block; }
  .as-th.shot-hide { display: flex; }
  .as-tools.shot-hide { display: flex; }
  .as-pillbtn.shot-hide { display: inline-flex; }
  .as-mini { grid-template-columns: repeat(4, 1fr); }
  .as-mini > div { border-top: 0; }
  .as-thead, .as-trow { grid-template-columns: minmax(0,1.8fr) 1fr 0.66fr 0.66fr 0.5fr 0.96fr; }
}
/* floaters */
.appshot-floater { position: absolute; background: var(--text); color: var(--bg); border-radius: 11px; padding: 10px 13px; font-size: 12px; box-shadow: 0 18px 40px -16px rgba(11,17,32,0.5); display: flex; align-items: center; gap: 9px; z-index: 3; }
.appshot-floater.f1 { top: -14px; right: 26px; transform: rotate(2deg); }
.appshot-floater.f2 { bottom: -16px; left: 34px; background: var(--bg); color: var(--text); border: 1px solid var(--border); transform: rotate(-2deg); }
.appshot-floater .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 4px color-mix(in oklab, var(--green) 30%, transparent); flex: none; }
@media (max-width: 560px) { .appshot { grid-template-columns: 1fr; } .as-side { display: none; } .appshot-floater { display: none; } .as-stats { grid-template-columns: 1fr 1fr; } .as-grid { grid-template-columns: 70px repeat(7,1fr); } }

/* ── Section scaffold ──────────────────────────── */
.feat-section { padding: 72px 0; }
.feat-section.muted { background: var(--bg-muted); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec-head h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--text-muted); line-height: 1.55; text-wrap: pretty; }

/* ── Benefits (3-up) ───────────────────────────── */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; background: var(--bg); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) ease, box-shadow var(--dur-base) ease; }
.benefit:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); box-shadow: var(--shadow-md); }
.benefit .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .ic svg { width: 21px; height: 21px; }
.benefit h3 { font-family: var(--font-body); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 9px; }
.benefit p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }

/* ── How it works (steps) ──────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.step-num { font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--font-head); font-size: 18px; font-weight: 600; margin-bottom: 9px; }
.step p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps-note { margin-top: 24px; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; max-width: 760px; }
.steps-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }

/* ── Comparison table ──────────────────────────── */
.cmp-table { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); max-width: 940px; margin: 0 auto; }
.cmp-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.cmp-row + .cmp-row { border-top: 1px solid var(--border-soft); }
.cmp-cell { padding: 16px 18px; font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--border-soft); }
.cmp-cell:first-child { border-left: 0; }
.cmp-feat { font-weight: 600; color: var(--text); font-size: 13.5px; }
.cmp-head { background: var(--bg-muted); }
.cmp-head .cmp-cell { font-family: var(--font-body); font-weight: 700; color: var(--text); font-size: 13.5px; }
.cmp-own { background: color-mix(in oklab, var(--accent) 6%, var(--bg)); color: var(--text); font-weight: 500; }
.cmp-head .cmp-own { background: color-mix(in oklab, var(--accent) 12%, var(--bg)); color: var(--accent-dark); }
.cmp-mark { display: inline-grid; place-items: center; color: var(--accent); }
.cmp-tick { width: 17px; height: 17px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.cmp-tick svg { width: 10px; height: 10px; }
@media (max-width: 720px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-cell { border-left: 0; padding: 9px 16px; }
  .cmp-feat { padding-top: 16px; background: var(--bg-muted); }
  .cmp-head { display: none; }
  .cmp-own { border-left: 3px solid var(--accent); }
}

/* ── Deep-dive (alternating) ───────────────────── */
.deepdive { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--border-soft); }
.deepdive:first-of-type { border-top: 0; padding-top: 8px; }
.deepdive.rev .dd-media { order: 0; } .deepdive.rev .dd-body { order: 1; }
.dd-eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.dd-body h3 { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 14px; }
.dd-body > p { font-size: 16px; line-height: 1.6; color: var(--text-muted); margin-bottom: 18px; text-wrap: pretty; }
.dd-list { list-style: none; padding: 0; margin: 0; }
.dd-list li { display: flex; gap: 11px; font-size: 15px; color: var(--text); padding: 7px 0; line-height: 1.45; }
.dd-list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }
/* deep-dive visual blocks */
.dd-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); padding: 18px; }
.dd-card .dd-card-h { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dd-card .dd-card-h b { color: var(--accent); font-weight: 600; }
.dd-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--border-soft); font-size: 13px; }
.dd-row:first-of-type { border-top: 0; }
.dd-av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 10.5px; font-weight: 600; display: grid; place-items: center; flex: none; font-family: var(--font-head); }
.dd-nm { flex: 1; font-weight: 500; color: var(--text); }
.dd-nm .s { color: var(--text-dim); font-size: 11px; font-weight: 400; }
.dd-pill { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.dd-pill.ok { background: color-mix(in oklab, var(--green) 16%, var(--bg)); color: var(--green); }
.dd-pill.warn { background: color-mix(in oklab, var(--amber) 20%, var(--bg)); color: var(--amber-ink); }
.dd-pill.mute { background: var(--bg-muted); color: var(--text-dim); }
.dd-pill.accent { background: var(--accent-soft); color: var(--accent-dark); }
.dd-bars { display: flex; align-items: flex-end; gap: 9px; height: 120px; margin-top: 6px; padding: 0 2px; }
.dd-bars .bar { flex: 1; background: color-mix(in oklab, var(--accent) 20%, var(--bg)); border-radius: 6px 6px 0 0; position: relative; }
.dd-bars .bar.hi { background: var(--accent); }
.dd-bars .bar span { position: absolute; bottom: -19px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 9px; color: var(--text-dim); }
.dd-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 13px; background: var(--accent-soft); border-radius: 10px; font-size: 12.5px; color: var(--accent-dark); }
.dd-note svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 860px) { .deepdive { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; } .deepdive.rev .dd-body { order: 0; } .deepdive.rev .dd-media { order: 1; } }

/* ── FAQ accordion ─────────────────────────────── */
.faq-wrap { max-width: 760px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 4px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.faq-q:hover { color: var(--accent); }
.faq-q .tog { margin-left: auto; width: 22px; height: 22px; flex: none; position: relative; color: var(--text-dim); transition: color var(--dur-fast) ease; }
.faq-q:hover .tog { color: var(--accent); }
.faq-q .tog::before, .faq-q .tog::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) ease; }
.faq-q .tog::before { left: 4px; right: 4px; top: 10px; height: 2px; }
.faq-q .tog::after { top: 4px; bottom: 4px; left: 10px; width: 2px; }
.faq-item.open .faq-q .tog::after { transform: scaleY(0); opacity: 0; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-base) var(--ease-out); }
.faq-a-inner { padding: 0 50px 24px 4px; color: var(--text-muted); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.faq-a-inner a { color: var(--accent); font-weight: 500; cursor: pointer; }

/* ── Related features ──────────────────────────── */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--bg); cursor: pointer; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) ease, box-shadow var(--dur-base) ease; }
.rel-card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-md); }
.rel-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.rel-ic svg { width: 20px; height: 20px; }
.rel-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.rel-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.rel-card .go { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.rel-card:hover .go svg { transform: translateX(3px); }
.rel-card .go svg { width: 13px; height: 13px; transition: transform var(--dur-base) var(--ease-out); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* ── Features hub grid ─────────────────────────── */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hub-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; background: var(--bg); cursor: pointer; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) ease, box-shadow var(--dur-base) ease; }
.hub-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-md); }
.hub-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; transition: background var(--dur-base) ease, color var(--dur-base) ease; }
.hub-card:hover .hub-ic { background: var(--accent); color: #fff; }
.hub-ic svg { width: 23px; height: 23px; }
.hub-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 10px; }
.hub-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.hub-card .go { margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.hub-card .go svg { width: 13px; height: 13px; transition: transform var(--dur-base) var(--ease-out); }
.hub-card:hover .go svg { transform: translateX(3px); }
@media (max-width: 860px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }

/* ── CTA ───────────────────────────────────────── */
.feat-cta-band { background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent) 20%, var(--border)); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; }
.feat-cta-band h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; max-width: 20ch; margin: 0 auto; line-height: 1.1; }
.feat-cta-band p { margin-top: 16px; color: var(--text-muted); font-size: 17px; max-width: 54ch; margin-left: auto; margin-right: auto; line-height: 1.55; }
.feat-cta-actions { margin-top: 30px; display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }
.feat-cta-note { margin-top: 22px; font-size: 13.5px; color: var(--text-dim); }
@media (max-width: 620px) { .feat-cta-band { padding: 48px 22px; } }

/* ── Footer ────────────────────────────────────── */
.rb-footer { padding: 48px 0 40px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14px; margin-top: 8px; }
.rb-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--border-soft); }
.rb-foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--text); margin-bottom: 14px; }
.rb-foot-brand .brand-mark { width: 26px; height: 26px; }
.rb-foot-blurb { font-size: 13.5px; color: var(--text-muted); max-width: 30ch; line-height: 1.55; }
.rb-foot-col h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); font-weight: 500; margin-bottom: 14px; }
.rb-foot-col a { display: block; color: var(--text-muted); font-size: 13.5px; padding: 5px 0; cursor: pointer; }
.rb-foot-col a:hover { color: var(--accent); }
.rb-footer-bot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; font-size: 13px; color: var(--text-dim); }
@media (max-width: 760px) { .rb-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .rb-footer-top { grid-template-columns: 1fr; } }

/* ── Modal (demo / sign-in) ────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11,17,32,0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 200; opacity: 0; pointer-events: none; transition: opacity var(--dur-base) ease; }
.modal-backdrop[data-open="true"] { opacity: 1; pointer-events: auto; }
.modal-card { width: 100%; max-width: 440px; background: white; border-radius: 20px; padding: 36px 32px 28px; box-shadow: var(--shadow-modal); position: relative; transform: translateY(8px) scale(0.98); transition: transform var(--dur-base) var(--ease-out); }
.modal-backdrop[data-open="true"] .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 10px; background: transparent; color: var(--text-dim); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.modal-close:hover { background: var(--bg-muted); color: var(--text); }
.modal-badge { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; color: white; margin-bottom: 20px; box-shadow: 0 10px 24px -8px rgba(79,70,229,0.5); }
.modal-badge svg { width: 22px; height: 22px; }
.modal-card h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 6px; }
.modal-card > p { color: var(--text-muted); font-size: 15px; margin-bottom: 22px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-field .optional { color: var(--text-dim); font-weight: 400; font-size: 12px; }
.form-field input { width: 100%; border: 1.5px solid var(--border); border-radius: 11px; padding: 12px 14px; font-size: 16px; font-family: inherit; color: var(--text); background: white; outline: none; transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.form-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.modal-submit { width: 100%; margin-top: 16px; }
.modal-help { margin-top: 18px; font-size: 13px; color: var(--text-dim); text-align: center; }
.form-success { text-align: center; padding: 12px 0 8px; }
.form-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success-icon svg { width: 28px; height: 28px; }
.form-success h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.form-success p { color: var(--text-muted); font-size: 15px; max-width: 32ch; margin: 0 auto; }

/* reveal — pure-CSS entrance; always ends visible (no JS dependency) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rb-reveal 600ms var(--ease-out) both; }
}
@keyframes rb-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* mock dashboard title (was h3, now div for correct heading order) */
.as-top .as-title { font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
