/*
 * lovefailure.myinnos.in
 *
 * Two surfaces, which is the whole idea and also how the app itself works.
 *
 *   .canvas   the wine gradient with white on it. Immersive, used for the hero, the call to action
 *             band and the page headers. Short text only.
 *   the page  a warm off-white with near-black text. Everything anyone has to actually READ sits
 *             here: body copy and the whole of the privacy policy.
 *
 * The first version of this site put the whole privacy policy in white on the wine gradient. That is
 * fine for a headline and bad for two thousand words of prose, which is what it was being asked to
 * carry. The app never does that either: it uses the canvas for chrome and Material surfaces for
 * content, and the site now matches.
 *
 * Every colour is an app token, not a new invention:
 *   values/colors.xml            brand_canvas_top #B8412C, brand_canvas_bottom #8E2318,
 *                                brand_glass_*, brand_cta_accent #A73A28
 *   values-night/colors.xml      canvas #3A1512 -> #1A1110
 *   values/md_theme_colors.xml   surface #FFF8F6, onSurface #231917,
 *                                surfaceVariant #F5DED8, onSurfaceVariant #534341,
 *                                outline #857370
 */

:root {
    /* Canvas, for the immersive bands. */
    --canvas-top: #B8412C;
    --canvas-bottom: #8E2318;
    --on-canvas: #FFFFFF;
    /*
     * Both were too dark. brand_canvas_top #B8412C is a mid-tone red, so a tinted white has LESS
     * contrast at the TOP of the gradient than at the bottom, which is the opposite of the intuition
     * and is where the hero text sits. #EDD8D3 measured 4.01:1 there and #C9A9A3 measured 2.53:1,
     * so the hero paragraph and the fine print under the buttons were both under AA.
     *
     * variant now clears 4.5:1 against the top stop as well as the bottom. muted only ever sits on
     * the footer, over the dark end, where it clears comfortably; do not use it in a hero.
     */
    --on-canvas-variant: #F7EEEC;
    --on-canvas-muted: #EDD8D3;
    --glass-fill: rgba(255, 255, 255, 0.15);
    --glass-fill-strong: rgba(255, 255, 255, 0.24);
    --glass-stroke: rgba(255, 255, 255, 0.28);

    /* Page, for anything that has to be read. */
    --surface: #FFF8F6;
    --surface-raised: #FFFFFF;
    --surface-sunken: #F9EAE6;
    --surface-variant: #F5DED8;
    --on-surface: #231917;
    --on-surface-variant: #534341;
    --outline: #E3CCC7;
    --accent: #A73A28;

    /*
     * Two faces. Instrument Serif carries the headlines, Inter carries everything else.
     * A single sans across the whole page is what made this read as a template: there was no
     * voice in the type at all, and for an app about heartbreak an editorial serif is closer to
     * the register than another geometric sans. Instrument Serif is one weight, so the payload
     * cost is small, and both fall back to a real stack if Google Fonts fails.
     */
    --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius: 20px;
    --shadow: 0 1px 2px rgba(35, 25, 23, 0.06), 0 8px 28px rgba(35, 25, 23, 0.07);
    --measure: 66ch;
}

@media (prefers-color-scheme: dark) {
    :root {
        --canvas-top: #3A1512;
        --canvas-bottom: #1A1110;
        --on-canvas-variant: #D7C1BD;
        --on-canvas-muted: #A08A87;

        --surface: #1A1110;
        --surface-raised: #251A18;
        --surface-sunken: #14100F;
        --surface-variant: #3A2E2C;
        --on-surface: #F1DFDB;
        --on-surface-variant: #C0AAA6;
        --outline: #3E302E;
        --accent: #FFB4A4;

        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 28px rgba(0, 0, 0, 0.35);
    }
}

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

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

body {
    margin: 0;
    background: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ============================================================ canvas bands */

.canvas {
    background: linear-gradient(165deg, var(--canvas-top) 0%, var(--canvas-bottom) 100%);
    color: var(--on-canvas);
    position: relative;
    overflow: hidden;
}

/*
 * Two light sources rather than one, plus film grain. A single linear gradient with a single radial
 * highlight is what made the canvas look like a flat swatch: real depth needs more than one source
 * and something breaking up the banding. The grain is an inline SVG turbulence filter, so it costs
 * no request and does not pixelate on a high density screen.
 */
.canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 82% -10%, rgba(255, 226, 214, 0.22), transparent 60%),
        radial-gradient(ellipse 70% 50% at 8% 108%, rgba(0, 0, 0, 0.26), transparent 62%);
    pointer-events: none;
}

.canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.055;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The hero band curves into the page instead of ending on a hard horizontal edge. */
.canvas.curve-bottom { border-bottom-left-radius: 46px; border-bottom-right-radius: 46px; }
.canvas.curve-top { border-top-left-radius: 46px; border-top-right-radius: 46px; margin-top: 8px; }

.canvas > * { position: relative; z-index: 1; }

/* ============================================================ nav */

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
}

.nav img { width: 38px; height: 38px; border-radius: 11px; display: block; }
.nav .brand { font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Scoped under .canvas (0-3-1) so it outranks ".canvas a:not(.btn)" (0-2-1). Unscoped, this rule
   tied on specificity and lost on source order, and the nav links came out full white. */
.canvas .nav .links a {
    color: var(--on-canvas-variant);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: 100px;
}

.canvas .nav .links a:hover, .canvas .nav .links a:focus-visible {
    color: var(--on-canvas);
    background: var(--glass-fill);
}

/* ============================================================ hero */

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 56px 0 92px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-fill);
    border: 1px solid var(--glass-stroke);
    color: var(--on-canvas);
    border-radius: 100px;
    padding: 6px 15px;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    margin-bottom: 26px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 6.2vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
    font-weight: 400;
    margin: 0 0 22px;
}

/* The one italic accent on the page. Any more and it stops being an accent. */
.hero h1 em { font-style: italic; color: #FFE4DC; }

.hero .lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--on-canvas-variant);
    margin: 0 0 32px;
    max-width: 46ch;
}

/* ============================================================ phone mock */

/*
 * A mock of the real screen, built from divs so there is no screenshot to go stale and it stays
 * sharp at any density. It mirrors what ChatListAdapter actually renders: an avatar keyed to the
 * author, "name | gender" above the text, a timestamp under it, and the reaction pill hanging off
 * the bottom edge of the bubble.
 *
 * Every colour in here is hardcoded, none themed. This is a picture of the app on its own wine
 * canvas and it must look identical in light and dark. An earlier version took the bubble
 * background from var(--surface-raised) while hardcoding the text colour, which went dark-on-dark
 * at night. Do not reintroduce a variable below this line.
 */
.phone {
    justify-self: center;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 18.6;
    /* The bezel. A dark frame with a lighter rim, so the screen sits inside something. */
    background: linear-gradient(160deg, #2C1512, #150A09);
    border-radius: 44px;
    padding: 9px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.13),
        0 4px 10px rgba(60, 12, 6, 0.3),
        0 44px 84px -14px rgba(50, 8, 4, 0.62);
    transform: rotate(1.6deg);
    position: relative;
}

@media (prefers-reduced-motion: reduce) { .phone { transform: none; } }

.phone .screen {
    height: 100%;
    border-radius: 36px;
    background: linear-gradient(172deg, #C44B34 0%, #9A2A1C 62%, #7E1F16 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Diagonal glass reflection over the whole device. */
.phone .glare {
    position: absolute;
    inset: 0;
    border-radius: 44px;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.05) 26%, transparent 42%);
    pointer-events: none;
}

/* ---- status bar ---- */

.phone .statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px 3px;
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    flex: none;
}

.phone .statusbar .glyphs { display: flex; align-items: flex-end; gap: 3px; }

/* Signal bars, drawn rather than iconised. */
.phone .statusbar .glyphs i {
    display: block;
    width: 2.5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
}

.phone .statusbar .glyphs i:nth-child(1) { height: 3px; }
.phone .statusbar .glyphs i:nth-child(2) { height: 5px; }
.phone .statusbar .glyphs i:nth-child(3) { height: 7px; }

.phone .statusbar .batt {
    width: 15px; height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 2.5px;
    margin-left: 3px;
    position: relative;
}

.phone .statusbar .batt::after {
    content: "";
    position: absolute;
    inset: 1.5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
}

/* ---- app bar ---- */

.phone .appbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 12px;
    flex: none;
}

.phone .appbar .title {
    font-family: var(--font-display);
    font-size: 15px;
    color: #FFFFFF;
    letter-spacing: 0.01em;
}

.phone .appbar .dots { margin-left: auto; display: flex; flex-direction: column; gap: 2.5px; }
.phone .appbar .dots span { width: 3px; height: 3px; border-radius: 100px; background: rgba(255, 255, 255, 0.8); }

/* ---- feed ---- */

.phone .feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 2px 12px 0;
    overflow: hidden;
}

