/* Rootline's public site (ADR-0629, ADR-0779). Colours are the app's tokens (core:designsystem Colors.kt, the ColorRoles board), with the
   tertiary terracotta as the site's accent and its running stitch; type is the app's own Noto faces served from this server, and nothing loads from
   anywhere else. Every pair of text and ground meets WCAG AA in both themes (SitePagesTest checks the pairs named in its contrast test). */

@font-face {
    font-family: "Rootline Sans";
    src: url(fonts/noto-sans-latin.woff2?v=3f9b6973970b) format("woff2");
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2190-2193, U+2212;
}

@font-face {
    font-family: "Rootline Sans";
    src: url(fonts/noto-sans-bengali.woff2?v=a124a5212e4e) format("woff2");
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+25CC;
}

@font-face {
    font-family: "Rootline Serif";
    src: url(fonts/noto-serif-latin.woff2?v=2e1e3f9ad6f8) format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2190-2193, U+2212;
}

@font-face {
    font-family: "Rootline Serif";
    src: url(fonts/noto-serif-bengali.woff2?v=daf33fc56d3f) format("woff2");
    font-weight: 500;
    font-display: swap;
    unicode-range: U+0964-0965, U+0980-09FF, U+200C-200D, U+25CC;
}

:root {
    color-scheme: light dark;
    --paper: #F6F2EA;
    --card: #FFFDF8;
    --sunk: #EFE9DD;
    --ink: #1E2422;
    --ink-2: #4C5652;
    --spruce: #1F5247;
    --on-spruce: #FFFFFF;
    --spruce-soft: #CFE6DD;
    --on-spruce-soft: #0D2F28;
    --clay: #A84B24;
    --clay-soft: #F6DCCB;
    --on-clay-soft: #5A230B;
    --rule: #D9D1C1;
    --off-bg: #E6DFD0;
    --off-ink: #5C564E;
    --hyp: #6B4FA0;
    --hyp-tint: #ECE5F6;
    --hyp-ink: #4A3478;
    --hero: #1F5247;
    --hero-deep: #163D35;
    --hero-ink: #FFFFFF;
    --hero-ink-2: #CFE6DD;
    --hero-focus: #FFFDF8;
    --hero-accent: #F6C9AE;
    --stitch: #F0A07A;
    --frame: #1E2422;
    --il-line: #1E2422;
    --il-paper: #FFFDF8;
    --il-ground: #E6DFD0;
    --il-spruce: #1F5247;
    --il-terracotta: #A84B24;
    --focus: #1F5247;
    --sans: "Rootline Sans", system-ui, sans-serif;
    --serif: "Rootline Serif", "Rootline Sans", serif;
    --gutter: 16px;
    --wide: 74rem;
    --measure: 40rem;
    --shadow: 0 1px 2px rgba(30, 36, 34, 0.08), 0 12px 32px rgba(30, 36, 34, 0.12);
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #121614;
        --card: #1A1F1D;
        --sunk: #222826;
        --ink: #ECE7DD;
        --ink-2: #C2BCB0;
        --spruce: #8FD0BE;
        --on-spruce: #00382E;
        --spruce-soft: #1E4A41;
        --on-spruce-soft: #CDEBE1;
        --clay: #F0A07A;
        --clay-soft: #6A2E14;
        --on-clay-soft: #FFDCCB;
        --rule: #3A423F;
        --off-bg: #2B3230;
        --off-ink: #A39D91;
        --hyp: #C9B2F2;
        --hyp-tint: #33294A;
        --hyp-ink: #C9B2F2;
        --hero: #1E4A41;
        --hero-deep: #14332D;
        --hero-ink: #ECE7DD;
        --hero-ink-2: #CDEBE1;
        --hero-focus: #8FD0BE;
        --hero-accent: #F0A07A;
        --stitch: #F0A07A;
        --frame: #343B38;
        --il-line: #C2BCB0;
        --il-paper: #222826;
        --il-ground: #2B3230;
        --il-spruce: #8FD0BE;
        --il-terracotta: #F0A07A;
        --focus: #8FD0BE;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--sans);
    font-synthesis-weight: none;
    overflow-wrap: break-word;
}

/* Bangla needs room above and below for its vowel signs and conjuncts. */
:lang(bn) body, body:lang(bn) { line-height: 1.85; }

img, svg { max-width: 100%; height: auto; }

a { color: var(--spruce); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2 {
    font-family: var(--serif);
    font-weight: 500;
    text-wrap: balance;
    margin: 0;
}

h1 { font-size: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem); line-height: 1.14; letter-spacing: -0.008em; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; margin: 0; text-wrap: balance; }

