
/* ============================================================================
   Tipless — site design system (boutique base · bold logo-red hero accent)
   Matches the homepage: taupe apothecary paper, forest-green money, ochre
   warmth, the official red brush-stroke as the hero mark, flat editorial buttons.
   Fonts: Fraunces (serif display), Libre Franklin (body), Space Grotesk
   (labels/eyebrows), Space Mono (receipts / every dollar).
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,400;1,9..144,500;1,9..144,600&family=Libre+Franklin:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&family=Space+Mono:wght@400;700&display=swap');

:root{
  color-scheme:only light;
  --ink:#211E19; --ink2:#3A362E;
  --paper:#F4F0E8; --cream:#EBE4D5; --card:#FBF8F1;
  --mut:#8A8475; --line:#DBD4C6; --line2:#C9C1B0;
  --teal:#3A6B52; --teal-dk:#2E5642; --teal-wash:#DEE8DF;
  --citrus:#C98A3C; --citrus-dk:#8A5E24; --ochre-soft:#EFE1CB;
  --red:#F01212; --red-dk:#C8161B; --red-wash:#FBE2DF;
  --rust:#B2543E; --hl:#F5C21A;
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --disp:'Space Grotesk',-apple-system,sans-serif;
  --body:'Libre Franklin',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --mono:'Space Mono',ui-monospace,'SF Mono',Menlo,monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;background:var(--paper)}
body{font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.62;-webkit-font-smoothing:antialiased}
img{max-width:100%}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
.narrow{max-width:760px;margin:0 auto;padding:0 22px}

/* headlines — Fraunces serif */
h1,h2,h3,.disp{font-family:var(--serif);font-weight:600;letter-spacing:-.015em;color:var(--ink);line-height:1.08}
.h1{font-family:var(--serif);font-weight:600;font-size:clamp(36px,5.2vw,58px);line-height:1.02;margin-top:10px;letter-spacing:-.022em}
.h2{font-family:var(--serif);font-weight:600;font-size:clamp(27px,3.8vw,40px);line-height:1.08;margin-top:8px;letter-spacing:-.018em;color:var(--ink)}
.h1 em,.h2 em,em.ser{font-style:italic;font-weight:500}
.lead{margin-top:16px;color:var(--ink2);font-size:17px;max-width:62ch;line-height:1.6}
.eyebrow{font-family:var(--disp);font-weight:700;font-size:11px;letter-spacing:2.6px;text-transform:uppercase;color:var(--citrus-dk)}
.mono{font-family:var(--mono)}
section{padding:72px 0;background-color:var(--paper)}

/* strike — official red brush, for struck fees / "cancelled" words */
.cancel,.struck{position:relative;white-space:nowrap}
.cancel::after,.struck::after{content:'';position:absolute;left:-3%;right:-3%;top:54%;height:.14em;background:var(--red);border-radius:99px;transform:rotate(-2.4deg)}

/* yellow marker — highlight any word, behind the glyphs, any font
   (needs the #inkbrush SVG filter on the page for the brushy edge) */
