/* OSV Solutions — restaurant websites & online ordering
   Palette: navy ink, OSV logo blue, kitchen-ticket yellow, white paper. */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('../fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('../fonts/public-sans-latin-wght-italic.woff2') format('woff2-variations'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url('../fonts/courier-prime-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url('../fonts/courier-prime-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #14213D;
  --ink-2: #1C2E52;
  --blue: #0A9BDB;
  --blue-dark: #0570A6;
  --ticket: #FFC93C;
  --ticket-dark: #E8AE12;
  --paper: #FFFFFF;
  --mist: #EEF3F8;
  --line: #D6DEE8;
  --text: #1B2433;
  --muted: #536176;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --wrap: 1160px;
  --r-sm: 6px;
  --r-md: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ticket); color: var(--ink); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 8px; }

h1, h2, h3 {
  text-wrap: balance;
  font-family: var(--display); font-stretch: 112%; color: var(--ink);
  line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 105%; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head p { max-width: none; }
.section-head p { text-wrap: pretty; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.fine { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1rem/1 var(--display); font-stretch: 108%;
  padding: .95rem 1.4rem; border-radius: var(--r-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { padding: .65rem 1rem; font-size: .92rem; }
.btn-ticket { background: var(--ticket); color: var(--ink); }
.btn-ticket:hover { background: var(--ticket-dark); color: var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.text-link { font-weight: 700; color: var(--ink); text-decoration-color: var(--ticket); text-decoration-thickness: 3px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand img { width: 140px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: var(--ink); position: relative; content: '';
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { background: var(--ink); color: #DCE5F2; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 3rem; align-items: center; }
.lede { font-size: 1.2rem; max-width: 36rem; color: #C9D5E6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .95rem; }
.hero-points li { padding-left: 1.3rem; position: relative; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; background: var(--blue); border-radius: 2px; }

/* The order ticket: the page's signature element */
.ticket { margin: 0; justify-self: center; position: relative; }
.ticket-paper {
  width: min(330px, 86vw); background: #FBFBF8; color: #1d1d1d;
  font: 400 .95rem/1.45 var(--mono); padding: 1.6rem 1.5rem 1.4rem;
  transform: rotate(2.5deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  --tooth: 10px;
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) top / var(--tooth) 51% repeat-x,
                radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) bottom / var(--tooth) 51% repeat-x;
          mask: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px) top / var(--tooth) 51% repeat-x,
                radial-gradient(circle at 50% 100%, transparent 5px, #000 5.5px) bottom / var(--tooth) 51% repeat-x;
  animation: print 1.1s cubic-bezier(.2,.7,.2,1) .2s both;
}
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: rotate(2.5deg) translateY(-24px); } to { clip-path: inset(0 0 0 0); transform: rotate(2.5deg); } }
.ticket-paper p { margin: 0; }
.t-head { text-align: center; border-bottom: 1px dashed #999; padding-bottom: .6rem; margin-bottom: .6rem !important; }
.t-head strong { font-size: 1.3rem; }
.t-time { text-align: center; margin-bottom: .7rem !important; }
.ticket table { width: 100%; border-collapse: collapse; border-bottom: 1px dashed #999; margin-bottom: .6rem; }
.ticket td { padding: .15rem 0; vertical-align: top; }
.ticket td:first-child { width: 1.6rem; }
.ticket td:last-child { text-align: right; }
.t-sum { display: flex; justify-content: space-between; }
.t-total { font-weight: 700; font-size: 1.1rem; border-top: 1px dashed #999; margin-top: .4rem !important; padding-top: .4rem; }
.t-note { margin: .4rem 0 .8rem !important; }
.t-commission {
  display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem;
  background: var(--ticket); padding: .35rem .5rem; margin: 0 -.5rem;
}
.t-foot { text-align: center; font-size: .82rem; margin-top: 1rem !important; color: #555; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ticket { justify-self: start; margin-top: 1rem; }
}

/* Fees */
.fees { background: var(--mist); }
.fee-compare { display: grid; gap: 2rem; max-width: 900px; }
.fee-row h3 { margin-bottom: .6rem; }
.bar { display: flex; height: 56px; border-radius: var(--r-sm); overflow: hidden; font: 700 .95rem/1 var(--display); font-stretch: 105%; }
.bar > span { width: var(--w); display: flex; align-items: center; padding: 0 1rem; white-space: nowrap; }
.bar-you { background: var(--ink); color: #fff; }
.bar-fee { background: #E2504A; color: #fff; justify-content: center; }
.bar-fee-sm { padding: 0 !important; }
.fee-row .fine { margin-top: .6rem; }
.fee-takeaway { margin-top: 2.2rem; font-size: 1.2rem; text-wrap: pretty; }
.fee-takeaway strong { background: var(--ticket); padding: 0 .3rem; }

/* Offer */
.offer-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.offer-item { border-top: 1px solid var(--line); padding: 1.2rem 0 .3rem; }
.offer-item h3 { margin-bottom: .35rem; }
.offer-item h3 a { color: var(--ink); text-decoration: none; }
.offer-item h3 a:hover { color: var(--blue-dark); text-decoration: underline; }
.offer-item p { color: var(--muted); }

.phone {
  width: 300px; max-width: 100%; justify-self: center; background: var(--ink);
  border-radius: 38px; padding: 12px; box-shadow: 0 40px 70px -30px rgba(20,33,61,.6);
}
.phone-screen { background: #fff; border-radius: 28px; overflow: hidden; font-size: .85rem; padding-bottom: 14px; }
.ph-hero img { width: 100%; height: 150px; object-fit: cover; }
.ph-name { font: 800 1.15rem/1.1 var(--display); color: var(--ink); margin: .9rem 1rem .2rem; }
.ph-meta { margin: 0 1rem .7rem; color: #2E8B57; font-weight: 600; font-size: .8rem; }
.ph-tabs { display: flex; gap: .4rem; padding: 0 1rem .6rem; border-bottom: 1px solid var(--line); }
.ph-tabs span { padding: .3rem .7rem; border-radius: 99px; background: var(--mist); font-weight: 600; font-size: .75rem; }
.ph-tabs .on { background: var(--ink); color: #fff; }
.ph-item { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem 1rem; border-bottom: 1px solid #EDF1F5; }
.ph-item b { display: block; color: var(--ink); }
.ph-item small { color: var(--muted); font-size: .72rem; }
.ph-item > span { font-weight: 700; }
.ph-cart { margin: .9rem 1rem 0; background: var(--ticket); color: var(--ink); border-radius: 8px; padding: .7rem .9rem; font-weight: 700; display: flex; justify-content: space-between; }

@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } .phone { order: 2; } }

/* Steps */
.steps { background: var(--mist); }
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step-list li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.step-list li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem;
  background: var(--ticket); color: var(--ink); font: 800 1.1rem/1 var(--display); border-radius: 50%; margin-bottom: .8rem;
}
.step-list p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .step-list { grid-template-columns: 1fr; } }

/* Soap story */
.soap { background: var(--ink-2); color: #D4DEEC; }
.soap h2 { color: #fff; }
.soap-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.soap-copy p { font-size: 1.1rem; max-width: 38rem; }
.soap-copy p + p { color: #fff; font-family: var(--display); font-stretch: 105%; font-weight: 600; font-size: 1.3rem; line-height: 1.35; border-left: 4px solid var(--ticket); padding-left: 1rem; }
.soap .text-link { color: #fff; }
.soap-figure { display: grid; gap: 1rem; }
.soap-card { border-radius: var(--r-md); padding: 1.1rem 1.2rem .9rem; }
.soap-hard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.soap-easy { background: #fff; color: var(--ink); }
.soap-label { font: 700 1rem/1.2 var(--display); font-stretch: 105%; margin: 0 0 .4rem; }
.soap-hard .soap-label { color: #AFC0D8; }
.soap-cost { margin: .3rem 0 0; font-size: .9rem; }
.soap-hard .soap-cost { color: #AFC0D8; text-decoration: line-through; text-decoration-color: #E2504A; }
.soap-easy .soap-cost { font-weight: 700; }
.soap-svg { width: 100%; height: auto; max-height: 130px; }
.soap-svg .belt { fill: #5B6B85; }
.soap-svg .machine { fill: #2A3D63; stroke: #7C8FB0; stroke-width: 2; }
.soap-svg .screen { fill: #0E1830; }
.soap-svg .wave { fill: none; stroke: var(--blue); stroke-width: 2; }
.soap-svg .box { fill: #F2E3C6; stroke: #B79A63; stroke-width: 1.5; }
.soap-svg .box-empty { fill: #fff; stroke-dasharray: 3 2; }
.soap-svg .person { fill: #7C8FB0; }
.soap-easy .belt { fill: #C7D1DE; }
.soap-svg .fan-ring { fill: none; stroke: var(--ink); stroke-width: 3; }
.soap-svg .fan-blade { fill: var(--blue); }
.soap-svg .stand { stroke: var(--ink); stroke-width: 4; }
.soap-svg .air { stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 6; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .soap-svg .fan { transform-origin: 40px 48px; animation: spin 1.6s linear infinite; }
  .soap-svg .air { animation: blow 1s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blow { to { stroke-dashoffset: -12; } }
@media (max-width: 860px) { .soap-grid { grid-template-columns: 1fr; } }

/* Pricing */
/* Founding offer: a ticket with a tear-off stub */
.founding {
  display: grid; grid-template-columns: 1.7fr 1fr; margin-bottom: 2.75rem;
  border-radius: var(--r-md); overflow: hidden; color: var(--ink);
  box-shadow: 0 18px 40px -24px rgba(20,33,61,.45);
}
.founding-main { background: var(--ticket); padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.founding-main h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: .6rem; }
.founding-main p { max-width: none; text-wrap: pretty; }
.founding-main ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.founding-main li { padding-left: 1.6rem; position: relative; }
.founding-main li::before { content: ''; position: absolute; left: .15rem; top: .5rem; width: .75rem; height: .4rem; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.founding-stub {
  background: #FFF6D6; padding: clamp(1.5rem, 3.5vw, 2.4rem); position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .9rem;
  border-left: 2px dashed rgba(20,33,61,.35);
}
.founding-stub::before, .founding-stub::after {
  content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper);
}
.founding-stub::before { top: -12px; }
.founding-stub::after { bottom: -12px; }
.stub-count { margin: 0; font: 700 1.1rem/1.2 var(--display); font-stretch: 105%; }
.stub-count span { display: block; font-size: 3.4rem; line-height: 1; font-weight: 800; font-stretch: 115%; }
.spots { display: flex; gap: .45rem; }
.spots span { width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 2.5px solid var(--ink); }
.spots .open { background: var(--ticket); }
.spots .taken { background: var(--ink); }
.stub-note { margin: 0; font-size: .88rem; color: #4A4630; }
@media (max-width: 860px) {
  .founding { grid-template-columns: 1fr; }
  .founding-main ul { grid-template-columns: 1fr; }
  .founding-stub { border-left: 0; border-top: 2px dashed rgba(20,33,61,.35); }
  .founding-stub::before { top: -13px; left: -12px; }
  .founding-stub::after { top: -13px; bottom: auto; left: auto; right: -12px; }
}

.price-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.5rem; align-items: stretch; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 1.5rem; padding: 1.3rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.price-row h3 { margin-bottom: .2rem; }
.price-row p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .price-row { flex-direction: column; align-items: flex-start; } }
.price { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; background: #fff; }
.price-featured { border: 2px solid var(--ink); position: relative; }
.price-flag { position: absolute; top: -.85rem; left: 1.4rem; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: 99px; margin: 0; }
.price-for { color: var(--muted); min-height: 3.2em; }
.price-amt { font: 800 2.6rem/1 var(--display); font-stretch: 112%; color: var(--ink); margin: .2rem 0 1.2rem; }
.price-amt small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.price li { padding: .45rem 0 .45rem 1.6rem; position: relative; border-top: 1px solid #EDF1F5; font-size: .98rem; }
.price li::before { content: ''; position: absolute; left: .2rem; top: .95rem; width: .7rem; height: .38rem; border-left: 2px solid var(--blue-dark); border-bottom: 2px solid var(--blue-dark); transform: rotate(-45deg); }

@media (max-width: 1100px) { .price-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; } }

/* Demos */
.demos { background: var(--mist); }
.demos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.demo-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.demo-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.demo-list a:hover { background: #fff; }
.demo-list small { color: var(--muted); font-weight: 400; }
@media (max-width: 760px) { .demos-grid { grid-template-columns: 1fr; } }

/* Refer */
.refer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; border: 2px dashed var(--line); border-radius: var(--r-md); padding: clamp(1.5rem, 4vw, 3rem); }
.refer-grid h2 { margin: 0; }
.refer-grid p:last-child { margin: 0; }
@media (max-width: 760px) { .refer-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* FAQ */
.faq-section { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .3rem; top: .75rem; font: 400 1.6rem/1 var(--display); color: var(--blue-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 2rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* CTA band */
.cta-band { background: var(--ticket); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3rem; }
.cta-inner p { margin: 0; max-width: 40rem; color: var(--ink); }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn-ticket { background: var(--ink); color: #fff; }
.cta-band .btn-ticket:hover { background: var(--ink-2); }
.cta-band .btn-ghost-light { color: var(--ink); border-color: var(--ink); }
.cta-band .btn-ghost-light:hover { background: rgba(20,33,61,.08); color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #B9C6D9; padding: 4rem 0 2rem; font-size: .96rem; }
.site-footer a { color: #E3EAF4; text-decoration: none; }
.site-footer a:hover { color: var(--ticket); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-logo { background: #fff; border-radius: var(--r-sm); padding: 6px 10px; width: 150px; margin-bottom: 1rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero { background: var(--ink); color: #C9D5E6; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lede { max-width: 42rem; }
.crumbs { font-size: .88rem; margin-bottom: 1rem; }
.crumbs a { color: #9FB2CF; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.feature-list > div { border-top: 1px solid var(--line); padding: 1.2rem 0 .2rem; }
.feature-list p { color: var(--muted); }
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { text-align: left; padding: .85rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-stretch: 105%; color: var(--ink); border-bottom: 2px solid var(--ink); }
.compare td:last-child { font-weight: 600; color: var(--ink); background: #FFF8E1; }
.table-scroll { overflow-x: auto; }

/* Story page */
.story { font-size: 1.15rem; line-height: 1.75; }
.wrap.story { max-width: 58rem; }
.story p { text-wrap: pretty; }
.story > p:first-of-type::first-letter { font: 800 3.4rem/.9 var(--display); float: left; margin: .3rem .5rem 0 0; color: var(--ink); }
.lesson { background: var(--mist); border-left: 5px solid var(--ticket); padding: 1.4rem 1.6rem; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 2rem 0; }
.lesson p { margin: 0; font: 600 1.25rem/1.4 var(--display); font-stretch: 105%; color: var(--ink); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0 2rem; }
.choices > div { border-radius: var(--r-md); padding: 1.3rem 1.4rem; }
.choices .hard { border: 1px solid var(--line); color: var(--muted); }
.choices .easy { background: var(--ink); color: #DCE5F2; }
.choices .easy h3 { color: #fff; }
.choices ul { margin: 0; padding-left: 1.1rem; }
@media (max-width: 700px) { .choices { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1.5px solid #B9C5D4; border-radius: var(--r-sm); padding: .75rem .85rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,155,219,.2); }
.form textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.5rem; font-weight: 600; }
.alert-ok { background: #E4F5EA; color: #155B33; border: 1px solid #A9DBBC; }
.alert-err { background: #FDECEC; color: #8A1F1F; border: 1px solid #F1B5B5; }
.contact-card { background: var(--mist); border-radius: var(--r-md); padding: 1.6rem; }
.contact-card h2 { font-size: 1.3rem; }
.contact-card p { margin-bottom: 1.1rem; }
.contact-card a { font-weight: 700; }
.recaptcha-note { font-size: .78rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.price-row .btn { white-space: nowrap; flex-shrink: 0; }

/* Proposal-aligned pricing additions */
.founding-return { margin: 1.1rem 0 0 !important; padding-top: .9rem; border-top: 1px solid rgba(20,33,61,.2); font-size: .95rem; }
.price-note { font-size: .85rem; color: var(--blue-dark); font-weight: 600; margin: -.6rem 0 1.2rem; }
.monthly { display: grid; grid-template-columns: .8fr 1.4fr; gap: 1rem 2.5rem; margin-top: 1.5rem; padding: 1.6rem; border-radius: var(--r-md); background: var(--ink); color: #D4DEEC; }
.monthly h3, .monthly .price-amt { color: #fff; }
.monthly .price-amt { margin: .1rem 0 .3rem; }
.monthly .price-amt small { color: #AFC0D8; }
.monthly-price p:last-child { margin: 0; color: #AFC0D8; }
.monthly ul { list-style: none; padding: 0; margin: 0; align-self: center; }
.monthly li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.monthly li::before { content: ''; position: absolute; left: .2rem; top: .8rem; width: .7rem; height: .38rem; border-left: 2px solid var(--ticket); border-bottom: 2px solid var(--ticket); transform: rotate(-45deg); }
.monthly-why { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); color: #fff; }
@media (max-width: 760px) { .monthly { grid-template-columns: 1fr; } }
.pricing-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; margin-top: 1.5rem; }
.pricing-facts p { margin: 0; padding-top: .8rem; border-top: 3px solid var(--ticket); font-size: .95rem; }
@media (max-width: 900px) { .pricing-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pricing-facts { grid-template-columns: 1fr; } }
.extras { margin-top: 1.8rem; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.3rem; }
.extras summary { cursor: pointer; padding: 1rem 0; font-weight: 700; color: var(--ink); }
.extras .compare td { text-align: right; white-space: nowrap; background: none; }
.extras .compare th { font-weight: 400; }
.pricing > .wrap > .fine { margin-top: 1.2rem; }
.safety-net { margin-top: 2rem; background: #fff; border-left: 5px solid var(--ticket); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.3rem 1.5rem; }
.safety-net p { margin: 0; color: var(--muted); text-wrap: pretty; }
.compare tr.us th, .compare tr.us td { background: #FFF3C4; font-weight: 700; color: var(--ink); }
.compare td:last-child { background: none; font-weight: 400; color: inherit; }
.layouts { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.layouts li { background: var(--mist); border-radius: 99px; padding: .35rem .9rem; font-weight: 600; color: var(--ink); font-size: .92rem; }
.table-scroll + .fine { margin-top: 1rem; }
.demo-band { background: var(--mist); padding: clamp(2.2rem, 5vw, 3.2rem) 0; }
.demo-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.demo-band h2 { margin-bottom: .3rem; }
.demo-band p { margin: 0; color: var(--muted); max-width: 40rem; }
.marketplace { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; margin-top: 1.5rem; padding: 1.5rem 1.6rem; border: 2px solid var(--blue); border-radius: var(--r-md); background: #F2FAFE; }
.marketplace h3 { margin-bottom: .5rem; }
.marketplace p { margin: 0; color: var(--text); }
.marketplace dl { margin: 0; display: grid; gap: .1rem; align-self: center; }
.marketplace dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid #CFE6F3; }
.marketplace dl > div:last-child { border-bottom: 0; }
.marketplace dt { color: var(--muted); }
.marketplace dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
@media (max-width: 860px) { .marketplace { grid-template-columns: 1fr; } }
