:root {
    color-scheme: light;
    --ink: #10251e;
    --ink-soft: #3f554d;
    --cream: #f5f6ee;
    --paper: #fffef8;
    --mint: #dff2df;
    --leaf: #167654;
    --leaf-dark: #0a523d;
    --lime: #a9df62;
    --gold: #f4c86a;
    --line: rgba(16, 37, 30, 0.12);
    --shadow: 0 2rem 6rem rgba(12, 49, 36, 0.16);
    --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 10% 18%, rgba(169, 223, 98, 0.14), transparent 24rem),
        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: white;
    background: var(--leaf-dark);
    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));
}

body:not(.subpage-body) .site-header {
    top: clamp(0.75rem, 1.5vw, 1.15rem);
    left: 50%;
    width: min(calc(100% - (var(--page-gutter) * 2)), 78rem);
    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: translateX(-50%);
    backdrop-filter: blur(1rem) saturate(1.08);
    -webkit-backdrop-filter: blur(1rem) saturate(1.08);
}

.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 {
    display: block;
    padding: 0.78rem 0.85rem;
    border-radius: 0.8rem;
    text-decoration: none;
}

.site-menu-panel a:hover,
.site-menu-panel a:focus-visible,
.site-menu-panel a[aria-current="page"] {
    background: #edf5e9;
}

.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: white;
    background: var(--leaf-dark);
    box-shadow: 0 0.7rem 2rem rgba(6, 67, 47, 0.22);
    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: #063f30;
    box-shadow: 0 1rem 2.4rem rgba(6, 67, 47, 0.27);
    transform: translateY(-0.12rem);
}

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

.button-small {
    min-height: 2.8rem;
    padding-inline: 1.1rem;
    font-size: 0.92rem;
}

.dream-hero {
    display: grid;
    min-height: 90svh;
    min-height: 90dvh;
    align-content: center;
    gap: clamp(1.65rem, 3.2vh, 2.6rem);
    overflow: hidden;
    padding: clamp(7.75rem, 11vh, 9rem) var(--page-gutter) clamp(3rem, 6vh, 5rem);
    background: #fff;
}

.dream-hero-copy {
    position: relative;
    z-index: 3;
    text-align: center;
}

.dream-hero h1 {
    display: grid;
    max-width: 10ch;
    margin: 0 auto;
    color: var(--ink);
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-size: clamp(4.4rem, 8.4vw, 8.4rem);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 0.83;
    row-gap: 0.12em;
}

.dream-hero h1 > span {
    display: block;
}

.sprouting-word {
    position: relative;
    width: max-content;
    margin-inline: auto;
    color: var(--leaf-dark);
}

.goal-line {
    display: block !important;
    white-space: nowrap;
}

