:root {
    color-scheme: dark;
    --ink: #f1fbf7;
    --ink-soft: #b4d4cc;
    --cream: #071417;
    --paper: #071417;
    --mint: #5cd3c0;
    --leaf: #5cd3c0;
    --leaf-dark: #7ff0da;
    --lime: #a9df62;
    --gold: #ffe066;
    --line: rgba(180, 230, 218, 0.13);
    --shadow: 0 2rem 6rem rgba(0, 0, 0, 0.45);
    --radius-large: clamp(1.5rem, 3vw, 3.25rem);
    --page-gutter: clamp(1rem, 4vw, 4rem);
    --content-width: 76rem;
    --slide-duration: 5200ms;
    font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 100%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--cream);
}

body {
    margin: 0;
    min-width: 20rem;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% 0%, rgba(18, 104, 95, 0.4), transparent 34rem),
        var(--cream);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #07211f;
    background: var(--mint);
    transform: translateY(-180%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem max(var(--page-gutter), calc((100vw - 80rem) / 2));
}



.site-menu {
    position: relative;
}

.menu-trigger {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.48rem 0.82rem;
    border: 1px solid rgba(24, 91, 66, 0.08);
    border-radius: 999px;
    color: var(--leaf-dark);
    background: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 720;
    letter-spacing: -0.018em;
}

.menu-trigger::after {
    width: 0.36rem;
    height: 0.36rem;
    margin-top: -0.18rem;
    border-right: 0.1rem solid currentColor;
    border-bottom: 0.1rem solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: margin 180ms ease, transform 180ms ease;
}

.menu-trigger:hover,
.menu-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.88);
}

.menu-trigger[aria-expanded="true"]::after {
    margin-top: 0.18rem;
    transform: rotate(225deg);
}

.menu-trigger:focus-visible {
    outline: 0.2rem solid var(--gold);
    outline-offset: 0.22rem;
}

.site-menu-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.65rem);
    right: 0;
    width: min(17rem, calc(100vw - 2rem));
    overflow: hidden;
    padding: 0.45rem;
    border: 1px solid rgba(29, 73, 56, 0.12);
    border-radius: 1.15rem;
    background: rgba(255, 254, 248, 0.98);
    box-shadow: 0 1.35rem 3.5rem rgba(18, 58, 43, 0.16);
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
}

.site-menu-panel[hidden] {
    display: none;
}

.site-menu-panel a,
.site-menu-action {
    display: block;
    width: 100%;
    padding: 0.78rem 0.85rem;
    border: 0;
    border-radius: 0.8rem;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    text-decoration: none;
}

.site-menu-panel a:hover,
.site-menu-panel a:focus-visible,
.site-menu-panel a[aria-current="page"],
.site-menu-action:hover,
.site-menu-action:focus-visible {
    background: rgba(92, 211, 192, 0.14);
}

.site-menu-panel span,
.site-menu-panel small {
    display: block;
}

.site-menu-panel span {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 760;
    letter-spacing: -0.018em;
}

.site-menu-panel small {
    margin-top: 0.12rem;
    color: #6e7d77;
    font-size: 0.7rem;
    font-weight: 520;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.brand img {
    width: 3rem;
    height: 3rem;
    border: 0.2rem solid rgba(255, 255, 255, 0.78);
    border-radius: 0.95rem;
    box-shadow: 0 0.5rem 1.5rem rgba(10, 50, 36, 0.12);
}

.site-header .brand {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 680;
    letter-spacing: -0.03em;
}

.brand-wordmark > span {
    color: var(--leaf-dark);
    font-weight: 780;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.text-link,
.inline-link,
.site-footer a {
    font-weight: 700;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.22em;
}

.text-link {
    text-decoration: none;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1.35rem;
    border: 0;
    border-radius: 999px;
    color: #07211f;
    background: var(--mint);
    box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.3);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    background: var(--mint-bright);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.38);
    transform: translateY(-0.12rem);
}

.button:focus-visible,
a:focus-visible {
    outline: 0.2rem solid var(--gold);
    outline-offset: 0.22rem;
}

.app-store-cta {
    --cta-background: rgba(8, 38, 29, 0.94);
    --cta-background-hover: rgba(11, 48, 36, 0.98);
    --cta-border: rgba(219, 240, 227, 0.18);
    --cta-color: #f7f3ea;
    --cta-arrow-background: #67aa7d;
    --cta-arrow-color: #0d2d20;
    min-height: 3.55rem;
    justify-content: flex-start;
    gap: 0.65rem;
    overflow: hidden;
    padding: 0.42rem 0.48rem 0.42rem 0.58rem;
    border: 1px solid var(--cta-border);
    border-radius: 999px;
    color: var(--cta-color);
    background: var(--cta-background);
    box-shadow: 0 0.65rem 1.8rem rgba(2, 20, 14, 0.24), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(0.8rem) saturate(1.05);
    -webkit-backdrop-filter: blur(0.8rem) saturate(1.05);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.012em;
}

