/* TextMyWorker — landing page styles */

:root {
  --paper: #F5F2EA;
  --surface: #FBF9F4;
  --white: #FFFFFF;
  --ink: #14161A;
  --muted: #5B5F66;
  --hairline: #E4DED2;
  --accent: #FF5A1F;
  --accent-hover: #EC4C12;
  --accent-press: #D9430C;
  /* Orange used for small text (eyebrows, step 01): darker so it passes 4.5:1 on paper */
  --accent-text: #BD3E0B;
  --chat-me: #DCF8C6;
  --chat-bot: #FFFFFF;
  --chat-bg: #EFEAE0;
  --online: #0E9F6E;
  --dark-text: #F5F2EA;
  --dark-muted: #A8A49A;
  --dark-hairline: rgba(245, 242, 234, .12);
  --placeholder: #7C7F85;

  /* Decorative orange (dots, underline). Mobile swaps these to ink. */
  --decor: var(--accent);
  --label-font: var(--font-mono);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --r-card: 20px;
  --r-card-lg: 24px;
  --r-input: 12px;
  --r-bubble: 16px;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 64px;
  --section-y: 128px;
  --phone-shadow: 0 25px 60px -15px rgba(20, 22, 26, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
code, time.mono { font-family: var(--font-mono); }
[hidden] { display: none !important; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 2.2vw + 16px, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--label-font);
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text);
  line-height: 1.3;
}
.eyebrow-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--decor);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline-offset: 2px; border-radius: 999px; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 18px -8px rgba(255, 90, 31, .7); }
.btn-primary:active { background: var(--accent-press); box-shadow: none; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline:active { background: #000; }
.btn-sm { height: 38px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; height: 48px; border-radius: var(--r-input); }
.btn-block:focus-visible { border-radius: var(--r-input); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(245, 242, 234, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.site-nav.is-scrolled {
  background: rgba(245, 242, 234, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--hairline);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -0.03em;
}
.logo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, #FF5A1F); transform: translateY(1px); }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 104px; overflow: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: rgba(239, 236, 227, .7);
  font-family: var(--label-font); font-size: 13px; font-weight: 500;
  margin-bottom: 36px;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--decor); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 4.2vw + 20px, 80px);
  line-height: .98;
  letter-spacing: -0.035em;
  max-width: 8.4em;
  margin-bottom: 36px;
}
.hero-title .accent { display: block; color: var(--accent); }
.hero .lead { max-width: 530px; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.microcopy {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  font-size: 14px; color: var(--muted);
}
.microcopy li:not(:last-child)::after {
  content: "·"; margin-inline: 8px; color: #B9B3A6;
}

/* Phone */
.hero-visual { position: relative; display: flex; justify-content: flex-end; padding-right: 8px; }
.phone-ring {
  position: absolute; width: 440px; height: 440px;
  border: 1px solid var(--hairline); border-radius: 50%;
  top: 50%; right: -30px; transform: translateY(-38%);
}
.phone {
  position: relative; z-index: 1;
  width: 370px; flex: none;
  padding: 12px;
  border-radius: 52px;
  background: #1A1A1A;
  border: 4px solid #2E2E2E;
  box-shadow: var(--phone-shadow);
  transform: rotate(-4deg);
  transform-origin: 50% 40%;
}
.phone-screen {
  height: 860px;
  display: flex; flex-direction: column;
  border-radius: 40px;
  background: var(--chat-bg);
  overflow: hidden;
  font-size: 13px; line-height: 1.45;
}
.status-bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 46px; padding: 10px 26px 0 30px;
  font-size: 13px; font-weight: 600;
  background: var(--paper);
}
.status-bar svg { fill: currentColor; stroke: none; }
.status-icons { display: flex; gap: 5px; align-items: center; }
.island {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 104px; height: 28px; border-radius: 20px; background: #0B0B0C;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 10px 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.chat-head .i-video { margin-left: auto; color: var(--muted); }
.avatar {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 13px;
}
.online-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #10B981; border: 2px solid var(--paper);
}
.chat-who { display: flex; flex-direction: column; line-height: 1.2; }
.chat-who strong { font-size: 14px; font-weight: 600; }
.online { font-size: 11px; color: var(--online); font-weight: 500; }

.chat {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 12px;
}
.msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: var(--r-bubble);
  box-shadow: 0 1px 1px rgba(20, 22, 26, .05);
}
.msg.bot { align-self: flex-start; background: var(--chat-bot); border-top-left-radius: 4px; border: 1px solid rgba(20, 22, 26, .05); }
.msg.me { align-self: flex-end; background: var(--chat-me); border-top-right-radius: 4px; }
.msg.short { padding: 6px 14px; }
.msg.voice { display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; }
.play {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(20, 22, 26, .08);
}
.play svg { fill: currentColor; stroke: none; transform: translateX(1px); }
.wave { fill: currentColor; stroke: none; color: #2A4A24; }
.time { font-family: var(--font-mono); font-size: 11px; color: rgba(20, 22, 26, .7); font-weight: 500; }
.msg.card { padding: 0; overflow: hidden; max-width: 92%; }
.card-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; }
.done {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
}
.done svg, .tick { color: #10A36C; stroke-width: 2.6; }
.report { font-size: 12px; color: var(--muted); display: grid; gap: 3px; }
.report li { padding-left: 10px; position: relative; }
.report li::before { content: "•"; position: absolute; left: 0; }
.msg code, .mini code {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px; padding: 1px 4px;
  word-break: break-word;
}
.ask { font-weight: 500; padding-top: 3px; }
.perm { flex-direction: row; gap: 9px; align-items: flex-start; }
.perm .i-lock { margin-top: 2px; flex: none; color: var(--muted); }
.chat-actions {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
  background: #FAF8F5;
  font-weight: 500; text-align: center;
}
.chat-actions span { padding: 8px 0; }
.chat-actions span + span { border-left: 1px solid var(--hairline); }
.chat-actions .solid { background: var(--ink); color: #fff; font-weight: 600; }
.chat-input {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 24px;
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  color: var(--muted);
}
.chat-input .field {
  flex: 1; height: 30px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hairline);
  display: flex; align-items: center; padding: 0 12px; font-size: 11.5px;
}
.chat-input .mic {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--decor); color: #fff;
}