.sprout-shoot {
    position: absolute;
    top: -0.32em;
    left: 69%;
    width: 0.075em;
    height: 0.52em;
    border-radius: 999px;
    background: var(--leaf);
    transform: rotate(7deg);
    transform-origin: bottom;
    animation: shoot-grow 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sprout-shoot::before,
.sprout-shoot::after {
    position: absolute;
    top: 0.02em;
    width: 0.3em;
    height: 0.17em;
    border-radius: 100% 0 100% 0;
    background: var(--lime);
    content: "";
}

.sprout-shoot::before {
    right: 0.01em;
    transform: translateX(-42%) rotate(34deg);
    transform-origin: right bottom;
}

.sprout-shoot::after {
    top: -0.05em;
    left: 0.04em;
    border-radius: 0 100% 0 100%;
    background: #56a95a;
    transform: translateX(28%) rotate(-34deg);
    transform-origin: left bottom;
}

@keyframes shoot-grow {
    from {
        opacity: 0;
        transform: translateY(0.16em) scaleY(0.15) rotate(7deg);
    }
}

.dream-hero-copy > p {
    max-width: 32rem;
    margin: clamp(1.15rem, 2.2vh, 1.65rem) auto 0;
    color: #4d5e58;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
    font-size: clamp(1.08rem, 1.35vw, 1.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.easy-way {
    color: #0a654a;
    font-weight: 680;
    white-space: nowrap;
}

.dream-gallery {
    display: grid;
    width: min(100%, 66rem);
    min-height: 0;
    margin: clamp(0.75rem, 1.8vh, 1.25rem) auto 0;
    align-items: end;
    gap: clamp(0.7rem, 1.7vw, 1.5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dream-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(150, 121, 54, 0.3);
    border-radius: 50%;
    background: #f5f8f0;
    background-image: url("assets/sprout-money-social-v4.png");
    background-repeat: no-repeat;
    background-size: auto 188%;
    box-shadow: 0 1.25rem 3.25rem rgba(19, 65, 47, 0.075);
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 500ms ease;
}

.dream-image:hover {
    box-shadow: 0 1.5rem 3.6rem rgba(19, 65, 47, 0.11);
    transform: translateY(-0.15rem);
}

.dream-image-savings {
    background-position: 5% 91%;
}

.dream-image-travel {
    background-position: 49.5% 91%;
}

.dream-image-home {
    background-position: 93.5% 91%;
}

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

.hero-button {
    position: relative;
    min-width: 14.5rem;
    min-height: 3.5rem;
    justify-content: flex-start;
    gap: 0.55rem;
    overflow: visible;
    padding: 0.42rem 0.95rem 0.42rem 3.6rem;
    border: 1px solid rgba(4, 62, 44, 0.14);
    border-radius: 999px;
    background: linear-gradient(135deg, #0b684f, #07543f);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.13) inset, 0 0.72rem 1.65rem rgba(6, 67, 47, 0.16);
    font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 760;
    letter-spacing: -0.026em;
}

.hero-button-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: -0.5rem;
    width: 3.55rem;
    height: 3.55rem;
    border: 0.2rem solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: #f4f6e8;
    box-shadow: 0 0.45rem 1.05rem rgba(2, 42, 30, 0.22), 0 0 0 1px rgba(244, 200, 106, 0.28);
    object-fit: cover;
    transform: translateY(-50%);
}

.hero-button-label {
    flex: 1;
    text-align: center;
}

.hero-button::after {
    display: inline-grid;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    content: "→";
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1;
    transition: background 180ms ease, transform 180ms ease;
}

.hero-button:hover {
    background: linear-gradient(135deg, #095d46, #064735);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 0.8rem 1.8rem rgba(6, 67, 47, 0.2);
}

.hero-button:hover::after {
    transform: translateX(0.15rem);
}

.hero-button:active {
    transform: scale(0.985);
}

.dream-hero-action {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
}

.section-shell {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin: 0 auto;
}

.one-number {
    display: grid;
    padding-block: clamp(6rem, 12vw, 11rem);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    grid-template-columns: minmax(0, 0.72fr) minmax(28rem, 1.28fr);
}

.one-number h2,
.feature-copy h2,
.legal-hero h1,
.support-hero h1 {
    margin: 0;
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.one-number-copy {
    text-align: left;
}

.one-number h2 {
    max-width: 7ch;
}

.one-number-copy > p:not(.section-kicker) {
    max-width: 28rem;
    margin: 1.4rem 0 0;
    color: var(--ink-soft);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    font-weight: 480;
    letter-spacing: -0.018em;
    line-height: 1.55;
}

.budget-card {
    position: relative;
    width: min(100%, 42rem);
    aspect-ratio: 3 / 2;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(70, 93, 55, 0.14);
    border-radius: clamp(1.6rem, 3vw, 2.6rem);
    background: #f4f2e5;
    box-shadow: 0 2rem 5rem rgba(31, 68, 44, 0.14);
}

.budget-card-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.budget-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 254, 248, 0.08), rgba(255, 254, 248, 0.18));
    content: "";
    pointer-events: none;
}

.budget-card-ui {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    align-content: center;
    gap: clamp(0.85rem, 2.2vw, 1.35rem);
    padding: clamp(1rem, 3vw, 2rem);
}

.budget-card-caption {
    margin: 0;
    color: #24493c;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: clamp(0.82rem, 1.2vw, 0.98rem);
    font-weight: 680;
    letter-spacing: -0.018em;
    text-align: center;
}

.budget-metrics {
    display: grid;
    gap: clamp(0.7rem, 1.6vw, 1rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.budget-metric {
    min-width: 0;
    padding: clamp(0.9rem, 2.4vw, 1.35rem);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: clamp(1.05rem, 2vw, 1.45rem);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 0.8rem 2rem rgba(39, 79, 53, 0.09);
    backdrop-filter: blur(0.8rem);
    -webkit-backdrop-filter: blur(0.8rem);
    text-align: left;
}

.budget-metric > span,
.budget-metric small {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
}

.budget-metric > span {
    color: #65746e;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.budget-metric strong {
    display: block;
    margin-top: 0.3rem;
    color: var(--leaf-dark);
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4.25rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.95;
    white-space: nowrap;
}

.budget-metric small {
    margin-top: 0.42rem;
    color: #52645d;
    font-size: clamp(0.68rem, 0.9vw, 0.78rem);
    font-weight: 560;
    letter-spacing: -0.01em;
}

.savings-progress {
    height: 0.22rem;
    margin-top: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(10, 82, 61, 0.12);
}

.savings-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #78bd68, var(--leaf-dark));
    transform: scaleX(0.08);
    transform-origin: left;
    transition: transform 14s linear;
}

.budget-card.is-growing .savings-progress span {
    transform: scaleX(1);
}

.feature-section {
    display: grid;
    min-height: clamp(35rem, 62vw, 47rem);
    margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
    padding: clamp(2rem, 6vw, 5rem);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    grid-template-columns: minmax(0, 0.78fr) minmax(27rem, 1.22fr);
    border: 1px solid rgba(44, 83, 66, 0.08);
    border-radius: var(--radius-large);
    background: #edf5e9;
}

.feature-reverse {
    grid-template-columns: minmax(27rem, 1.22fr) minmax(0, 0.78fr);
}

.feature-reverse .feature-copy {
    grid-column: 2;
}

.feature-reverse .product-demo {
    grid-row: 1;
    grid-column: 1;
}

.feature-copy h2 {
    max-width: 9.5ch;
    font-size: clamp(3rem, 5vw, 4.8rem);
}

.feature-copy > p:first-of-type {
    max-width: 30rem;
    margin: 1.45rem 0 0;
    color: var(--ink-soft);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    font-size: clamp(1.05rem, 1.45vw, 1.22rem);
    font-weight: 480;
    letter-spacing: -0.022em;
    line-height: 1.52;
}

.product-demo {
    width: min(100%, 38rem);
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: clamp(1.5rem, 3vw, 2.35rem);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 2rem 5rem rgba(26, 66, 47, 0.13);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
    transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.has-js .product-demo {
    opacity: 0.72;
    transform: translateY(1.25rem);
}

.has-js .feature-section.is-visible .product-demo {
    opacity: 1;
    transform: translateY(0);
}

.demo-heading,
.picture-header,
.shared-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.demo-heading > div:first-child span,
.accounts-total > span,
.picture-header > div > span,
.shared-heading > span {
    display: block;
    color: #6a7b74;
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.demo-heading > div:first-child strong,
.accounts-total > strong,
.picture-header > div > strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--ink);
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
}

.feature-subscriptions {
    background:
        radial-gradient(circle at 4% 100%, rgba(169, 223, 98, 0.2), transparent 20rem),
        #e7f3e7;
}

.subscription-demo {
    padding: clamp(1.15rem, 3vw, 2rem);
}

.demo-heading > div:first-child strong {
    font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.savings-found {
    min-width: 7rem;
    text-align: right;
}

.savings-found span,
.savings-found small {
    display: block;
    color: #61716a;
    font-size: 0.65rem;
    font-weight: 700;
}

.savings-found strong {
    display: block;
    color: var(--leaf-dark);
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.subscription-list {
    display: grid;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    gap: 0.75rem;
}

.subscription-row,
.account-row {
    display: grid;
    align-items: center;
    border: 1px solid rgba(46, 74, 62, 0.09);
    background: rgba(255, 255, 255, 0.84);
}

.subscription-row {
    padding: 0.85rem;
    gap: 0.85rem;
    grid-template-columns: auto 1fr auto;
    border-radius: 1.1rem;
    transition: opacity 520ms ease, transform 520ms ease, border-color 700ms ease, background 700ms ease;
}

.has-js .subscription-row {
    opacity: 0;
    transform: translateY(0.8rem);
}

.has-js .feature-section.is-visible .subscription-row {
    opacity: 1;
    transform: translateY(0);
}

.feature-section.is-visible .subscription-row:nth-child(2) {
    transition-delay: 120ms;
}

.feature-section.is-visible .subscription-row:nth-child(3) {
    transition-delay: 240ms;
}

.subscription-row-flagged {
    border-color: rgba(167, 132, 50, 0.28);
    background: #fffaf0;
}

.subscription-mark,
.account-symbol {
    display: grid;
    place-items: center;
    color: white;
    font-weight: 780;
}

.subscription-mark {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
}

.subscription-mark-streaming {
    background: #304d43;
}

.subscription-mark-music {
    background: #7ea96d;
}

.subscription-mark-cloud {
    background: #d29d45;
}

.subscription-name strong,
.subscription-name small,
.subscription-price strong,
.subscription-price small,
.account-row span strong,
.account-row span small {
    display: block;
}

.subscription-name strong,
.subscription-price strong,
.account-row > strong,
.account-row span strong {
    color: #233b32;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.016em;
}

.subscription-name small,
.subscription-price small,
.account-row span small {
    margin-top: 0.12rem;
    color: #748079;
    font-size: 0.7rem;
    font-weight: 550;
}

.subscription-row-flagged .subscription-name small {
    color: #9a6c17;
    font-weight: 700;
}

.subscription-price {
    text-align: right;
}

.feature-accounts {
    background:
        radial-gradient(circle at 85% 15%, rgba(244, 200, 106, 0.21), transparent 19rem),
        #fbf7ec;
}

.accounts-demo {
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.accounts-total {
    padding: 0.3rem 0.4rem clamp(1.4rem, 3vw, 2rem);
}

.accounts-total > strong {
    font-size: clamp(3.25rem, 7vw, 5.4rem);
}

.accounts-total > small {
    display: block;
    margin-top: 0.55rem;
    color: #6a7b74;
    font-size: 0.72rem;
    font-weight: 600;
}

.account-stack {
    display: grid;
    gap: 0.65rem;
}

.account-row {
    padding: 0.78rem 0.9rem;
    gap: 0.85rem;
    grid-template-columns: auto 1fr auto;
    border-radius: 1rem;
    transition: transform 560ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 560ms ease;
}

.has-js .account-row {
    opacity: 0;
    transform: translateX(-0.7rem);
}

.has-js .feature-section.is-visible .account-row {
    transform: translateX(0);
    opacity: 1;
}

.feature-section.is-visible .account-row:nth-child(2) {
    transition-delay: 100ms;
}

.feature-section.is-visible .account-row:nth-child(3) {
    transition-delay: 200ms;
}

.feature-section.is-visible .account-row:nth-child(4) {
    transition-delay: 300ms;
}

.account-symbol {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    font-size: 0.78rem;
}

.account-symbol-checking {
    background: #0f694e;
}

.account-symbol-savings {
    background: #77aa68;
}

.account-symbol-credit {
    background: #d2a34e;
}

.account-symbol-invest {
    background: #314d43;
}

.account-row > strong {
    white-space: nowrap;
}

.feature-picture {
    color: white;
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 90% 5%, rgba(169, 223, 98, 0.18), transparent 20rem),
        #0b4938;
}

.feature-picture .feature-copy h2,
.feature-picture .feature-copy > p:first-of-type {
    color: white;
}

.feature-picture .feature-copy > p:first-of-type {
    color: rgba(255, 255, 255, 0.72);
}

.picture-demo {
    padding: clamp(1.2rem, 3vw, 2rem);
    border-color: rgba(255, 255, 255, 0.16);
    background: #f8f8f1;
}

.picture-header > div > strong {
    font-size: clamp(3rem, 7vw, 5rem);
}

.picture-header > div > small {
    display: block;
    margin-top: 0.45rem;
    color: #64736d;
    font-size: 0.7rem;
    font-weight: 600;
}

.picture-status {
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    color: var(--leaf-dark);
    background: #dcf0ce;
    font-size: 0.68rem;
    font-weight: 760;
}

.cash-flow {
    display: grid;
    margin-top: clamp(1.4rem, 4vw, 2.2rem);
    gap: 0.95rem;
}

.cash-flow-row {
    display: grid;
    align-items: center;
    gap: 0.7rem;
    grid-template-columns: 3.2rem 1fr 4rem;
    color: #566860;
    font-size: 0.72rem;
    font-weight: 650;
}

.cash-flow-row > strong {
    color: #2b4138;
    font-size: 0.74rem;
    text-align: right;
}

.cash-flow-track {
    height: 0.48rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e9e2;
}

.cash-flow-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--leaf);
    transform-origin: left;
    transition: transform 1.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.has-js .cash-flow-fill {
    transform: scaleX(0);
}

.income-fill {
    background: #5fa95e;
}

.spending-fill {
    width: 64%;
    background: #d3a64c;
}

.goals-fill {
    width: 28%;
    background: #7a9a8c;
}

.has-js .feature-section.is-visible .cash-flow-fill {
    transform: scaleX(1);
}

.goal-progress {
    display: flex;
    margin-top: clamp(1.5rem, 4vw, 2.4rem);
    padding-top: 1.2rem;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid rgba(36, 66, 53, 0.1);
}

.goal-ring {
    position: relative;
    display: grid;
    width: 3.3rem;
    height: 3.3rem;
    flex: 0 0 3.3rem;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--leaf) 0 68%, #dfe7df 68% 100%);
}

.goal-ring::before {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f8f8f1;
    content: "";
}

.goal-ring i {
    position: absolute;
    color: var(--leaf-dark);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 800;
}

.goal-progress > span:last-child strong,
.goal-progress > span:last-child small {
    display: block;
}

.goal-progress > span:last-child strong {
    color: #233b32;
    font-size: 0.86rem;
}

.goal-progress > span:last-child small {
    margin-top: 0.15rem;
    color: #708078;
    font-size: 0.7rem;
}

.feature-household {
    margin-bottom: clamp(4rem, 9vw, 8rem);
    background:
        radial-gradient(circle at 8% 15%, rgba(169, 223, 98, 0.2), transparent 18rem),
        linear-gradient(145deg, #f6f5e9, #e7f2df);
}

.household-copy .feature-cta {
    margin-top: 2rem;
}

.feature-cta {
    min-width: 13.5rem;
    justify-content: space-between;
    padding-left: 1.35rem;
    font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
    font-size: 1rem;
    letter-spacing: -0.025em;
}

.feature-cta span {
    padding: 0.28rem 0.52rem;
    border-radius: 999px;
    color: var(--leaf-dark);
    background: var(--lime);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.download-status {
    min-height: 1.4rem;
    margin: 0.75rem 0 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.household-demo {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.household-people {
    display: grid;
    width: min(100%, 20rem);
    margin: 0 auto 1.4rem;
    align-items: center;
    grid-template-columns: auto 1fr auto;
}

.person {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
}

.person i {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    place-items: center;
    border: 0.2rem solid white;
    border-radius: 50%;
    color: white;
    background: var(--leaf-dark);
    box-shadow: 0 0.7rem 1.4rem rgba(24, 72, 51, 0.16);
    font-style: normal;
    font-weight: 800;
}

.person-partner i {
    color: #4e3b16;
    background: var(--gold);
}

.person small {
    color: #596b63;
    font-size: 0.68rem;
    font-weight: 700;
}

.household-link {
    position: relative;
    height: 1px;
    margin: 0 0.65rem 1rem;
    background: rgba(10, 82, 61, 0.18);
    transition: transform 1.2s 260ms ease;
}

.has-js .household-link {
    transform: scaleX(0);
}

.household-link i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0.35rem rgba(169, 223, 98, 0.22);
    transform: translate(-50%, -50%);
}

.has-js .feature-section.is-visible .household-link {
    transform: scaleX(1);
}

.shared-finances {
    padding: clamp(1.15rem, 3vw, 1.75rem);
    border: 1px solid rgba(39, 79, 61, 0.1);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.8);
}

.shared-heading strong {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    color: var(--leaf-dark);
    background: #e4f3d7;
    font-size: 0.65rem;
}

.shared-metrics {
    display: grid;
    margin-top: 1.35rem;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shared-metrics > span {
    min-width: 0;
}

.shared-metrics small,
.shared-metrics strong {
    display: block;
}

.shared-metrics small {
    color: #6c7c75;
    font-size: 0.66rem;
    font-weight: 700;
}

.shared-metrics strong {
    margin-top: 0.2rem;
    color: var(--leaf-dark);
    font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
    white-space: nowrap;
}

.shared-progress {
    height: 0.28rem;
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(10, 82, 61, 0.1);
}

.shared-progress span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lime), var(--leaf));
    transform-origin: left;
    transition: transform 1.5s 380ms ease;
}

.has-js .shared-progress span {
    transform: scaleX(0);
}

.has-js .feature-section.is-visible .shared-progress span {
    transform: scaleX(1);
}

.shared-finances p {
    margin: 0.6rem 0 0;
    color: #6b7c74;
    font-size: 0.66rem;
    font-weight: 650;
    text-align: right;
}

.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: #30463e;
}

.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 (max-width: 760px) {
    .site-header {
        padding: 1.15rem 1.25rem 0;
    }

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

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

    .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;
    }

    .button-small {
        display: none;
    }

    .dream-hero {
        min-height: 82svh;
        min-height: 82dvh;
        height: auto;
        align-content: center;
        gap: clamp(1.25rem, 2.7vh, 1.65rem);
        padding: 6.25rem 1.25rem clamp(2.2rem, 4.5vh, 3.25rem);
        grid-template-rows: auto auto auto;
    }

    .dream-hero h1 {
        max-width: 11ch;
        font-size: clamp(3.2rem, 13.3vw, 4.2rem);
        line-height: 0.84;
        row-gap: 0.14em;
    }

    .dream-hero-copy > p {
        max-width: 21rem;
        margin: 1rem auto 0;
        font-size: clamp(1.04rem, 4.35vw, 1.12rem);
        font-weight: 500;
        line-height: 1.4;
    }

    .hero-button {
        width: auto;
        min-width: min(14.5rem, calc(100vw - 3rem));
        min-height: 3.5rem;
    }

    .dream-hero-action {
        transform: translateY(1rem);
    }

    .dream-gallery {
        width: min(100%, 22rem);
        min-height: 0;
        align-items: center;
        gap: 0.7rem;
    }

    .dream-image {
        width: 100%;
        height: auto;
        min-height: 0;
        border-radius: 50%;
        box-shadow: 0 0.9rem 2.2rem rgba(19, 65, 47, 0.07);
    }

    .one-number {
        padding-top: 3.5rem;
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .one-number-copy {
        text-align: center;
    }

    .one-number h2 {
        max-width: none;
    }

    .one-number-copy > p:not(.section-kicker) {
        max-width: 22rem;
        margin-inline: auto;
    }

    .budget-card {
        width: 100%;
        justify-self: center;
        border-radius: 1.6rem;
    }

    .budget-card-ui {
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .budget-metrics {
        gap: 0.65rem;
    }

    .budget-metric {
        padding: 0.82rem;
    }

    .feature-section,
    .feature-reverse {
        min-height: 0;
        padding: 2.2rem 1.15rem 1.15rem;
        gap: 2rem;
        grid-template-columns: 1fr;
        border-radius: 1.8rem;
    }

    .feature-reverse .feature-copy,
    .feature-reverse .product-demo {
        grid-row: auto;
        grid-column: 1;
    }

    .feature-copy {
        padding-inline: 0.35rem;
        text-align: center;
    }

    .feature-copy h2 {
        max-width: 11ch;
        margin-inline: auto;
        font-size: clamp(2.65rem, 12vw, 3.65rem);
    }

    .feature-copy > p:first-of-type {
        max-width: 22rem;
        margin: 1rem auto 0;
        font-size: 1.02rem;
    }

    .product-demo {
        width: 100%;
        border-radius: 1.4rem;
    }

    .subscription-demo,
    .accounts-demo,
    .picture-demo,
    .household-demo {
        padding: 1rem;
    }

    .demo-heading > div:first-child strong {
        font-size: 1.35rem;
    }

    .savings-found strong {
        font-size: 2.2rem;
    }

    .subscription-list {
        margin-top: 1.25rem;
        gap: 0.55rem;
    }

    .subscription-row {
        padding: 0.72rem;
        gap: 0.7rem;
    }

    .accounts-total > strong,
    .picture-header > div > strong {
        font-size: clamp(2.8rem, 14vw, 4rem);
    }

    .account-row {
        padding: 0.7rem;
        gap: 0.65rem;
    }

    .cash-flow-row {
        gap: 0.5rem;
        grid-template-columns: 2.8rem 1fr 3.5rem;
    }

    .household-copy .feature-cta {
        margin-top: 1.5rem;
    }

    .household-copy .download-status {
        margin-inline: auto;
    }

    .feature-household {
        margin-bottom: 3.5rem;
    }

    .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;
    }
}
