/* website.flowkindle.com. Tokens from ../../site/css/base.css (2026-09-25). Direction (Phase 9):
   editorial tech, paper and ink, one terracotta accent, one grotesque at two extremes. */

/* Bricolage Grotesque: opsz 12-96, wght 400-800, ASCII plus © · ₹ */
@font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
    color-scheme: only light;
    --white: #ffffff;  --wash: #f7f6f3;  --whitegrey: #e9ecef;  --paper: #f1efea;
    --base: #15171a;   --darkgrey: #374151;  --midgrey: #6b7280;  --lightgrey: #d1d5db;
    --green: #d4663f;        /* terracotta: fills, dots, text 24px and larger only */
    --green-dark: #a9553c;   /* links, small text: 5.2:1 on white */
    --green-10: rgba(212,102,63,0.10);  --green-15: rgba(212,102,63,0.15);
    --wa: #25D366;           /* WhatsApp buttons only, always with --base text */
    --wa-dark: #128C7E;
    --radius-sm: 6px;  --radius-md: 12px;  --radius-lg: 18px;  --radius-xl: 24px;
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --section-pad: 64px;
    --container: 1120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--base);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    overflow-wrap: break-word;
}
/* Paper grain: ink-tinted noise on one fixed layer */
body::before {
    content: ""; position: fixed; z-index: 60; inset: 0; pointer-events: none; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .082 0 0 0 0 .09 0 0 0 0 .102 2 0 0 0 -.5'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-transparency: reduce) { body::before { content: none; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: currentColor; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }

/* ---------- Type: numbers and headings heavy, sentences light ---------- */
h1, h2, h3 { color: var(--base); font-weight: 800; }
h1 { font-size: 40px; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: 30px; line-height: 1.08; letter-spacing: -0.025em; max-width: 26ch; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
/* ink text, accent as a rule: --green-dark on paper fails AA on the grain */
.eyebrow {
    display: flex; gap: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--base); margin-bottom: 12px;
}
.eyebrow::before { content: ""; flex: none; width: 24px; height: 2px; margin-top: .7em; background: var(--green); }
.lead { color: var(--darkgrey); margin-top: 16px; max-width: 64ch; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-pad) 0; }
.section-head { margin-bottom: 32px; }
.sec-paper { background: var(--paper); }
.sec-white { background: var(--white); }

/* ---------- Buttons ---------- */
.btn-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 14px 24px;
    background: var(--wa); color: var(--base);
    font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
    border-radius: var(--radius-md);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-wa:hover { background: var(--wa-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: 50%; }
.btn-icon .i { width: 24px; height: 24px; }

/* ---------- Cards: no border, no shadow; depth from the surface alone ---------- */
.card { background: var(--wash); border-radius: var(--radius-lg); padding: 28px; }
.sec-paper .card { background: var(--white); }
.card p { color: var(--darkgrey); font-size: 16px; margin-top: 8px; }
.grid { display: grid; gap: 16px; }

/* ---------- Fixed bar (mobile) ---------- */
.wa-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 60px; padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--whitegrey);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.wa-bar-price { font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--base); }
.wa-bar .btn-wa { padding: 12px 14px; font-size: 14px; gap: 8px; flex: none; }

/* ---------- 0. Top bar ---------- */
.topbar { background: var(--paper); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.wordmark { display: inline-flex; align-items: center; min-height: 48px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--base); text-decoration: none; }
.wordmark .accent { color: var(--green); }

