:root {
    --primary: #2E8B57;
    --primary-hover: #287B4E;
    --primary-strong: #1F6B42;
    --primary-dark: #195A37;
    --primary-soft: #EAF6EF;

    --background: #FBFCFB;
    --surface: #FFFFFF;
    --surface-muted: #F3F7F4;

    --text-primary: #172019;
    --text-body: #38443D;
    --text-secondary: #566159;

    --border: #DDE5E0;
    --border-strong: #CBD8D0;

    --shadow-soft: 0 18px 48px rgba(23, 32, 25, 0.08);
    --shadow-card: 0 8px 24px rgba(23, 32, 25, 0.05);

    --max-width: 1180px;
    --reading-width: 820px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


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


body {
    min-width: 320px;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);
    color: var(--text-body);

    font-size: 16px;
    line-height: 1.65;

    overflow-wrap: break-word;
}


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


a {
    color: inherit;
    text-decoration: none;
}


a:focus-visible {
    outline: 3px solid rgba(31, 107, 66, 0.32);
    outline-offset: 4px;
    border-radius: 6px;
}


.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;

    padding: 10px 14px;

    border-radius: 10px;

    background: var(--primary-dark);
    color: #FFFFFF;

    font-size: 15px;
    font-weight: 750;

    transform: translateY(-160%);
}


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


.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid var(--border);

    background: rgba(251, 252, 251, 0.96);
}


@supports (backdrop-filter: blur(14px)) {

    .site-header {
        background: rgba(251, 252, 251, 0.9);
        backdrop-filter: blur(14px);
    }

}


.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


.brand {
    min-height: 44px;

    display: inline-flex;
    align-items: center;

    color: var(--primary);

    font-size: 25px;
    font-weight: 850;
    letter-spacing: -0.65px;
}


.nav-links {
    display: flex;
    align-items: center;

    gap: 4px;

    color: var(--text-secondary);

    font-size: 15px;
    font-weight: 650;
}


.nav-links a {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 12px;

    border-radius: 10px;

    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}


.nav-links a:hover {
    color: var(--primary-strong);
    background: var(--primary-soft);
}


.nav-links a[aria-current="page"] {
    color: var(--primary-strong);
    background: var(--primary-soft);

    font-weight: 750;
}


.nav-delete-short {
    display: none;
}


/* HERO */

.hero {
    padding: 96px 0 108px;
}


.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: center;

    gap: clamp(52px, 7vw, 92px);
}


.hero-label {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--primary-strong);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}


.hero h1 {
    max-width: 720px;

    color: var(--text-primary);

    font-size: clamp(48px, 5.8vw, 74px);
    font-weight: 820;
    line-height: 1.04;
    letter-spacing: -2.8px;
}


.hero h1 span {
    color: var(--primary);
}


.hero-content > p {
    max-width: 620px;

    margin-top: 26px;

    color: var(--text-body);

    font-size: 19px;
    font-weight: 450;
    line-height: 1.68;
}


.hero-actions {
    margin-top: 34px;
}


.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 25px;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
}


.primary-button {
    border: 1px solid var(--primary-hover);

    background: var(--primary-hover);
    color: #FFFFFF;

    box-shadow: 0 10px 24px rgba(46, 139, 87, 0.18);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}


a.primary-button:hover {
    transform: translateY(-2px);

    border-color: var(--primary-strong);
    background: var(--primary-strong);

    box-shadow: 0 13px 28px rgba(46, 139, 87, 0.22);
}


.status-button {
    cursor: default;
}


.status-button::before {
    width: 8px;
    height: 8px;

    margin-right: 10px;

    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;

    content: "";
}


/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
}


.mascot-placeholder {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 34px;

    border: 1px solid var(--border);
    border-radius: 36px;

    background: var(--surface);

    box-shadow: var(--shadow-soft);
}


.hero-app-icon {
    width: 156px;
    height: 156px;

    border-radius: 34px;
}


.mascot-placeholder p {
    margin-top: 22px;

    color: var(--text-primary);

    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.25px;
}


/* FEATURES */

.features {
    padding: 94px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: var(--surface-muted);
}