.app-store-cta:hover {
    color: var(--cta-color);
    background: var(--cta-background-hover);
    box-shadow: 0 0.8rem 2rem rgba(2, 20, 14, 0.3), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.cta-app-icon {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    flex: 0 0 2.2rem;
    place-items: center;
}

.cta-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0.16rem 0.22rem rgba(0, 0, 0, 0.24));
}

.cta-arrow {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    margin-left: 0.12rem;
    place-items: center;
    border-radius: 50%;
    color: var(--cta-arrow-color);
    background: var(--cta-arrow-background);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1;
    transition: transform 180ms ease;
}

.app-store-cta:hover .cta-arrow {
    transform: translateX(0.12rem);
}











.section-kicker {
    margin: 0 0 1rem;
    color: var(--leaf-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.inline-link {
    display: inline-flex;
    gap: 0.45rem;
    color: var(--leaf-dark);
}

.site-footer {
    display: grid;
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin: 0 auto;
    padding: 2rem 0 2.5rem;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    border-top: 1px solid var(--line);
}

.brand-footer img {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 0.12rem;
    border-radius: 0.8rem;
}

.site-footer nav {
    display: flex;
    gap: 1.3rem;
}

.site-footer p {
    margin: 0;
    color: var(--ink-soft);
    text-align: right;
}

/* Legal and support pages */
.subpage-body {
    background: var(--paper);
}

.subpage-header {
    position: relative;
    top: auto;
    left: auto;
    width: min(calc(100% - (var(--page-gutter) * 2)), 78rem);
    margin: clamp(0.75rem, 1.5vw, 1.15rem) auto 0;
    padding: 0.7rem 0.75rem 0.7rem 1.15rem;
    border: 1px solid rgba(30, 77, 58, 0.1);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 254, 248, 0.92), rgba(232, 242, 227, 0.86));
    box-shadow: 0 0.85rem 2.75rem rgba(22, 62, 46, 0.09), 0 1px 0 rgba(255, 255, 255, 0.75) inset;
    transform: none;
    backdrop-filter: blur(1rem) saturate(1.08);
    -webkit-backdrop-filter: blur(1rem) saturate(1.08);
}

.legal-main,
.support-main {
    width: min(calc(100% - (var(--page-gutter) * 2)), 70rem);
    margin: 0 auto;
    padding-block: clamp(4rem, 9vw, 7rem);
}

.legal-hero,
.support-hero {
    max-width: 52rem;
    margin-bottom: clamp(3rem, 8vw, 6rem);
}

.support-main {
    min-height: calc(100svh - 13rem);
}

.support-main .support-hero {
    margin-bottom: 0;
}

.legal-hero p,
.support-hero p {
    max-width: 42rem;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.legal-content {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 6rem);
}

.legal-nav {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.legal-nav a {
    display: block;
    padding-block: 0.4rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-copy section {
    padding: 0 0 2.5rem;
    scroll-margin-top: 2rem;
}

.legal-copy h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    line-height: 1.2;
}

.legal-copy h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.05rem;
}

.legal-copy p,
.legal-copy li {
    color: var(--ink-soft);
}

.legal-copy ul {
    padding-left: 1.3rem;
}

.legal-copy a {
    color: var(--leaf-dark);
    font-weight: 750;
}

.route-fallback {
    display: flex;
    width: min(calc(100% - (var(--page-gutter) * 2)), 38rem);
    min-height: calc(100svh - 6rem);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    padding-block: 3rem;
    text-align: center;
}

.route-fallback > img:not(.fallback-icon) {
    width: min(17rem, 68vw);
    max-height: 17rem;
    margin-bottom: 1rem;
    object-fit: contain;
}

.route-fallback .fallback-icon {
    width: 8rem;
    height: 8rem;
    margin-bottom: 2rem;
    border-radius: 28%;
    box-shadow: 0 1.2rem 3rem rgba(10, 62, 43, 0.16);
}

