/* Zila marketing site. Colours come from the logo (site/static/brand/zila-icon.svg):
   teal #0f766e for the brand, amber #fbbf24 for the one key action, deep green-ink for text. */
:root {
  --paper: #f6f5f0;
  --surface: #ffffff;
  --line: #e2e0d6;
  --ink: #0b1f1d;
  --ink-2: #44524f;
  --ink-3: #66726f;
  --teal: #0f766e;
  --teal-deep: #0a3f3b;
  --teal-night: #072b28;
  --teal-soft: #dcefec;
  --amber: #fbbf24;
  --amber-hover: #f5ad00;
  --amber-soft: #fff4d1;
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 29, 0.06), 0 12px 32px -12px rgba(11, 31, 29, 0.18);
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(251, 191, 36, 0.8); }
.btn-primary:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.92rem; border-radius: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 43, 40, 0.92); backdrop-filter: blur(10px); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: 0.02em; }
.lockup img { width: 34px; height: 34px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-header .btn { margin-left: auto; }
@media (min-width: 820px) { .nav { display: flex; } }
@media (max-width: 420px) { .site-header .btn-label-long { display: none; } }
@media (min-width: 421px) { .site-header .btn-label-short { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(251, 191, 36, 0.12), transparent 60%),
    linear-gradient(160deg, var(--teal-night), var(--teal-deep) 55%, #0c5a54);
}
.hero .wrap { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; padding-top: 72px; padding-bottom: 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #c9f1ea; font-size: 0.85rem; font-weight: 500; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 { margin-top: 18px; font-size: clamp(2.2rem, 6.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede { margin-top: 18px; max-width: 34em; font-size: clamp(1.02rem, 2.4vw, 1.15rem); color: rgba(255, 255, 255, 0.82); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; list-style: none; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.promise li { display: inline-flex; align-items: center; gap: 7px; }
.promise li::before { content: ""; width: 16px; height: 16px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23fbbf24'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b1f1d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Phone mockup ---------- */
.stage { position: relative; display: grid; justify-items: center; padding: 24px 0 8px; }
.phone {
  position: relative; width: min(320px, 86vw); padding: 12px; border-radius: 40px;
  background: #0d1615; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.screen { border-radius: 30px; overflow: hidden; background: var(--paper); color: var(--ink); min-height: 520px; }
.screen-bar { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.screen-bar .co { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.85rem; }
.screen-bar b { display: block; font-size: 0.9rem; line-height: 1.2; }
.screen-bar small { color: var(--ink-3); font-size: 0.75rem; }
.feed { padding: 12px; display: grid; gap: 10px; }
.post { background: var(--surface); border-radius: 16px; padding: 12px; box-shadow: 0 1px 2px rgba(11, 31, 29, 0.06); }
.post-head { display: flex; align-items: center; gap: 9px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.85rem; color: var(--teal-deep); background: var(--teal-soft); flex: none; }
.post-head b { font-size: 0.85rem; display: block; line-height: 1.2; }
.post-head small { color: var(--ink-3); font-size: 0.72rem; }
.post-head .status { margin-left: auto; font-size: 0.68rem; font-weight: 600; color: var(--teal); background: var(--teal-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.post p { margin-top: 9px; font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); }
.photo { margin-top: 9px; height: 128px; border-radius: 12px; position: relative; overflow: hidden; }
.photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; list-style: none; }
.chips li { font-size: 0.68rem; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.chips li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.post-foot { display: flex; gap: 14px; margin-top: 9px; font-size: 0.72rem; color: var(--ink-3); }
.post.mini { display: flex; align-items: center; gap: 10px; }
.post.mini p { margin: 0; }

/* Notification toast that floats above the phone. */
.toast {
  position: absolute; z-index: 2; top: 0; right: max(0px, calc(50% - 230px)); width: min(290px, 78vw);
  display: flex; gap: 10px; padding: 11px 13px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: var(--shadow);
  font-size: 0.78rem; line-height: 1.4;
  animation: toast .5s ease-out 1.2s both;
}
.toast .wa { width: 30px; height: 30px; border-radius: 9px; background: #25d366; display: grid; place-items: center; flex: none; }
.toast b { display: block; font-size: 0.8rem; }
.toast small { color: var(--ink-3); }
@keyframes toast { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
@media (max-width: 560px) { .toast { right: 4px; top: -6px; } }

/* Browser mockup (home page): a company's own booking site. */
.browser { width: min(480px, 100%); border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9e8e2; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcdc4; }
.browser-bar .url { flex: 1; margin-left: 8px; padding: 5px 12px; border-radius: 8px; background: #fff; font-size: 0.78rem; color: var(--ink-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-bar .url b { color: var(--ink); font-weight: 600; }
.site-mock { padding: 18px; }
.site-mock .brandline { display: flex; align-items: center; gap: 10px; }
.site-mock .brandline .co { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; }
.site-mock h3 { margin-top: 16px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
.site-mock .stars { margin-top: 4px; font-size: 0.8rem; color: var(--ink-3); }
.site-mock .stars span { color: #e3a008; letter-spacing: 1px; }
.svc { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.svc .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; background: var(--paper); flex: none; }
.svc b { display: block; font-size: 0.9rem; line-height: 1.25; }
.svc small { color: var(--ink-3); font-size: 0.76rem; }
.svc .book { margin-left: auto; padding: 7px 12px; border-radius: 10px; font-size: 0.78rem; font-weight: 600; color: #fff; white-space: nowrap; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section { padding: 72px 0; }
@media (min-width: 720px) { .section { padding: 96px 0; } }
.section.alt { background: var(--surface); }
.kicker { color: var(--teal); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.section h2 { margin-top: 8px; font-size: clamp(1.75rem, 4.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 22em; }
.section .intro { margin-top: 14px; max-width: 40em; color: var(--ink-2); font-size: 1.05rem; }

/* Problem → fix pairs */
.pairs { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 820px) { .pairs { grid-template-columns: 1fr 1fr; gap: 18px; } }
.pair { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.pair .before, .pair .after { padding: 20px 22px; }
.pair .before { background: #faf9f5; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.pair .before b { display: block; color: var(--ink); font-size: 1.02rem; }
.pair .before p { margin-top: 4px; font-size: 0.95rem; }
.pair .after { display: flex; gap: 12px; }
.pair .after::before { content: ""; width: 24px; height: 24px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--teal) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pair .after p { font-size: 0.98rem; }

/* Feature grid */
.features { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feature { padding: 22px; border-radius: var(--radius); background: var(--paper); }
.section:not(.alt) .feature { background: var(--surface); border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 14px; font-size: 1.05rem; line-height: 1.3; }
.feature p { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- The offer ---------- */
.offer { background: var(--teal-night); color: #fff; position: relative; overflow: hidden; }
.offer::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45, 212, 191, 0.18), transparent); pointer-events: none; }
.offer .kicker { color: var(--amber); }
.offer .intro { color: rgba(255, 255, 255, 0.78); }
.offer .wrap { position: relative; z-index: 1; }
.pillars { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pillar { padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.pillar .big { font-size: clamp(2.2rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.pillar .big small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.7); }
.pillar.hl { background: var(--amber); color: var(--ink); border-color: transparent; }
.pillar.hl .big small { color: rgba(11, 31, 29, 0.7); }
.pillar h3 { margin-top: 12px; font-size: 1.05rem; }
.pillar p { margin-top: 6px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.pillar.hl p { color: rgba(11, 31, 29, 0.8); }

.calc { display: grid; gap: 22px; margin-top: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 820px) { .calc { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 28px 32px; } }
.calc .calc-inputs { display: grid; gap: 18px; }
.calc label { display: block; font-weight: 600; }
.calc label output { color: var(--amber); }
.calc input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--amber); height: 28px; }
.calc .scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.calc .result { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.calc .result b { display: block; font-size: 2rem; line-height: 1.15; color: #fff; letter-spacing: -0.02em; }
.calc .result small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; }

.founding { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 20px 22px; border-radius: var(--radius); border: 1.5px dashed rgba(251, 191, 36, 0.6); }
.founding .seal { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.founding b { display: block; }
.founding p { margin-top: 2px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.fineprint { margin-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); max-width: 60em; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 14px; margin-top: 40px; counter-reset: step; list-style: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.steps li { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--paper); }
.steps li::before { counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; }
.steps h3 { margin-top: 14px; font-size: 1.08rem; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }
.steps code { font-family: inherit; font-weight: 600; color: var(--teal); }

/* ---------- Trust strip ---------- */
.trust { display: grid; gap: 10px; margin-top: 36px; list-style: none; }
@media (min-width: 640px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.trust li svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 2px; }
.trust b { display: block; font-size: 0.98rem; }
.trust span { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- Industry cards (home page) ---------- */
.industries { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 820px) { .industries { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.industry { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.industry .emoji { font-size: 2rem; line-height: 1; }
.industry h3 { margin-top: 16px; font-size: 1.25rem; }
.industry p { margin-top: 6px; color: var(--ink-2); font-size: 0.96rem; flex: 1; }
.industry .go { margin-top: 18px; font-weight: 600; color: var(--teal); }
.industry .go::after { content: " →"; }

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.section.alt .faq details { background: var(--paper); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- Request form ---------- */
.build { background: linear-gradient(180deg, var(--paper), var(--teal-soft)); }
.build .wrap { display: grid; gap: 36px; }
@media (min-width: 960px) { .build .wrap { grid-template-columns: 0.85fr 1.15fr; align-items: start; } .build .pitch { position: sticky; top: 100px; } }
.pitch ul { margin-top: 22px; list-style: none; display: grid; gap: 12px; }
.pitch li { display: flex; gap: 10px; color: var(--ink-2); }
.pitch li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 0.8rem; font-weight: 700; margin-top: 1px; }
.card-form { position: relative; padding: 24px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 720px) { .card-form { padding: 32px; } }
.card-form h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.card-form > p { margin-top: 4px; color: var(--ink-3); font-size: 0.92rem; }
.grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-top: 18px; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
fieldset.field { border: 0; min-width: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background: #fff no-repeat right 14px center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2366726f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15); }
.field .hint { margin-top: 6px; font-size: 0.84rem; color: var(--ink-3); }
.field .hint b { color: var(--teal); font-weight: 600; }
.field .err { margin-top: 6px; font-size: 0.85rem; color: var(--danger); min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 0.92rem; cursor: pointer; background: #fff; }
.seg input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-deep); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--teal); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.card-form .btn { width: 100%; margin-top: 24px; }
.form-error { margin-top: 12px; color: var(--danger); font-size: 0.9rem; }
.reassure { margin-top: 12px; text-align: center; font-size: 0.84rem; color: var(--ink-3); }

.done { display: none; text-align: center; padding: 16px 4px; }
.is-done form { display: none; }
.is-done .done { display: block; }
.done .tick { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; }
.done h3 { margin-top: 18px; font-size: 1.4rem; }
.done p { margin-top: 8px; color: var(--ink-2); }
.done .slug { display: inline-block; margin-top: 16px; padding: 10px 16px; border-radius: 12px; background: var(--paper); font-weight: 600; color: var(--teal-deep); word-break: break-all; }
.done .btn { width: auto; margin-top: 22px; background: #25d366; color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-night); color: rgba(255, 255, 255, 0.7); padding: 40px 0; font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .lockup { color: #fff; font-size: 1.15rem; }
.site-footer .lockup img { width: 28px; height: 28px; }
.site-footer small { width: 100%; }

/* Sticky mobile CTA, shown once the hero button has scrolled away. */
.mobile-cta { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); transition: transform .25s; }
.mobile-cta .btn { width: 100%; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4); }
.mobile-cta.show { transform: none; }
@media (min-width: 820px) { .mobile-cta { display: none; } }

/* ---------- Plain pages (privacy, 404) ---------- */
.plain main { max-width: 760px; margin: 0 auto; padding: 48px 16px 72px; }
.plain h1 { font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.03em; }
.plain .updated { margin-top: 8px; color: var(--ink-3); font-size: 0.9rem; }
.plain h2 { margin-top: 36px; font-size: 1.15rem; }
.plain p, .plain li { margin-top: 10px; color: var(--ink-2); }
.plain ul { padding-left: 20px; }
.plain strong { color: var(--ink); }
.plain code { font-size: 0.9em; background: var(--surface); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.notfound h1 { margin-top: 20px; }
.notfound p { margin-top: 8px; color: var(--ink-2); }
.notfound .btn { margin-top: 24px; }
