:root {
    --mdl-green: #09c44d;
    --mdl-green-dark: #078a36;
    --mdl-green-deep: #064e2f;
    --mdl-ink: #0f172a;
    --mdl-muted: #64748b;
    --mdl-line: rgba(15, 23, 42, 0.08);
    --mdl-paper: #f7f8f6;
    --mdl-white: #ffffff;
    --mdl-display: "Fraunces", Georgia, serif;
    --mdl-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--mdl-body);
    color: var(--mdl-ink);
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(9, 196, 77, 0.16), transparent 60%),
        radial-gradient(700px 380px at 0% 0%, rgba(9, 196, 77, 0.08), transparent 55%),
        var(--mdl-paper);
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, summary { font: inherit; }

.mdl-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--mdl-ink);
    color: #fff;
    padding: 0.65rem 0.9rem;
    border-radius: 0.6rem;
    z-index: 30;
}
.mdl-skip:focus { top: 1rem; }

.mdl-wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.mdl-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.mdl-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.5rem;
    gap: 1rem;
}
.mdl-logo img { width: 156px; height: auto; }
.mdl-nav-links { display: flex; align-items: center; gap: 1.15rem; }
.mdl-nav-links a:not(.mdl-btn) {
    position: relative;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    color: #475569;
    padding: 0.35rem 0;
}
.mdl-nav-links a:not(.mdl-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--mdl-green);
}
.mdl-nav-links a:not(.mdl-btn):hover { color: var(--mdl-green-deep); }
.mdl-nav-links a:not(.mdl-btn):hover::after { width: 100%; }

