/* ============================================================
   FlitInfo — design system
   Near-monochrome, one warm accent used only where it carries
   meaning. Hairlines instead of boxes.

   1.  Tokens
   2.  Reset & base
   3.  Typography
   4.  Buttons
   5.  Navigation
   6.  Hero
   7.  Phone mock
   8.  Pinned story
   9.  Features
   10. Kitchen
   11. Services
   12. FAQ
   13. Contact & form
   14. Footer
   15. Legal & error pages
   16. Motion
   17. Responsive
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #101a16;
  --ink-2: #17241e;
  --ink-hover: #1e2f27;
  --paper: #ffffff;
  --paper-2: #f7f8f6;
  --paper-3: #e8eae7;
  --grey: #6b7671;
  --grey-2: #9ba39e;
  --line: #e3e6e2;
  --line-2: #edefec;
  --line-dark: rgba(255, 255, 255, 0.13);
  --amber: #a96d08;
  --amber-bg: #fdf3e2;
  --danger: #9a2b1f;

  --display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(22px, 5vw, 64px);
  --band: clamp(84px, 11vw, 164px);
  --radius: 8px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

.on-dark :focus-visible {
  outline-color: var(--paper);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: var(--gut);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gut);
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.9rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ---------- 3. Typography ---------- */
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.033em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
}

h3 {
  font-size: 1.06rem;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

p {
  max-width: 60ch;
  color: var(--grey);
  text-wrap: pretty;
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}

.label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-2);
}

.on-dark {
  color: var(--paper);
}

.on-dark p {
  color: rgba(255, 255, 255, 0.6);
}

.on-dark .label {
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.78em 1.4em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), opacity 0.18s var(--ease);
}

.btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.btn-fill {
  background: var(--ink);
  color: var(--paper);
}

.btn-fill:hover:not(:disabled) {
  background: var(--ink-hover);
}

.btn-line {
  border-color: var(--line);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
}

.on-dark .btn-fill {
  background: var(--paper);
  color: var(--ink);
}

.on-dark .btn-fill:hover:not(:disabled) {
  background: var(--paper-3);
}

.on-dark .btn-line {
  border-color: var(--line-dark);
  color: var(--paper);
}

.on-dark .btn-line:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0);
  padding: 18px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    padding 0.25s var(--ease);
}

.nav.stuck {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding-block: 13px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.035em;
}

.mark {
  width: 20px;
  height: 20px;
  flex: none;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--grey);
}

.navlinks a {
  transition: color 0.18s var(--ease);
}

.navlinks a:hover,
.navlinks a[aria-current="true"] {
  color: var(--ink);
}

.nav .btn {
  padding: 0.6em 1.05em;
  font-size: 0.88rem;
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav.open .burger span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav.open .burger span:nth-child(2) {
  opacity: 0;
}

.nav.open .burger span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  padding: clamp(126px, 16vw, 180px) 0 var(--band);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero h1 {
  margin: 0.5em 0 0.55em;
}

.hero .lede {
  max-width: 44ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2.2em;
}

.hero-meta {
  margin-top: 3em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  font-size: 0.86rem;
  color: var(--grey);
  list-style: none;
}

/* ---------- 7. Phone mock ---------- */
.phone-stage {
  display: flex;
  justify-content: center;
  will-change: transform;
}

.phone {
  position: relative;
  width: min(286px, 74vw);
  aspect-ratio: 9 / 19;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 28px 60px -34px rgba(16, 26, 22, 0.34);
  overflow: hidden;
  flex: none;
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.scr-top {
  padding: 26px 16px 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-2);
}

.scr-top b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: -0.02em;
}

.scr-top span {
  font-size: 0.6rem;
  color: var(--grey-2);
}

.scr-body {
  flex: 1;
  overflow: hidden;
  padding: 14px;
}

.scr-foot {
  padding: 12px 14px 18px;
  border-top: 1px solid var(--line-2);
}

.scr-btn {
  background: var(--ink);
  color: var(--paper);
  border-radius: 7px;
  text-align: center;
  padding: 10px;
  font-size: 0.66rem;
  font-weight: 500;
}

/* menu rows */
.mrow {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
}

.mrow:last-child {
  border: 0;
}

.mname {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
}

.mdesc {
  font-size: 0.6rem;
  color: var(--grey-2);
  line-height: 1.4;
  margin-top: 2px;
}

.mprice {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--grey);
  flex: none;
  font-variant-numeric: tabular-nums;
}

