:root {
    color-scheme: dark;
    --page: #0b0b0c;
    --panel: #141416;
    --line: #242428;
    --line-strong: #34343a;
    --text: #f4f4f2;
    --text-2: #b1b1b7;
    --text-3: #85858c;
    --paper: #f8f7f5;
    --ink: #262931;
    --ink-2: #5b626d;
    --paper-line: rgba(38, 41, 49, 0.12);
    --glow-violet: #c9c3f3;
    --glow-blue: #b8cdf7;
    --glow-rose: #f2c9d0;
    --glow-sand: #f3e2bf;
    --mint: #1f7a5f;
    --radius-control: 18px;
    --radius-panel: clamp(20px, 2vw, 26px);
    --radius-surface: clamp(22px, 2.6vw, 34px);
    --shadow-floating: 0 20px 48px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.045);
    --font-display: "Geist", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
    /* Fluid layout tokens: content width, outer gutter and section rhythm scale with the viewport. */
    --content: 1180px;
    --gutter: clamp(16px, 4vw, 48px);
    --surface-gutter: clamp(8px, 1.6vw, 24px);
    --section: clamp(56px, 8vw, 120px);
    --gap: clamp(10px, 1.4vw, 18px);
}
@media (min-width: 1800px) {
    :root { --content: 1360px; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
    font-size: clamp(15px, 0.25vw + 14px, 17px);
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
    outline: 3px solid #ffb21a;
    outline-offset: 3px;
}
.shell {
    width: min(var(--content), 100% - 2 * var(--gutter));
    margin-inline: auto;
}
.surface {
    width: min(var(--content) + 80px, 100% - 2 * var(--surface-gutter));
    margin-inline: auto;
    border: 1px solid #2a2a2e;
    border-radius: var(--radius-surface);
    background: var(--paper);
    color: var(--ink);
}
nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    font-size: 14px;
    color: var(--text-2);
}
.nav-links a {
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}
.nav-links a:hover { background: #1a1a1d; color: var(--text); }
.language-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 14px;
    font-size: 13px;
}
.language-links a {
    color: var(--text-3);
    text-decoration: none;
}
.language-links a:hover { color: var(--text); }
.language-links a[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
}

/* Hero: two-column grid that collapses to one column; the phone always stays fully inside. */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 80px);
    overflow: hidden;
    background:
        radial-gradient(42% 58% at 100% 0%, var(--glow-blue) 0%, transparent 72%),
        radial-gradient(30% 40% at 78% 8%, var(--glow-violet) 0%, transparent 70%),
        radial-gradient(36% 48% at 0% 100%, var(--glow-rose) 0%, transparent 72%),
        radial-gradient(40% 40% at 48% 108%, var(--glow-sand) 0%, transparent 72%),
        var(--paper);
}
.hero-copy { min-width: 0; max-width: 640px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 5px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--glow-violet), var(--glow-sand));
}
.surface .eyebrow {
    border-color: var(--paper-line);
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink-2);
}
h1, h2 {
    font-family: var(--font-display);
    font-weight: 500;
}
h1 {
    margin: 0;
    font-size: clamp(40px, 3.6vw + 22px, 80px);
    line-height: 1;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.tagline {
    margin: clamp(14px, 1.6vw, 22px) 0 0;
    font-family: var(--font-display);
    font-size: clamp(20px, 0.9vw + 14px, 30px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.03em;
}
.hero-summary {
    margin: clamp(12px, 1.4vw, 18px) 0 0;
    max-width: 560px;
    color: var(--ink-2);
}
.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 16px 0 0;
    color: var(--mint);
    font-size: 14px;
    font-weight: 500;
}
.privacy-note::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-top: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(31, 122, 95, 0.14);
}
.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-top: clamp(20px, 2.4vw, 32px);
}
.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid var(--ink);
    border-radius: var(--radius-control);
    background: var(--ink);
    color: #f8f7f5;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.button:hover { background: #111318; transform: translateY(-1px); }
.button.secondary {
    border-color: rgba(38, 41, 49, 0.27);
    background: rgba(255, 255, 255, 0.4);
    color: var(--ink);
}
.button.secondary:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.button .platform {
    padding: 1px 7px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 11px;
    opacity: 0.7;
}
.hero-link {
    margin-inline-start: 6px;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(38, 41, 49, 0.3);
    text-underline-offset: 5px;
}
.hero-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.hero-screen {
    justify-self: center;
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 400px);
    max-height: min(calc(100svh - 180px), 760px);
    min-height: 320px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: clamp(26px, 3vw, 36px);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-floating);
}