:lang(bn) h1 { line-height: 1.32; letter-spacing: 0; }
:lang(bn) h2 { line-height: 1.4; letter-spacing: 0; }
:lang(bn) h3 { line-height: 1.55; }

p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }

@media (min-width: 37.5em) { :root { --gutter: 24px; } }
@media (min-width: 62.5em) { :root { --gutter: 40px; } }

/* Skip link: first thing a keyboard reaches. */
.skip {
    position: absolute;
    inset-inline-start: 8px;
    top: -100px;
    z-index: 10;
    padding: 12px 16px;
    background: var(--card);
    color: var(--ink);
    border: 2px solid var(--focus);
    border-radius: 8px;
    font-weight: 600;
}
.skip:focus { top: 8px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    padding-block: 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-inline-end: auto;
    color: var(--ink);
    text-decoration: none;
    font: 500 1.375rem/1 var(--serif);
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .mark-ground { fill: var(--spruce); }
.brand .mark-thread { stroke: var(--paper); }
.brand .mark-root { fill: var(--paper); }

.nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-inline: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}
.nav a:hover { color: var(--spruce); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--spruce); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.masthead .lang {
    order: 1;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-block: 4px;
    border: 1px solid var(--rule);
    border-radius: 24px;
    padding-inline: 16px;
    color: var(--spruce);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
}
.masthead .lang:hover { border-color: var(--spruce); }

/* On a phone: the brand and the language on one line, the pages on the next. */
@media (max-width: 40em) {
    .masthead .wrap { padding-block: 4px 0; gap: 0; }
    .nav { order: 2; flex-basis: 100%; margin-inline: -8px; }
    .nav a { padding-inline: 8px; font-size: 0.9375rem; }
}

main { display: block; }
main:focus { outline: none; }

/* A running stitch, as on a nakshi kantha: the thread the site uses to tie one part to the next. */
.stitch-rule { height: 0; border: 0; border-top: 3px dashed var(--stitch); margin: 0; opacity: 0.9; }

/* A small label above a heading, led by a short stitch. */
.eyebrow {
    display: block;
    margin: 0 0 16px;
    color: var(--clay);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
:lang(bn) .eyebrow, .eyebrow:lang(bn) { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    border-top: 3px dashed currentColor;
    vertical-align: middle;
    margin-inline-end: 10px;
}

/* The hero: the one bold place. A spruce ground, like the app's icon, with the app itself on it. */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60rem 36rem at 85% 10%, rgba(143, 208, 190, 0.22), transparent 60%),
        radial-gradient(40rem 30rem at 0% 100%, rgba(240, 160, 122, 0.14), transparent 60%),
        linear-gradient(160deg, var(--hero) 0%, var(--hero-deep) 100%);
    color: var(--hero-ink);
}
.hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 14px;
    border-top: 3px dashed var(--stitch);
    opacity: 0.55;
}
.hero :focus-visible { outline-color: var(--hero-focus); }
.hero .wrap {
    position: relative;
    display: grid;
    gap: 40px;
    padding-block: 44px 64px;
    align-items: center;
}
@media (min-width: 62.5em) {
    .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding-block: 72px 88px; }
}
.hero .eyebrow { color: var(--hero-accent); }
.hero h1 { color: var(--hero-ink); max-width: 13ch; }
.hero:lang(bn) h1 { max-width: 15ch; }
.hero .lede { margin-top: 22px; max-width: 34rem; font-size: 1.1875rem; color: var(--hero-ink-2); }
@media (min-width: 62.5em) { .hero .lede { font-size: 1.25rem; } }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }

.store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 22px;
    border: 1.5px solid var(--hero-ink-2);
    border-radius: 28px;
    color: var(--hero-ink);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}