.route-fallback h1 {
    max-width: 12ch;
    margin: 0;
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-size: clamp(2.8rem, 9vw, 5.2rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.route-fallback > p:not(.section-kicker) {
    max-width: 34rem;
    margin: 1.4rem 0;
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.route-fallback .inline-link {
    margin-top: 1.2rem;
}

@media (min-width: 960px) {

    .dream-hero {
        min-height: 100svh;
        min-height: 100dvh;
        padding: clamp(7.25rem, 13vh, 9rem) max(var(--page-gutter), calc((100vw - 80rem) / 2)) clamp(3rem, 7vh, 4.5rem);
        align-content: center;
        align-items: center;
        column-gap: clamp(2.5rem, 5vw, 5rem);
        row-gap: 2rem;
        grid-template-areas:
            "copy gallery"
            "action gallery";
        grid-template-columns: minmax(20rem, 0.88fr) minmax(25rem, 1.12fr);
        grid-template-rows: auto auto;
    }
}

@media (min-width: 960px) and (max-height: 720px) {

    .dream-hero {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 760px) {
    .site-header {
        padding: 1.15rem 1.25rem 0;
    }

    .site-header .brand {
        font-size: 1.2rem;
    }


    .subpage-header {
        width: calc(100% - 2rem);
        padding: 0.62rem 0.65rem 0.62rem 0.95rem;
        border-radius: 1.1rem;
    }

    .menu-trigger {
        min-height: 2.2rem;
        padding: 0.42rem 0.72rem;
        font-size: 0.82rem;
    }

    .site-footer {
        justify-items: center;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer p {
        text-align: center;
    }

    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--line);
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===================================================================
   Home page — the app's world, at desktop size.
   Palette and type follow the iOS Month tab in dark appearance.
   =================================================================== */

body.world-page {
    --sky-top: #0a262e;
    --sky-mid: #12685f;
    --sky-low: #3c9b88;
    --horizon: #4aab91;
    --deep: #071417;
    --panel: #0e1618;
    --panel-raised: #142023;
    --panel-line: rgba(180, 230, 218, 0.11);
    --mint: #5cd3c0;
    --mint-bright: #7ff0da;
    --sun: #ffe066;
    --paper-text: #f1fbf7;
    --paper-dim: #b4d4cc;
    color: var(--paper-text);
    background: var(--deep);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}

body.world-page main {
    overflow: hidden;
}

/* --- Header: sits on the sky, no card around it ------------------- */

body.world-page .site-header {
    position: absolute;
    top: clamp(0.65rem, 1.6vw, 1.1rem);
    left: 50%;
    width: min(calc(100% - (var(--page-gutter) * 2)), 82rem);
    padding: 0.55rem 0.6rem 0.55rem 0.7rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateX(-50%);
}

body.world-page .site-header .brand {
    color: var(--paper-text);
    font-size: 1.1rem;
    font-weight: 650;
    letter-spacing: -0.03em;
}

body.world-page .brand img {
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 0.62rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.3);
}

body.world-page .brand-wordmark > span {
    color: var(--mint);
    font-weight: 760;
}

body.world-page .menu-trigger {
    border: 1px solid rgba(214, 247, 238, 0.2);
    color: var(--paper-text);
    background: rgba(8, 36, 38, 0.4);
    backdrop-filter: blur(0.8rem);
    -webkit-backdrop-filter: blur(0.8rem);
}

body.world-page .menu-trigger:hover,
body.world-page .menu-trigger[aria-expanded="true"] {
    background: rgba(8, 36, 38, 0.72);
}

body.world-page .site-menu-panel {
    border-color: rgba(188, 232, 221, 0.16);
    background: rgba(13, 28, 30, 0.97);
    box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.5);
}

body.world-page .site-menu-panel a:hover,
body.world-page .site-menu-panel a:focus-visible,
body.world-page .site-menu-panel a[aria-current="page"] {
    background: rgba(92, 211, 192, 0.14);
}

body.world-page .site-menu-panel span {
    color: var(--paper-text);
}

body.world-page .site-menu-panel small {
    color: var(--paper-dim);
}

/* --- Sky ---------------------------------------------------------- */

.sky {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-rows: 1fr auto;
    background:
        radial-gradient(130% 80% at 50% 98%, rgba(133, 237, 205, 0.4), transparent 62%),
        linear-gradient(180deg, var(--sky-top) 0%, #0e4a4c 32%, var(--sky-mid) 62%, var(--sky-low) 88%, var(--horizon) 100%);
}

.sky-weather {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cloud {
    position: absolute;
    width: auto;
    height: auto;
    opacity: 0.11;
    filter: saturate(0.5);
}

.cloud-a {
    top: 13%;
    left: -8%;
    width: 26rem;
    animation: drift 128s linear infinite;
}

.cloud-b {
    top: 28%;
    left: 52%;
    width: 17rem;
    opacity: 0.085;
    animation: drift 186s linear infinite -70s;
}

.cloud-c {
    top: 7%;
    left: 74%;
    width: 21rem;
    opacity: 0.075;
    animation: drift 154s linear infinite -110s;
}

@keyframes drift {
    from { transform: translateX(-16vw); }
    to { transform: translateX(116vw); }
}

.flyer {
    position: absolute;
    width: auto;
    height: auto;
}

.butterfly {
    top: 46%;
    left: 11%;
    width: 2.5rem;
    opacity: 0.9;
    animation: flit 9s ease-in-out infinite;
}

@keyframes flit {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
    50% { transform: translate3d(1.4rem, -1.9rem, 0) rotate(7deg); }
}

/* --- Headline ----------------------------------------------------- */

.sky-copy {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(100% - (var(--page-gutter) * 2), 54rem);
    justify-items: center;
    margin: 0 auto;
    padding: clamp(3.75rem, 7vh, 5rem) 0 0;
    align-content: start;
    text-align: center;
}

.sky-copy h1 {
    max-width: 16ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.6rem, 6.6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.042em;
    line-height: 1.02;
    text-wrap: balance;
}

.sky-copy > p {
    max-width: 44ch;
    margin: clamp(1.1rem, 2.4vw, 1.6rem) 0 0;
    color: var(--paper-dim);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    font-weight: 450;
    line-height: 1.55;
    text-wrap: pretty;
}

.sky-actions {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 0;
}

.app-cta {
    min-height: 3.5rem;
    padding: 0.7rem 1.7rem 0.7rem 0.7rem;
    color: #07211f;
    background: var(--mint);
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-cta img {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.62rem;
}

.app-cta:hover {
    background: var(--mint-bright);
    box-shadow: 0 1.2rem 2.6rem rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transform: translateY(-2px);
}

.app-cta:focus-visible {
    outline: 0.2rem solid var(--sun);
    outline-offset: 0.25rem;
}

.app-cta-note {
    margin: 0;
    color: rgba(204, 234, 226, 0.72);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.005em;
}

/* --- The garden --------------------------------------------------- */

.world-stage {
    --ground: clamp(3.8rem, 7.4vw, 7.6rem);
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: clamp(2.5rem, 10.5vw, 14rem);
    height: clamp(13rem, 26vw, 23rem);
}

.world-ground {
    position: absolute;
    right: 0;
    /* The stage height is a vw clamp, so its bottom edge lands on a fraction
       of a pixel and the sky behind showed through as a hairline. Overlap the
       section below by a pixel; the top edge stays where the feet rest. */
    bottom: -1px;
    left: 0;
    z-index: 6;
    height: calc(var(--ground) + 1px);
    background: url("assets/world-soil-v3.webp") center top / cover no-repeat;
}

/* The soil photo holds the same mid-brown to its last row, so on its own it
   meets the section below as a cut. Sink the lower half into shadow instead,
   and let the month section open on the tone this lands at. */
.world-ground::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(21, 13, 8, 0) 50%,
        rgba(21, 13, 8, 0.35) 76%,
        rgba(21, 13, 8, 0.72) 100%
    );
}

.world-item {
    position: absolute;
    bottom: calc(var(--ground) - 0.5rem);
    width: auto;
    height: auto;
    transform: translateX(-50%);
    transform-origin: bottom center;
    pointer-events: none;
    filter: drop-shadow(0 1.2rem 1.4rem rgba(5, 32, 26, 0.38));
}

/* Left to right along the soil line. Every asset is trimmed to its own
   silhouette, so they share one resting offset and none of them hover. */
.item-berries    { left: 3.5%;  width: 6%; }
.item-daisies    { left: 9%;    width: 4.4%; }
.item-sapling    { left: 13.5%; width: 4%; }
.item-fern       { left: 17%;   width: 2.6%; }
.item-cottage    { left: 34%;   width: 17%; }
/* The pine stands in front of the cottage, and the robin on one of its tiers.
   16.14vw is where that branch sits above the tree's base at this width. */
.item-pine       { left: 22%;   width: 13%; z-index: 2; }
.item-bird       { left: 24.6%; width: 2.9%; bottom: calc(var(--ground) - 0.5rem + 15.85vw); z-index: 3; }
.item-tulips     { left: 44%;   width: 5.5%; }
.item-grass-a    { left: 47%;   width: 3.4%; z-index: 4; }
.item-grass-b    { left: 56.5%; width: 3.4%; z-index: 4; }
.item-lavender   { left: 60.5%; width: 4%; }
.item-sunflowers { left: 66.5%; width: 5.5%; }
.item-blossom    { left: 80%;   width: 19%; }
.item-grass-c    { left: 88.5%; width: 3.2%; z-index: 4; }
.item-succulents { left: 94%;   width: 6%; }
.item-sprout {
    left: 50%;
    width: 12%;
    bottom: calc(var(--ground) - 0.5rem);
    z-index: 3;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 220ms ease;
}

.item-sprout img {
    display: block;
    width: 100%;
    height: auto;
}

.item-sprout:hover {
    transform: translateX(-50%) translateY(-0.4rem);
}

.item-sprout:focus-visible {
    outline: 0.2rem solid var(--sun);
    outline-offset: 0.6rem;
    border-radius: 1rem;
}

/* The gold marker the app floats above Sprout */

.world-badge {
    position: absolute;
    bottom: calc(var(--ground) + (12vw * 1018 / 700) + 1.7rem);
    left: 50%;
    z-index: 4;
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #fff6c4, var(--sun) 58%, #e8bd33);
    box-shadow:
        0 0 0 0.38rem rgba(255, 224, 102, 0.17),
        0 0.7rem 1.5rem rgba(0, 0, 0, 0.38);
    cursor: pointer;
    transform: translateX(-50%);
    animation: bob 3.4s ease-in-out infinite;
    transition: box-shadow 200ms ease;
}

.world-badge svg {
    width: 42%;
    height: auto;
    fill: #4a3200;
}

.world-badge:hover {
    box-shadow:
        0 0 0 0.6rem rgba(255, 224, 102, 0.22),
        0 0.9rem 1.8rem rgba(0, 0, 0, 0.45);
}

.world-badge:focus-visible {
    outline: 0.2rem solid #ffffff;
    outline-offset: 0.3rem;
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-0.5rem); }
}

/* --- Below the soil: the month ------------------------------------ */

.month {
    position: relative;
    padding: clamp(4rem, 9vw, 7.5rem) var(--page-gutter) clamp(3.5rem, 7vw, 6rem);
    /* Opens on the soil's shadowed edge, loses the warmth over the first few
       rem, and only then picks up the mint glow behind the app card. Putting
       the glow at the very top lit the seam and read as a halo under the dirt. */
    background:
        radial-gradient(80% 26rem at 50% 11rem, rgba(20, 78, 72, 0.34), transparent 72%),
        linear-gradient(
            180deg,
            #27170e 0,
            #1d130c 2rem,
            #0c1718 9rem,
            var(--deep) 20rem
        );
}

.app-surface {
    width: min(100%, 68rem);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--panel-line);
    border-radius: clamp(1.2rem, 2.2vw, 1.9rem);
    background: linear-gradient(180deg, #0f4a4a 0%, #14605a 24%, #11514d 100%);
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.5);
}

.app-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.6rem;
    padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.6vw, 2.1rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.app-bar-date {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
}

.app-bar-date strong {
    color: #ffffff;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    font-weight: 680;
    letter-spacing: -0.03em;
}

.app-bar-date span {
    color: rgba(214, 237, 229, 0.62);
    font-size: 0.82rem;
    font-weight: 500;
}

.app-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(5, 32, 32, 0.3);
}