/* Chat bubbles appear one by one on load */
@media (prefers-reduced-motion: no-preference) {
  .chat > li {
    animation: bubble-in .5s var(--ease) both;
  }
  .chat > li:nth-child(1) { animation-delay: .35s; }
  .chat > li:nth-child(2) { animation-delay: .70s; }
  .chat > li:nth-child(3) { animation-delay: 1.05s; }
  .chat > li:nth-child(4) { animation-delay: 1.40s; }
  .chat > li:nth-child(5) { animation-delay: 1.75s; }
  .chat > li:nth-child(6) { animation-delay: 2.10s; }
  .chat > li:nth-child(7) { animation-delay: 2.45s; }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--hairline); }
.section-head { margin-bottom: 64px; }
.section-head.narrow { max-width: 780px; }
.section-head .h2 + .lead { margin-top: 24px; }
.section-head .eyebrow + .h2 { margin-top: 10px; }

/* Problem */
.pain-list { border-top: 1px solid var(--hairline); }
.pain-list li {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 18px; line-height: 1.4;
}
.icon-box {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: #EFECE3;
  color: var(--ink);
}
.pull-quote {
  max-width: 1000px; margin: 128px auto 32px;
  text-align: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 3vw + 12px, 56px);
  line-height: 1.12; letter-spacing: -0.03em;
  text-wrap: balance;
}
.underline {
  text-decoration: underline;
  text-decoration-color: var(--decor);
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
  text-decoration-skip-ink: none;
}