.store svg { width: 22px; height: 22px; flex: none; }
.store .glyph { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* The listing once it is public (ADR-0782): the first action on the spruce bands, light on dark, as the hero's own words are. */
a.store.live {
    background: var(--hero-ink);
    border-color: var(--hero-ink);
    color: var(--hero);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
a.store.live:hover { text-decoration: underline; transform: translateY(-1px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { a.store.live, a.store.live:hover { transition: none; transform: none; } }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 8px 26px;
    border-radius: 28px;
    background: var(--card);
    color: var(--spruce);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { text-decoration: underline; transform: translateY(-1px); box-shadow: var(--shadow); }
.button.solid { background: var(--spruce); color: var(--on-spruce); }
.button.quiet { background: transparent; border: 1.5px solid var(--rule); }
.button.quiet:hover { border-color: var(--spruce); box-shadow: none; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--hero-ink-2); font-size: 0.9375rem; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before {
    content: "";
    width: 12px;
    height: 7px;
    border-inline-start: 2px solid var(--stitch);
    border-bottom: 2px solid var(--stitch);
    transform: rotate(-45deg) translateY(-2px);
    flex: none;
}

/* Phones: real screens from the app, in a plain frame. */
.phone {
    margin: 0;
    width: 100%;
    max-width: 280px;
    border-radius: 30px;
    padding: 7px;
    background: var(--frame);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 24px 48px rgba(0, 0, 0, 0.22);
}
.phone .shot { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--card); }

/* Two phones leaning on each other in the hero. */
.duo { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 0; padding-inline: 8px; }
.duo .phone { flex: none; width: 58%; max-width: 320px; }
.duo .phone.front { position: relative; z-index: 2; transform: rotate(-3deg); }
.duo .phone.back { margin-inline-start: -14%; margin-bottom: 36px; transform: rotate(4deg); opacity: 0.97; }
@media (min-width: 62.5em) { .duo .phone { width: 54%; } }
@media (max-width: 39.99em) { .duo { padding-inline: 0 20px; } .duo .phone { width: 54%; } }

/* Sections */
.band { padding-block: 64px; position: relative; }
@media (min-width: 62.5em) { .band { padding-block: 104px; } }
.band.sunk { background: var(--sunk); }
.band.tint { background: var(--spruce-soft); color: var(--on-spruce-soft); }
.band.tint .eyebrow { color: var(--on-spruce-soft); }
.band.tint .intro p, .band.tint p { color: var(--on-spruce-soft); }

.intro { max-width: var(--measure); }
.intro p { margin-top: 18px; color: var(--ink-2); font-size: 1.125rem; }
.intro .eyebrow, .intro p.eyebrow { margin-top: 0; color: var(--clay); font-size: 0.875rem; }
:lang(bn) .intro .eyebrow { font-size: 1rem; }
.band.tint .intro .eyebrow { color: var(--on-spruce-soft); }
.intro.center { margin-inline: auto; text-align: center; }
.intro.center .eyebrow { text-align: center; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 56em) { .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; } }
@media (min-width: 56em) { .split.flip > :first-child { order: 2; } }

/* The privacy vows: four plain promises, each in its own card. */
.vows { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 40em) { .vows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62.5em) { .vows { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; } }
.vows li { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 22px 24px; }
.vows svg { width: 40px; height: 40px; display: block; margin-bottom: 14px; }
.vows .disc { fill: var(--spruce-soft); }
.vows .glyph { fill: none; stroke: var(--spruce); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vows p { margin-top: 8px; color: var(--ink-2); }

.seal { display: grid; gap: 20px; justify-items: center; }
.seal .plate { width: 100%; max-width: 420px; }
.seal .more { font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; }

/* A row of phones with a caption under each. */
.gallery { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 36px 24px; justify-items: center; }
@media (min-width: 40em) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62.5em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery li { display: grid; gap: 16px; justify-items: center; max-width: 300px; text-align: center; }
.gallery .phone { max-width: 280px; }
@media (max-width: 39.99em) {
    .gallery .phone { max-width: 230px; }
    .gallery li:nth-child(2) .phone { transform: none; }
}
.gallery li:nth-child(2) .phone { transform: translateY(-12px); }
.gallery p { color: var(--ink-2); font-size: 0.9375rem; }
.gallery h3 { font-size: 1.0625rem; }

.points { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 28px 40px; }
@media (min-width: 40em) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62.5em) { .points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.points li { border-top: 3px dashed var(--rule); padding-top: 16px; }
.points p { margin-top: 8px; color: var(--ink-2); }

/* The roles a member can hold, as the app names them. */
.roles { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--rule);
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
}
.roles li:first-child { background: var(--spruce); border-color: var(--spruce); color: var(--on-spruce); }

/* English and Bangla: the words a family calls its own. */
.kin { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kin li {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 16px 18px 18px;
    color: var(--ink);
}
.kin .word { display: block; font: 500 clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)/1.5 var(--serif); color: var(--clay); }
.kin .gloss { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--ink-2); }
.lang-notes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.lang-notes li { position: relative; padding-inline-start: 30px; }
.lang-notes li::before {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: 0.55em;
    width: 12px;
    height: 7px;
    border-inline-start: 2px solid var(--spruce);
    border-bottom: 2px solid var(--spruce);
    transform: rotate(-45deg);
}
.band.tint .lang-notes li::before { border-color: var(--on-spruce-soft); }
.band.tint .kin li { border-color: transparent; }
.digits { font-family: var(--serif); font-weight: 500; }

.single { display: flex; justify-content: center; }
.single .phone { max-width: 290px; transform: rotate(2deg); }

/* Plans in short: three cards that lead to the comparison. */
.plans { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 56em) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.plan {
    position: relative;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plan.lead { border: 2px solid var(--spruce); }
.plan h3.name { font: 500 1.875rem/1.2 var(--serif); }
:lang(bn) .plan h3.name { line-height: 1.45; }
.plan .who { color: var(--ink-2); }
.plan .trees { font: 500 2.375rem/1.1 var(--serif); color: var(--spruce); margin-top: 6px; }
:lang(bn) .plan .trees { line-height: 1.4; }
.plan ul { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.plan li { position: relative; padding-inline-start: 28px; }
.plan li::before {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: 0.5em;
    width: 12px;
    height: 7px;
    border-inline-start: 2px solid var(--spruce);
    border-bottom: 2px solid var(--spruce);
    transform: rotate(-45deg);
}
.plans-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.plans-foot p { color: var(--ink-2); max-width: 44rem; }

/* What is on a paid plan, named the way the app names it. */
.plan-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 10px;
    border-radius: 999px;
    background: var(--clay-soft);
    color: var(--on-clay-soft);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
    vertical-align: 0.1em;
    margin-inline-start: 6px;
}

/* The plans compared: one table that scrolls sideways inside its own box, never the page, with its row headers held in place. */
.table-scroll {
    margin-top: 32px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 20px;
}
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9375rem; line-height: 1.5; }
:lang(bn) .compare { line-height: 1.75; }
.compare caption { caption-side: top; text-align: start; padding: 22px 16px 12px; font: 500 1.5rem/1.25 var(--serif); }
:lang(bn) .compare caption { line-height: 1.45; }
.compare caption span, .compare tr.set th span { display: inline-block; position: sticky; inset-inline-start: 16px; }
.compare caption span { max-width: calc(100vw - 2 * var(--gutter) - 2.5rem); }
.compare th, .compare td { padding: 12px 16px; text-align: start; vertical-align: top; border-top: 1px solid var(--rule); }
.compare thead th { border-top: 0; vertical-align: bottom; font: 500 1.375rem/1.25 var(--serif); }
:lang(bn) .compare thead th { line-height: 1.45; }
.compare thead .who { display: block; margin-top: 4px; font: 400 0.875rem/1.45 var(--sans); color: var(--ink-2); }
.compare th[scope="row"], .compare thead th:first-child {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    width: 9.5rem;
    min-width: 9.5rem;
    background: var(--card);
    border-inline-end: 1px solid var(--rule);
    font-weight: 600;
}
@media (min-width: 56em) { .compare th[scope="row"], .compare thead th:first-child { width: 34%; } }
.compare thead th:first-child { font: 600 0.9375rem/1.5 var(--sans); color: var(--ink-2); }
.compare tr.set th {
    padding-block: 10px;
    background: var(--sunk);
    border-top: 1px solid var(--rule);
    color: var(--spruce);
    font-size: 0.875rem;
    font-weight: 700;
}
.compare td.no { color: var(--ink-2); }
.compare td, .compare thead th:not(:first-child) { min-width: 9rem; }

/* Callouts beside the table: the trial, seats and members. */
.callouts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 56em) { .callouts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.callouts li { background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 20px 22px; }
.callouts p { margin-top: 8px; color: var(--ink-2); }
.callouts .callout-title { font: 600 1.125rem/1.35 var(--sans); }
:lang(bn) .callouts .callout-title { line-height: 1.6; }

/* What no plan locks: a plain list. */
.every { margin: 24px 0 0; padding-inline-start: 1.25em; display: grid; gap: 8px; max-width: var(--measure); }
@media (min-width: 56em) { .every { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; max-width: none; } }

/* Greyed and marked Coming soon, as the app greys what a build cannot keep (ADR-0415, ADR-0593). */
.soon { color: var(--off-ink); }
.soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 8px;
    border-radius: 8px;
    background: var(--off-bg);
    color: var(--off-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    vertical-align: 0.08em;
}

.note { color: var(--ink-2); font-size: 0.9375rem; margin-top: 24px; max-width: var(--measure); }

/* Features: a row of jumps, then each group with its drawing. */
.jumps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jumps a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 16px;
    border-radius: 999px;
    border: 1px solid var(--rule);
    background: var(--card);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}