.app-tabs button {
    padding: 0.42rem 0.95rem;
    border: 0;
    border-radius: 999px;
    color: rgba(221, 242, 235, 0.68);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 560;
    letter-spacing: -0.015em;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease;
}

.app-tabs button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.app-tabs button:focus-visible {
    outline: 0.15rem solid var(--sun);
    outline-offset: 0.12rem;
}

.app-tabs .is-current,
.app-tabs .is-current:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 680;
}

.app-body:focus-visible,
.app-panel:focus-visible {
    outline: 0.15rem solid var(--sun);
    outline-offset: -0.3rem;
}

.app-body[hidden],
.app-panel[hidden] { display: none; }

.app-body,
.app-panel { min-height: clamp(19rem, 25vw, 23rem); }

.app-body {
    display: grid;
    gap: clamp(1.2rem, 2.4vw, 2rem);
    padding: clamp(1.4rem, 2.8vw, 2.3rem) clamp(1.2rem, 2.6vw, 2.1rem) clamp(1.4rem, 2.8vw, 2.1rem);
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
}

.app-headline {
    min-width: 0;
}

.app-label {
    margin: 0;
    color: rgba(224, 244, 238, 0.78);
    font-size: clamp(0.95rem, 1.3vw, 1.08rem);
    font-weight: 540;
}