.hl{position:relative;display:inline-block;line-height:1;white-space:nowrap;color:var(--ink);isolation:isolate;padding:0 .1em;margin:0 -.02em}
.hl::before{content:'';position:absolute;left:0;right:0;bottom:0;height:.96em;transform:rotate(-1.1deg);background:var(--hl);z-index:-1;filter:url(#inkbrush);border-radius:1px}

/* wordmark: the official logo, rendered via CSS (no per-page markup) */
.tl{display:inline-block;height:26px;aspect-ratio:2.944;
    background:url(tipless-official-light.png) left center/contain no-repeat;
    text-indent:-9999px;white-space:nowrap;overflow:hidden;vertical-align:middle}
.tl .tip{position:absolute}

/* nav */
nav{position:sticky;top:0;z-index:50;background:rgba(244,240,232,.86);backdrop-filter:blur(12px) saturate(1.1);border-bottom:1px solid var(--line)}
.navin{display:flex;align-items:center;gap:26px;height:64px}
.navin .tl{height:28px}
.navlinks{display:flex;gap:24px;margin-left:auto;align-items:center}
.navlinks a{color:var(--ink);text-decoration:none;font-size:14.5px;font-weight:500}
.navlinks a:hover{color:var(--red-dk)}

/* buttons — flat, editorial */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--disp);font-weight:600;font-size:14.5px;letter-spacing:.3px;text-decoration:none;border-radius:4px;padding:14px 24px;cursor:pointer;border:1.5px solid transparent;text-align:center;transition:background .16s ease,color .16s ease,border-color .16s ease}
.btn.citrus{background:var(--red);color:#fff}
.btn.citrus:hover{background:var(--red-dk)}
.btn.ink{background:var(--ink);color:#fff}
.btn.ink:hover{background:#000}
.btn.ghost{border-color:var(--ink);color:var(--ink);background:transparent}
.btn.ghost:hover{background:var(--ink);color:#fff}
.btn.small{font-size:13.5px;padding:11px 18px}
.btn:focus-visible,a:focus-visible,summary:focus-visible{outline:2.5px solid var(--teal);outline-offset:3px}
@media(max-width:720px){.navlinks a.hideS{display:none}}

/* hero */
.hero{padding:64px 0 56px;background:radial-gradient(1000px 440px at 86% -12%,rgba(240,18,18,.07),transparent 62%),radial-gradient(760px 420px at 6% 8%,rgba(58,107,82,.06),transparent 60%),var(--paper)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
@media(max-width:840px){.grid2{grid-template-columns:1fr}}

/* cards */
.cards3{margin-top:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:820px){.cards3{grid-template-columns:1fr}}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px}
.card .k{font-family:var(--disp);font-weight:700;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:var(--citrus-dk)}
.card h3{font-size:19px;margin-top:9px;font-weight:600}
.card p{margin-top:9px;font-size:14.5px;color:var(--ink2)}

/* stats — hero numbers in red */
.statrow{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap}
.stat{flex:1;min-width:130px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px 16px;text-align:center}
.stat .v{font-family:var(--serif);font-weight:600;font-size:30px;color:var(--red-dk);line-height:1}
.stat .k{font-family:var(--disp);font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--mut);margin-top:7px}

/* section tones */
.dark{background:var(--ink);color:#EDE7DC}
.dark .h2,.dark h3{color:#fff}
.dark .lead{color:#C3BCAC}
.dark .eyebrow{color:var(--hl)}
.tealsec{background:linear-gradient(162deg,var(--teal-dk),var(--teal));color:#EEF5EE}
.tealsec .h2,.tealsec h3{color:#fff}
.tealsec .lead{color:#D4E5D7}
.tealsec .eyebrow{color:#FBE9CC}
.cream{background:var(--cream)}

/* FAQ */
details{border-bottom:1px solid var(--line);padding:17px 4px;background:transparent}
summary{font-family:var(--disp);font-weight:700;font-size:16px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;color:var(--ink)}
summary::-webkit-details-marker{display:none}
summary::after{content:'+';color:var(--red-dk);font-size:22px;line-height:1;flex:none}
details[open] summary::after{content:'–'}
details p{margin-top:11px;font-size:14.5px;color:var(--ink2);max-width:75ch}

/* ledger / receipt card */
.ledger{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:24px;color:var(--ink);max-width:430px;font-family:var(--mono)}
.ledger .lh{font-family:var(--disp);font-weight:700;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--citrus-dk);margin-bottom:12px}
.lr{display:flex;justify-content:space-between;font-size:14px;padding:7px 0;border-bottom:1.5px dashed var(--line)}
.lr .neg{color:var(--red-dk);font-weight:700}.lr .pos{color:var(--teal-dk);font-weight:700}
.lsum{display:flex;justify-content:space-between;padding-top:13px;font-family:var(--disp);font-weight:700;font-size:18px}
.lsum .keep{color:var(--teal-dk)}

/* timeline */
.timeline{margin-top:32px;display:flex;flex-direction:column;gap:0}
.tstep{display:flex;gap:16px;padding:17px 0;border-bottom:1px dashed var(--line)}
.tstep .tn{width:42px;height:42px;border-radius:50%;background:var(--ink);color:var(--hl);font-family:var(--serif);font-weight:600;font-size:17px;display:flex;align-items:center;justify-content:center;flex:none}
.tstep h3{font-size:17px;font-weight:600}.tstep p{font-size:14px;color:var(--ink2);margin-top:4px}
.tstep .tt{font-family:var(--mono);font-size:11px;color:var(--teal-dk);font-weight:700}

/* footer — warm dark, white logo */
footer{background:var(--ink);color:#9A9385;padding:54px 0 40px;font-size:13.5px}
.fgrid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;align-items:flex-start}
footer .tl{height:30px;background-image:url(tipless-official-dark.png)}
footer p{max-width:34ch;margin-top:12px;color:#B9B2A3}
footer a{color:#C9C2B4;text-decoration:none;display:block;margin-top:9px}
footer a:hover{color:#fff}
.fcol .fh{font-family:var(--disp);font-weight:700;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#6E685B}
.fine{margin-top:34px;padding-top:20px;border-top:1px solid #35312A;font-size:11.5px;color:#6E685B;line-height:1.7}

/* forms */
.formcard{margin-top:28px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px;max-width:520px}
.formcard label{display:block;font-family:var(--disp);font-weight:700;font-size:11px;letter-spacing:1.1px;text-transform:uppercase;color:var(--mut);margin:16px 0 6px}
.formcard input,.formcard select,.formcard textarea{width:100%;font-family:var(--body);font-size:15px;border:1.5px solid var(--line);border-radius:10px;padding:12px;background:var(--paper);color:var(--ink)}
.formcard input:focus,.formcard select:focus,.formcard textarea:focus{outline:none;border-color:var(--teal)}
.formcard .btn{margin-top:20px;width:100%}
.notice{margin-top:12px;font-size:12px;color:var(--mut)}

/* charter */
.charterbody{font-size:16.5px;line-height:1.85;color:#38342C}
.charterbody p{margin-top:18px}
.charterbody .vh{font-family:var(--serif);font-weight:600;font-size:20px;color:var(--ink);margin-top:32px}
.charterbody .verse{font-family:var(--serif);font-style:italic;color:var(--teal-dk)}
.creedband{background:linear-gradient(170deg,#2A211A 0%,#3A2E22 55%,#241C16 100%);text-align:center;color:#fff}
.creedband .big{font-family:var(--serif);font-weight:600;font-size:clamp(23px,3.4vw,33px);color:#fff;max-width:24ch;margin:10px auto 0;line-height:1.3}
.creedband .big em{font-style:italic}
.creedband .cite{margin-top:12px;font-size:13px;color:#D8C9B2}
.creedband .creed{margin-top:22px;font-family:var(--disp);font-weight:700;font-size:15px;letter-spacing:.3px;color:var(--hl)}

/* dollar split bar */
.dollarbar{margin-top:28px;display:flex;height:54px;border-radius:14px;overflow:hidden;box-shadow:0 10px 26px rgba(33,30,25,.12);max-width:640px}
.dollarbar .seg{display:flex;align-items:center;justify-content:center;font-family:var(--disp);font-weight:700;color:#fff;font-size:15px}
.keys{margin-top:14px;display:flex;flex-direction:column;gap:7px;max-width:640px}
.keys .k{display:flex;align-items:center;gap:9px;font-size:13.5px;color:var(--ink2)}
.keys .k i{width:12px;height:12px;border-radius:4px;flex:none}
.keys .k b{font-family:var(--mono);margin-left:auto}

/* reveal-on-scroll */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}*{animation:none!important;transition:none!important}}
