/* Deed Labs Co — site styles
   Apple-inspired: system type, generous whitespace, frosted chrome, soft depth. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-ink: #ffffff;
  --link: #0066cc;
  --grad-a: #2997ff;
  --grad-b: #7a5cff;
  --grad-c: #ff6ec4;
  --ok: #1f9d55;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.14);
  --nav-bg: rgba(255, 255, 255, 0.72);
  --dark-bg: #000000;
  --dark-surface: #161617;
  --dark-ink: #f5f5f7;
  --dark-muted: #a1a1a6;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #0b0b0d;
    --surface: #161617;
    --surface-2: #1c1c1e;
    --ink: #f5f5f7;
    --ink-2: #d2d2d7;
    --muted: #a1a1a6;
    --line: #3a3a3c;
    --line-soft: #2c2c2e;
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --accent-ink: #000000;
    --link: #2997ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
    --nav-bg: rgba(22, 22, 23, 0.72);
    --dark-surface: #1c1c1e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0b0b0d;
  --surface: #161617;
  --surface-2: #1c1c1e;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --muted: #a1a1a6;
  --line: #3a3a3c;
  --line-soft: #2c2c2e;
  --accent: #2997ff;
  --accent-hover: #47a6ff;
  --accent-ink: #000000;
  --link: #2997ff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(22, 22, 23, 0.72);
  --dark-surface: #1c1c1e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
::selection { background: rgba(0, 113, 227, 0.22); }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 12px;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.028em; line-height: 1.07; }
.display { font-size: clamp(44px, 8vw, 88px); letter-spacing: -0.045em; line-height: 1.02; }
.h2 { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted); letter-spacing: -0.016em; font-weight: 500; }
.muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(100deg, var(--grad-a) 0%, var(--grad-b) 50%, var(--grad-c) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 980px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--link); border-color: var(--link); }
.btn-ghost:hover { background: var(--link); color: var(--bg); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { opacity: 0.88; }
.btn-sm { min-height: 32px; padding: 6px 14px; font-size: 14px; }
.link-arrow { font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform 0.2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; text-decoration: none !important; }
.brand img { width: 28px; height: 28px; }
.brand span small { font-weight: 500; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: transparent; border: 0; cursor: pointer; color: var(--ink-2);
  transition: background-color 0.2s;
}
.icon-btn:hover { background: var(--line-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 56px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 24px 22px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.mobile-menu.open { display: block; opacity: 1; transform: none; }
.mobile-menu a { display: block; font-size: 28px; font-weight: 600; color: var(--ink); padding: 10px 0; letter-spacing: -0.02em; text-decoration: none; }
.mobile-menu .btn { margin-top: 24px; width: 100%; }

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 140px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 72px); text-align: center; }
.section-head .lead { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); text-align: center; overflow: hidden; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 980px;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.15); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.15); } 50% { box-shadow: 0 0 0 8px rgba(31, 157, 85, 0.04); } }
.hero h1 { max-width: 980px; margin: 0 auto; }
.hero .lead { max-width: 720px; margin: 24px auto 0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(41, 151, 255, 0.18), transparent 70%),
    radial-gradient(35% 45% at 70% 35%, rgba(122, 92, 255, 0.16), transparent 70%),
    radial-gradient(30% 40% at 55% 70%, rgba(255, 110, 196, 0.10), transparent 70%);
  filter: blur(10px);
}
.industry-rotator { display: inline-block; position: relative; min-width: 4.6ch; text-align: left; }
.industry-rotator span { display: inline-block; color: var(--ink); font-weight: 600; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.industry-rotator span.out { opacity: 0; transform: translateY(-0.25em); }
.industry-rotator span.in { opacity: 0; transform: translateY(0.25em); }

/* Agent console */
.console-wrap { margin: clamp(56px, 8vw, 88px) auto 0; max-width: 960px; perspective: 1600px; }
.console {
  text-align: left;
  border-radius: 20px;
  background: var(--dark-surface);
  color: var(--dark-ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotateX(8deg) scale(0.96);
  transform-origin: 50% 0;
  transition: transform 1.1s var(--ease);
}
.console.in-view { transform: none; }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.console-bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3a3c; }
.console-bar i:nth-child(1) { background: #ff5f57; }
.console-bar i:nth-child(2) { background: #febc2e; }
.console-bar i:nth-child(3) { background: #28c840; }
.console-bar .title { margin-left: 10px; font-size: 13px; color: var(--dark-muted); }
.console-bar .tag { margin-left: auto; font-size: 12px; color: var(--dark-muted); border: 1px solid rgba(255,255,255,0.14); padding: 2px 10px; border-radius: 980px; }
.console-body { display: grid; grid-template-columns: 220px 1fr; min-height: 340px; }
.console-side { border-right: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.console-side button {
  text-align: left; background: transparent; border: 0; color: var(--dark-muted);
  padding: 10px 12px; border-radius: 10px; font-size: 14px; cursor: pointer; transition: background 0.2s, color 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.console-side button:hover { background: rgba(255, 255, 255, 0.05); color: var(--dark-ink); }
.console-side button[aria-selected="true"] { background: rgba(41, 151, 255, 0.16); color: #fff; }
.console-side .swatch { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.console-main { padding: 20px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; }
.console-main .goal { font-family: var(--font); font-size: 15px; color: var(--dark-ink); margin-bottom: 14px; }
.console-main .goal b { color: #7cc0ff; font-weight: 600; }
.step { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.step.show { opacity: 1; transform: none; }
.step .s-icon { flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.step.done .s-icon { background: rgba(40, 200, 64, 0.18); color: #4ade80; }
.step.run .s-icon { border: 2px solid rgba(124, 192, 255, 0.35); border-top-color: #7cc0ff; animation: spin 0.8s linear infinite; }
.step .s-text { color: #d2d2d7; }
.step .s-text em { color: var(--dark-muted); font-style: normal; }
.result { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(40, 200, 64, 0.08); border: 1px solid rgba(40, 200, 64, 0.22); color: #b7f7c9; font-family: var(--font); font-size: 14px; opacity: 0; transition: opacity 0.4s; }
.result.show { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.console-caption { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 720px) {
  .console-body { grid-template-columns: 1fr; }
  .console-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); scrollbar-width: none; }
  .console-side button { white-space: nowrap; }
  .console-main { padding: 16px; font-size: 12.5px; min-height: 300px; }
}

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 26px 0; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; color: var(--muted); font-size: 15px; font-weight: 500; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner svg { width: 18px; height: 18px; color: var(--ink-2); }

/* ---------- Bento (services) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative;
  grid-column: span 3;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  min-height: 340px;
  display: flex; flex-direction: column;
}
.section-alt .tile { background: var(--surface); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile.wide { grid-column: span 6; }
.tile.third { grid-column: span 2; min-height: 0; }
.tile .tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; }
.tile .tile-icon svg { width: 24px; height: 24px; }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--muted); margin: 0; }
.tile ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 980px; background: var(--bg-alt); color: var(--ink-2); }
.section-alt .tile li { background: var(--bg-alt); }
.tile .tile-foot { margin-top: auto; padding-top: 24px; }
.tile-dark { background: #000 !important; color: #f5f5f7; }
.tile-dark p { color: #a1a1a6; }
.tile-dark li { background: rgba(255, 255, 255, 0.08) !important; color: #d2d2d7 !important; }
.tile-art { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; border-radius: 50%; filter: blur(50px); opacity: 0.35; pointer-events: none; }
.i-fin { background: linear-gradient(135deg, #34c759, #0a8f5a); }
.i-edu { background: linear-gradient(135deg, #ff9f0a, #ff6b00); }
.i-health { background: linear-gradient(135deg, #ff375f, #c3125e); }
.i-com { background: linear-gradient(135deg, #2997ff, #5e5ce6); }
.i-agent { background: linear-gradient(135deg, #7a5cff, #2997ff); }

@media (max-width: 900px) {
  .tile, .tile.third { grid-column: span 6; min-height: 0; }
}

/* ---------- Industry tabs ---------- */
.seg {
  display: inline-flex; padding: 4px; border-radius: 980px; background: var(--bg-alt); border: 1px solid var(--line-soft);
  position: relative; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  position: relative; z-index: 1;
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 20px; border-radius: 980px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 0.25s; white-space: nowrap;
}
.seg button[aria-selected="true"] { color: var(--ink); }
.seg .seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 980px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), width 0.4s var(--ease); }
.section-alt .seg { background: var(--bg); }
.tabs-center { display: flex; justify-content: center; margin-bottom: 40px; }
.panel { display: none; }
.panel.active { display: grid; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.industry-panel { grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.industry-copy { background: var(--surface); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.industry-copy h3 { margin-bottom: 14px; }
.industry-copy p { color: var(--muted); margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.agent-cards { display: grid; gap: 14px; }
.agent-card {
  background: var(--surface); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.agent-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.agent-card .ac-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.agent-card h4 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.agent-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .industry-panel { grid-template-columns: 1fr; } .industry-copy { padding: 28px; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b), var(--grad-c)); opacity: 0.35; }
.p-step { position: relative; text-align: center; padding: 0 8px; }
.p-step .num {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 20px;
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); position: relative;
}
.p-step h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.p-step p { margin: 0; color: var(--muted); font-size: 15px; }
.p-step .when { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--grad-a), var(--grad-b), var(--grad-c)); }
  .p-step { text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 0; }
  .p-step .num { margin: 0; grid-row: span 3; }
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--grad-a), var(--grad-b), var(--grad-c)) border-box; box-shadow: var(--shadow-md); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 980px; color: #fff; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); white-space: nowrap; }
.plan .p-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .p-price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 6px; }
.plan .p-price strong { font-size: 52px; letter-spacing: -0.045em; line-height: 1; }
.plan .p-price span { color: var(--muted); font-size: 17px; }
.plan .p-desc { color: var(--muted); margin: 0 0 22px; font-size: 15px; min-height: 3em; }
.plan .checks { gap: 11px; font-size: 15px; margin-bottom: 28px; }
.plan .checks li::before { flex-basis: 18px; height: 18px; background-size: 12px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .p-meta { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.pricing-note { text-align: center; margin-top: 32px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } .plan.featured { order: -1; } }

/* Plan finder */
.finder { margin: 56px auto 0; max-width: 760px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px; border: 1px solid var(--line-soft); }
.finder h3 { font-size: 22px; margin-bottom: 6px; }
.finder > p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.finder-row { margin-bottom: 22px; }
.finder-row label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.finder-row label output { color: var(--accent); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--line-soft); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.04); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 8px 16px; border-radius: 980px; font-size: 14px; cursor: pointer; transition: all 0.2s; color: var(--ink-2); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.finder-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--bg-alt); margin-top: 8px; }
.finder-result strong { font-size: 20px; letter-spacing: -0.02em; }
.finder-result .muted { font-size: 14px; display: block; }

/* ---------- FAQ / accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
}
.acc-btn .plus { flex: 0 0 22px; height: 22px; position: relative; }
.acc-btn .plus::before, .acc-btn .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--muted); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.acc-btn .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel p, .acc-panel ul { margin: 0 0 22px; color: var(--muted); }
.acc-panel ul { padding-left: 20px; }
.acc-panel li { margin-bottom: 6px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark-bg); color: var(--dark-ink); text-align: center; overflow: hidden; }
.cta-band .lead { color: var(--dark-muted); max-width: 640px; margin: 20px auto 0; }
.cta-band .hero-ctas .btn-ghost { color: #2997ff; border-color: #2997ff; }
.cta-band .hero-ctas .btn-ghost:hover { background: #2997ff; color: #000; }
.cta-band .btn-primary { background: #2997ff; color: #000; }
.cta-band .btn-primary:hover { background: #47a6ff; }
.cta-orb { position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(41,151,255,0.35), rgba(122,92,255,0.35), rgba(255,110,196,0.25), rgba(41,151,255,0.35)); filter: blur(90px); opacity: 0.55; animation: orb 18s linear infinite; pointer-events: none; }
@keyframes orb { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta-band .container { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 13px; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.6; }
.footer-brand p { margin: 12px 0 18px; max-width: 300px; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink-2) !important;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.social:hover { transform: translateY(-2px); background: #0a66c2; color: #fff !important; border-color: #0a66c2; text-decoration: none !important; }
.social svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

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

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.page-hero .lead { max-width: 640px; margin: 20px auto 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card {
  background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.info-card .ico svg { width: 20px; height: 20px; }
.info-card h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 4px; }
.info-card address, .info-card p { font-style: normal; color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }
.info-card .row-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; }
.copy-btn { background: none; border: 0; padding: 0; color: var(--link); cursor: pointer; font-size: 14px; font-weight: 500; }
.copy-btn:hover { text-decoration: underline; }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); height: 220px; background: var(--bg-alt); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2); }

.form-card { background: var(--surface); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.form-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.form-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; position: relative; }
.form-steps span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.form-steps span.done::after { transform: scaleX(1); }
.fstep { display: none; }
.fstep.active { display: block; animation: fadeUp 0.45s var(--ease); }
.fstep h3 { font-size: 24px; margin-bottom: 6px; }
.fstep > p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 16px 8px; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 17px; color: var(--muted); pointer-events: none; transition: all 0.2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 12px; }
.field.invalid input, .field.invalid textarea { border-color: #e30000; }
.field .err { display: none; color: #e30000; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.option {
  position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; background: var(--surface-2); text-align: left;
  display: flex; flex-direction: column; gap: 4px;
}
.option:hover { border-color: var(--ink-2); }
.option[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18); }
.option strong { font-size: 15px; }
.option small { color: var(--muted); font-size: 13px; }
.option .tick { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); transition: all 0.2s; }
.option[aria-pressed="true"] .tick { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--accent); }
.group-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 4px 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.form-error { color: #e30000; font-size: 14px; margin-top: 10px; min-height: 1em; }
.success { text-align: center; padding: 20px 0; }
.success .check-anim { width: 84px; height: 84px; margin: 0 auto 22px; }
.success .check-anim circle { stroke: var(--ok); stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 0.8s var(--ease) forwards; }
.success .check-anim path { stroke: var(--ok); stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-card { padding: 26px; } }
@media (max-width: 520px) { .two, .option-grid { grid-template-columns: 1fr; } }

/* ---------- Terms ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--grad-a), var(--grad-b), var(--grad-c)); transform: scaleX(0); transform-origin: left; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; }
.toc-search { position: relative; margin-bottom: 16px; }
.toc-search input { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px 10px 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.toc-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.toc-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; line-height: 1.35; text-decoration: none; transition: background 0.2s, color 0.2s; }
.toc a:hover { background: var(--bg-alt); color: var(--ink); }
.toc a.active { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.toc a .n { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 18px; }
.legal-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.summary-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.switch { width: 44px; height: 26px; border-radius: 26px; background: var(--line); position: relative; transition: background 0.25s; border: 0; cursor: pointer; flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.3s var(--ease); }
.switch[aria-checked="true"] { background: #34c759; }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.clause {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); margin-bottom: 14px;
  scroll-margin-top: 80px; transition: box-shadow 0.3s, border-color 0.3s;
}
.clause:hover { box-shadow: var(--shadow-sm); }
.clause.hit { border-color: var(--accent); }
.clause .acc-btn { padding: 20px 24px; font-size: 18px; }
.clause .acc-btn .n { color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
.clause .acc-panel > div { padding: 0 24px; }
.clause .acc-panel p, .clause .acc-panel ul { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.tldr { display: none; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 113, 227, 0.08); color: var(--ink) !important; font-size: 15px !important; }
.tldr b { color: var(--accent); }
body.show-tldr .tldr { display: block; }
mark { background: rgba(255, 214, 10, 0.45); color: inherit; border-radius: 3px; padding: 0 2px; }
.no-results { display: none; padding: 30px; text-align: center; color: var(--muted); }
.legal-meta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (max-width: 920px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; }
  .toc ol { display: none; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 980px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: all 0.35s var(--ease); z-index: 100; box-shadow: var(--shadow-md); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.notfound { position: relative; overflow: hidden; min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* ---------- Print (terms) ---------- */
@media print {
  .nav, .mobile-menu, .footer, .toc, .legal-tools, .reading-progress, .hero-glow { display: none !important; }
  .legal-layout { display: block; }
  .acc-panel { grid-template-rows: 1fr !important; }
  .clause { break-inside: avoid; border: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
