/* Tallify site design system (2026-09-10 redesign). Shared by index.html, the guide pages, privacy and terms. */
:root {
  --ink:#1a1814; --ink2:#212121; --text:#545454; --label:#616161; --faint:#8a8884;
  --bg:#ffffff; --off:#faf9f8; --card:rgba(0,0,0,.04); --line:rgba(26,24,20,.08); --line2:rgba(26,24,20,.14);
  --teal:#1c4753; --teal2:#2b6572; --mint:#e8f4f5; --live:#208374; --amber:#ca7b57; --violet:#594aff;
  --cream:#fefaf3;
  --head:"Geist", "Inter", "Segoe UI", system-ui, sans-serif;
  --body:"Inter", "Segoe UI", system-ui, sans-serif;
  --wrap:1225px;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; font:16px/1.5 var(--body); color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
h1, h2, h3, h4 { font-family:var(--head); font-weight:400; margin:0; color:var(--ink2); }
h1 { font-size:clamp(40px, 5vw, 64px); line-height:1.125; letter-spacing:.02em; }
h2 { font-size:clamp(34px, 3.6vw, 48px); line-height:1.17; letter-spacing:.02em; }
h3 { font-size:20px; line-height:28px; }
p { margin:0; }
.wrap { max-width:var(--wrap); margin:0 auto; padding:0 20px; }
.label { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; color:var(--label); margin-bottom:16px; }
.label::before { content:"\2807"; font-family:var(--body); font-size:14px; line-height:1; color:var(--label); width:11px; animation:spin 1s steps(8) infinite; }
@keyframes spin { 0%{content:"\280B"} 12.5%{content:"\2819"} 25%{content:"\2839"} 37.5%{content:"\2838"} 50%{content:"\283C"} 62.5%{content:"\2834"} 75%{content:"\2826"} 87.5%{content:"\2827"} 100%{content:"\2807"} }
.sub { font-size:14px; line-height:20px; color:var(--text); max-width:420px; }

/* pills */
.pill { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:999px; font:500 16px/24px var(--body);
  white-space:nowrap; cursor:pointer; border:0; transition:background .15s, color .15s, transform .15s, box-shadow .15s; }
.pill:active { transform:scale(.98); }
.pill.white { background:#fff; color:var(--ink); }
.pill.white:hover { background:#f1efeb; }
.pill.glass { background:rgba(255,255,255,.24); color:#fff; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.pill.glass:hover { background:rgba(255,255,255,.34); }
.pill.dark { background:var(--ink); color:var(--cream); }
.pill.dark:hover { background:#000; }
.pill.soft { background:rgba(26,24,20,.06); color:var(--ink); }
.pill.soft:hover { background:rgba(26,24,20,.1); }
.pill.sm { padding:8px 14px; font-size:12px; line-height:16px; }
.pill svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* nav */
.topbar { position:fixed; inset:0 0 auto 0; z-index:50; padding:8px 20px; pointer-events:none; }
.topbar .bar { pointer-events:auto; max-width:var(--wrap); margin:0 auto; height:72px; padding:0 20px; display:flex; align-items:center; gap:8px; border-radius:16px;
  color:#fff; transition:background .25s, box-shadow .25s, color .25s; }
.topbar .bar .logo { display:flex; align-items:center; margin-right:auto; }
.topbar .bar .logo img { height:44px; width:auto; }
.topbar .bar .logo .dk { display:none; }
.topbar .bar .links { display:flex; align-items:center; gap:4px; margin-right:16px; }
.topbar .bar .links a { padding:8px 12px; border-radius:999px; font:500 16px/24px var(--body); color:inherit; transition:background .15s; }
.topbar .bar .links a:hover { background:rgba(255,255,255,.14); }
.topbar .bar .signin { background:rgba(255,255,255,.12); color:#fff; }
.topbar .bar .signin:hover { background:rgba(255,255,255,.22); }
.topbar .bar .book { background:#fff; color:var(--ink); }
.topbar .bar .book:hover { background:#f1efeb; }
.topbar.light .bar, .topbar.scrolled .bar { background:rgba(255,255,255,.72); backdrop-filter:blur(20px) saturate(1.4); -webkit-backdrop-filter:blur(20px) saturate(1.4);
  color:var(--ink); box-shadow:0 1px 0 rgba(26,24,20,.06), 0 10px 30px rgba(26,24,20,.08); }
.topbar.light .bar .logo .lt, .topbar.scrolled .bar .logo .lt { display:none; }
.topbar.light .bar .logo .dk, .topbar.scrolled .bar .logo .dk { display:block; }
.topbar.light .bar .links a:hover, .topbar.scrolled .bar .links a:hover { background:rgba(26,24,20,.06); }
.topbar.light .bar .signin, .topbar.scrolled .bar .signin { background:rgba(26,24,20,.06); color:var(--ink); }
.topbar.light .bar .signin:hover, .topbar.scrolled .bar .signin:hover { background:rgba(26,24,20,.12); }
.topbar.light .bar .book, .topbar.scrolled .bar .book { background:var(--ink); color:var(--cream); }
.topbar.light .bar .book:hover, .topbar.scrolled .bar .book:hover { background:#000; }
.topbar .burger { display:none; width:40px; height:40px; border-radius:999px; border:0; background:rgba(255,255,255,.12); color:inherit; place-items:center; cursor:pointer; }
.topbar.light .burger, .topbar.scrolled .burger { background:rgba(26,24,20,.06); }
.topbar .burger svg { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; }
.menu { position:fixed; inset:88px 20px auto 20px; z-index:49; background:#fff; border-radius:16px; padding:12px; box-shadow:0 20px 60px rgba(26,24,20,.18); display:none; flex-direction:column; gap:2px; }
.menu.open { display:flex; }
.menu a { padding:12px 14px; border-radius:10px; font:500 16px/24px var(--body); color:var(--ink); }
.menu a:hover { background:rgba(26,24,20,.05); }

/* generic sections */
section.block { padding:120px 0; }
section.block.off { background:var(--off); }
.center { text-align:center; }
.center .label { justify-content:center; }
.center .sub { margin:16px auto 0; }

/* dark cta card */
.cta-card { background:var(--ink); color:#fff; border-radius:24px; padding:82px 24px; text-align:center; position:relative; overflow:hidden; }
.cta-card::before { content:""; position:absolute; inset:auto -20% -60% -20%; height:70%; background:radial-gradient(60% 100% at 50% 100%, rgba(43,101,114,.55), rgba(43,101,114,0) 70%); pointer-events:none; }
.cta-card > * { position:relative; }
.cta-card h2 { color:#fff; max-width:620px; margin:0 auto; }
.cta-card p { font-size:14px; line-height:20px; max-width:420px; margin:12px auto 0; color:rgba(255,255,255,.86); }
.cta-card .pill { margin-top:20px; }

/* footer */
footer.site { background:#fff; padding:24px 0 32px; font-size:14px; color:var(--text); }
footer.site .top { display:flex; justify-content:space-between; align-items:flex-start; gap:32px; padding:40px 0 48px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
footer.site .top h3 { font-size:24px; line-height:32px; max-width:340px; color:var(--ink2); }
footer.site .top .mail { max-width:360px; }
footer.site .top .mail b { display:block; font-weight:500; color:var(--ink); margin-bottom:6px; }
footer.site .cols { display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; padding:40px 0 48px; border-bottom:1px solid var(--line); }
footer.site .cols b { display:block; font-weight:500; color:var(--ink); margin-bottom:14px; }
footer.site .cols a { display:block; padding:5px 0; color:var(--text); }
footer.site .cols a:hover { color:var(--ink); }
footer.site .bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:24px; font-size:12px; color:var(--text); flex-wrap:wrap; }
footer.site .bottom .l { display:flex; gap:20px; flex-wrap:wrap; align-items:center; }
footer.site .bottom a:hover { color:var(--ink); }

/* inner pages (guides, privacy, terms) */
.page-head { background:var(--off); padding:152px 0 56px; }
.page-head .crumbs { font-size:14px; color:var(--label); margin-bottom:18px; display:flex; gap:8px; flex-wrap:wrap; }
.page-head .crumbs a:hover { color:var(--ink); }
.page-head h1 { max-width:820px; }
.page-head .lead { font-size:18px; line-height:28px; color:var(--text); max-width:720px; margin-top:20px; }
.page-head .meta { display:inline-flex; align-items:center; gap:8px; margin-top:22px; font-size:12px; color:var(--text); background:#fff; border-radius:999px; padding:6px 14px 6px 10px; }
.page-head .meta::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--live); box-shadow:0 0 0 3px rgba(32,131,116,.18); }
main.doc { padding:56px 0 20px; }
main.doc article { max-width:760px; }
main.doc article p, main.doc article li { font-size:16px; line-height:26px; color:var(--text); }
main.doc article p { margin:0 0 16px; }
main.doc article h2 { font-size:30px; line-height:38px; margin:44px 0 14px; color:var(--ink2); }
main.doc article h3 { font-size:20px; line-height:28px; margin:28px 0 8px; font-weight:500; color:var(--ink2); }
main.doc article b { color:var(--ink); font-weight:500; }
main.doc article ul, main.doc article ol { padding-left:22px; margin:0 0 16px; }
main.doc article li { margin:6px 0; }
main.doc article a { color:var(--teal); text-decoration:underline; text-decoration-color:rgba(28,71,83,.35); text-underline-offset:3px; }
main.doc .callout { background:var(--off); border-radius:16px; padding:20px 24px; margin:26px 0; }
main.doc .callout p { margin:0; }
main.doc table { border-collapse:separate; border-spacing:0; width:100%; margin:18px 0; font-size:14px; border:1px solid var(--line2); border-radius:12px; overflow:hidden; }
main.doc th, main.doc td { text-align:left; padding:11px 14px; border-bottom:1px solid var(--line); vertical-align:top; color:var(--text); }
main.doc tr:last-child td { border-bottom:0; }
main.doc th { color:var(--ink); font-weight:500; background:var(--off); }
main.doc .tablewrap { overflow-x:auto; }
.faq details { border-bottom:1px solid var(--line); padding:18px 0; }
.faq details:first-of-type { border-top:1px solid var(--line); }
.faq summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:20px; font:500 18px/26px var(--body); color:var(--ink); }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; flex:none; width:32px; height:32px; border-radius:999px; display:grid; place-items:center; background:rgba(26,24,20,.05); color:var(--ink); font:400 20px/1 var(--body); transition:transform .2s, background .15s; }
.faq details[open] summary::after { transform:rotate(45deg); background:var(--ink); color:#fff; }
.faq p { margin:12px 0 0; color:var(--text); font-size:15px; line-height:24px; max-width:720px; }
.more { padding:48px 0 0; margin-top:40px; border-top:1px solid var(--line); }
.more h2 { font-size:30px; line-height:38px; margin:0 0 20px; }
.cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:12px; }
.card { background:var(--card); border-radius:18px; padding:22px; color:var(--ink); display:flex; flex-direction:column; gap:6px; transition:background .15s; }
.card:hover { background:rgba(0,0,0,.07); }
.card b { font-weight:500; font-size:16px; color:var(--ink); }
.card span { font-size:14px; line-height:20px; color:var(--text); }
.cta { padding:80px 0 24px; }

@media (max-width: 900px) {
  .topbar .bar .links, .topbar .bar .signin { display:none; }
  .topbar .burger { display:grid; }
  footer.site .cols { grid-template-columns:repeat(2, 1fr); }
  section.block { padding:80px 0; }
  .page-head { padding:128px 0 40px; }
}
@media (prefers-reduced-motion: reduce) { .label::before { animation:none; } html { scroll-behavior:auto; } }