.jumps a:hover { border-color: var(--spruce); color: var(--spruce); }
.legend { margin-top: 20px; color: var(--ink-2); font-size: 0.9375rem; }

.group { display: grid; gap: 24px; padding-block: 48px; border-top: 3px dashed var(--rule); scroll-margin-top: 16px; }
.group:first-of-type { border-top: 0; padding-top: 24px; }
@media (min-width: 56em) { .group { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; } }
.group .side p { margin-top: 12px; color: var(--ink-2); }
@media (min-width: 56em) { .group .side { position: sticky; top: 24px; align-self: start; } }
.group .plate { margin-top: 24px; max-width: 280px; }
.group dl { margin: 0; display: grid; gap: 14px; }
@media (min-width: 40em) { .group dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.group .item { min-width: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px 20px; }
.group .item.paid { border-color: var(--clay-soft); box-shadow: inset 4px 0 0 var(--clay); }
[dir="rtl"] .group .item.paid { box-shadow: inset -4px 0 0 var(--clay); }
.group dt { font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
:lang(bn) .group dt { line-height: 1.6; }
.group dd { margin: 6px 0 0; color: var(--ink-2); }

.page-head { padding-block: 56px 32px; }
@media (min-width: 62.5em) { .page-head { padding-block: 88px 40px; } }
.page-head h1 { max-width: 18ch; }
.page-head p { margin-top: 20px; max-width: var(--measure); font-size: 1.1875rem; color: var(--ink-2); }
.page-head.banner {
    background:
        radial-gradient(40rem 20rem at 90% 0%, var(--spruce-soft), transparent 70%),
        var(--paper);
    border-bottom: 1px solid var(--rule);
}

.art { display: block; width: 100%; max-width: 300px; height: auto; margin-inline: auto; }
.art .f-line { fill: var(--il-line); }
.art .f-paper { fill: var(--il-paper); }
.art .f-ground { fill: var(--il-ground); }
.art .f-spruce { fill: var(--il-spruce); }
.art .f-terracotta { fill: var(--il-terracotta); }
.art .s-line { stroke: var(--il-line); }
.art .s-paper { stroke: var(--il-paper); }
.art .s-ground { stroke: var(--il-ground); }
.art .s-spruce { stroke: var(--il-spruce); }
.art .s-terracotta { stroke: var(--il-terracotta); }

.plate { background: var(--card); border: 1px solid var(--rule); border-radius: 20px; padding: 20px; display: flex; justify-content: center; }

/* The pedigree specimen, in real text: a guess drawn as a guess. */
.specimen { margin: 0; max-width: 34rem; }
.sheet {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 20px 16px 22px;
    box-shadow: var(--shadow);
}
@media (min-width: 30em) { .sheet { padding: 24px 24px 26px; } }
.ped { --gap: 12px; --line: var(--spruce); }
.ped .row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); position: relative; }
.ped .node {
    position: relative;
    z-index: 1;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 8px 10px;
    min-width: 0;
}
.ped .couple { display: grid; gap: 6px; }
.ped .couple .person + .person { border-top: 1px solid var(--rule); padding-top: 6px; }
.ped .person { display: block; }
.ped .name { display: block; font-weight: 600; font-size: 0.875rem; line-height: 1.3; }
.ped .years { display: block; font-size: 0.75rem; line-height: 1.35; color: var(--ink-2); font-variant-numeric: tabular-nums; }
:lang(bn) .ped .name { line-height: 1.55; }
:lang(bn) .ped .years { line-height: 1.6; }
.ped .up { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); height: 40px; }
.ped .up > span { position: relative; }
.ped .up > span::before {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    top: 0;
    bottom: 0;
    border-inline-start: 1.5px solid var(--line);
}
.ped .up > .hyp::before { border-inline-start: 2px dashed var(--hyp); }
.ped .tag {
    position: absolute;
    top: 50%;
    inset-inline-start: calc(50% + 8px);
    transform: translateY(-50%);
    padding: 1px 8px;
    border-radius: 8px;
    background: var(--hyp-tint);
    color: var(--hyp-ink);
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 600;
    white-space: nowrap;
}
.ped .partners::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline: 25%;
    border-top: 1.5px solid var(--line);
}
.ped .partners::after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: -20px;
    inset-inline-start: 50%;
    border-inline-start: 1.5px solid var(--line);
}
.ped .down { height: 40px; position: relative; }
.ped .down::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 0;
    inset-inline: calc(25% - var(--gap) / 4);
    border: 1.5px solid var(--line);
    border-bottom: 0;
}
.specimen figcaption { margin-top: 14px; color: var(--ink-2); font-size: 0.875rem; line-height: 1.5; }