.section-heading {
    max-width: 680px;

    margin-bottom: 44px;
}


.section-heading span {
    color: var(--primary-strong);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
}


.section-heading h2 {
    margin-top: 11px;

    color: var(--text-primary);

    font-size: clamp(34px, 4vw, 47px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -1.4px;
}


.section-heading p {
    margin-top: 15px;

    color: var(--text-body);

    font-size: 18px;
    line-height: 1.65;
}


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

    gap: 20px;
}


.feature-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface);

    box-shadow: var(--shadow-card);
}


.feature-number {
    width: fit-content;

    margin-bottom: 25px;
    padding: 5px 10px;

    border-radius: 999px;

    color: var(--primary-strong);
    background: var(--primary-soft);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}


.feature-card h3 {
    margin-bottom: 10px;

    color: var(--text-primary);

    font-size: 21px;
    font-weight: 760;
    line-height: 1.3;
}


.feature-card p {
    color: var(--text-body);

    font-size: 16px;
    font-weight: 430;
    line-height: 1.7;
}


/* FOOTER */

.site-footer {
    padding: 56px 0 28px;

    background: var(--surface);
}


.footer-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 44px;
}


.footer-brand {
    display: inline-block;

    color: var(--primary);

    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.45px;
}


.footer-container p {
    margin-top: 7px;

    color: var(--text-secondary);

    font-size: 15.5px;
    font-weight: 450;
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 6px 10px;

    color: var(--text-secondary);

    font-size: 15px;
    font-weight: 650;
}


.footer-links a {
    min-height: 44px;

    display: inline-flex;
    align-items: center;

    padding: 8px 9px;

    border-radius: 9px;

    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}


.footer-links a:hover,
.footer-links a[aria-current="page"] {
    color: var(--primary-strong);
    background: var(--primary-soft);
}


.footer-bottom {
    margin-top: 35px;
    padding-top: 22px;

    border-top: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 14px;
    font-weight: 450;
}


/* LEGAL PAGES */

.legal-page {
    min-height: 70vh;
}


.legal-hero {
    padding: 72px 0 54px;

    border-bottom: 1px solid var(--border);

    background: var(--surface-muted);
}


.legal-container {
    max-width: var(--reading-width);
}


.deletion-page .legal-container {
    max-width: 1000px;
}


.legal-label {
    color: var(--primary-strong);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
}


.legal-hero h1 {
    margin-top: 12px;

    color: var(--text-primary);

    font-size: clamp(42px, 5.5vw, 60px);
    font-weight: 820;
    line-height: 1.08;
    letter-spacing: -1.9px;
}


.legal-intro {
    max-width: 720px;

    margin-top: 20px;

    color: var(--text-body);

    font-size: 19px;
    font-weight: 430;
    line-height: 1.7;
}


.legal-updated {
    width: fit-content;

    margin-top: 22px;
    padding: 6px 10px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--text-secondary);
    background: var(--surface);

    font-size: 14px;
    font-weight: 650;
}


.legal-content {
    padding: 24px 0 96px;
}


.legal-section {
    padding: 40px 0;

    border-bottom: 1px solid var(--border);

    scroll-margin-top: 110px;
}


.legal-section:last-child {
    border-bottom: 0;
}


.legal-section h2 {
    margin-bottom: 18px;

    color: var(--text-primary);

    font-size: 29px;
    font-weight: 780;
    line-height: 1.28;
    letter-spacing: -0.55px;
}


.legal-section h3 {
    margin-top: 30px;
    margin-bottom: 10px;

    color: var(--text-primary);

    font-size: 21px;
    font-weight: 740;
    line-height: 1.35;
}


.legal-section p {
    margin-top: 15px;

    color: var(--text-body);

    font-size: 17px;
    font-weight: 420;
    line-height: 1.78;
}


.legal-section ul,
.legal-section ol {
    margin-top: 18px;
    margin-left: 24px;

    color: var(--text-body);

    font-size: 17px;
}


.legal-section li {
    margin-bottom: 11px;
    padding-left: 5px;

    line-height: 1.72;
}


