:root {
    color-scheme: light;
    --ink: #17352d;
    --ink-soft: #50685f;
    --meadow: #2f7b56;
    --meadow-deep: #1e5c40;
    --mint: #bcebd2;
    --sun: #f9c859;
    --coral: #ff6c61;
    --cream: #fffaf0;
    --paper: rgba(255, 255, 255, 0.86);
    --line: rgba(23, 53, 45, 0.14);
    --shadow: 0 26px 70px rgba(39, 74, 57, 0.16);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 6%, rgba(249, 200, 89, 0.34), transparent 24rem),
        radial-gradient(circle at 10% 42%, rgba(188, 235, 210, 0.72), transparent 30rem),
        linear-gradient(180deg, #f9f4df 0%, #f1f7e8 48%, #dcebd6 100%);
    font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
    line-height: 1.65;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: 0.18;
    background-image: radial-gradient(rgba(23, 53, 45, 0.5) 0.55px, transparent 0.55px);
    background-size: 10px 10px;
    pointer-events: none;
}

a {
    color: var(--meadow-deep);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: #123c2a;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    padding: 10px 14px;
    color: white;
    background: var(--ink);
    border-radius: 10px;
    transform: translateY(-160%);
}

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

.shell {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-family: ui-rounded, "Avenir Next Rounded", "Trebuchet MS", sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(23, 53, 45, 0.18);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: clamp(36px, 7vw, 86px);
    padding: clamp(54px, 9vw, 112px) 0 72px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--meadow-deep);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 11px;
    height: 11px;
    content: "";
    background: var(--coral);
    border-radius: 50% 0 50% 50%;
    transform: rotate(-28deg);
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: ui-rounded, "Avenir Next Rounded", "Trebuchet MS", sans-serif;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 7.2vw, 6.6rem);
}

.legal-page h1 {
    font-size: clamp(2.7rem, 6vw, 5.4rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.lead {
    max-width: 660px;
    margin: 0 0 28px;
    color: var(--ink-soft);
    font-family: "Iowan Old Style", Palatino, "Book Antiqua", serif;
    font-size: clamp(1.18rem, 2.2vw, 1.55rem);
}

.status-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.status,
.tag {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.status {
    color: white;
    background: var(--meadow-deep);
    border-color: transparent;
}

.tag {
    background: rgba(255, 255, 255, 0.62);
}

.app-portrait {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 440px;
}

.app-portrait::before,
.app-portrait::after {
    position: absolute;
    content: "";
    border-radius: 999px;
}

.app-portrait::before {
    width: 92%;
    height: 92%;
    background: linear-gradient(145deg, rgba(47, 123, 86, 0.95), rgba(30, 92, 64, 0.78));
    box-shadow: var(--shadow);
    transform: rotate(5deg);
}

.app-portrait::after {
    width: 78%;
    height: 34%;
    right: -2%;
    bottom: 8%;
    background: #e8d5a7;
    clip-path: polygon(0 55%, 20% 34%, 42% 48%, 62% 17%, 100% 0, 100% 34%, 63% 49%, 44% 76%, 20% 62%, 0 88%);
    opacity: 0.9;
}

.app-portrait img {
    position: relative;
    z-index: 2;
    width: min(76%, 340px);
    border: 8px solid rgba(255, 255, 255, 0.72);
    border-radius: 26%;
    box-shadow: 0 32px 60px rgba(14, 49, 34, 0.28);
    animation: arrive 850ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes arrive {
    from {
        opacity: 0;
        transform: translateY(28px) rotate(-2deg) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
    }
}

.section {
    padding: 70px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-heading p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    padding: clamp(24px, 4vw, 38px);
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--radius);
    box-shadow: 0 18px 54px rgba(39, 74, 57, 0.09);
    backdrop-filter: blur(16px);
}

.card p:last-child,
.legal-card p:last-child {
    margin-bottom: 0;
}

.number {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 28px;
    color: white;
    background: var(--coral);
    border-radius: 15px 15px 5px 15px;
    font-weight: 900;
}

.transparency {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 20px;
    align-items: stretch;
}

.transparency .card:first-child {
    color: white;
    background: var(--ink);
}

.transparency .card:first-child p {
    color: #d6e7df;
}

.legal-hero {
    padding: clamp(52px, 9vw, 100px) 0 36px;
}

.legal-hero .lead {
    max-width: 780px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    padding-bottom: 90px;
}

.legal-nav {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 10px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.legal-nav a {
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.legal-card {
    padding: clamp(26px, 5vw, 58px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.legal-card section + section {
    padding-top: 34px;
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.language-divider {
    height: 10px;
    margin: 64px 0;
    background: repeating-linear-gradient(90deg, var(--meadow) 0 36px, transparent 36px 50px, var(--sun) 50px 62px, transparent 62px 78px);
    border-radius: 999px;
    opacity: 0.55;
}

.notice {
    padding: 18px 20px;
    margin: 22px 0;
    color: #62321e;
    background: #fff0d7;
    border-left: 5px solid var(--coral);
    border-radius: 6px 18px 18px 6px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 0 48px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-size: 0.86rem;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 820px) {
    .hero,
    .transparency,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-portrait {
        min-height: 360px;
    }
}

@media (max-width: 620px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 38px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

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

    .app-portrait img {
        animation: none;
    }
}