.mdl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.mdl-btn-primary {
    background: var(--mdl-green);
    color: #fff;
    box-shadow: 0 8px 20px rgba(9, 196, 77, 0.28);
}
.mdl-btn-primary:hover { background: var(--mdl-green-dark); }
.mdl-btn-ink {
    background: var(--mdl-ink);
    color: #fff;
}
.mdl-btn-ink:hover { background: #1e293b; }
.mdl-btn-block { width: 100%; min-height: 3.25rem; white-space: normal; text-align: center; }
.mdl-hero, .mdl-copy, .mdl-choice, .mdl-card { min-width: 0; }
.mdl-btn:focus-visible,
a:focus-visible,
summary:focus-visible,
button:focus-visible {
    outline: 3px solid var(--mdl-green-dark);
    outline-offset: 3px;
}

.mdl-stage { padding: 2.75rem 0 3.5rem; }
.mdl-hero {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.75rem;
}
.mdl-copy h1 {
    margin: 0 0 0.85rem;
    font-family: var(--mdl-display);
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
}
.mdl-copy em {
    font-style: italic;
    font-weight: 700;
    color: var(--mdl-green-dark);
}
.mdl-copy p {
    margin: 0;
    max-width: 34rem;
    color: #475569;
    font-size: 1.08rem;
}
.mdl-devices {
    position: relative;
    display: flex;
    justify-content: center;
    height: 360px;
    margin: 0;
}
.mdl-phone {
    width: min(220px, 100%);
    height: 360px;
    padding: 10px;
    border-radius: 32px;
    background: #0f172a;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.16);
}
.mdl-phone-back { display: none; }
.mdl-screen {
    height: 100%;
    border-radius: 24px;
    background: #fff;
    padding: 1.35rem 0.85rem 0.85rem;
    overflow: hidden;
}
.mdl-screen-kicker,
.mdl-screen-title,
.mdl-line,
.mdl-notice,
.mdl-grade { margin: 0; }
.mdl-screen-kicker {
    color: #078a36;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mdl-screen-title {
    margin-top: 0.15rem;
    font-family: var(--mdl-display);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    letter-spacing: -0.03em;
}
.mdl-pills {
    display: flex;
    gap: 0.35rem;
    margin: 0.85rem 0 0.7rem;
}
.mdl-pills span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #09c44d;
}
.mdl-pills .is-off { background: #e2e8f0; }
.mdl-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.78rem;
}
.mdl-line b { color: #078a36; font-weight: 700; }
.mdl-line .is-soft { color: #64748b; }
.mdl-notice {
    margin-top: 0.85rem;
    padding: 0.75rem;
    border-radius: 0.9rem;
    background: #f4fbf6;
}
.mdl-notice span,
.mdl-grade span {
    display: block;
    color: #078a36;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.mdl-notice strong,
.mdl-grade strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.95rem;
}
.mdl-notice em {
    display: block;
    margin-top: 0.15rem;
    color: #64748b;
    font-style: normal;
    font-size: 0.78rem;
}
.mdl-grade {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.9rem;
    background: #0f172a;
    color: #fff;
}
.mdl-grade span { color: #86efac; }
.mdl-grade strong {
    margin: 0;
    font-family: var(--mdl-display);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    letter-spacing: -0.04em;
}

.mdl-choice {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.mdl-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: var(--mdl-white);
    border: 1px solid var(--mdl-line);
    border-radius: 1.5rem;
    padding: 1.35rem 1.35rem 1.25rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}
.mdl-card-android { box-shadow: 0 18px 40px rgba(9, 196, 77, 0.08); }
.mdl-card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.mdl-mark {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    background: #e8f9ee;
    color: var(--mdl-green-deep);
    flex-shrink: 0;
}
.mdl-mark svg { width: 1.35rem; height: 1.35rem; }
.mdl-mark-ink { background: #f1f5f9; color: var(--mdl-ink); }
.mdl-platform, .mdl-meta { margin: 0; }
.mdl-platform {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mdl-green-deep);
}
.mdl-meta { color: var(--mdl-muted); font-size: 0.92rem; }
.mdl-card h2 {
    margin: 0;
    font-family: var(--mdl-display);
    font-size: clamp(1.7rem, 2vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.mdl-card > p { margin: 0; color: #334155; }
.mdl-wait { font-weight: 700; }

.mdl-verify {
    border-top: 1px solid var(--mdl-line);
    padding-top: 0.85rem;
}
.mdl-verify summary {
    cursor: pointer;
    width: fit-content;
    color: var(--mdl-green-deep);
    font-weight: 700;
    font-size: 0.92rem;
}
.mdl-verify p {
    margin: 0.75rem 0 0.6rem;
    color: #475569;
    font-size: 0.92rem;
}
.mdl-verify code {
    display: block;
    padding: 0.75rem 0.8rem;
    border-radius: 0.75rem;
    background: #f8faf9;
    border: 1px solid var(--mdl-line);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1.45;
    word-break: break-all;
}
.mdl-hash-copy {
    margin-top: 0.55rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--mdl-ink);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.mdl-assurance {
    margin: 1.15rem 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.mdl-footer {
    border-top: 1px solid var(--mdl-line);
    background: #fff;
    padding: 1.25rem 0 1.6rem;
    color: var(--mdl-muted);
}
.mdl-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem 1.2rem;
}
.mdl-footer nav { display: flex; gap: 1rem; }
.mdl-footer a { font-weight: 700; text-decoration: none; color: var(--mdl-green-deep); }
.mdl-footer p { margin: 0; }

@media (min-width: 900px) {
    .mdl-stage { padding-top: 3.25rem; }
    .mdl-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    .mdl-devices {
        display: block;
        height: 400px;
    }
    .mdl-phone,
    .mdl-phone-back {
        position: absolute;
        bottom: 0;
        display: block;
        width: 210px;
        height: 380px;
    }
    .mdl-phone { right: 0; }
    .mdl-phone-back { left: 0; height: 340px; width: 188px; }
    .mdl-choice { grid-template-columns: 1fr 1fr; gap: 1.15rem; align-items: start; }
    .mdl-card { padding: 1.6rem 1.55rem 1.4rem; }
}

@media (max-width: 640px) {
    .mdl-nav-links a:not(.mdl-btn) { display: none; }
    .mdl-nav .mdl-btn { min-height: 2.5rem; padding: 0.45rem 0.85rem; font-size: 0.85rem; }
    .mdl-logo img { width: 112px; }
    .mdl-wrap { width: min(1120px, calc(100% - 1.5rem)); }
    .mdl-copy h1 { font-size: 2.55rem; }
    .mdl-devices { height: 340px; }
    .mdl-phone { height: 340px; }
}

.mdl-demo-short { display: none; }
@media (max-width: 380px) {
    .mdl-demo-long { display: none; }
    .mdl-demo-short { display: inline; }
    .mdl-logo img { width: 108px; }
}

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