/* How it works */
.how { padding-bottom: 160px; }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
}
.steps::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: calc((100% - 64px) / 3 - 24px);
  height: 1px; background: var(--hairline);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--hairline); background: var(--paper);
  font-family: var(--label-font); font-weight: 500; font-size: 15px;
  margin-bottom: 24px;
}
.step-num.is-first { border: 2px solid var(--accent); color: var(--accent-text); }
.step h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 14px;
}
.step p { color: var(--muted); line-height: 1.65; max-width: 36ch; }

/* Features bento */
.features { padding-top: 80px; }
.features .eyebrow { margin-bottom: 36px; }
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex; flex-direction: column;
}
.tile h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.tile > p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.t-lg { grid-column: span 7; }
.t-md { grid-column: span 5; }
.t-sm { grid-column: span 4; }
.t-lg h3, .t-md h3 { font-size: 28px; }
.t-lg > p, .t-md > p { font-size: 15.5px; max-width: 52ch; }
.t-stack { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.t-stack .tile { flex: 1; justify-content: center; }
.t-stack .tile h3 { font-size: 21px; }
.mini { margin-top: auto; padding-top: 28px; }
.mini-approve {
  margin-top: 36px; padding: 16px 20px 20px;
  max-width: 448px;
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
}
.mini-approve p { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 1.5; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.mini-approve p svg { flex: none; }
.mini-approve code { font-size: 13px; padding: 2px 6px; border-radius: 6px; border: 0; }
.mini-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; font-size: 13px; font-weight: 500; text-align: center; }
.mini-btns span { padding: 9px 0; border-radius: 10px; border: 1px solid var(--hairline); }
.mini-btns .solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini-voice {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: auto; padding: 16px 16px;
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
}
.mini-voice .play { width: 32px; height: 32px; background: var(--paper); }
.mini-voice .wave { color: var(--ink); }
.mini-voice .time { font-size: 12px; color: var(--muted); padding-left: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: #fff; border: 1px solid var(--hairline); border-radius: 999px;
  font-family: var(--label-font); font-size: 12.5px; font-weight: 500;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--decor); }