/* ---------- 1. Hero: one terracotta light source ---------- */
.hero { background: radial-gradient(420px circle at 0 18%, var(--green-10), transparent 70%), var(--paper); padding: 16px 0 48px; }
.hero .sub { margin-top: 18px; color: var(--darkgrey); }
.hero .btn-wa { margin-top: 24px; }
.guarantee { display: flex; gap: 10px; margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--darkgrey); }
.guarantee .i { color: var(--green-dark); margin-top: 1px; }
.see-prices {
    display: inline-flex; align-items: center; gap: 6px; min-height: 48px; margin-top: 8px;
    font-size: 15px; font-weight: 600; color: var(--base); text-decoration: none;
    transition: border-color 0.2s var(--ease), transform 0.18s var(--ease);
}
.see-prices .i { width: 18px; height: 18px; color: var(--green-dark); }
.hero-phone { display: none; }
.phone {
    position: relative; width: 254px; height: 488px; border: 10px solid var(--base); border-radius: 40px;
    overflow: hidden; background: var(--whitegrey); box-shadow: var(--shadow-lg);
}
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone img + img { opacity: 0; }

/* ---------- 2. Numbers: four bare figures over one hairline ---------- */
.numbers-band { background: var(--white); padding: 40px 0; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; padding-top: 28px; border-top: 1px solid var(--lightgrey); }
.num { display: block; font-size: min(32px, calc((100vw - 52px) / 10.7)); font-weight: 800; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; color: var(--green); }
.numbers span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--darkgrey); }

/* ---------- 2a. Samples: a phone per sample, a strip that scrolls on phones ---------- */
#samples { padding-top: 24px; }
.sample-row { display: flex; gap: 16px; margin: 0 -20px; padding: 4px 20px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
.sample-row li { flex: 0 0 62%; scroll-snap-align: start; }
.sample { display: block; font-weight: 600; text-decoration: none; border-radius: 28px; }
.sample img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border: 6px solid var(--base); border-radius: 28px; background: var(--whitegrey); box-shadow: var(--shadow-md); transition: transform .2s var(--ease); }
.sample:hover img { transform: translateY(-3px); }
.sample span { display: block; padding-top: 12px; }

/* ---------- 3. Problem ---------- */


/* ---------- 4. Included ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--darkgrey); }
.checklist .i { color: var(--green-dark); margin-top: 3px; }

/* ---------- 5. Prices: only "Most chosen" stands off the page ---------- */
.pkg { display: flex; flex-direction: column; }
.pkg-featured { border-top: 3px solid var(--green); box-shadow: var(--shadow-lg); }
.chip {
    align-self: flex-start; margin: 0 0 12px !important; padding: 4px 10px;
    background: var(--green-10); color: var(--base) !important;
    font-size: 13px !important; font-weight: 600; border-radius: 999px;
}
.pkg .pkg-for { font-size: 15px; margin-top: 6px; }
.pkg-list { margin: 16px 0 20px; display: grid; gap: 8px; }
.pkg-list li { position: relative; padding-left: 18px; font-size: 16px; color: var(--darkgrey); }
.pkg-list li::before {
    content: ""; position: absolute; left: 2px; top: 0.6em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.pkg .price { margin-top: auto; font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--base); }