.legal-section li::marker {
    color: var(--primary-strong);
    font-weight: 750;
}


.legal-section strong {
    color: var(--text-primary);
    font-weight: 720;
}


.legal-section a:not(.primary-button):not(.secondary-button) {
    color: var(--primary-strong);

    font-weight: 680;
    text-decoration: underline;
    text-decoration-color: rgba(31, 107, 66, 0.42);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}


.legal-section a:not(.primary-button):not(.secondary-button):hover {
    color: var(--primary-dark);
    text-decoration-color: currentColor;
}


.legal-contact-card {
    margin-top: 25px;
    padding: 24px 26px;

    border: 1px solid var(--border-strong);
    border-radius: 16px;

    background: var(--surface-muted);
}


.legal-contact-card > strong {
    color: var(--primary-strong);

    font-size: 19px;
    font-weight: 780;
}


.legal-contact-card p {
    margin-top: 8px;
}


.contact-email {
    overflow-wrap: anywhere;
}


/* 404 PAGE */

.error-page {
    min-height: calc(100vh - 290px);

    display: flex;
    align-items: center;

    padding: 92px 0;
}


.error-container {
    max-width: 760px;

    padding: clamp(38px, 6vw, 64px);

    border: 1px solid var(--border);
    border-radius: 28px;

    background: var(--surface);

    box-shadow: var(--shadow-card);

    text-align: center;
}


.error-code {
    display: block;

    margin-bottom: 13px;

    color: var(--primary-strong);

    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.12em;
}


.error-container h1 {
    color: var(--text-primary);

    font-size: clamp(43px, 7vw, 66px);
    font-weight: 820;
    line-height: 1.06;
    letter-spacing: -2px;
}


.error-container p {
    max-width: 590px;

    margin: 22px auto 31px;

    color: var(--text-body);

    font-size: 18px;
    line-height: 1.72;
}


/* ACCOUNT DELETION PAGE */

.deletion-overview {
    padding-bottom: 8px;
}


.deletion-notice {
    padding: 25px 27px;

    border: 1px solid rgba(31, 107, 66, 0.28);
    border-radius: 16px;

    background: var(--primary-soft);
}


.deletion-notice > strong {
    color: var(--primary-dark);

    font-size: 19px;
    font-weight: 780;
}


.deletion-notice p {
    margin-top: 7px;
}


.deletion-method-grid,
.deletion-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 27px;
}


.deletion-method-card {
    display: flex;
    flex-direction: column;

    padding: 28px;

    border: 1px solid var(--border-strong);
    border-radius: 20px;

    background: var(--surface);
}


.deletion-method-card-primary {
    border-color: rgba(31, 107, 66, 0.36);

    box-shadow: 0 14px 34px rgba(31, 107, 66, 0.08);
}


.deletion-eyebrow {
    color: var(--primary-strong);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.075em;
}


.deletion-method-card h3 {
    margin-top: 13px;
    margin-bottom: 0;

    font-size: 23px;
}


.deletion-method-card > p {
    margin-top: 11px;
}


.deletion-steps {
    margin: 20px 0 0 22px;
}


.deletion-request-button {
    width: 100%;

    margin-top: auto;
}


.deletion-email-fallback {
    overflow-wrap: anywhere;

    font-size: 15px !important;
    line-height: 1.7 !important;
}


.deletion-data-card {
    padding: 26px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--surface-muted);
}


.deletion-data-card h3 {
    margin-top: 0;
    margin-bottom: 0;

    font-size: 21px;
}


.deletion-data-card ul {
    margin-top: 16px;
}


.deletion-local-note {
    margin-top: 24px !important;
    padding: 19px 21px;

    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;

    background: var(--surface-muted);
}


.secondary-button {
    margin-top: 24px;

    border: 1px solid rgba(31, 107, 66, 0.42);

    color: var(--primary-strong);
    background: var(--surface);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
}


.secondary-button:hover {
    transform: translateY(-2px);

    border-color: var(--primary-strong);
    background: var(--primary-soft);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
        gap: 42px;
    }


    .feature-grid {
        gap: 16px;
    }


    .feature-card {
        padding: 25px;
    }

}