/* The closing call */
.closing {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(40rem 24rem at 100% 0%, rgba(143, 208, 190, 0.2), transparent 60%),
        linear-gradient(160deg, var(--hero) 0%, var(--hero-deep) 100%);
    color: var(--hero-ink);
}
.closing::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 14px;
    border-top: 3px dashed var(--stitch);
    opacity: 0.55;
}
.closing :focus-visible { outline-color: var(--hero-focus); }
.closing .wrap { padding-block: 72px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 56em) { .closing .wrap { grid-template-columns: minmax(0, 1.4fr) auto; } }
.closing h2 { color: var(--hero-ink); }
.closing p { margin-top: 14px; color: var(--hero-ink-2); max-width: 36rem; }
.closing p a { color: var(--hero-ink); }
.closing .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Long reading: the privacy policy, the terms and support. */
.prose { max-width: var(--measure); padding-bottom: 72px; }
.prose > h1:first-child { padding-top: 56px; }
@media (min-width: 62.5em) { .prose > h1:first-child { padding-top: 80px; } }
.prose .page-head { padding-bottom: 8px; }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.prose h2 { font-size: 1.5rem; margin: 44px 0 12px; color: var(--ink); }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { margin: 0 0 14px; }
.prose ul { padding-inline-start: 22px; margin: 0 0 14px; }
.prose li > ul { margin: 14px 0 0; }
/* The Privacy Policy's tables: who handles what, and how long things are kept. Cells wrap, so the page never scrolls sideways at phone width. */
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 20px; }
.prose th, .prose td { border: 1px solid var(--rule); padding: 8px 10px; text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.prose th { background: var(--card); font-weight: 600; }
.prose .meta { color: var(--ink-2); margin-top: 12px; }
.prose .note {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 20px 0;
}
.prose section + section { margin-top: 8px; }
.policy > h1:first-child { padding-bottom: 4px; }

.contact {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 24px;
    margin: 32px 0;
    box-shadow: inset 0 4px 0 var(--spruce);
}
.contact .address { font: 500 clamp(1.25rem, 1.05rem + 1vw, 1.625rem)/1.3 var(--serif); margin-top: 8px; display: inline-block; overflow-wrap: anywhere; }
.links, .prose .links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.links a { display: inline-flex; min-height: 48px; align-items: center; font-weight: 600; }
.links p { color: var(--ink-2); margin: 0; }

.faq { margin-top: 8px; padding-top: 4px; }
.faq h2 { padding-top: 24px; border-top: 3px dashed var(--rule); }
.faq h3 { font-size: 1.125rem; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding-block: 40px 48px; color: var(--ink-2); font-size: 0.9375rem; background: var(--sunk); }
.foot .wrap { display: grid; gap: 24px; }
@media (min-width: 56em) { .foot .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; margin-inline-start: -12px; }
.foot a { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 12px; color: var(--ink); }
.foot p + p { margin-top: 8px; }
.foot .contact-line a { padding: 0; min-height: 0; color: var(--spruce); }
.foot .trademark { font-size: 0.8125rem; }

/* Motion: a gentle rise as the first screen arrives, and nothing at all for anyone who asks for less. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-front { from { opacity: 0; transform: translateY(24px) rotate(-3deg); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes rise-back { from { opacity: 0; transform: translateY(32px) rotate(4deg); } to { opacity: 0.97; transform: rotate(4deg); } }
.hero .copy > * { animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .copy > :nth-child(2) { animation-delay: 60ms; }
.hero .copy > :nth-child(3) { animation-delay: 120ms; }
.hero .copy > :nth-child(4) { animation-delay: 180ms; }
.hero .copy > :nth-child(5) { animation-delay: 240ms; }
.duo .phone.front { animation: rise-front 800ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.duo .phone.back { animation: rise-back 900ms 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.gallery .phone, .single .phone { transition: transform 240ms ease; }
.gallery li:hover .phone { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .masthead .nav, .skip, .closing, .foot ul, .duo, .gallery, .single { display: none; }
    .hero, .closing { background: none; color: #000; }
    body { background: #fff; color: #000; }
}