.pkg-featured .price { font-size: 40px; color: var(--green); }
.pkg .price-time { margin-top: 2px; font-size: 15px; }
.pkg .btn-wa { margin-top: 20px; width: 100%; padding: 14px 12px; gap: 8px; }
.price-notes { margin-top: 32px; display: grid; gap: 10px; }
.price-notes li { position: relative; padding-left: 28px; color: var(--darkgrey); }
.price-notes li::before {
    content: ""; position: absolute; left: 4px; top: 0.35em;
    width: 12px; height: 7px; border: solid var(--green-dark); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.rented { margin-top: 32px; font-size: 17px; font-weight: 700; color: var(--base); max-width: 60ch; }
.care { margin-top: 32px; }
.care p { margin-top: 0; }
.care strong { color: var(--base); }
.unsure { margin-top: 32px; }
.unsure p { color: var(--darkgrey); margin-bottom: 16px; max-width: 60ch; }

/* ---------- 6. Protection band and 11. closing CTA: ink, lit from the top right ---------- */
.sec-ink { background: radial-gradient(560px circle at 100% 0, var(--green-15), transparent 70%), var(--base); color: var(--paper); }
.sec-ink h2 { color: var(--paper); }
.sec-ink :focus-visible { outline-color: var(--wa); }
.safe-list { display: grid; gap: 24px; }
.safe-list li { display: flex; gap: 14px; align-items: flex-start; }
.safe-list .i { color: var(--green); margin-top: 2px; }
.safe-list p { color: var(--lightgrey); }
.safe-list strong { display: block; color: var(--paper); font-weight: 700; margin-bottom: 2px; }
.safe-cta { margin-top: 40px; text-align: center; }
.safe-cta p { font-weight: 600; margin-bottom: 12px; }

/* ---------- 7. Why ---------- */
.builder { display: flex; align-items: center; gap: 16px; margin-top: 32px; max-width: 640px; }
.builder img {
    width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover;
    background: var(--green-10);
}
.builder p { color: var(--darkgrey); }
.builder strong { color: var(--base); font-weight: 600; }

/* ---------- 8. Process: timeline, js/steps.js ---------- */
.tl { position: relative; max-width: 900px; margin: 0 auto; }
.tl-line { position: absolute; top: 6px; bottom: 6px; left: 11px; width: 2px; background: linear-gradient(var(--lightgrey) 45%, transparent 0) 0 0/2px 11px repeat-y; }
.tl-fill { height: 0; background: var(--green); transition: height .15s linear; }
.step { position: relative; padding: 0 0 28px 48px; }
.step::before { content: ""; position: absolute; top: 50%; left: 20px; width: 28px; height: 2px; background: linear-gradient(to right, var(--lightgrey) 45%, transparent 0) 0 0/11px 2px repeat-x; }
.dot { position: absolute; top: 50%; left: 3px; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 2px solid var(--lightgrey); display: grid; place-items: center; transition: .25s var(--ease); }
.dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lightgrey); transition: .25s var(--ease); }
.step-card { background: var(--white); border: 1px solid transparent; border-radius: var(--radius-lg); padding: 22px 24px; transition: .3s var(--ease); }
.step-num { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #8a919b; margin-bottom: 10px; transition: .3s var(--ease); }
.step p { margin-top: 6px; font-size: 16px; color: var(--darkgrey); }
.step.on::before { background-image: linear-gradient(to right, var(--green) 45%, transparent 0); }
.step.on .dot { border-color: var(--green); box-shadow: 0 0 0 5px var(--green-10); }
.step.on .dot::after { background: var(--green); }
.step.on .step-card { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green), 0 14px 40px var(--green-15); transform: translateY(-2px); }
.step.on .step-num { color: var(--green); }
.step:last-child { padding-bottom: 0; }

/* ---------- 10. FAQ ---------- */
.faq details { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--lightgrey); }
.faq details:first-of-type { border-top: 1px solid var(--lightgrey); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 48px; padding: 16px 0; cursor: pointer; list-style: none;
    font-size: 17px; font-weight: 600; color: var(--base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--midgrey); transition: transform 0.2s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; font-size: 16px; color: var(--darkgrey); max-width: 68ch; }

/* ---------- 11. Closing CTA ---------- */
.contact { text-align: center; }
.contact h2 { margin: 0 auto; max-width: 24ch; }
.contact p { margin-top: 16px; color: var(--lightgrey); }
.contact .btn-wa { margin-top: 24px; }

/* ---------- Privacy page (no bar there) ---------- */
body.no-bar { padding-bottom: 0; }
.privacy p { margin-top: 16px; max-width: 68ch; }
.privacy .privacy-date { color: var(--darkgrey); font-size: 15px; }

/* ---------- 12. Footer ---------- */
.footer { background: var(--base); color: var(--lightgrey); font-size: 15px; padding: 40px 0; border-top: 1px solid rgba(241,239,234,0.1); }
.footer p + p { margin-top: 8px; }
.footer strong { color: var(--paper); }
.footer a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 13px 0; margin: -13px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 379px) {
    .wa-bar .btn-wa .i { display: none; }
    .wa-bar .btn-wa { padding: 12px; }
}