.msg { display: flex; align-items: flex-end; gap: 7px; }
.msg.me { flex-direction: row-reverse; }

/* Initials avatar, coloured per author, the way ColorGenerator keys it on the UID in the app. */
.msg .av {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 100px;
    background: var(--av);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 3px rgba(50, 8, 4, 0.35);
}

.bubble {
    background: #FFFFFF;
    color: #231917;
    border-radius: 15px 15px 15px 4px;
    padding: 8px 11px 9px;
    font-size: 12px;
    line-height: 1.42;
    box-shadow: 0 2px 9px rgba(50, 8, 4, 0.22);
    position: relative;
    max-width: 82%;
}

.msg.me .bubble { background: #FFE1D9; border-radius: 15px 15px 4px 15px; }

.bubble .who {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #A73A28;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.bubble .t { display: block; font-size: 8.5px; color: #77635F; margin-top: 4px; }

/* Hangs off the bottom edge, which is why the app reserves reaction_pill_gutter on those rows. */
.bubble .heart {
    position: absolute;
    right: 8px;
    bottom: -9px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #33201E;
    color: #FFFFFF;
    border-radius: 100px;
    padding: 2px 7px;
    font-size: 9px;
    box-shadow: 0 2px 6px rgba(50, 8, 4, 0.3);
}

.bubble .heart b { color: #FF5A4E; font-size: 8.5px; }

/* ---- composer ---- */

.phone .composer {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 11px;
}

.phone .composer .field {
    flex: 1;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 100px;
    padding: 8px 13px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.phone .composer .send {
    flex: none;
    width: 32px; height: 32px;
    border-radius: 100px;
    background: #FFFFFF;
    color: #A73A28;
    display: grid;
    place-items: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(50, 8, 4, 0.3);
}

/* ============================================================ buttons */

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 27px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.12s ease, background 0.15s ease;
}

.btn:active { transform: translateY(1px); }

/* Hardcoded white on the canvas, exactly as Widget.LoveFailures.Button.OnCanvas does in the app,
   and for the same reason: a theme role inverts at night and loses the button against the wine. */
.btn-primary { background: #FFFFFF; color: #A73A28; }
.btn-primary:hover, .btn-primary:focus-visible { background: #FFEBE6; }

.btn-ghost { background: var(--glass-fill); border-color: var(--glass-stroke); color: var(--on-canvas); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--glass-fill-strong); }

/* ============================================================ sections */

section.page { padding: 84px 0; }
section.page.sunken { background: var(--surface-sunken); }

.section-head { max-width: 60ch; margin-bottom: 40px; }

.section-head .kicker {
    color: var(--accent);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 400;
    margin: 0 0 16px;
}

h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 8px; }

p { margin: 0 0 16px; max-width: var(--measure); color: var(--on-surface-variant); }
.canvas p { color: var(--on-canvas-variant); }

.lead { font-size: 1.12rem; color: var(--on-surface-variant); }

/*
 * :not(.btn) matters. Without it, ".canvas a" (0-1-1) outranks ".btn-primary" (0-1-0), so every
 * primary button inside a canvas band was handed color: var(--on-canvas) - white text on a white
 * button, i.e. an invisible "Get it on Google Play". Excluding buttons from the prose link colours
 * fixes it at the root instead of stacking specificity onto each .btn rule.
 */
a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.canvas a:not(.btn) { color: var(--on-canvas); }

strong { color: var(--on-surface); font-weight: 650; }
.canvas strong { color: var(--on-canvas); }

/* ============================================================ cards */

.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/*
 * Cards were a flat fill, a hairline and one shadow, which is the definition of plain. Now: a very
 * shallow vertical gradient so the top catches light, a highlight along the top edge, and a lift on
 * hover. The gradient is two stops a few percent apart; anything stronger reads as a button.
 */
.card {
    background:
        linear-gradient(180deg, var(--surface-raised), var(--surface-sunken));
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

@media (prefers-color-scheme: dark) {
    .card::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent); }
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(35, 25, 23, 0.07), 0 18px 44px rgba(35, 25, 23, 0.13);
}

@media (prefers-reduced-motion: reduce) {
    .card { transition: none; }
    .card:hover { transform: none; }
}

.card p:last-child { margin-bottom: 0; }
.card p { font-size: 15.5px; }

.icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--surface-variant);
    background: linear-gradient(150deg, var(--surface-variant), color-mix(in srgb, var(--accent) 16%, var(--surface-variant)));
    border: 1px solid var(--outline);
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (prefers-color-scheme: dark) {
    .icon { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); }
}

.icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Numbered rule rows, replacing what used to be four stacked headings. */
.rule { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--outline); }
.rule:last-child { border-bottom: 0; }

.rule .num {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 100px;
    background: var(--accent);
    color: #FFFFFF;
    display: grid; place-items: center;
    font-size: 13.5px; font-weight: 650;
}

@media (prefers-color-scheme: dark) { .rule .num { color: #3A0B04; } }

.rule h3 { margin-bottom: 4px; }
.rule p { margin: 0; font-size: 15.5px; }

/* ============================================================ collect list */

/*
 * "What the app collects" as rows rather than a table. A three column table of what/source/
 * destination forced every cell to be terse and made the page scroll sideways on a phone, which is
 * the worst possible reading experience for the one section people actually open this page for.
 */
.collect { display: grid; gap: 14px; margin: 28px 0; }

.collect-item {
    background: var(--surface-raised);
    border: 1px solid var(--outline);
    border-left: 3px solid var(--accent);
    border-radius: 14px;
    padding: 20px 22px;
}

.collect-item h3 { margin-bottom: 6px; font-size: 1.02rem; }
.collect-item p { margin: 0; font-size: 15.5px; }
.collect-item .where { display: block; margin-top: 9px; font-size: 14px; color: var(--on-surface-variant); }
.collect-item .where b { color: var(--on-surface); font-weight: 650; }

/* ============================================================ numbers */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid var(--glass-stroke);
    border-bottom: 1px solid var(--glass-stroke);
    padding: 30px 0;
    margin-top: 8px;
}

.stats div { text-align: center; }

.stats .n {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1;
    color: var(--on-canvas);
}

.stats .l {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--on-canvas-variant);
}

/* ============================================================ motion */

@keyframes riseIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

.rise { animation: riseIn 0.75s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.rise.d1 { animation-delay: 0.07s; }
.rise.d2 { animation-delay: 0.14s; }
.rise.d3 { animation-delay: 0.21s; }

/* Entrance only, and only once. Anything that animates on scroll needs JS and earns its keep less. */
@media (prefers-reduced-motion: reduce) {
    .rise { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================ callouts */

.note {
    background: var(--surface-variant);
    border-radius: var(--radius);
    padding: 24px 26px;
    margin: 30px 0;
    border: 1px solid var(--outline);
}

.note.strong { border-left: 4px solid var(--accent); }
.note p:last-child { margin-bottom: 0; }
.note h3 { margin-bottom: 10px; }

/* ============================================================ policy page */

.pagehead { padding: 26px 0 58px; }
.pagehead h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 3.6rem); letter-spacing: -0.012em; line-height: 1.04; margin: 0 0 14px; font-weight: 400; }
.pagehead .sub { color: var(--on-canvas-variant); margin: 0; max-width: 54ch; }
.pagehead .stamp { color: var(--on-canvas-variant); font-size: 14px; margin-top: 18px; }

.prose { padding: 62px 0 84px; }
.prose h2 { margin-top: 52px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 20px; }

.prose ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 11px;
    color: var(--on-surface-variant);
    max-width: var(--measure);
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 7px; top: 0.72em;
    width: 6px; height: 6px;
    border-radius: 100px;
    background: var(--accent);
}

code {
    background: var(--surface-variant);
    border-radius: 6px;
    padding: 1.5px 6px;
    font-size: 0.87em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ============================================================ cta band */

.cta { padding: 76px 0; text-align: center; }
.cta h2 { margin-bottom: 14px; }
.cta p { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; margin-top: 28px; }

/* ============================================================ footer */

.foot { padding: 44px 0 40px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
/* Same reasoning as the nav: .row lifts these to 0-3-1 so the muted colour survives. */
.canvas .foot .row a { color: var(--on-canvas-variant); text-decoration: none; font-size: 15px; }
.canvas .foot .row a:hover { color: var(--on-canvas); text-decoration: underline; }
.foot .spacer { margin-left: auto; }
.foot .copy { color: var(--on-canvas-muted); font-size: 14px; }

/* ============================================================ responsive */

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 68px; text-align: center; }
    .hero .lede { margin-left: auto; margin-right: auto; }
    .hero .actions { justify-content: center; }
    .phone { order: -1; max-width: 264px; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap, .narrow { padding: 0 18px; }
    section.page { padding: 60px 0; }
    .card { padding: 22px; }
    .canvas .nav .links a { padding: 7px 10px; }
    .prose { padding: 46px 0 64px; }
}
