/* Tryssh marketing site — GitBook-style design language.
   General Sans (headings/body) + Space Mono (labels). Light, warm, orange accent.
   General Sans self-hosted (fonts/, ITF Free Font License via Fontshare). */

@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/fonts/GeneralSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --gray: #78716c;
  --faint: #a8a29e;
  --line: #e7e5e4;
  --bg: #ffffff;
  --bg-warm: #fafaf9;
  --bg-warmer: #f5f5f4;
  --orange: #fe551b;
  --orange-soft: #fff1eb;
  --orange-grad: linear-gradient(135deg, #ff7a3d 0%, #fe551b 55%, #f43f13 100%);
  --sans: "General Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1072px;
  --r-card: 12px;
  --r-big: 20px;
  --shadow-card: 0 1px 2px rgba(28, 25, 23, 0.04), 0 8px 24px rgba(28, 25, 23, 0.05);
  --shadow-big: 0 2px 4px rgba(28, 25, 23, 0.06), 0 24px 64px rgba(28, 25, 23, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- buttons: GitBook pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px 11px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #000; box-shadow: 0 6px 16px rgba(28,25,23,0.22); }
.btn-gray { background: var(--bg-warmer); color: var(--ink); }
.btn-gray:hover { background: #ece9e7; }
.btn-white { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-white:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.btn .arrow { font-size: 13px; transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-lg { padding: 12px 22px 13px; font-size: 15px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.logo .glyph {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--orange);
}
.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 7px 12px;
  border-radius: 99px;
  transition: background 0.15s ease;
}
.nav-links a:hover { background: var(--bg-warmer); color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .login {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-right: 4px;
}
.nav-cta .login:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 14px 5px 5px;
  margin-bottom: 24px;
  transition: border-color 0.15s ease;
}
.hero-badge:hover { border-color: var(--faint); }
.hero-badge .chip {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 99px;
  padding: 3px 10px;
}
h1 {
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 20px;
  font-size: 16px;
  color: var(--gray);
  max-width: 440px;
  line-height: 1.65;
}
.hero-ctas { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* hero terminal card */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  box-shadow: var(--shadow-big);
  overflow: hidden;
}
.card-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.card-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.card-bar .dot:nth-child(1) { background: #fc5753; }
.card-bar .dot:nth-child(2) { background: #fdbc40; }
.card-bar .dot:nth-child(3) { background: #33c748; }
.card-bar .name {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.convo { padding: 20px; }
.msg { margin-bottom: 16px; }
.msg .who {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.msg.ai .who { color: var(--orange); }
.msg .txt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.approval {
  border: 1px solid var(--line);
  background: var(--bg-warm);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
}
.approval .cmd {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
}
.approval .cmd .dollar { color: var(--orange); }
.approval .act { display: flex; gap: 8px; margin-top: 11px; }
.approval .chip-btn {
  font-size: 12px;
  font-weight: 500;
  border-radius: 99px;
  padding: 5px 14px;
}
.approval .chip-btn.run { background: var(--ink); color: #fff; }
.approval .chip-btn.skip { background: #fff; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.card-foot {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  font-size: 12.5px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-foot .host-chip {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--bg-warmer);
  border-radius: 99px;
  padding: 3px 10px;
  color: var(--ink-soft);
}

/* ---------- product mock on orange band ---------- */

.showcase {
  position: relative;
  padding: 40px 0 72px;
}
.brush {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: min(1400px, 120vw);
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 60% at 18% 50%, rgba(254, 85, 27, 0.85), transparent 60%),
    radial-gradient(ellipse 40% 55% at 82% 45%, rgba(255, 122, 61, 0.9), transparent 60%),
    radial-gradient(ellipse 65% 40% at 50% 55%, rgba(244, 63, 19, 0.55), transparent 65%);
  filter: blur(2px);
  border-radius: 50%;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 45%, transparent 75%);
}
.shot {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  box-shadow: var(--shadow-big);
  overflow: hidden;
  font-size: 12.5px;
}
.shot-body {
  display: grid;
  grid-template-columns: 176px 1fr 280px;
  min-height: 380px;
}
.shot .pane { padding: 16px; }
.shot .pane-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.shot .hosts { border-right: 1px solid var(--line); background: var(--bg-warm); }
.host-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--gray);
  font-size: 12.5px;
  font-weight: 500;
}
.host-row.active { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.host-row .st { width: 6px; height: 6px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.host-row.active .st { background: #33c748; }

.shot .termpane { background: #1c1917; }
.shot .termpane .pane-label { color: #78716c; }
.term {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.9;
  color: #d6d3d1;
}
.term .p { color: #ff8c5f; }
.term .path { color: #fdbc40; }
.term .out { color: #a8a29e; }
.term .cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: #ff8c5f;
  vertical-align: -2px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.shot .agentpane { border-left: 1px solid var(--line); }

/* interactive demo chrome */
.conn-chip {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--bg-warmer);
  border-radius: 99px;
  padding: 3px 10px;
}
.host-row[data-host] { cursor: pointer; }
.host-row[data-host]:hover { color: var(--ink); }
.host-row.dis { opacity: 0.45; }
.host-row .lat {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}
.host-row.active .st { animation: pulse-dot 2s infinite; }
@keyframes pulse-dot {
  50% { box-shadow: 0 0 0 4px rgba(51, 199, 72, 0.15); }
}
.hosts-hint {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
  padding-left: 4px;
}
.term, #demo-chat { height: 316px; overflow-y: auto; scrollbar-width: none; }
.term::-webkit-scrollbar, #demo-chat::-webkit-scrollbar { display: none; }
.term .tl { animation: rise 0.22s ease both; }
.term .warn { color: #fdbc40; font-weight: 400; }
.term .ok { color: #4ade80; font-weight: 400; }
.pop { animation: rise 0.3s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.dots { display: inline-flex; gap: 4px; padding: 6px 0 2px; }
.dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--faint);
  animation: bob 1s infinite;
}
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bob { 30% { transform: translateY(-4px); opacity: 0.5; } }
.approval .chip-btn { cursor: pointer; transition: transform 0.12s ease; }
.approval .chip-btn:hover { transform: translateY(-1px); }
.approval.done { border-color: #d7f2dd; background: #f2fbf4; }
.approval .verdict {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.approval .verdict.ok { color: #16a34a; }
.statusbar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
  background: var(--bg-warm);
}
.statusbar .live {
  width: 7px; height: 7px; border-radius: 50%;
  background: #33c748;
  animation: pulse-dot 2s infinite;
}
.statusbar .sep { opacity: 0.5; }
.statusbar .replay { margin-left: auto; cursor: pointer; }
.statusbar .replay:hover { color: var(--ink); }

/* ---------- keyword strip (logo-strip slot) ---------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
  padding: 18px 0;
}
.strip-inner {
  display: flex;
  justify-content: center;
  gap: 12px 36px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.strip-inner span b { color: var(--ink-soft); font-weight: 700; }

/* ---------- sections ---------- */

section { padding: 96px 0; }

.tagchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  border-radius: 99px;
  padding: 5px 13px;
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
}
.sec-sub { margin-top: 16px; color: var(--gray); font-size: 16px; }

/* alternating feature rows */
.frow {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.frow + .frow { margin-top: 96px; }
.frow.flip .fcopy { order: 2; }
.frow.flip .fvis { order: 1; }
.fcopy h2 { font-size: clamp(24px, 2.8vw, 32px); }
.fcopy p { margin-top: 14px; color: var(--gray); font-size: 15px; max-width: 420px; }
.fcopy .flink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.fcopy .flink:hover { border-color: var(--ink); }
.fvis {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.fvis .inner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.fvis.tint {
  background:
    radial-gradient(ellipse 90% 70% at 80% 10%, rgba(254, 85, 27, 0.12), transparent 60%),
    var(--bg-warm);
}
.filelist { font-family: var(--mono); font-size: 12.5px; line-height: 2.1; color: var(--ink-soft); padding: 16px 20px; }
.filelist .d { color: var(--faint); }
.filelist .lock { color: var(--orange); }

/* centered statement + 4-card row */
.center-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fc:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.fc .icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 18px;
  background: var(--bg-warm);
}
.fc h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.fc p { margin-top: 8px; font-size: 13px; color: var(--gray); flex: 1; }
.fc .pill {
  align-self: flex-start;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-warmer);
  border-radius: 99px;
  padding: 4px 12px;
  color: var(--ink-soft);
}

/* ---------- use-case cards ---------- */

.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.uc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.uc:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.uc .icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  margin-bottom: 16px;
  background: var(--bg-warm);
}
.uc h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.uc p { margin-top: 8px; font-size: 13.5px; color: var(--gray); flex: 1; }
.uc .ex {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--bg-warm);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.uc .ex .u { color: var(--orange); font-weight: 700; }
.uc-sec { padding: 64px 0; }
.uc-sec + .uc-sec { border-top: 1px solid var(--line); }
.uc-head { margin-bottom: 36px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.uc-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
.uc-head .n { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; }
@media (max-width: 960px) { .uc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .uc-grid { grid-template-columns: 1fr; } }

/* ---------- security band ---------- */

.sec-warm { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-band {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
}
.mini { margin-bottom: 40px; }
.mini:last-child { margin-bottom: 0; }
.mini .icon {
  width: 36px; height: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.mini h3 { font-size: 15.5px; font-weight: 600; }
.mini p { margin-top: 6px; font-size: 13px; color: var(--gray); }
.sec-visual {
  position: relative;
  border-radius: var(--r-big);
  overflow: hidden;
  background: var(--orange-grad);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 25% 20%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 85%, rgba(120, 20, 0, 0.25), transparent 65%);
}
.keycard {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(120, 30, 0, 0.35);
  padding: 20px 22px;
  width: 78%;
}
.keycard .krow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.keycard .krow:last-child { border-bottom: none; }
.keycard .krow .k { color: var(--orange); }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 56px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-big);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-big);
  position: relative;
}
.plan .popchip {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  border-radius: 99px;
  padding: 3px 10px;
}
.plan .pname { font-size: 15px; font-weight: 600; }
.plan .price { margin-top: 12px; font-size: 36px; font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.plan .price small { font-size: 14px; color: var(--faint); font-weight: 500; letter-spacing: 0; }
.plan .credits {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}
.plan ul { list-style: none; margin: 20px 0 24px; flex: 1; }
.plan li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 5px 0 5px 24px;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
}
.plan .btn { justify-content: center; }
.pricing-note { margin-top: 28px; text-align: center; font-size: 13.5px; color: var(--gray); }
.pricing-note a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.pricing-note a:hover { border-color: var(--ink); }

/* ---------- FAQ ---------- */

.faq { max-width: 720px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--faint);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--gray); font-size: 14.5px; max-width: 620px; }
.faq .a a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.faq .a code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-warmer);
  border-radius: 5px;
  padding: 1px 6px;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band .halo {
  position: absolute;
  left: 50%;
  bottom: -220px;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(254, 85, 27, 0.18), rgba(254, 85, 27, 0.05) 55%, transparent 75%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); position: relative; }
.cta-band p { position: relative; margin: 16px auto 0; color: var(--gray); max-width: 460px; }
.cta-band .ctas {
  position: relative;
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-warm);
  padding: 56px 0 36px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 44px;
}
.foot-top .social { display: flex; gap: 16px; font-size: 13.5px; color: var(--gray); }
.foot-top .social a:hover { color: var(--ink); }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  gap: 40px;
}
.foot-col .cat {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.foot-col a { display: block; font-size: 13.5px; color: var(--ink-soft); padding: 4px 0; }
.foot-col a:hover { color: var(--ink); }
.promo {
  border-radius: 14px;
  padding: 20px;
  background: var(--orange-grad);
  color: #fff;
  margin-bottom: 14px;
}
.promo h4 { font-size: 15px; font-weight: 600; }
.promo p { font-size: 12.5px; opacity: 0.9; margin-top: 4px; }
.promo .btn { margin-top: 14px; background: #fff; color: var(--ink); font-size: 13px; padding: 7px 14px 8px; }
.promo.plain { background: var(--orange-soft); color: var(--ink); }
.promo.plain p { color: var(--gray); opacity: 1; }
.promo.plain .btn { background: var(--ink); color: #fff; }
.foot-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--faint);
  font-size: 12.5px;
}
.foot-bottom a { color: var(--gray); }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */

.legal { max-width: 720px; margin: 0 auto; padding: 72px 24px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--faint); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--gray); font-size: 14.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.legal code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: var(--bg-warmer);
  border-radius: 5px;
  padding: 1px 6px;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .shot-body { grid-template-columns: 1fr 260px; }
  .shot .hosts { display: none; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .sec-band { grid-template-columns: 1fr; }
  .sec-visual { order: -1; }
  .frow { grid-template-columns: 1fr; gap: 32px; }
  .frow.flip .fcopy { order: 1; }
  .frow.flip .fvis { order: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta .login { display: none; }
  .shot-body { grid-template-columns: 1fr; }
  .shot .agentpane { border-left: none; border-top: 1px solid var(--line); }
  .cards4 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