@media (min-width: 720px) {
    .container { padding: 0 32px; }
    .sample-row { margin: 0 -32px; padding: 4px 32px 20px; scroll-padding: 0 32px; }
    .sample-row li { flex-basis: 36%; }
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .checklist { grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .safe-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }

    .contact .btn-block { width: auto; }
}

@media (min-width: 1024px) {
    :root { --section-pad: 96px; }
    html { scroll-padding-top: 72px; }
    body { padding-bottom: 0; }
    .wa-bar { display: none; }
    h1 { font-size: clamp(56px, 5.3vw, 68px); line-height: 1; }
    h2 { font-size: 46px; line-height: 1.04; }
    h3 { font-size: 20px; }
    .eyebrow { font-size: 14px; }
    .numbers { grid-template-columns: repeat(4, 1fr); column-gap: 20px; }
    .sample-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 0; padding: 0; overflow: visible; }
    .num { font-size: clamp(40px, 3.6vw, 46px); }
    .section-head { margin-bottom: 48px; }

    /* the top bar as glass: sticky, the WhatsApp button stays in reach */
    .topbar { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(21,23,26,0.06); }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .topbar { background: rgba(241,239,234,0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    }

    .hero { background: radial-gradient(600px circle at 80% 50%, var(--green-10), transparent 70%), var(--paper); padding: 32px 0 80px; }
    .hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; min-height: 640px; }
    .hero .sub { max-width: 44ch; }
    .hero .btn-block { width: auto; }
    .hero-phone { display: flex; justify-content: center; }
    .see-prices {
        margin: 16px 0 0 0; padding: 13px 26px; color: var(--base); background: var(--white);
        border: 1.5px solid var(--whitegrey); border-radius: var(--radius-md);
    }
    .see-prices:hover { border-color: var(--lightgrey); transform: translateY(-1px); }

    .pkgs { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; }
    .tl-line { left: 50%; margin-left: -1px; }
    .step { width: 50%; margin-left: 50%; padding: 0 0 44px 52px; }
    .step.l { margin-left: 0; padding: 0 52px 44px 0; text-align: right; }
    .step:last-child { padding-bottom: 0; }
    .step::before { left: 0; width: 40px; }
    .step.l::before { left: auto; right: 0; }
    .dot { left: -9px; }
    .step.l .dot { left: auto; right: -9px; }
}

/* ---------- Motion (runs only under html.js, set by js/config.js) ---------- */
/* One entrance: the hero copy rises in 60ms steps, the phone follows */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 14px)); } }
.js .hero-copy > * { animation: rise 0.5s var(--ease) backwards; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.js .hero-copy > :nth-child(6) { animation-delay: 0.3s; }
.js .hero-phone { --rise: 24px; animation: rise 0.7s var(--ease) 0.3s backwards; }
/* The phone shows the five samples, 4s each with a 0.6s crossfade; reduced motion keeps the first */
@keyframes cyc { 0% { opacity: 0; } 3%, 20% { opacity: 1; } 23%, 100% { opacity: 0; } }
.js .phone img { animation: cyc 20s linear infinite; }
.js .phone img:nth-child(1) { animation-delay: -.6s; }
.js .phone img:nth-child(2) { animation-delay: 3.4s; }
.js .phone img:nth-child(3) { animation-delay: 7.4s; }
.js .phone img:nth-child(4) { animation-delay: 11.4s; }
.js .phone img:nth-child(5) { animation-delay: 15.4s; }

/* Reveals on the grids only, one staggered row each */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js .reveal.active { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.07s; }
.js .reveal-delay-2 { transition-delay: 0.14s; }
.js .reveal-delay-3 { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .js .hero-copy > *, .js .hero-phone, .js .phone img { animation: none; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