.proof-band { padding-top: var(--gap); }
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}
.proof-item {
    padding: clamp(18px, 2vw, 28px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--panel);
}
.proof-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(20px, 1vw + 14px, 26px);
    font-weight: 500;
    letter-spacing: -0.03em;
}
.proof-item span {
    display: block;
    margin-top: 4px;
    color: var(--text-3);
    font-size: 14px;
}
.band { padding-block: var(--section); }
.section-head {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 52px);
}
h2 {
    margin: 0;
    font-size: clamp(30px, 2.4vw + 16px, 50px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.section-copy {
    margin: 18px 0 0;
    color: var(--text-3);
}
.screenshots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: start;
}
figure {
    margin: 0;
    min-width: 0;
    padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px) 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: radial-gradient(70% 45% at 50% 0%, rgba(201, 195, 243, 0.16) 0%, transparent 70%), var(--panel);
}
figure > span {
    display: inline-block;
    margin-bottom: 18px;
    padding: 3px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
}
figure img {
    display: block;
    width: min(82%, 300px);
    height: auto;
    margin-inline: auto;
    margin-bottom: -18%;
    border: 1px solid var(--line-strong);
    border-radius: clamp(16px, 2vw, 24px);
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s ease;
}
figure:hover img { transform: translateY(-6px); }
figcaption {
    position: relative;
    margin: 0 calc(-1 * clamp(16px, 2vw, 24px));
    padding: 16px clamp(16px, 2vw, 24px) 20px;
    border-top: 1px solid var(--line);
    background: var(--panel);
    color: var(--text-2);
    font-size: 14px;
}
.privacy-band {
    padding-block: var(--section);
    background:
        radial-gradient(38% 60% at 0% 0%, var(--glow-violet) 0%, transparent 70%),
        radial-gradient(34% 50% at 100% 100%, var(--glow-sand) 0%, transparent 72%),
        var(--paper);
}
.privacy-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
}
.privacy-band .section-copy { color: var(--ink-2); font-size: 15px; }
.privacy-mark {
    width: 100%;
    aspect-ratio: 1.3;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-panel);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-floating);
    color: var(--mint);
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 500;
}
.text-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 500;
    text-decoration-color: rgba(38, 41, 49, 0.3);
    text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }
.uses {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
    padding: 0;
    margin: clamp(28px, 3.5vw, 44px) 0 0;
    list-style: none;
}
.uses li {
    min-height: clamp(84px, 9vw, 132px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(18px, 2vw, 24px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--panel);
    font-family: var(--font-display);
    font-size: clamp(16px, 0.5vw + 13px, 19px);
    font-weight: 500;
    letter-spacing: -0.02em;
}
.uses li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glow-violet);
}
.uses li:nth-child(2)::before { background: var(--glow-blue); }
.uses li:nth-child(3)::before { background: var(--glow-rose); }
.uses li:nth-child(4)::before { background: var(--glow-sand); }
.closing {
    padding-block: clamp(48px, 7vw, 96px);
    margin-bottom: var(--gap);
    background:
        radial-gradient(40% 70% at 100% 0%, var(--glow-blue) 0%, transparent 72%),
        radial-gradient(34% 60% at 0% 100%, var(--glow-rose) 0%, transparent 72%),
        var(--paper);
}
.closing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}
.closing h2 { max-width: 760px; }
.closing p {
    margin: 14px 0 0;
    color: var(--ink-2);
}
.closing .actions { margin-top: 0; justify-content: flex-end; }
footer {
    padding: 32px 0 48px;
    color: var(--text-3);
    font-size: 13px;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    flex: 0 1 auto;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.language-links { flex: 1 1 380px; }

/* Small laptops and large tablets */
@media (max-width: 1080px) {
    .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .closing-layout { grid-template-columns: 1fr; }
    .closing .actions { justify-content: flex-start; }
}
/* Tablets: hero stacks, phone peeks from the bottom edge */
@media (max-width: 860px) {
    .nav-links { padding: 0; border: 0; background: none; }
    .nav-links a:not(:last-child) { display: none; }
    .hero {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }
    .hero-copy { max-width: 620px; }
    .hero-screen {
        width: min(68%, 360px);
        max-width: none;
        height: clamp(220px, 52vw, 420px);
        min-height: 0;
        max-height: none;
        object-fit: cover;
        object-position: top;
        padding: 8px 8px 0;
        border-bottom: 0;
        border-radius: 30px 30px 0 0;
    }
    .privacy-layout { grid-template-columns: 1fr; }
    .privacy-mark { max-width: 360px; aspect-ratio: 2; }
    .footer-row { flex-direction: column; }
    .language-links { justify-content: flex-start; flex-basis: auto; }
}
/* Phones */
@media (max-width: 640px) {
    nav { min-height: 62px; }
    .eyebrow { font-size: 11px; }
    .actions .button { flex: 1 1 220px; }
    .hero-link { margin-inline-start: 0; padding-block: 6px; }
    .proof-grid { grid-template-columns: 1fr; }
    .screenshots { grid-template-columns: 1fr; }
    figure { max-width: 420px; width: 100%; margin-inline: auto; }
    .uses { grid-template-columns: 1fr; }
    .closing .actions .button { flex: 1 1 220px; }
}
@media (max-width: 380px) {
    .hero-screen { width: 82%; }
}
/* Short landscape screens (small laptops, phones on their side) */
@media (min-width: 641px) and (max-height: 620px) {
    .hero { padding-block: 32px; }
    .hero-screen { min-height: 240px; max-height: calc(100svh - 120px); }
}
@media (max-width: 860px) and (max-height: 500px) {
    .hero-screen { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, figure img { transition: none; }
    .button:hover, figure:hover img { transform: none; }
}

/* Skip link, downloads, Android feature panels and expanded footer (merged from the former Android page). */
.skip { position: absolute; top: -100px; left: 16px; z-index: 5; padding: 12px 16px; border-radius: 12px; background: var(--paper); color: var(--ink); }
.skip:focus { top: 12px; }
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}
.download-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(20px, 2.2vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--panel);
    transition: border-color 0.2s;
}
.download-card:hover { border-color: var(--line-strong); }
.platform-label {
    margin-bottom: 18px;
    padding: 3px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 500;
}
.download-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(20px, 0.8vw + 15px, 26px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.25;
}
.download-card > p {
    flex: 1;
    margin: 0 0 24px;
    color: var(--text-3);
    font-size: 14px;
}
.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: var(--radius-control);
    background: var(--text);
    color: #121214;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}
