:root {
    color-scheme: light;
    --accent: #30ca63;
    --accent-strong: #20ad4d;
    --accent-soft: #e7f8ed;
    --ink: #151816;
    --muted: #626a65;
    --line: #e4e9e5;
    --surface: #ffffff;
    --canvas: #f6f8f6;
    --dark: #101412;
    --radius: 24px;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(228, 233, 229, .9);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
}

.nav,
.content {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 750;
    letter-spacing: -.02em;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
}

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }

.hero {
    overflow: hidden;
    padding: 92px 0 84px;
    background:
        radial-gradient(circle at 75% 20%, rgba(48, 202, 99, .17), transparent 34%),
        linear-gradient(180deg, #fff 0%, var(--canvas) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    align-items: center;
    gap: 72px;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #187f38;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin: 22px 0 20px; font-size: clamp(48px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.lead { max-width: 640px; color: var(--muted); font-size: 19px; line-height: 1.55; }

.store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.store-button {
    min-height: 58px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 22px;
    border: 1px solid var(--dark);
    border-radius: 16px;
    background: var(--dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(16, 20, 18, .12);
    transition: transform .18s ease, box-shadow .18s ease;
}

.store-button:hover, .store-button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 20, 18, .18); }
.store-button small { font-size: 11px; line-height: 1.1; opacity: .72; }
.store-button strong { font-size: 17px; line-height: 1.3; }
.store-button.secondary { border-color: #d9dfda; background: #fff; color: var(--ink); }

.app-showcase {
    position: relative;
    width: min(430px, 100%);
    margin-left: auto;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 40px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 30px 80px rgba(32, 96, 54, .16);
    text-align: center;
}

.app-icon { width: 148px; height: 148px; border-radius: 33px; box-shadow: 0 18px 38px rgba(30, 121, 57, .2); }
.app-showcase h2 { margin: 25px 0 7px; font-size: 30px; }
.app-showcase p { margin-bottom: 0; color: var(--muted); }

.section { padding: 90px 0; }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading p { color: var(--muted); font-size: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
    min-height: 200px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.feature-index { display: block; margin-bottom: 28px; color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.security-band {
    padding: 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    border-radius: 34px;
    background: var(--dark);
    color: #fff;
}
.security-band p, .security-band li { color: #bac4bd; }
.security-band ul { margin: 0; padding-left: 20px; }

.page-hero { padding: 72px 0 40px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero .content { max-width: 880px; }
.page-hero h1 { font-size: clamp(42px, 7vw, 68px); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 18px; }

.policy { max-width: 880px; padding: 56px 0 96px; }
.policy article { padding: 34px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.policy article p:last-child, .policy article ul:last-child { margin-bottom: 0; }
.policy li { margin-bottom: 8px; }
.policy a { color: #147b35; }
.updated { color: var(--muted); font-size: 14px; }

.deletion-guide h2 { margin-bottom: 16px; font-size: clamp(25px, 4vw, 34px); }
.step-label { display: inline-block; margin-bottom: 12px; color: #187f38; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.request-details { margin: 24px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.request-details div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 14px 16px; background: var(--canvas); }
.request-details div + div { border-top: 1px solid var(--line); }
.request-details dt { color: var(--muted); font-weight: 700; }
.request-details dd { margin: 0; overflow-wrap: anywhere; }
.request-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 14px; background: var(--accent-strong); color: #fff !important; font-weight: 750; text-decoration: none; }
.request-button:hover, .request-button:focus-visible { background: #188e3e; }
.response-note { margin-top: 18px; color: var(--muted); }

.invite-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; background: radial-gradient(circle at 50% 0%, #e2f7e9, #f7f9f7 44%); }
.invite-card {
    width: min(520px, 100%);
    padding: 46px;
    border: 1px solid rgba(224, 231, 225, .9);
    border-radius: 34px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 26px 70px rgba(25, 73, 40, .14);
    text-align: center;
}
.invite-card .app-icon { width: 112px; height: 112px; border-radius: 25px; }
.invite-card h1 { margin: 28px 0 14px; font-size: 38px; line-height: 1.08; }
.invite-card > p { color: var(--muted); }
.invite-card .store-actions { display: grid; margin-top: 28px; }
.invite-card .store-button { width: 100%; }
.invite-note { margin: 20px 0 0; font-size: 13px; }
.invite-home { display: inline-block; margin-top: 28px; color: var(--muted); font-size: 14px; text-decoration: none; }

.site-footer { padding: 32px 0; border-top: 1px solid var(--line); background: #fff; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-row a { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 820px) {
    .hero { padding-top: 64px; }
    .hero-grid, .security-band { grid-template-columns: 1fr; }
    .app-showcase { margin: 0 auto; }
    .feature-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 14px; font-size: 14px; }
}

@media (max-width: 560px) {
    .nav, .content { width: min(100% - 28px, 1120px); }
    .nav-links a:first-child { display: none; }
    h1 { font-size: 46px; }
    .hero { padding: 48px 0 58px; }
    .hero-grid { gap: 44px; }
    .app-showcase { padding: 30px 22px; border-radius: 28px; }
    .section { padding: 64px 0; }
    .security-band { padding: 30px; border-radius: 26px; }
    .store-actions { display: grid; }
    .store-button { width: 100%; }
    .invite-card { padding: 34px 22px; border-radius: 28px; }
    .policy article { padding: 26px 22px; }
    .request-details div { grid-template-columns: 1fr; gap: 2px; }
    .request-button { width: 100%; }
    .footer-row { align-items: flex-start; flex-direction: column; }
}