.app-number {
    margin: 0.1rem 0 0;
    color: #ffffff;
    font-size: clamp(3.6rem, 8vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.app-delta {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    margin: 0.5rem 0 0;
    color: var(--mint-bright);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 620;
    letter-spacing: -0.02em;
}

.app-delta small {
    color: rgba(224, 244, 238, 0.72);
    font-size: inherit;
    font-weight: 500;
}

.delta-mark {
    width: 0;
    height: 0;
    border-right: 0.36rem solid transparent;
    border-bottom: 0.52rem solid currentColor;
    border-left: 0.36rem solid transparent;
}

.app-note {
    max-width: 30ch;
    margin: 1rem 0 0;
    color: rgba(206, 232, 224, 0.68);
    font-size: 0.92rem;
    font-weight: 450;
    line-height: 1.5;
}

/* Daily budget trend */

.app-chart {
    position: relative;
    min-width: 0;
    margin: 0;
    padding-top: 1.5rem;
}

.app-chart svg {
    display: block;
    width: 100%;
    height: clamp(8rem, 15vw, 11rem);
    overflow: visible;
}

.app-chart .grid {
    stroke: rgba(255, 255, 255, 0.18);
    stroke-dasharray: 5 7;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.app-chart .trend {
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.app-chart .trend-dot {
    fill: var(--mint);
    stroke: #ffffff;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.app-chart .trend-dot-halo {
    fill: rgba(92, 211, 192, 0.25);
}

.chart-today {
    position: absolute;
    top: 0;
    right: 0;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 620;
}

.chart-tick {
    position: absolute;
    left: 0;
    padding: 0.16rem 0.45rem;
    border-radius: 0.4rem;
    color: rgba(230, 248, 242, 0.85);
    background: rgba(5, 36, 36, 0.4);
    font-size: 0.74rem;
    font-weight: 560;
}

.chart-tick-high { top: calc(1.5rem + (clamp(8rem, 15vw, 11rem) * 0.31) - 0.62rem); }
.chart-tick-low { top: calc(1.5rem + (clamp(8rem, 15vw, 11rem) * 0.61) - 0.62rem); }

.app-chart figcaption {
    display: flex;
    justify-content: space-between;
    width: 74%;
    margin-top: 0.6rem;
    color: rgba(214, 237, 229, 0.6);
    font-size: 0.78rem;
    font-weight: 520;
}

/* Category cards */

.app-cards {
    display: grid;
    gap: 0.75rem;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-card {
    display: grid;
    align-content: start;
    gap: 0.4rem;
    padding: 0.95rem 1.05rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.05rem;
    background: rgba(7, 20, 23, 0.72);
}

.app-card-wide { grid-column: span 2; }

.app-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    grid-column: span 2;
    padding: 0.85rem 1.15rem;
}

.app-card-row .card-amount { font-size: 0.95rem; }
.app-card-row .card-amount strong { font-size: 1.16rem; }

.card-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #ffffff;
    font-size: 0.97rem;
    font-weight: 650;
    letter-spacing: -0.022em;
}

.card-emoji { font-size: 1.15rem; }

.card-amount {
    margin: 0;
    color: rgba(196, 224, 216, 0.65);
    font-size: 1.02rem;
    font-weight: 520;
}

.card-amount strong {
    color: #ffffff;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.card-amount-positive strong { color: var(--mint-bright); }

.card-track {
    position: relative;
    height: 0.42rem;
    margin-top: 0.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.card-track i {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: 999px;
    background: var(--mint);
}

.card-track u {
    position: absolute;
    top: -0.17rem;
    bottom: -0.17rem;
    width: 0.12rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

/* Spending, Net Worth and Cash */

.app-panel {
    padding: clamp(1.4rem, 2.8vw, 2.3rem) clamp(1.2rem, 2.6vw, 2.1rem) clamp(1.6rem, 3vw, 2.3rem);
}

.panel-head {
    margin-bottom: clamp(1.3rem, 2.6vw, 1.9rem);
}

.panel-head .app-number {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
}

.app-delta-quiet {
    display: block;
    max-width: 44ch;
    color: rgba(206, 232, 224, 0.72);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    font-weight: 450;
}

.app-delta-quiet strong {
    color: #ffffff;
    font-weight: 640;
}

.bar-list,
/* A list that sits under both columns of a two-column panel. */
.row-list-wide { grid-column: 1 / -1; }

/* Five figures need less room than "$75" does. */
.app-headline-sm .app-number {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
}

.row-list {
    display: grid;
    gap: 0.1rem;
    margin: 0;
    padding: 0.4rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.05rem;
    background: rgba(7, 20, 23, 0.72);
    list-style: none;
}

.bar-list li {
    display: grid;
    align-items: center;
    gap: 0.5rem 1.1rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) auto;
}

.bar-list li:last-child,
.row-list li:last-child { border-bottom: 0; }

.bar-name {
    color: rgba(224, 244, 238, 0.86);
    font-size: 0.96rem;
    font-weight: 520;
}

.bar-track {
    height: 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.bar-track i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mint), var(--mint-bright));
}

.bar-value {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 660;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.row-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.row-name {
    display: grid;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.row-name small {
    margin-top: 0.1rem;
    color: rgba(196, 224, 216, 0.6);
    font-size: 0.82rem;
    font-weight: 450;
    letter-spacing: 0;
}

.row-value {
    color: #ffffff;
    font-size: 1.14rem;
    font-weight: 680;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.028em;
}

.row-value.is-negative { color: rgba(255, 208, 201, 0.95); }
.row-value.is-positive { color: var(--mint-bright); }

.row-list .is-total {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
}

.row-list .is-total .row-value { color: var(--mint-bright); }

/* Closing line */

.month-close {
    display: grid;
    justify-items: center;
    gap: 1.3rem;
    width: min(100%, 44rem);
    margin: clamp(2.5rem, 5vw, 3.8rem) auto 0;
    text-align: center;
}

.month-close p {
    max-width: 48ch;
    margin: 0;
    color: rgba(180, 212, 204, 0.8);
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.6;
}

.app-cta-quiet {
    color: var(--paper-text);
    background: rgba(92, 211, 192, 0.13);
    box-shadow: 0 0 0 1px rgba(146, 226, 211, 0.3) inset;
}

.app-cta-quiet:hover {
    background: rgba(92, 211, 192, 0.22);
    box-shadow: 0 0 0 1px rgba(146, 226, 211, 0.45) inset;
}

/* --- Footer ------------------------------------------------------- */

body.world-page .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--paper-dim);
    background: var(--deep);
}

body.world-page .site-footer a { color: var(--paper-dim); }
body.world-page .site-footer a:hover { color: var(--mint-bright); }
body.world-page .brand-footer { color: var(--paper-text); }
body.world-page .brand-footer img { border: 0; }

/* --- Today's number sheet ----------------------------------------- */

.daily-sheet {
    width: min(100% - 2rem, 30rem);
    max-height: calc(100svh - 2rem);
    padding: 0;
    border: 1px solid rgba(188, 232, 221, 0.15);
    border-radius: 1.6rem;
    color: var(--paper-text);
    background: linear-gradient(180deg, var(--panel-raised), var(--panel));
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.6);
}

.daily-sheet::backdrop {
    background: rgba(3, 18, 20, 0.72);
    backdrop-filter: blur(0.3rem);
    -webkit-backdrop-filter: blur(0.3rem);
}

.daily-sheet-inner {
    position: relative;
    padding: clamp(1.6rem, 4vw, 2.1rem);
}

.daily-sheet-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--paper-dim);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
}

