/* ZaberaApp website. Colours are the app's own, so the site and the product feel like one thing. */
:root {
    --forest: #0d3b31;
    --forest-deep: #082a23;
    --mint: #eef4f1;
    --mint-2: #e3efe9;
    --accent: #2fbf71;
    --accent-dark: #1f9c59;
    --accent-soft: #e3f6eb;
    --ember: #e8643c;
    --ember-soft: #fdeee8;
    --amber-soft: #fff3df;
    --amber: #a96300;
    --ink: #0f1a17;
    --body: #3a4743;
    --muted: #6f7d78;
    --line: #dbe7e1;
    --white: #ffffff;

    --display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
    --text: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    --radius: 22px;
    --shadow: 0 1px 2px rgba(13, 59, 49, .05), 0 18px 50px -18px rgba(13, 59, 49, .28);
    --ease: cubic-bezier(.2, .8, .2, 1);

    --bs-body-font-family: var(--text);
    --bs-body-color: var(--body);
    --bs-body-bg: var(--mint);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
body { background: var(--mint); color: var(--body); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, .display { font-family: var(--display); color: var(--ink); letter-spacing: -.03em; line-height: 1.02; font-weight: 750; }
a { color: var(--forest); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -.01em; }
.eyebrow { font: 600 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.lead-copy { font-size: 1.2rem; color: var(--body); max-width: 38rem; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 16px; }

/* Buttons: the app's black pill for the main action */
.btn-pill { display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px; padding: .9rem 1.5rem; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #24332e; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15, 26, 23, .6); }
.btn-ghost { border-color: rgba(15, 26, 23, .18); color: var(--ink); background: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-pill .arrow { transition: transform .25s var(--ease); }
.btn-pill:hover .arrow { transform: translateX(4px); }

/* Navigation */
.site-nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: background .3s, box-shadow .3s, padding .3s; }
.site-nav.is-scrolled { background: rgba(238, 244, 241, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 8px 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 750 1.3rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.site-nav .nav-link { color: var(--body); font-weight: 600; font-size: .96rem; padding: .5rem .9rem !important; }
.site-nav .nav-link:hover { color: var(--ink); }
.site-nav .btn-pill { padding: .65rem 1.15rem; font-size: .95rem; }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { background: #fff; border-radius: 18px; padding: 12px; margin-top: 10px; box-shadow: var(--shadow); }
}

/* Hero */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.hero-stripes { position: absolute; inset: -10% -5% auto auto; width: 62%; height: 120%; pointer-events: none; z-index: 0; }
.hero-stripes path { fill: none; stroke: var(--forest); stroke-width: 34; stroke-linecap: round; opacity: .055; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); margin: 18px 0 22px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); animation: word-in .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.hero h1 .paid { color: var(--accent-dark); position: relative; white-space: nowrap; }
.hero h1 .paid::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em; background: var(--accent); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underline 0.8s var(--ease) forwards 1.5s; opacity: .35; }
@keyframes word-in { to { opacity: 1; transform: none; } }
@keyframes underline { to { transform: scaleX(1); } }
.hero .fade-up { opacity: 0; transform: translateY(18px); animation: word-in .9s var(--ease) forwards; animation-delay: var(--d, 1s); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.hero-facts li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }

.hero-stage { position: relative; height: 560px; margin-top: 10px; }
.shot { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(13, 59, 49, .08); }
.shot img { display: block; width: 100%; height: auto; }
.browser { border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(13, 59, 49, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f6faf8; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3dfd9; }
.browser-bar .url { flex: 1; margin-left: 10px; height: 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 .72rem/20px var(--mono); color: var(--muted); padding: 0 10px; width: auto; }
.browser img { display: block; width: 100%; height: auto; }
.hero-stage .browser { position: absolute; top: 0; left: 0; width: 112%; }
.hero-stage .phone { position: absolute; right: -2%; bottom: -10px; width: 31%; }
.phone { border-radius: 34px; padding: 8px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(8, 42, 35, .55); }
.phone img { display: block; width: 100%; border-radius: 27px; }
.toast-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.toast-card .dot { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; }
.toast-card small { display: block; color: var(--muted); font-size: .78rem; }
.toast-paid { left: -6%; bottom: 70px; }
.toast-paid .dot { background: var(--accent-soft); color: var(--accent-dark); }
.toast-reminder { right: 26%; top: -26px; }
.toast-reminder .dot { background: var(--amber-soft); color: var(--amber); }
.float { animation: float 6s ease-in-out infinite; }
.float.slow { animation-duration: 8s; animation-delay: -2s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* Sections */
section { position: relative; }
.section { padding: 110px 0; }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin: 14px 0 18px; max-width: 18ch; }

/* The board: an invoice's month, scrolled */
.board-section { height: 330vh; background: var(--forest); color: rgba(255, 255, 255, .78); }
.board-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 64px; }
.board-section .section-title { font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 24ch; }
.board-section h2 { color: #fff; }
.board-section .eyebrow { color: var(--accent); }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.board-head .section-title { margin-bottom: 0; }
.board-clock { text-align: right; }
.board-clock .date { font: 600 clamp(1.6rem, 3vw, 2.4rem)/1 var(--mono); color: #fff; letter-spacing: -.04em; }
.board-clock .label { font-size: .85rem; color: rgba(255, 255, 255, .55); }
.board-track { height: 4px; background: rgba(255, 255, 255, .1); border-radius: 4px; margin-bottom: 22px; overflow: hidden; }
.board-track i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.board { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lane { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 14px 12px; min-height: min(420px, 48vh); }
.lane-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: #fff; font-weight: 700; font-size: .95rem; padding: 0 4px 12px; }
.lane-head .count { font: 600 .8rem/1 var(--mono); color: rgba(255, 255, 255, .5); }
.lane-paid { background: rgba(47, 191, 113, .1); border-color: rgba(47, 191, 113, .3); }
.lane-paid .total { font: 600 .82rem/1 var(--mono); color: var(--accent); }
.cards { position: absolute; inset: 0; pointer-events: none; }
.kcard { position: absolute; top: 0; left: 0; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .55); transition: transform .9s var(--ease), box-shadow .3s; will-change: transform; }
.kcard .who { font-weight: 700; font-size: .9rem; line-height: 1.25; }
.kcard .amount-inline { display: none; font-size: .78rem; font-weight: 600; color: var(--muted); }
.kcard.is-piled { padding-top: 9px; padding-bottom: 9px; }
.kcard.is-piled .who { display: flex; justify-content: space-between; gap: 8px; }
.kcard.is-piled .amount-inline { display: inline; }
.kcard.is-piled .meta, .kcard.is-piled .chip { display: none; }
.kcard .meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; color: var(--muted); }
.kcard .amount { font: 600 .82rem/1 var(--mono); color: var(--ink); }
.kcard .chip { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #edf1ef; color: #66726e; transition: background .4s, color .4s; }
.kcard[data-lane="0"] .chip { background: #e6eefc; color: #2f56b0; }
.kcard[data-lane="1"] .chip { background: #edf1ef; color: #4a5753; }
.kcard[data-lane="2"] .chip { background: var(--amber-soft); color: var(--amber); }
.kcard[data-lane="3"] .chip { background: var(--accent-soft); color: #16794a; }
.kcard.is-moving { box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .7); }
.board-note { margin-top: 22px; font-size: .95rem; color: rgba(255, 255, 255, .62); max-width: 60ch; }
.board-note strong { color: #fff; }
@media (max-width: 767.98px) {
    .board-section { height: 300vh; }
    .board { gap: 6px; }
    .lane { padding: 10px 5px; min-height: 340px; border-radius: 12px; }
    .board-sticky { padding-top: 56px; }
    .lane-head { flex-direction: column; gap: 4px; font-size: .74rem; padding: 0 2px 8px; }
    .kcard { padding: 8px; border-radius: 10px; }
    .kcard .who, .kcard .meta .num { display: none; }
    .kcard.is-piled .who { display: none; }
    .kcard.is-piled .meta { display: flex; }
    .kcard.is-piled { padding-top: 6px; padding-bottom: 6px; }
    .kcard .meta { margin-top: 0; }
    .kcard .amount { font-size: .68rem; }
    .kcard .chip { font-size: .6rem; padding: 2px 6px; margin-top: 5px; line-height: 1.25; }
    .kcard .amount { font-size: .7rem; white-space: nowrap; }
    .board-clock { text-align: left; }
}

/* Feature stories: a screenshot with a caption that sells on its own */
.story { padding: 100px 0; }
.story + .story { padding-top: 20px; }
.story h3 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 14px 0 16px; max-width: 16ch; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.facts li::before { content: ''; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f9c59' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.facts strong { color: var(--ink); }
.figure { position: relative; }
.figure .browser { transform: perspective(1600px) rotateY(var(--ry, -6deg)) rotateX(2deg); transition: transform .8s var(--ease); }
.figure:hover .browser { transform: perspective(1600px) rotateY(0) rotateX(0); }
.figure.flip { --ry: 6deg; }
figcaption { margin-top: 18px; font-size: .92rem; color: var(--muted); max-width: 52ch; }
figcaption strong { color: var(--ink); }
.crop { aspect-ratio: 16 / 10; overflow: hidden; }
.crop img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.crop-invoice img { object-position: top center; }
.figure .phone-small { position: absolute; width: 30%; right: -4%; bottom: -40px; }

/* The striped divider: the zebra, used once per section break */
.stripes-band { height: 14px; background: repeating-linear-gradient(115deg, var(--forest) 0 16px, transparent 16px 34px); opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }

/* Everything else, in one grid */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.tile { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid rgba(13, 59, 49, .06); transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h4 { font: 700 1.08rem/1.3 var(--text); color: var(--ink); margin: 14px 0 6px; letter-spacing: -.01em; }
.tile p { font-size: .95rem; margin: 0; }
.tile .icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.tile .icon svg { width: 22px; height: 22px; }
@media (max-width: 991.98px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .more-grid { grid-template-columns: 1fr; } }

/* Getting started: a real sequence, so it's numbered */
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--forest); color: rgba(255, 255, 255, .72); overflow: hidden; }
.steps li::before { content: counter(step); display: block; font: 600 2.6rem/1 var(--mono); color: var(--accent); margin-bottom: 18px; }
.steps h4 { color: #fff; font: 700 1.2rem/1.3 var(--text); margin: 0 0 8px; }
.steps p { margin: 0; font-size: .96rem; }
@media (max-width: 767.98px) { .steps { grid-template-columns: 1fr; } }

/* Closing call */
.cta { margin: 0 auto 90px; border-radius: 34px; background: var(--ink); color: rgba(255, 255, 255, .72); padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); max-width: 16ch; margin: 0 auto 18px; }
.cta p { max-width: 46ch; margin: 0 auto 30px; font-size: 1.1rem; }
.cta .btn-ink { background: var(--accent); color: var(--ink); }
.cta .btn-ink:hover { background: #4fd18a; color: var(--ink); }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-stripes { position: absolute; inset: 0; pointer-events: none; opacity: .07; background: repeating-linear-gradient(115deg, #fff 0 22px, transparent 22px 54px); mask-image: radial-gradient(circle at 50% 120%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 120%, #000, transparent 70%); }

footer { padding: 0 0 50px; font-size: .9rem; color: var(--muted); }
footer a { color: var(--body); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .why { max-width: 46ch; }

/* The Reminders page, drawn: proposed reminders, the first one sent when it scrolls in */
.reminder-board { background: var(--mint); padding: 22px; display: grid; gap: 12px; }
.rb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.rb-title { font: 750 1.35rem/1 var(--display); color: var(--ink); letter-spacing: -.02em; margin-right: 10px; }
.rb-count { font-size: .8rem; font-weight: 700; color: var(--amber); background: var(--amber-soft); border-radius: 999px; padding: 3px 10px; vertical-align: 3px; }
.rb-all { font-size: .85rem; font-weight: 700; color: #fff; background: var(--ink); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.rb-item { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(13, 59, 49, .05); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rb-pill { justify-self: start; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.rb-pill--ember { background: var(--ember-soft); color: #b8431f; }
.rb-pill--amber { background: var(--amber-soft); color: var(--amber); }
.rb-pill--forest { background: var(--forest); color: #fff; }
.rb-body { min-width: 0; line-height: 1.35; }
.rb-body strong { display: block; color: var(--ink); font-size: .98rem; }
.rb-body small { display: block; font-size: .8rem; color: var(--muted); }
.rb-body .rb-what { color: var(--body); margin-top: 2px; }
.rb-send { position: relative; display: inline-grid; place-items: center; font-size: .85rem; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px; white-space: nowrap; transition: background .4s, color .4s, border-color .4s; }
.rb-send .rb-send-label, .rb-send .rb-sent-label { grid-area: 1 / 1; transition: opacity .3s; }
.rb-send .rb-sent-label { opacity: 0; }
.reminder-board.is-sent .rb-send[data-send] { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-dark); }
.reminder-board.is-sent .rb-send[data-send] .rb-send-label { opacity: 0; }
.reminder-board.is-sent .rb-send[data-send] .rb-sent-label { opacity: 1; }
@media (max-width: 575.98px) {
    .reminder-board { padding: 14px; }
    .rb-head { flex-wrap: wrap; }
    .rb-item { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 12px 14px; }
    .rb-pill { grid-column: 1 / -1; }
}

/* Scroll reveals, staggered by --i */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

@media (max-width: 991.98px) {
    .hero { padding-top: 120px; }
    .hero-stage { height: auto; aspect-ratio: 1.15; margin-top: 50px; }
    .hero-stage .browser { width: 100%; }
    .toast-paid { left: 0; bottom: 18%; }
    .toast-reminder { right: 6%; }
    .figure .browser { transform: none; }
    .figure .phone-small { right: 0; }
}
@media (max-width: 575.98px) {
    .section, .story { padding: 70px 0; }
    .hero-stage { aspect-ratio: .95; }
    .toast-card { font-size: .78rem; padding: 9px 12px 9px 9px; }
    .toast-card .dot { width: 30px; height: 30px; }
    .toast-reminder { top: -12px; right: 2%; }
    .cta { padding: 60px 22px; border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero h1 .word, .hero .fade-up, .reveal { opacity: 1; transform: none; }
    .hero h1 .paid::after { transform: none; }
    html { scroll-behavior: auto; }
}

/* "Try it free": one question at a time, like a conversation */
.signup-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.signup-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 24px; padding: 18px clamp(16px, 4vw, 40px); }
.signup-top .brand { font-size: 1.15rem; }
.signup-top .brand img { width: 30px; height: 30px; }
.signup-progress { flex: 1; height: 6px; border-radius: 99px; background: var(--mint-2); overflow: hidden; }
.signup-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); transition: width .5s var(--ease); }
.signup-close { color: var(--muted); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.signup-close:hover { background: #fff; color: var(--ink); }
.signup { position: relative; flex: 1; display: flex; align-items: center; overflow: hidden; padding: 0 clamp(16px, 6vw, 80px) 90px; }
.signup-stripes { position: absolute; right: -8%; top: -10%; width: 46vw; height: 120%; pointer-events: none; opacity: .5; }
.signup-stripes path { fill: none; stroke: var(--mint-2); stroke-width: 44; stroke-linecap: round; }
.signup-form { position: relative; z-index: 2; width: 100%; max-width: 760px; margin: 0 auto; min-height: 440px; display: grid; }
.signup-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.step { grid-area: 1 / 1; align-self: center; border: 0; padding: 0; margin: 0; min-width: 0; visibility: hidden; opacity: 0; transform: translateY(40px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.step.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .45s var(--ease) .08s, transform .45s var(--ease) .08s, visibility 0s; }
.step.is-active.from-down { animation: step-from-down .45s var(--ease); }
@keyframes step-from-down { from { opacity: 0; transform: translateY(-40px); } }
.step h1, .step .step-title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin: 18px 0 18px; max-width: 18ch; }
.step-q { display: block; float: none; width: 100%; font: 750 clamp(1.6rem, 3.6vw, 2.4rem)/1.12 var(--display); color: var(--ink); letter-spacing: -.025em; margin: 0 0 10px; padding: 0; }
.step-n { display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem/1 var(--mono); color: var(--accent-dark); vertical-align: .35em; margin-right: 12px; }
.step-n::after { content: '→'; }
.step-hint { font-size: 1.08rem; color: var(--muted); margin: 0 0 26px; max-width: 52ch; }
.step-hint strong { color: var(--ink); }
.step-input { display: block; width: 100%; border: 0; border-bottom: 2px solid rgba(13, 59, 49, .22); background: transparent; padding: 10px 2px; font: 600 clamp(1.3rem, 3vw, 1.9rem)/1.3 var(--text); color: var(--forest); border-radius: 0; transition: border-color .25s; }
.step-input::placeholder { color: rgba(13, 59, 49, .3); }
.step-input:focus { outline: none; border-bottom-color: var(--forest); }
.step-input:focus-visible { outline: none; }
.step-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230d3b31' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") right 4px center/26px no-repeat; }
.step-textarea { resize: vertical; min-height: 3.2em; font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
.step-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step-follow { margin-top: 26px; }
.step-follow .step-hint { display: block; margin-bottom: 4px; font-size: .98rem; }
.step-error { min-height: 1.6em; margin: 12px 0 0; color: #b8431f; font-weight: 600; font-size: .98rem; }
.step-error:empty::before { content: '\00a0'; }
.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.step-key { font-size: .85rem; color: var(--muted); }
kbd { font: 600 .78rem/1 var(--mono); color: var(--forest); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; box-shadow: 0 1px 0 var(--line); }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.choices { display: grid; gap: 10px; max-width: 460px; margin-top: 18px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1.5px solid var(--line); font-weight: 600; font-size: 1.08rem; color: var(--ink); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.choice:hover span { border-color: rgba(13, 59, 49, .35); background: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateX(6px); }
.choice input:checked + span kbd { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: none; }
.choice input:checked + span::after { content: '✓'; margin-left: auto; color: var(--accent); font-weight: 800; }

.step-done { text-align: left; }
.done-mark { width: 72px; height: 72px; }
.done-mark svg { width: 100%; height: 100%; }
.done-mark circle { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }
.done-mark path { fill: none; stroke: var(--accent-dark); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.step-done.is-active .done-mark circle { animation: draw .7s var(--ease) .15s forwards; }
.step-done.is-active .done-mark path { animation: draw .45s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.signup-nav { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 26px; z-index: 3; display: flex; gap: 2px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.signup-arrow { width: 46px; height: 42px; border: 0; background: var(--forest); color: #fff; display: grid; place-items: center; }
.signup-arrow:hover:not(:disabled) { background: var(--forest-deep); }
.signup-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 575.98px) {
    .signup-top { gap: 14px; }
    .signup-top .brand { font-size: 0; gap: 0; }
    .signup { align-items: flex-start; padding-top: 6vh; }
    .step-pair { grid-template-columns: 1fr; gap: 10px; }
    .step-key { display: none; }
    .signup-stripes { width: 90vw; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
    .step, .step.is-active { transition: none; animation: none; transform: none; }
    .done-mark circle, .done-mark path { stroke-dashoffset: 0; }
}

/* Inner pages: FAQ and Contact */
.page-hero { padding: 140px 0 40px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); margin: 16px 0 16px; max-width: 20ch; }
.faq-search { display: flex; align-items: center; gap: 12px; max-width: 560px; margin-top: 28px; background: #fff; border-radius: 999px; padding: 6px 8px 6px 20px; box-shadow: var(--shadow); color: var(--muted); }
.faq-search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 10px 6px; font-size: 1.02rem; color: var(--ink); min-width: 0; }
.faq-search:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.faq-empty { margin-top: 18px; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-bottom: 80px; align-items: start; }
.faq-toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.faq-toc a { color: var(--body); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; }
.faq-toc a:hover { background: #fff; color: var(--ink); }
.faq-group { scroll-margin-top: 96px; margin-bottom: 44px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 16px; }
.faq { background: #fff; border-radius: 18px; margin-bottom: 10px; border: 1px solid rgba(13, 59, 49, .06); transition: box-shadow .3s; }
.faq[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%231f9c59' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 18px; }
.faq-a { padding: 0 22px 20px; max-width: 70ch; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--ink); }
@media (max-width: 991.98px) {
    .faq-layout { grid-template-columns: 1fr; gap: 10px; }
    .faq-toc { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
    .faq-toc a { white-space: nowrap; background: rgba(255, 255, 255, .7); }
}

.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; padding-bottom: 90px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid rgba(13, 59, 49, .06); }
.contact-card h2 { font-size: 1.5rem; margin: 14px 0 8px; }
.contact-card p { margin: 0 0 18px; }
.contact-whatsapp { background: var(--forest); color: rgba(255, 255, 255, .75); border: 0; position: relative; overflow: hidden; }
.contact-whatsapp h2 { color: #fff; }
.contact-whatsapp .eyebrow { color: var(--accent); }
.contact-whatsapp .number { display: block; font: 600 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--mono); color: #fff; letter-spacing: -.02em; margin: 6px 0 22px; text-decoration: none; }
.contact-whatsapp .btn-ink { background: var(--accent); color: var(--ink); }
.contact-whatsapp .btn-ink:hover { background: #4fd18a; color: var(--ink); }
.contact-whatsapp .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.contact-whatsapp .btn-ghost:hover { border-color: #fff; color: #fff; }
.contact-whatsapp .cta-stripes { opacity: .06; }
.contact-side { display: grid; gap: 20px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-email:first-of-type { border-top: 0; }
.contact-email strong { display: block; font-size: 1.05rem; }
.contact-email small { display: block; color: var(--muted); font-size: .88rem; }
.contact-email .arrow { color: var(--accent-dark); font-weight: 700; transition: transform .25s var(--ease); }
.contact-email:hover .arrow { transform: translateX(4px); }
@media (max-width: 767.98px) { .contact-grid { grid-template-columns: 1fr; } }

/* The cookie notice */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 520px; margin-left: auto; background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(13, 59, 49, .08), 0 24px 60px -18px rgba(13, 59, 49, .45); font-size: .94rem; transform: translateY(24px); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.consent.is-in { transform: none; opacity: 1; }
.consent p { margin: 0 0 14px; }
.consent strong { color: var(--ink); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn-pill { padding: .6rem 1.1rem; font-size: .92rem; }
.signup-page .consent { bottom: 84px; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Privacy page: long-form reading */
.prose { max-width: 760px; background: #fff; border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); margin-bottom: 90px; border: 1px solid rgba(13, 59, 49, .06); }
.prose section { scroll-margin-top: 96px; margin-top: 34px; }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 0 0 12px; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose code { font: 500 .88em var(--mono); color: var(--forest); background: var(--mint); padding: 2px 6px; border-radius: 6px; }
.prose-toc { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.prose-toc a { font-size: .88rem; font-weight: 600; color: var(--body); text-decoration: none; background: var(--mint); padding: 6px 12px; border-radius: 999px; }
.prose-toc a:hover { color: var(--ink); background: var(--mint-2); }
.prose-table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 6px 0 4px; }
.prose-table th, .prose-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.step-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