.note {
  font-size: 0.55rem;
  color: var(--amber);
  margin-top: 3px;
}

/* qr */
.qr-card {
  margin: 14px auto 0;
  width: 170px;
  text-align: center;
}

.qr {
  width: 126px;
  height: 126px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 2px;
}

.qr i {
  background: var(--ink);
  border-radius: 1px;
}

.qr i.off {
  background: transparent;
}

.qr-lab {
  font-size: 0.62rem;
  color: var(--grey-2);
  margin-top: 16px;
}

.qr-tbl {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

/* chat */
.bub {
  max-width: 84%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 0.65rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.bub.you {
  background: var(--ink);
  color: var(--paper);
  margin-left: auto;
  border-bottom-right-radius: 3px;
}

.bub.ai {
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-bottom-left-radius: 3px;
}

.chat-hd {
  font-size: 0.58rem;
  color: var(--grey-2);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}

/* ticket */
.ticket {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 0.62rem;
  line-height: 1.8;
  color: var(--grey);
}

.ticket .t-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ticket .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}

.ticket hr {
  border: 0;
  border-top: 1px solid var(--line-2);
  margin: 9px 0;
}

.ticket .flag {
  background: var(--amber-bg);
  color: var(--amber);
  padding: 4px 8px;
  border-radius: 5px;
  display: block;
  margin: 7px 0;
  font-size: 0.58rem;
}

/* ---------- 8. Pinned story ---------- */
.story {
  background: var(--ink);
  color: var(--paper);
}

.story-head {
  padding: var(--band) 0 0;
  max-width: 22ch;
}

.story-head h2 {
  margin-top: 0.5em;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}

.story-left {
  display: flex;
  justify-content: center;
}

.story-left .phone {
  border-color: transparent;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.6);
}

.story-right {
  position: relative;
  min-height: 270px;
}

.step {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.step.on {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.step-n {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.1em;
}

.step h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6em;
}

.step p {
  max-width: 36ch;
}

.progress {
  margin-top: 2.4em;
  display: flex;
  gap: 6px;
  max-width: 220px;
  list-style: none;
}

.progress li {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.35s var(--ease);
}

.progress li.on {
  background: var(--paper);
}

/* ---------- 9. Features ---------- */
.feat {
  padding: var(--band) 0;
}

.feat-head {
  max-width: 34ch;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.feat-head h2 {
  margin-top: 0.5em;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  list-style: none;
}

.f {
  background: var(--paper);
  padding: 32px 30px 38px;
}

.f .n {
  font-size: 0.78rem;
  color: var(--grey-2);
  margin-bottom: 1.4em;
  font-variant-numeric: tabular-nums;
}

.f h3 {
  margin-bottom: 0.7em;
}

.f p {
  font-size: 0.94rem;
  line-height: 1.6;
}

.langs {
  margin-top: 1.2em;
  font-size: 0.88rem;
  color: var(--grey-2);
}

/* ---------- 10. Kitchen ---------- */
.kitchen {
  padding: var(--band) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.k-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.k-grid h2 {
  margin: 0.5em 0 0.6em;
}

.checks {
  list-style: none;
  margin-top: 2.2em;
  display: grid;
  gap: 0;
}

.checks li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--grey);
}

.checks li:last-child {
  border-bottom: 1px solid var(--line);
}

.dash {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  will-change: transform;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 0.8rem;
  color: var(--grey-2);
}

.order {
  padding: 16px;
  border-top: 1px solid var(--line-2);
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.order .tno {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  width: 58px;
  flex: none;
  color: var(--grey-2);
}

.order .items {
  font-size: 0.9rem;
  line-height: 1.45;
}

.order .items em {
  font-style: normal;
  display: block;
  font-size: 0.78rem;
  color: var(--grey-2);
  margin-top: 3px;
}

.order .items em.warn {
  color: var(--amber);
}

.order .st {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--grey-2);
  flex: none;
}

/* ---------- 11. Services ---------- */
.serv {
  padding: var(--band) 0;
}

.serv-head {
  max-width: 30ch;
}

.serv-head h2 {
  margin-top: 0.5em;
}

.serv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  margin-top: clamp(44px, 6vw, 72px);
  list-style: none;
}

.panel {
  background: var(--paper);
  padding: 38px 34px 42px;
}

.panel h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.03em;
  margin: 0.9em 0 0.6em;
}