.daily-sheet-close:hover { color: #ffffff; background: rgba(255, 255, 255, 0.16); }
.daily-sheet-close:focus-visible { outline: 0.15rem solid var(--sun); outline-offset: 0.15rem; }

.daily-sheet-eyebrow {
    margin: 0;
    color: rgba(180, 212, 204, 0.75);
    font-size: 0.86rem;
    font-weight: 520;
}

.daily-sheet h2 {
    max-width: 16ch;
    margin: 0.3rem 0 1.4rem;
    color: #ffffff;
    font-size: clamp(1.4rem, 3.4vw, 1.75rem);
    font-weight: 680;
    letter-spacing: -0.032em;
    line-height: 1.18;
}

.daily-sheet h2 strong {
    color: var(--mint-bright);
    font-weight: 700;
    white-space: nowrap;
}

.daily-maths {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0.35rem 0.9rem;
    border-radius: 1rem;
    background: rgba(5, 20, 22, 0.6);
}

.daily-maths > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.68rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.daily-maths > div:last-child { border-bottom: 0; }

.daily-maths dt {
    color: var(--paper-dim);
    font-size: 0.93rem;
    font-weight: 480;
}

.daily-maths dd {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 640;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.daily-maths dd.is-out { color: rgba(214, 240, 232, 0.72); }

.daily-maths-total dt { color: #ffffff; font-weight: 640; }
.daily-maths-total dd { color: var(--mint-bright); font-size: 1.14rem; font-weight: 700; }

.daily-divide {
    margin: 1.1rem 0 0;
    color: var(--paper-dim);
    font-size: 0.93rem;
    font-weight: 480;
    text-align: center;
}

.daily-divide strong { color: #ffffff; font-weight: 640; }

.daily-result {
    margin: 0.25rem 0 0;
    color: #ffffff;
    font-size: clamp(2.6rem, 8vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.05;
    text-align: center;
}

.daily-result span {
    color: var(--paper-dim);
    font-size: 1.05rem;
    font-weight: 520;
    letter-spacing: -0.02em;
}

.daily-footnote {
    max-width: 38ch;
    margin: 1.1rem auto 0;
    color: rgba(180, 212, 204, 0.78);
    font-size: 0.9rem;
    font-weight: 450;
    line-height: 1.55;
    text-align: center;
}

/* --- Narrower screens --------------------------------------------- */

@media (max-width: 60rem) {
    .app-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-chart figcaption { width: 100%; }

    .bar-list li {
        gap: 0.35rem 0.9rem;
        grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr) auto;
    }
}

@media (max-width: 46rem) {
    .sky {
        min-height: auto;
    }

    .sky-copy {
        padding-top: clamp(6.5rem, 22vh, 9rem);
        padding-bottom: clamp(0.75rem, 2vh, 1.6rem);
    }

    .sky-actions {
        margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
    }

    .world-stage {
        --ground: clamp(3rem, 11vw, 5rem);
        height: clamp(14rem, 58vw, 24rem);
        margin-top: clamp(0.5rem, 3vw, 1.5rem);
    }

    /* The band is about 48px here against 76px on a desktop, so the same
       percentages would swallow most of the clay. */
    .world-ground::after {
        background: linear-gradient(
            180deg,
            rgba(21, 13, 8, 0) 60%,
            rgba(21, 13, 8, 0.34) 82%,
            rgba(21, 13, 8, 0.72) 100%
        );
    }

    /* Phones keep the simpler planting that already reads well. */
    .item-daisies,
    .item-fern,
    .item-berries,
    .item-tulips,
    .item-sunflowers,
    .item-sapling,
    .item-succulents,
    .item-grass-a,
    .item-grass-b,
    .item-grass-c { display: none; }

    .item-cottage  { left: 30%; width: 29%; }
    .item-pine     { left: 12%; width: 20%; }
    .item-bird     { left: 16%; width: 5%; bottom: calc(var(--ground) - 0.5rem + 24.4vw); }
    .item-sprout   { left: 50%; width: 21%; bottom: calc(var(--ground) - 0.5rem); }
    .item-lavender { left: 70%; width: 8%; }
    .item-blossom  { left: 91%; width: 32%; }

    .world-badge {
        bottom: calc(var(--ground) + (21vw * 1018 / 700) + 1.3rem);
        left: 50%;
        width: 2.7rem;
        height: 2.7rem;
    }

    .butterfly { display: none; }

    .app-bar { gap: 0.85rem 1rem; }

    .app-tabs {
        width: max-content;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .app-tabs::-webkit-scrollbar { display: none; }

    .app-tabs button {
        padding: 0.42rem 0.78rem;
        font-size: 0.84rem;
    }

    .app-body,
    .app-panel { min-height: 0; }

    .app-cards { grid-template-columns: minmax(0, 1fr); }
    .app-card-wide,
    .app-card-row { grid-column: auto; }

    .bar-list li {
        gap: 0.3rem 0.9rem;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bar-track { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
    .cloud,
    .butterfly,
    .world-badge {
        animation: none;
    }

    .app-cta:hover { transform: none; }
}

/* ===================================================================
   Support, Privacy and Terms — the same world, quieter.
   =================================================================== */

body.subpage-body.world-page {
    position: relative;
    background: var(--deep);
}

/* The sky carries over the top of every page */
body.subpage-body.world-page::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: clamp(24rem, 46vw, 40rem);
    background: linear-gradient(
        180deg,
        var(--sky-top) 0%,
        #0e4a4c 30%,
        rgba(12, 58, 56, 0.55) 62%,
        rgba(7, 20, 23, 0) 100%
    );
    content: "";
    pointer-events: none;
}

body.subpage-body.world-page > *:not(.skip-link) {
    position: relative;
    z-index: 1;
}

body.subpage-body.world-page > .site-header {
    z-index: 20;
}

body.world-page .subpage-header {
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0.55rem 0.6rem 0.55rem 0.7rem;
}

body.world-page .section-kicker {
    margin: 0 0 0.9rem;
    color: var(--mint);
    font-size: 0.95rem;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
}

body.world-page .legal-hero h1,
body.world-page .support-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.3rem, 5.4vw, 3.9rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.03;
    text-wrap: balance;
}

body.world-page .legal-hero p,
body.world-page .support-hero p {
    color: var(--ink-soft);
    font-weight: 450;
    line-height: 1.6;
}

body.world-page .legal-hero > p:last-child {
    color: rgba(180, 212, 204, 0.72);
    font-size: 0.95rem;
}

/* Contents list beside the text */

body.world-page .legal-nav {
    top: 5.5rem;
    padding: 0.5rem;
    border: 1px solid var(--panel-line);
    border-radius: 1.1rem;
    background: rgba(10, 26, 29, 0.6);
}

body.world-page .legal-nav a {
    padding: 0.5rem 0.7rem;
    border-radius: 0.65rem;
    color: var(--ink-soft);
    font-weight: 520;
    transition: color 150ms ease, background 150ms ease;
}

body.world-page .legal-nav a:hover,
body.world-page .legal-nav a:focus-visible {
    color: #ffffff;
    background: rgba(92, 211, 192, 0.14);
}

body.world-page .legal-copy section {
    padding-bottom: 2.75rem;
    scroll-margin-top: 5.5rem;
}

body.world-page .legal-copy h2 {
    color: #ffffff;
    font-weight: 680;
    letter-spacing: -0.03em;
}

body.world-page .legal-copy h3 {
    color: #ffffff;
    font-weight: 640;
    letter-spacing: -0.02em;
}

body.world-page .legal-copy p,
body.world-page .legal-copy li {
    max-width: 68ch;
    font-weight: 440;
    line-height: 1.68;
}

body.world-page .legal-copy a,
body.world-page .inline-link {
    color: var(--mint-bright);
    font-weight: 600;
}

body.world-page .support-hero .button,
body.world-page .route-fallback .button {
    color: #07211f;
    background: var(--mint);
    box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

body.world-page .support-hero .button:hover,
body.world-page .route-fallback .button:hover {
    background: var(--mint-bright);
}

/* Universal-link fallbacks and the 404 */

body.world-page .route-fallback h1 {
    color: #ffffff;
    font-family: inherit;
    font-size: clamp(2.3rem, 7vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.042em;
    line-height: 1.04;
}

body.world-page .route-fallback .fallback-icon {
    border-radius: 22.4%;
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.45);
}

@media (max-width: 760px) {
    body.world-page .subpage-header {
        width: calc(100% - 2rem);
        padding: 0.55rem 0.5rem 0.55rem 0.7rem;
    }

    body.world-page .legal-nav {
        position: static;
        border-radius: 1.1rem;
    }
}

body.world-page .support-hero {
    display: grid;
    align-items: end;
    justify-items: start;
    column-gap: clamp(2rem, 6vw, 5rem);
    grid-template-columns: minmax(0, 34rem) auto;
}

body.world-page .support-hero > :not(.support-figure) {
    grid-column: 1;
}

.support-figure {
    display: block;
    width: clamp(5.2rem, 10.3vw, 7.6rem);
    height: auto;
    margin: 0;
    grid-column: 2;
    grid-row: 1 / span 20;
    align-self: end;
    filter: drop-shadow(0 1.4rem 2rem rgba(0, 0, 0, 0.4));
}

@media (max-width: 760px) {
    body.world-page .support-hero {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }

    .support-figure {
        width: clamp(5rem, 21vw, 7rem);
        height: auto;
        margin-top: 2.5rem;
        grid-column: 1;
        grid-row: auto / auto;
    }
}
