/* Shared by all six pages (the English ones and site/tr/). It follows the app's
   "ambient light" look: near-black, with a soft mint-to-teal glow that fades out
   towards the edges. System fonts only; the site loads nothing from other hosts. */
:root {
    --bg: #040908;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-edge: rgba(255, 255, 255, 0.09);
    --text: #eef7f5;
    --text-dim: rgba(238, 247, 245, 0.7);
    --rule: rgba(255, 255, 255, 0.1);
    --mint: #9dfff0;
    --mint-soft: #b8fff3;
    --teal: #12b89e;
    color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* The light behind the top of every page. */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 820px;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 55% at 50% 0%, rgba(157, 255, 240, 0.13), transparent 72%),
        radial-gradient(ellipse 85% 95% at 50% -12%, rgba(18, 184, 158, 0.3), rgba(18, 184, 158, 0.08) 52%, transparent 80%);
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

a { color: var(--mint); text-underline-offset: 3px; text-decoration-color: rgba(157, 255, 240, 0.4); }
a:hover { color: var(--mint-soft); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

/* Header: name, three pages, language switch. */
header.site { padding: 22px 0; margin-bottom: 56px; }

header.site .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px;
    row-gap: 10px;
}

header.site .name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--text);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
    text-decoration: none;
}

header.site .name img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 4px 16px -2px rgba(18, 184, 158, 0.5);
}

header.site nav { display: flex; gap: 22px; }

header.site nav a,
header.site .lang {
    color: var(--text-dim);
    font-size: 15px;
    text-decoration: none;
}

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

header.site nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

header.site .lang {
    padding: 4px 12px;
    border: 1px solid var(--surface-edge);
    border-radius: 999px;
    background: var(--surface);
}

@media (max-width: 560px) {
    header.site nav { order: 3; width: 100%; gap: 24px; }
}

/* Headings and text. */
h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 7vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 700;
}

h2 { margin: 64px 0 16px; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; }
h3 { margin: 32px 0 6px; font-size: 18px; line-height: 1.35; letter-spacing: -0.005em; }

p { margin: 0 0 16px; }

.lede { margin: 0 0 32px; font-size: 20px; line-height: 1.55; color: var(--text-dim); }

/* Overview hero. */
.hero { text-align: center; padding-bottom: 8px; }
.hero .lede { max-width: 560px; margin-left: auto; margin-right: auto; }

.hero h1 { color: var(--mint-soft); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero h1 {
        background: linear-gradient(180deg, #ffffff 20%, var(--mint-soft) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.hero-icon {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto 36px;
    border-radius: 27px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.09),
        0 28px 80px -10px rgba(18, 184, 158, 0.6),
        0 0 140px rgba(157, 255, 240, 0.12);
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0 0 8px;
}

/* A placeholder, not a link: it becomes the App Store badge once the app has an id. */
.soon {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid rgba(157, 255, 240, 0.3);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(157, 255, 240, 0.12), rgba(18, 184, 158, 0.06));
    box-shadow: 0 8px 40px -12px rgba(18, 184, 158, 0.6);
    color: var(--mint-soft);
    font-weight: 600;
    letter-spacing: -0.005em;
}

.actions .meta { margin: 0; color: var(--text-dim); font-size: 14px; }

/* "How it works": three steps. */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    padding: 22px 20px 20px;
    border: 1px solid var(--surface-edge);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(157, 255, 240, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(18, 184, 158, 0.35);
    color: var(--mint);
    font-size: 14px;
    font-weight: 600;
}

.steps strong { display: block; margin-bottom: 4px; font-size: 17px; }
.steps span { color: var(--text-dim); font-size: 15px; line-height: 1.55; }

@media (max-width: 640px) {
    .steps { grid-template-columns: 1fr; }
}

/* Example modes. */
.modes {
    margin: 24px 0 0;
    padding: 6px 22px;
    list-style: none;
    border: 1px solid var(--surface-edge);
    border-radius: 20px;
    background:
        radial-gradient(ellipse 70% 120% at 50% 120%, rgba(18, 184, 158, 0.16), transparent 70%),
        var(--surface);
}

.modes li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
}

.modes li:last-child { border-bottom: 0; }

.modes .time {
    color: var(--mint);
    font-size: 19px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Feature list. */
ul.features { list-style: none; margin: 0; padding: 0; }

ul.features li {
    position: relative;
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid var(--rule);
}

ul.features li:last-child { border-bottom: 0; }

ul.features li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 1.35em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px rgba(157, 255, 240, 0.8);
}

ul.features strong { color: var(--text); }
ul.features li { color: var(--text-dim); }

/* Callout. */
.callout {
    margin: 32px 0;
    padding: 20px 24px;
    border: 1px solid rgba(157, 255, 240, 0.2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18, 184, 158, 0.14), rgba(255, 255, 255, 0.03));
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* Questions and answers on the support page. */
.qa { padding: 8px 0 12px; border-bottom: 1px solid var(--rule); }
.qa:last-child { border-bottom: 0; }
.qa h3 { margin-top: 20px; }
.qa p { color: var(--text-dim); }
.qa p:last-child { margin-bottom: 8px; }

/* Privacy policy. */
/* The effective date, directly under the page title. */
.meta-line { margin: 0 0 20px; color: var(--text-dim); font-size: 15px; }
.meta-line strong { color: var(--text); }

/* Footer. */
footer.site {
    margin-top: 88px;
    padding: 28px 0 64px;
    border-top: 1px solid var(--rule);
    color: var(--text-dim);
    font-size: 14px;
}

footer.site p { margin: 0 0 6px; }
footer.site a { color: var(--text-dim); }
footer.site a:hover { color: var(--text); }
footer.site .legal { font-size: 13px; opacity: 0.8; }