@media (max-width: 780px) {

    .hero {
        padding: 68px 0 78px;
    }


    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }


    .hero-visual {
        justify-content: flex-start;
    }


    .mascot-placeholder {
        width: 100%;
        max-width: 420px;
        aspect-ratio: auto;

        padding: 42px 32px;
    }


    .feature-grid,
    .deletion-method-grid,
    .deletion-data-grid {
        grid-template-columns: 1fr;
    }


    .feature-card {
        padding: 28px;
    }

}


@media (max-width: 720px) {

    .nav-container {
        min-height: auto;

        flex-wrap: wrap;

        row-gap: 5px;

        padding: 10px 0 7px;
    }


    .brand {
        min-height: 40px;

        font-size: 23px;
    }


    .nav-links {
        order: 2;

        width: 100%;

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 3px;

        padding-top: 5px;

        border-top: 1px solid var(--border);
    }


    .nav-links a {
        min-height: 44px;

        padding: 8px 3px;

        font-size: 14px;
        text-align: center;
    }


    .nav-delete-full {
        display: none;
    }


    .nav-delete-short {
        display: inline;
    }


    .legal-section {
        scroll-margin-top: 125px;
    }

}


@media (max-width: 600px) {

    .container {
        width: min(calc(100% - 32px), var(--max-width));
    }


    .hero h1 {
        font-size: clamp(34px, 10.5vw, 48px);
        line-height: 1.06;
        letter-spacing: -1.8px;
    }


    .hero-content > p {
        margin-top: 22px;

        font-size: 18px;
        line-height: 1.65;
    }


    .primary-button,
    .secondary-button {
        min-height: 56px;

        font-size: 16px;
    }


    .features {
        padding: 72px 0;
    }


    .section-heading {
        margin-bottom: 34px;
    }


    .section-heading h2 {
        font-size: 36px;
    }


    .section-heading p {
        font-size: 17px;
    }


    .footer-container {
        flex-direction: column;

        gap: 24px;
    }


    .footer-links {
        width: 100%;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 5px 8px;
    }


    .footer-links a {
        justify-content: flex-start;

        padding-inline: 0;
    }


    .footer-bottom {
        margin-top: 26px;
    }


    .legal-hero {
        padding: 53px 0 43px;
    }


    .legal-hero h1 {
        font-size: clamp(34px, 9.5vw, 46px);
        letter-spacing: -1.35px;
    }


    .legal-intro {
        margin-top: 17px;

        font-size: 18px;
        line-height: 1.68;
    }


    .legal-content {
        padding: 16px 0 72px;
    }


    .legal-section {
        padding: 33px 0;
    }


    .legal-section h2 {
        font-size: 25px;
        letter-spacing: -0.35px;
    }


    .legal-section h3 {
        font-size: 20px;
    }


    .legal-section p,
    .legal-section ul,
    .legal-section ol {
        font-size: 17px;
    }


    .legal-contact-card,
    .deletion-notice,
    .deletion-method-card,
    .deletion-data-card {
        padding: 21px;
    }


    .deletion-method-card h3 {
        font-size: 21px;
    }


    .deletion-request-button,
    .secondary-button {
        width: 100%;
    }


    .error-page {
        min-height: calc(100vh - 330px);

        padding: 64px 0;
    }


    .error-container {
        padding: 36px 20px;

        border-radius: 22px;
    }


    .error-container h1 {
        font-size: 42px;
        letter-spacing: -1.4px;
    }


    .error-container p {
        font-size: 17px;
    }

}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    .skip-link,
    .nav-links a,
    .footer-links a,
    .primary-button,
    .secondary-button {
        transition: none;
    }


    a.primary-button:hover,
    .secondary-button:hover {
        transform: none;
    }

}


@media print {

    .site-header,
    .site-footer,
    .skip-link {
        display: none;
    }


    body {
        color: #000000;
        background: #FFFFFF;
    }


    .legal-hero {
        padding: 0 0 28px;

        background: #FFFFFF;
    }


    .legal-content {
        padding: 0;
    }


    .legal-section {
        break-inside: avoid;
    }

}