.mini-log { display: grid; gap: 4px; font-family: var(--font-mono); font-size: 12.5px; }
.mini-log div { display: flex; gap: 14px; }
.mini-log dt { color: #7C7F85; font-size: 11.5px; }
.mini-yn { display: flex; gap: 8px; font-size: 13px; font-weight: 500; }
.mini-yn span { padding: 6px 14px; background: #fff; border: 1px solid var(--hairline); border-radius: 8px; }
.brief {
  margin-top: 28px; max-width: 512px;
  padding: 20px 20px 18px;
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
  font-size: 14px; line-height: 1.65;
}
.brief-label {
  font-family: var(--label-font); font-size: 11px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.brief-label time { font-family: var(--font-mono); }

/* Use cases */
.cases { border-top: 0; padding-top: 32px; }
.cases .h2 { font-size: clamp(32px, 2vw + 16px, 42px); margin-bottom: 48px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-card);
  padding: 36px 32px 32px;
}
.case-label {
  font-family: var(--label-font); font-size: 12.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 24px;
}
.case-chat { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.bubble {
  max-width: 90%; padding: 11px 16px;
  font-size: 14.5px; line-height: 1.45;
  border-radius: var(--r-bubble);
}
.bubble.me { align-self: flex-end; background: var(--chat-me); border-top-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: #fff; border: 1px solid var(--hairline); border-top-left-radius: 4px; }
.bubble.brief { margin: 0; max-width: 95%; padding: 16px 16px 14px; }
.done-mono { font-family: var(--font-mono); font-weight: 600; font-size: 14px; }
.case-aside { align-self: flex-end; font-size: 13.5px; font-style: italic; color: var(--muted); padding-right: 8px; }
.case-note {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
}

/* Security (dark) */
.security { background: var(--ink); color: var(--dark-text); border-top: 0; padding-block: 128px; }
.eyebrow-dark { color: var(--accent); margin-bottom: 16px; }
.eyebrow-dark svg { stroke-width: 2; }
.security .h2 { font-size: clamp(32px, 2vw + 16px, 44px); line-height: 1.06; max-width: 22ch; color: var(--dark-text); margin-bottom: 80px; }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.trust li { border-top: 1px solid var(--dark-hairline); padding: 32px 0 36px; }
.trust li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.trust li:last-child:nth-child(odd) p { max-width: calc(50% - 24px); }
.trust h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.005em; }
.trust p { color: var(--dark-muted); font-size: 15px; line-height: 1.65; }

/* Built on */
.built { border-top: 0; padding-bottom: 96px; }
.built .h2 { font-size: clamp(32px, 2vw + 16px, 44px); margin-bottom: 48px; }
.built-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.built-grid .tile { padding: 32px 32px 36px; }
.built-grid .icon-box { margin-bottom: 30px; }
.built-grid h3 { font-size: 26px; }
.built-grid .tile > p { font-size: 15.5px; }
.small-print {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--hairline);
  font-size: 13px; line-height: 1.6; color: var(--muted);
  padding-right: max(0px, calc(100% - 780px));
}

/* FAQ */
.faq { padding-top: 80px; padding-bottom: 112px; }
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px;
}
.faq-side { align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-side .h2 { margin: 16px 0 16px; }
.faq-side p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 34ch; margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0;
  cursor: pointer; list-style: none;
  border-radius: 8px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ""; }
.faq-list summary h3 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 24px; line-height: 1.33; letter-spacing: -0.02em;
}
.faq-list summary:hover h3 { color: #000; }
.pm {
  position: relative; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--surface);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .35s var(--ease);
}
.pm::before, .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm { transform: rotate(180deg); }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
summary:hover .pm { border-color: #CFC7B7; }
.answer p {
  padding: 0 64px 32px 0;
  color: var(--muted); font-size: 18px; line-height: 1.6;
  max-width: 68ch;
}
/* Smooth open/close where supported */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-list details::details-content {
      block-size: 0; overflow: clip;
      transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
    }
    .faq-list details[open]::details-content { block-size: auto; }
  }
  details[open] .answer { animation: answer-in .35s var(--ease); }
}
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Waitlist */
.waitlist { border-top: 0; padding-top: 32px; }
.wl-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px;
  background: var(--white);
  border: 1px solid var(--hairline); border-radius: var(--r-card-lg);
  padding: 64px;
}
.wl-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 3vw + 20px, 64px); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 7ch; margin-bottom: 32px;
}
.wl-intro p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 30ch; }
.wl-form { display: grid; gap: 22px; }
.field { display: grid; gap: 10px; border: 0; min-width: 0; }
.field label, .field legend {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 0;
}
.field legend { margin-bottom: 10px; float: left; width: 100%; }
.field legend + * { clear: both; }
.field input, .field textarea {
  width: 100%; height: 48px; padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--hairline); border-radius: var(--r-input);
  font-size: 16px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.field textarea { height: auto; min-height: 104px; padding: 13px 16px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: #D3CBBB; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 31, .16); background: #fff; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: #C2410C; }

.seg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seg-opt { position: relative; display: block; cursor: pointer; }
.seg-opt input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.seg-opt span {
  display: flex; align-items: center; justify-content: center;
  height: 48px; border-radius: var(--r-input);
  background: var(--paper); border: 1px solid var(--hairline);
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s, box-shadow .15s;
}
.seg-opt:hover span { border-color: #D3CBBB; color: var(--ink); }
.seg-opt input:checked + span {
  background: #fff; color: var(--ink); font-weight: 600;
  border: 2px solid var(--accent);
}
.seg-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-opt input:active + span { transform: scale(.985); }
.was-validated .seg-row:has(input:invalid) span { border-color: #C2410C; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink); cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; top: 0; left: 0; cursor: pointer; }
.check .box {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  display: grid; place-items: center;
  border: 1px solid #D3CBBB; border-radius: 6px; background: var(--paper);
  color: #fff;
  transition: background-color .15s, border-color .15s;
}
.check .box svg { opacity: 0; stroke-width: 3; transition: opacity .12s; }
.check input:checked + .box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }

.wl-form .btn-block { margin-top: 8px; }
.form-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: -8px; }
.form-error {
  padding: 12px 16px; border-radius: var(--r-input);
  background: #FFF1EC; border: 1px solid #F6C9B8; color: #9A3412;
  font-size: 15px; font-weight: 500;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-form-wrap { position: relative; }
.wl-success {
  display: grid; align-content: center; gap: 14px;
  min-height: 100%; padding: 40px 0;
  outline: none;
}
.wl-success .success-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.03em; line-height: 1.15;
}
.wl-success .ok { color: #10A36C; }
.wl-success p:not(.success-title) { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 46ch; }
@media (prefers-reduced-motion: no-preference) {
  .wl-success:not([hidden]) { animation: answer-in .5s var(--ease); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding-block: 72px 56px; }
.foot-top { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--hairline); }
.foot-brand .logo { margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: 15px; }
.foot-mail { display: inline-block; margin-top: 26px; font-family: var(--label-font); font-size: 14px; color: var(--ink); }
.foot-mail:hover, .foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-col h2 {
  font-family: var(--label-font); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.foot-col ul { display: grid; gap: 12px; font-size: 15px; }
.foot-bottom {
  display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 6fr) auto; gap: 24px; align-items: center;
  padding-top: 32px; font-size: 13px; line-height: 1.5; color: var(--muted);
}
.foot-bottom .copy { font-family: var(--label-font); white-space: nowrap; }

/* Scroll reveal (class added by JS only for below-the-fold sections) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --section-y: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-visual { justify-content: center; padding-right: 0; }
  .phone-ring { right: auto; left: 50%; transform: translate(-50%, -40%); }
  .t-lg, .t-md, .t-stack { grid-column: span 12; }
  .t-sm { grid-column: span 4; }
  .wl-card { grid-template-columns: 1fr; gap: 40px; padding: 48px; }
  .wl-title { max-width: none; }
  .wl-intro p { max-width: 52ch; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-side { position: static; }
  .faq-side .btn { display: none; }
  .faq-side p:not(.eyebrow) { margin-bottom: 0; max-width: 52ch; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .t-sm { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .case-grid, .trust, .built-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Mobile (<= 640px) ---------- */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-y: 80px;
    --decor: var(--ink);          /* orange restrained to CTAs + "Text it." */
    --label-font: var(--font-body); /* mono only for timestamps, paths, commands */
    --nav-h: 60px;
  }
  .eyebrow, .eyebrow-dark { color: var(--muted); letter-spacing: .06em; font-size: 13px; }
  .eyebrow-dark { color: var(--dark-muted); }
  .step-num.is-first { border-width: 1.5px; }
  .chat-input .mic { background: var(--ink); }
  .done, .done-mono, .chip { font-family: var(--font-body); }
  .btn-primary:hover { box-shadow: none; }

  .logo { font-size: 19px; }
  .btn-sm { height: 38px; padding: 0 16px; }

  .hero { padding-block: 28px 72px; }
  .hero-grid { gap: 48px; }
  .pill { margin-bottom: 22px; font-size: 13px; }
  .hero-title { font-size: clamp(44px, 11.5vw, 52px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 22px; max-width: none; }
  .lead { font-size: 17.5px; }
  .hero .lead { margin-bottom: 28px; }
  .cta-row { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .cta-row .btn { width: 100%; height: 56px; font-size: 17px; }
  .microcopy { justify-content: center; text-align: center; font-size: 13.5px; gap: 4px 16px; }
  .microcopy li:not(:last-child)::after { content: none; }

  .phone-ring { display: none; }
  .phone { width: min(300px, 86vw); transform: none; padding: 9px; border-radius: 44px; border-width: 3px; }
  .phone-screen { height: auto; border-radius: 34px; font-size: 12px; }
  .full-only { display: none; }
  .status-bar { height: 40px; padding: 8px 22px 0 26px; font-size: 12px; }
  .island { width: 86px; height: 24px; top: 8px; }
  .chat { padding: 12px 10px 14px; }
  .chat-input { padding-bottom: 18px; }
  .chat > li:nth-child(4) { animation-delay: 1.05s; }
  .chat > li:nth-child(7) { animation-delay: 1.40s; }

  .section-head { margin-bottom: 40px; }
  .pain-list { border-top: 0; display: grid; gap: 12px; }
  .pain-list li { font-size: 16.5px; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--hairline); border-radius: 16px; background: var(--surface); }
  .icon-box { width: 36px; height: 36px; }
  .pull-quote { margin: 72px 0 8px; text-align: left; font-size: 32px; }
  .underline { text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

  .how { padding-bottom: 96px; }
  .steps { gap: 0; }
  .step { padding: 0 0 36px 64px; }
  .step::before { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--hairline); }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { bottom: 0; }
  .step-num { position: absolute; left: 0; top: 0; width: 40px; height: 40px; font-size: 14px; margin: 0; }
  .step h3 { font-size: 21px; margin-bottom: 8px; padding-top: 6px; }

  .features { padding-top: 64px; }
  .bento, .t-stack { gap: 14px; }
  .tile { padding: 24px; }
  .t-lg h3, .t-md h3 { font-size: 24px; }
  .tile h3 { font-size: 21px; }
  .mini-approve { margin-top: 24px; padding: 14px; }
  .mini-approve p { align-items: flex-start; }

  .cases .h2 { margin-bottom: 32px; }
  .case { padding: 24px; }
  .case-grid { gap: 14px; }

  .security { padding-block: 80px; }
  .security .h2 { margin-bottom: 40px; }
  .trust li { padding: 24px 0 26px; }

  .built { padding-bottom: 72px; }
  .built-grid { gap: 14px; }
  .built-grid .tile { padding: 24px; }
  .built-grid h3 { font-size: 22px; }

  .faq { padding-bottom: 72px; }
  .faq-list summary { padding: 22px 0; gap: 16px; }
  .faq-list summary h3 { font-size: 19px; }
  .answer p { padding: 0 0 24px; font-size: 16.5px; }

  .waitlist { padding-top: 8px; }
  .wl-card { padding: 32px 24px; border-radius: 20px; gap: 28px; }
  .wl-title { font-size: 40px; margin-bottom: 18px; }
  .wl-intro p { font-size: 16.5px; }
  .seg-row { gap: 8px; }
  .seg-opt span { font-size: 14.5px; }
  .form-note { font-size: 13.5px; }

  .site-footer { padding-block: 56px 40px; }
  .foot-top { gap: 36px 24px; padding-bottom: 40px; }
}

/* ---------- Sub-pages (thanks, 404, privacy, terms) ---------- */
.page { padding-block: 96px 128px; }
.page-inner { max-width: 760px; }
.page-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 3vw + 22px, 64px); line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.page-title .accent { color: var(--accent); }
.page-title .ok { color: #10A36C; }
.page .eyebrow { margin-bottom: 16px; }
.page-lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.page-meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.draft-note {
  display: inline-block; margin-bottom: 28px;
  padding: 8px 14px; border-radius: 10px;
  background: #FFF1EC; border: 1px solid #F6C9B8; color: #9A3412; font-size: 14px;
}
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em;
  margin: 40px 0 10px;
}
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; color: var(--muted); }
.prose ul li + li { margin-top: 4px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline); }
.prose a:hover { text-decoration-color: currentColor; }
.site-footer-mini { padding-block: 32px; }
.foot-mini { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.foot-mini nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-mini a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .page { padding-block: 56px 80px; }
  .page-actions .btn { width: 100%; }
}