.panel p {
  font-size: 0.95rem;
}

.stack {
  margin-top: 1.6em;
  font-size: 0.88rem;
  color: var(--grey-2);
}

/* ---------- 12. FAQ ---------- */
.faq {
  padding: var(--band) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq-head h2 {
  margin-top: 0.5em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.018em;
  line-height: 1.4;
  color: var(--ink);
}

.faq-icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--grey);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.faq-icon::before {
  inset: 6px 0 auto 0;
  height: 1.5px;
}

.faq-icon::after {
  inset: 0 6px 0 auto;
  width: 1.5px;
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-a > div {
  overflow: hidden;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a p {
  font-size: 0.95rem;
  padding-bottom: 24px;
  max-width: 62ch;
}

/* ---------- 13. Contact & form ---------- */
.cta {
  padding: var(--band) 0;
  border-top: 1px solid var(--line);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: start;
}

.cta-grid h2 {
  margin: 0.5em 0 0.6em;
}

.contactlist {
  margin-top: 2.4em;
  display: grid;
  gap: 0;
}

.contactlist > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  font-size: 0.94rem;
}

.contactlist > div:last-child {
  border-bottom: 1px solid var(--line);
}

.contactlist dt {
  color: var(--grey-2);
  width: 74px;
  flex: none;
}

.contactlist dd a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  display: grid;
  gap: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}

.f2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 0.84rem;
  color: var(--grey);
  margin-bottom: 6px;
}

.field .req {
  color: var(--amber);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color 0.18s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.err {
  display: block;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 5px;
  min-height: 0;
}

.err:empty {
  display: none;
}

/* honeypot — hidden from humans, visible to naive bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn-fill {
  margin-top: 2px;
}

.formnote {
  font-size: 0.82rem;
  color: var(--grey-2);
  text-align: center;
  max-width: none;
}

.formnote a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.status {
  border-radius: var(--radius);
  padding: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.status:empty {
  display: none;
}

.status.ok {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.status.bad {
  border: 1px solid var(--danger);
  background: #fdf1ef;
  color: var(--danger);
}

/* ---------- 14. Footer ---------- */
.foot {
  padding: clamp(56px, 7vw, 80px) 0 34px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 0.92rem;
  color: var(--grey);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.foot h2 {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 14px;
}

.foot ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.foot a {
  transition: color 0.18s var(--ease);
}

.foot a:hover {
  color: var(--ink);
}

.foot-bot {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--grey-2);
}

.foot-bot nav {
  display: flex;
  gap: 18px;
}

/* ---------- 15. Legal & error pages ---------- */
.page {
  padding: clamp(126px, 16vw, 180px) 0 var(--band);
}

.page-head {
  max-width: 34ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.page-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-top: 0.4em;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: clamp(1.24rem, 2vw, 1.5rem);
  margin: 2.2em 0 0.7em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose p,
.prose li {
  color: var(--grey);
  margin-bottom: 1em;
  max-width: none;
}

.prose ul {
  padding-left: 1.1em;
  margin-bottom: 1em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--ink);
  font-weight: 500;
}

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notfound .code {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(4rem, 14vw, 9rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--line);
}

/* ---------- 16. Motion ---------- */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid,
  .k-grid,
  .cta-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

  .phone-stage {
    order: -1;
  }

  .fgrid,
  .serv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-sticky {
    grid-template-columns: 1fr;
    position: static;
    height: auto;
    gap: 0;
  }

  .story-left {
    position: sticky;
    top: 58px;
    padding: 14px 0 24px;
    background: linear-gradient(var(--ink) 74%, transparent);
    z-index: 5;
  }

  .story-left .phone {
    width: min(206px, 48vw);
  }

  .story-right {
    min-height: 0;
    display: grid;
    gap: 52px;
    padding-bottom: 70px;
  }

  .step {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .progress {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .navlinks,
  .nav > .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav.open {
    background: var(--paper);
    border-bottom-color: var(--line);
  }

  .nav.open .navlinks {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 4px var(--gut) 12px;
  }

  .nav.open .navlinks a {
    padding: 12px 0;
    border-top: 1px solid var(--line-2);
  }

  .fgrid,
  .serv-grid,
  .f2 {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-cta .btn {
    flex: 1;
  }

  .foot-bot {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .nav,
  .phone-stage,
  .story,
  .dash,
  .form {
    display: none;
  }

  body {
    font-size: 12pt;
  }
}