.download-button:hover { background: #fff; transform: translateY(-1px); }
.download-card small {
    display: block;
    margin-top: 14px;
    color: var(--text-3);
    font-size: 12px;
    line-height: 1.6;
}
.download-card .card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--line-strong);
    text-underline-offset: 5px;
}
.download-card .card-link:hover { text-decoration-color: currentColor; }
.fine-print {
    margin: 18px 0 0;
    color: var(--text-3);
    font-size: 13px;
    line-height: 1.7;
}
.fine-print:first-of-type { margin-top: 28px; }
.guide {
    margin-top: 28px;
    padding: clamp(20px, 2.2vw, 28px);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--panel);
    color: var(--text-3);
    font-size: 14px;
    line-height: 1.75;
}
.guide h3 {
    margin: 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
}
.guide p { margin: 10px 0 0; }
.feature-band {
    padding-block: var(--section);
    margin-bottom: var(--gap);
    background:
        radial-gradient(40% 58% at 100% 0%, var(--glow-blue) 0%, transparent 72%),
        radial-gradient(34% 50% at 0% 100%, var(--glow-rose) 0%, transparent 72%),
        var(--paper);
}
.feature-band.alt {
    background:
        radial-gradient(38% 60% at 0% 0%, var(--glow-violet) 0%, transparent 70%),
        radial-gradient(34% 50% at 100% 100%, var(--glow-sand) 0%, transparent 72%),
        var(--paper);
}
.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 96px);
}
.feature-band .section-copy { color: var(--ink-2); }
.feature-note {
    margin: 24px 0 0;
    padding: 4px 0 4px 16px;
    border-inline-start: 2px solid rgba(38, 41, 49, 0.2);
    color: var(--ink-2);
    font-size: 14px;
}
.steps {
    counter-reset: steps;
    margin: 0;
    padding: clamp(20px, 2.2vw, 28px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-panel);
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-floating);
    list-style: none;
}
.steps li {
    position: relative;
    counter-increment: steps;
    padding-block-end: 26px;
    padding-inline-start: 54px;
}
.steps li:last-child { padding-block-end: 0; }
.steps li::before {
    content: counter(steps);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--ink);
    color: #f8f7f5;
    font-size: 13px;
    font-weight: 500;
    line-height: 34px;
    text-align: center;
}
.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 17px;
    top: 44px;
    bottom: 8px;
    border-inline-start: 1px dashed rgba(38, 41, 49, 0.22);
}
.steps h3 {
    margin: 4px 0 6px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.015em;
}
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.android-privacy {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(20px, 5vw, 72px);
    margin-top: clamp(32px, 4vw, 56px);
    padding-top: clamp(28px, 3.5vw, 44px);
    border-top: 1px solid var(--paper-line);
}
.android-privacy h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(20px, 0.8vw + 15px, 26px);
    font-weight: 500;
    letter-spacing: -0.025em;
}
.android-privacy p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.footer-note {
    margin: 22px 0 0;
    max-width: 760px;
    color: var(--text-3);
    font-size: 12px;
}
@media (max-width: 860px) {
    .feature-layout, .android-privacy { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .download-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .download-button { transition: none; }
    .download-button:hover { transform: none; }
}
