/* TipHarbor site. One stylesheet, no framework.
   Direction: the restaurant guest check. Green check paper, printed rules,
   ballpoint handwriting for the numbers a server would write. Everything else
   stays quiet so the real app screens do the selling. */

@font-face {
  font-family: "Pen";
  src: url("/fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f7f4f0;
  --paper-2: #efe9e1;
  --card: #ffffff;
  --ink: #1a1816;
  --ink-2: #5c564f;
  --rule: #e2dad0;
  --coral: #d4846a;          /* decorative only: 2.6:1 on paper */
  --coral-ink: #a64b2a;      /* text and links: 5.2:1 */
  --check: #e8f0e2;
  --check-rule: #b8cdb0;
  --check-print: #2f5b3a;
  --pen: #1f3e8a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Pen", "Bradley Hand", "Segoe Print", cursive;
  --radius: 18px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-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: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 720; }
h3 { font-size: 1.3rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.hand { font-family: var(--hand); color: var(--pen); font-weight: 600; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 244, 240, 0.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.header-nav { display: flex; gap: 22px; }
.header-nav a { color: var(--ink); text-decoration: none; font-size: 0.97rem; }
.header-nav a:hover { color: var(--coral-ink); }
@media (max-width: 560px) { .header-nav a:not(:last-child) { display: none; } }

/* Buttons and store link */
.btn { font: 600 1rem/1 var(--sans); border-radius: 999px; padding: 13px 20px; border: 1px solid transparent; cursor: pointer; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--coral-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.badge img { width: 150px; height: 50px; }
.soon { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 18px; font-weight: 650; }
@media (max-width: 360px) { .soon { padding: 11px 14px; font-size: 0.94rem; gap: 8px; white-space: nowrap; } }
.soon-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(212, 132, 106, 0.22); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.cta-note { font-size: 0.95rem; color: var(--ink-2); }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero h1 .hand { font-size: 1.12em; letter-spacing: 0; font-weight: 600; white-space: nowrap; margin-right: 0.12em; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero { padding-top: 20px; } }

/* The guest check */
.scene { position: relative; min-height: 560px; }
.check {
  position: absolute; left: 0; top: 56px; width: 55%; max-width: 312px; z-index: 2;
  background: var(--check);
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, var(--check-rule) 33px 34px);
  background-position: 0 92px;
  color: var(--check-print);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 18px 40px -18px rgba(47, 91, 58, 0.35);
  transform: rotate(-4deg);
  padding: 0 18px 0;
  font-family: var(--sans);
}
.check-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 8px; border-bottom: 2px solid var(--check-print); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.check-head .no { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: #b2412a; }
.check-meta { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--check-print); }
.check-meta span { padding: 6px 0 5px; border-right: 1px solid var(--check-rule); }
.check-meta span:last-child { border-right: 0; padding-left: 8px; }
.check-meta span:nth-child(2) { padding-left: 8px; }
.check-meta b { display: block; font: 600 1.15rem/1.1 var(--hand); color: var(--pen); text-transform: none; letter-spacing: 0; }
.check-lines { list-style: none; margin: 0; padding: 0; }
.check-lines li { display: flex; justify-content: space-between; align-items: flex-end; height: 34px; padding-bottom: 2px; font: 600 1.45rem/1 var(--hand); color: var(--pen); }
.check-lines li span:last-child { font-variant-numeric: tabular-nums; }
.check-lines .minus { color: var(--pen); }
.check-total { position: relative; }
.check-total .circled { position: relative; display: inline-block; }
.check-total svg { position: absolute; left: -14px; top: -10px; width: calc(100% + 28px); height: calc(100% + 18px); overflow: visible; }
.check-stub { margin: 10px -18px 0; padding: 12px 18px 16px; border-top: 2px dashed var(--check-rule); display: flex; justify-content: space-between; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.phone { position: absolute; right: 0; top: 0; z-index: 1; width: 47%; max-width: 290px; filter: drop-shadow(0 30px 40px rgba(26, 24, 22, 0.22)) drop-shadow(0 4px 8px rgba(26, 24, 22, 0.08)); transform: rotate(3deg); }
.phone-frame { border-radius: 13.5% / 6.2%; background: #1b1b1d; padding: 2.2%; }
.phone-frame img { border-radius: 12% / 5.6%; }
.float-card { position: absolute; width: 74%; max-width: 380px; border-radius: 20px; filter: drop-shadow(0 18px 28px rgba(26, 24, 22, 0.2)); }
.scene .float-card { left: 6%; bottom: 0; transform: rotate(-1.5deg); }
.margin-note { position: absolute; font: 600 1.55rem/1.15 var(--hand); color: var(--pen); }
.margin-note svg { display: block; overflow: visible; }
@media (max-width: 900px) {
  .scene { min-height: 0; width: 100%; height: 118vw; max-height: 620px; max-width: 520px; margin: 0 auto; }
  .check { width: 64%; top: 34px; z-index: 2; }
  .phone { width: 44%; z-index: 1; }
}
@media (max-width: 480px) {
  .scene { height: 112vw; }
  .check { padding: 0 13px; }
  .check-stub { margin: 10px -13px 0; padding: 10px 13px 14px; font-size: 0.58rem; }
  .check-lines li { font-size: 1.22rem; height: 30px; }
  .check-head { font-size: 0.62rem; letter-spacing: 0.08em; white-space: nowrap; }
  .check-meta { font-size: 0.55rem; letter-spacing: 0.06em; }
  .check { background-image: repeating-linear-gradient(to bottom, transparent 0 29px, var(--check-rule) 29px 30px); background-position: 0 84px; }
}

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.band { background: var(--paper-2); }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }

/* 86'd list */
.eightysix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.eightysix li { background: var(--card); border-radius: var(--radius); padding: 22px 22px 20px; border: 1px solid var(--rule); }
.struck {
  font-weight: 650; color: var(--ink-2);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9C30 5 62 11 98 6s60 5 98 1 52 2 64 3' fill='none' stroke='%23d4846a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 58% / 100% 0.7em;
}
.eightysix p { margin: 10px 0 0; }
.eightysix .fix { color: var(--ink); }
@media (max-width: 900px) { .eightysix { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .eightysix { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--rule); }
.feature-copy { max-width: 30em; }
.feature-copy h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.45em; }
.feature-copy p { color: var(--ink-2); font-size: 1.08rem; }
.feature-copy ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.feature-copy li { margin: 0.35em 0; }
.feature.flip .feature-art { order: -1; }
.feature-art { position: relative; min-height: 460px; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 650; color: var(--check-print); background: var(--check); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.tag.pro { color: var(--coral-ink); background: #f8e6df; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .feature.flip .feature-art { order: 0; }
  .feature-art { min-height: 0; }
}

/* Art compositions inside feature rows */
.art-phone { width: 62%; max-width: 300px; margin: 0 auto; filter: drop-shadow(0 26px 34px rgba(26, 24, 22, 0.2)); }
.art-phone .phone-frame { transform: rotate(-2deg); }
.art-pair { position: relative; height: 520px; max-width: 480px; margin: 0 auto; }
.art-pair .back { position: absolute; left: 0; top: 0; width: 56%; transform: rotate(-4deg); filter: drop-shadow(0 20px 26px rgba(26, 24, 22, 0.16)); }
.art-pair .front { position: absolute; right: 0; bottom: 0; width: 56%; transform: rotate(3deg); filter: drop-shadow(0 26px 34px rgba(26, 24, 22, 0.24)); }
.art-pair .card-front { position: absolute; right: -2%; bottom: 8%; width: 78%; transform: rotate(2deg); filter: drop-shadow(0 22px 30px rgba(26, 24, 22, 0.22)); }
.art-pair .widget-front { position: absolute; right: 0; bottom: 0; width: 60%; transform: rotate(3deg); filter: drop-shadow(0 22px 30px rgba(26, 24, 22, 0.24)); }
.lock-scene { position: relative; max-width: 480px; margin: 0 auto; border-radius: 28px; padding: 64px 22px 30px; background: radial-gradient(120% 90% at 20% 0%, #8a6a52 0%, #3b2d26 55%, #1f1915 100%); color: #f4ece4; overflow: hidden; }
.lock-time { font: 200 5.4rem/1 var(--display); text-align: center; letter-spacing: -0.03em; opacity: 0.92; }
.lock-date { text-align: center; font-weight: 600; opacity: 0.85; margin-bottom: 18px; }
.lock-scene img { border-radius: 22px; margin-top: 26px; box-shadow: 0 16px 34px rgba(0,0,0,0.35); }
.lock-scene .margin-note { color: #ffd9c9; }
@media (max-width: 600px) { .art-pair { height: 118vw; max-height: 520px; } .lock-time { font-size: 4.2rem; } }

/* Switch strip */
.switch { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: 24px; padding: 40px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--rule); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); font: 700 1.6rem/1 var(--hand); color: var(--pen); }
@media (max-width: 800px) { .switch { grid-template-columns: 1fr; padding: 26px 22px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .price { font: 750 2.2rem/1.1 var(--display); letter-spacing: -0.02em; margin: 10px 0 2px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan ul { list-style: none; margin: 18px 0 0; padding: 0; }
.plan li { padding: 9px 0 9px 28px; border-top: 1px solid var(--rule); position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--check-print); border-bottom: 2.5px solid var(--check-print); transform: rotate(-45deg); }
.plan-pro { background: var(--ink); color: #f6f1ea; border-color: var(--ink); }
.plan-pro li { border-top-color: rgba(255,255,255,0.14); }
.plan-pro li::before { border-color: #f2b49e; }
.plan-pro .price small, .plan-pro .muted { color: #cfc6bc; }
.price-options { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 6px; }
.price-options div { font-variant-numeric: tabular-nums; }
.price-options b { font-size: 1.4rem; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } .plan { padding: 24px 22px; } }

/* Privacy facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts div { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 20px 22px; }
.facts .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #f8e6df; color: var(--coral-ink); margin-bottom: 14px; }
.facts b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.facts span { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div:nth-child(3n+2), .facts div:nth-child(3n+3) { padding-left: 0; border-left: 0; }
}

/* FAQ */
.faq { max-width: 46em; }
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 650; position: relative; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--coral-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* Closing */
.closing { text-align: center; padding: 96px 0 104px; }
.closing h2 { max-width: 15em; margin: 0 auto 12px; }
.closing .cta-row { justify-content: center; }

/* Long-form pages (legal, help, guides) */
.doc { padding: 40px 0 88px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 0.6em; border-top: 1px solid var(--rule); }
.doc h3 { font-size: 1.12rem; margin-top: 1.6em; }
.doc li { margin: 0.35em 0; }
.doc .meta { color: var(--ink-2); font-size: 0.95rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 0.96rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 650; }
.toc { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 20px; margin: 22px 0 8px; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
@media (max-width: 600px) { .toc ol { columns: 1; } .doc table { font-size: 0.88rem; } }
.callout { background: var(--check); border-left: 4px solid var(--check-print); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 1.2em 0; }
.contact-card { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 26px; margin: 26px 0; }
.contact-card .big { font-size: 1.35rem; font-weight: 700; }

/* Printable tip log */
.log-table { width: 100%; border-collapse: collapse; background: var(--check); color: var(--check-print); font-size: 0.85rem; }
.log-table th { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.66rem; padding: 8px 6px; border: 1px solid var(--check-rule); text-align: left; }
.log-table td { height: 34px; border: 1px solid var(--check-rule); }
.scroll-hint { display: none; font-size: 0.85rem; color: var(--ink-2); margin: 1.4em 0 -0.4em; }
@media (max-width: 760px) { .scroll-hint { display: block; } }
.log-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0; }
.print-only { display: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.actions a, .actions button { text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 52px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { color: var(--ink-2); max-width: 26em; margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.footer-links h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); margin: 0 0 4px; font-family: var(--sans); }
.footer-links a, .footer-links .linklike { color: var(--ink); text-decoration: none; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--coral-ink); text-decoration: underline; }
.footer-fine { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-fine p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Consent panel */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; display: flex; justify-content: center; }
.consent-inner { max-width: 560px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px; box-shadow: 0 18px 40px rgba(26, 24, 22, 0.18); font-size: 0.95rem; }
.consent-inner p { margin: 0 0 10px; color: var(--ink-2); }
.consent-title { font-weight: 700; color: var(--ink) !important; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

@media print {
  .site-header, .site-footer, .consent, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .print-only { display: block; }
  .doc { padding: 0; }
  .log-table { background: #fff; color: #000; font-size: 9pt; }
  .log-table th, .log-table td { border-color: #888; }
  .log-table td { height: 38px; }
  @page { size: landscape; margin: 12mm; }
}
.mt { margin-top: 20px; }
.big-hand { font-size: 2.6rem; margin: 0; }

/* Handwritten margin notes, in the same pen as the guest check */
.noted { position: relative; }
.margin-note { margin: 0; z-index: 2; }
.note-left { position: absolute; left: -38%; top: 40%; text-align: right; }
.note-left svg { margin: 4px 0 0 auto; }
.note-right { position: absolute; right: -40%; top: 16%; }
.note-right svg { margin-bottom: 4px; }
@media (max-width: 1000px) {
  .note-left, .note-right { position: static; text-align: center; margin-top: 18px; }
  .margin-note svg { display: none; }
}

.doc a { overflow-wrap: anywhere; }

/* Motion. Small, quick, and off for anyone who prefers reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  a, .header-nav a, .footer-links a, .footer-links .linklike { transition: color .15s ease; }
  .btn { transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(.98); }
  .btn-ink:hover { background: #34302b; box-shadow: 0 10px 20px -12px rgba(26, 24, 22, .7); }
  .btn-quiet:hover { border-color: var(--ink); }
  .badge { display: inline-block; transition: transform .2s ease, filter .2s ease; }
  .badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 14px rgba(26, 24, 22, .22)); }
  .eightysix li, .plan { transition: transform .25s ease, box-shadow .25s ease; }
  .eightysix li:hover, .plan:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(26, 24, 22, .4); }
  .faq summary { transition: color .15s ease; }
  .faq summary:hover { color: var(--coral-ink); }
  .faq summary::after { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
  .faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
  .faq details.is-closing summary::after { transform: none; }

  /* The pen circles what you kept, once, when the page opens. */
  .hero .check-total path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pen-draw .9s .55s cubic-bezier(.6, 0, .3, 1) forwards; }

  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-soft { opacity: 0; transition: opacity .8s ease .35s; }
  .reveal-soft.in { opacity: 1; }
  .eightysix li.reveal .struck { background-size: 0% .7em; transition: background-size .6s cubic-bezier(.6, 0, .3, 1) calc(var(--d, 0s) + .35s); }
  .eightysix li.reveal.in .struck { background-size: 100% .7em; }
}
@keyframes pen-draw { to { stroke-dashoffset: 0; } }
@media print { .reveal, .reveal-soft { opacity: 1 !important; transform: none !important; } }

/* Pay once */
.price-options .once { flex-basis: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.pill { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: #f2b49e; border-radius: 999px; padding: 4px 9px; }

/* Web-style copy blocks: eyebrow, short lede, icon cards */
.eyebrow { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 14px; }
.section-head p:not(.eyebrow) { color: var(--ink); opacity: .78; font-size: 1.16rem; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.feature-copy .feature-lede { color: var(--ink); font-size: 1.16rem; line-height: 1.5; margin: 0 0 22px; }
.feature-copy .perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink); }
.feature-copy .perks li { margin: 0; }
.perks li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px; }
.perks .ico { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: #f8e6df; color: var(--coral-ink); }
.perks b { display: block; font-size: 1rem; line-height: 1.3; }
.perks span:not(.pro-chip) { display: block; color: var(--ink-2); font-size: .95rem; line-height: 1.45; margin-top: 2px; }
.pro-chip { display: inline-block; vertical-align: 2px; font: 700 .66rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 999px; padding: 4px 7px; margin-left: 4px; }
.fineprint { font-size: .88rem; color: var(--ink-2); margin: 16px 0 0; }
.feature-copy .fineprint { color: var(--ink-2); font-size: .88rem; }
.band .perks li, .band .facts div { background: var(--card); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; } .facts .ico { grid-row: span 2; margin: 0; } }

/* Theme studio: pick a theme, see it in light and dark */
.theme-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.ts-lede { color: var(--ink); opacity: .78; font-size: 1.16rem; margin: 0 0 22px; }
.theme-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.theme-btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: var(--card); border: 1.5px solid var(--rule); border-radius: 14px; padding: 11px 14px; font: inherit; color: var(--ink); cursor: pointer; }
.theme-btn i { width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--sw); box-shadow: inset 0 0 0 3px rgba(255,255,255,.55); }
.theme-btn .tb-text { flex: 1; min-width: 0; }
.theme-btn b { display: block; font-size: 1rem; }
.theme-btn small { display: block; color: var(--ink-2); font-size: .88rem; }
.theme-btn .tag { margin: 0; }
.theme-btn[aria-pressed="true"] { border-color: var(--sw); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw) 22%, transparent); }
.sw-terracotta { --sw: #D4846A; } .sw-plum { --sw: #8B6FA8; } .sw-sea { --sw: #5BA89A; } .sw-gold, .sw-golden { --sw: #C9963B; }
.sw-matcha { --sw: #7A9E7E; } .sw-classic { --sw: #5C5650; } .sw-night { --sw: #9B8EC4; }
.ts-stage { position: relative; height: 600px; border-radius: 28px; background: radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--stage, #D4846A) 30%, transparent), transparent 75%); transition: background .5s ease; }
.ts-phone { position: absolute; top: 34px; width: 46%; max-width: 250px; margin: 0; filter: drop-shadow(0 26px 34px rgba(26, 24, 22, .25)); }
.ts-light { left: 6%; transform: rotate(-4deg); }
.ts-dark { right: 6%; top: 74px; transform: rotate(4deg); z-index: 1; }
.ts-phone img { transition: opacity .25s ease; }
.ts-phone img.swapping { opacity: 0; }
.ts-phone figcaption { text-align: center; margin-top: 14px; font: 600 1.4rem/1 var(--hand); color: var(--pen); }
@media (max-width: 900px) {
  .theme-studio { grid-template-columns: 1fr; gap: 0; }
  .ts-stage { order: -1; height: 128vw; max-height: 640px; margin: 4px 0 18px; }
  .ts-lede { margin-bottom: 0; }
  .ts-copy { display: contents; }
  .ts-copy .eyebrow, .ts-copy h2, .ts-lede { order: -2; }
  .theme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-studio > *, .ts-copy > * { min-width: 0; }
  .theme-btn { flex-wrap: wrap; }
  .theme-btn .tag { order: 3; margin-left: 32px; }
  .theme-btn small { display: none; }
  .theme-btn .pro-chip { display: none; }
  .theme-btn .tag { font-size: .72rem; padding: 3px 7px; }
  .ts-phone { top: 10px; width: 45%; }
  .ts-dark { top: 40px; }
  .ts-phone figcaption { font-size: 1.2rem; margin-top: 10px; }
  .theme-btn { padding: 10px 12px; gap: 10px; }
  .theme-btn i { width: 22px; height: 22px; }
  .theme-btn b { font-size: .95rem; }
}

