/* ==========================================================================
   TeamRelay: marketing site (light, professional)
   No frameworks, no webfonts, no animation libraries. Content is fully
   readable with JavaScript disabled; reveals are a progressive enhancement.
   ========================================================================== */

:root {
    /* Brand */
    --red: #e02d38;
    --blue: #0b63e5;
    --blue-deep: #0a53bd;
    --teal: #0fb5c2;

    /* Ink & surfaces */
    --ink: #0e1526;
    --ink-2: #3d4759;
    --muted: #5f6b7d;
    --faint: #8a94a6;
    --bg: #ffffff;
    --soft: #f6f8fb;
    --line: #e6eaf1;
    --card: #ffffff;

    --grad-brand: linear-gradient(100deg, var(--red) 0%, #ff7a3d 45%, var(--blue) 100%);

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --r: 14px;
    --r-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(14, 21, 38, 0.05), 0 1px 3px rgba(14, 21, 38, 0.04);
    --shadow: 0 10px 30px -12px rgba(14, 21, 38, 0.16);
    --maxw: 1120px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 300;
    background: var(--ink); color: #fff;
    padding: 10px 18px; border-radius: 100px;
    transform: translateY(-64px); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-soft { background: var(--soft); }

.section-head { max-width: 660px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.kicker {
    display: inline-block; font-size: 13px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-sub { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.grad-text {
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 600; font-size: 15.5px;
    padding: 13px 26px; border-radius: 100px; border: 1px solid transparent;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 99, 229, 0.5); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--bg); }
.btn-ghost:hover { border-color: #cfd6e1; background: var(--soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2740; transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 200;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 13px 24px;
    display: flex; align-items: center; gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-size: 18.5px; font-weight: 800; letter-spacing: -0.02em; color: var(--red); }
.brand-name-accent { color: var(--blue); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
    display: none; flex-direction: column; gap: 2px; padding: 4px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--line);
}
.nav-mobile a { padding: 12px 4px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.nav-mobile a:last-child { border: 0; margin-top: 10px; color: #fff; }
.nav.open .nav-mobile { display: flex; }

/* ---------- Device frame ---------- */
.device {
    position: relative;
    background: linear-gradient(150deg, #33394a 0%, #14181f 62%);
    border-radius: 14% / 6.4%;
    padding: 2.7%;
    box-shadow: 0 24px 48px -20px rgba(14, 21, 38, 0.35), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.device-screen { position: relative; border-radius: 10.8% / 5%; overflow: hidden; background: #fff; container-type: inline-size; }
.device-screen img { width: 100%; height: auto; }
.phone-caption { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--muted); }
.phone-caption strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 148px 0 clamp(64px, 8vw, 96px); text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--ink-2);
    padding: 7px 15px; border-radius: 100px;
    background: var(--soft); border: 1px solid var(--line);
    margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #18b57c; }
.hero-title { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 20px; }
.hero-sub { font-size: clamp(16.5px, 1.7vw, 19px); color: var(--muted); max-width: 620px; margin: 0 auto 30px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(44px, 6vw, 64px); }
.badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 500; color: var(--ink-2);
    padding: 7px 13px; border-radius: 100px;
    background: var(--soft); border: 1px solid var(--line);
}
.badge svg { color: var(--blue); flex-shrink: 0; }

.hero-phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(18px, 3.5vw, 40px); }
.hero-phone { flex: 0 0 auto; }
.hero-phone.is-listener { width: clamp(150px, 17vw, 196px); }
.hero-phone.is-host { width: clamp(200px, 22vw, 250px); }

/* ---------- USP ---------- */
.usp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.usp-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 34px 30px; text-align: center; box-shadow: var(--shadow-sm);
}
.usp-card-hero { border-color: rgba(11, 99, 229, 0.35); box-shadow: 0 14px 34px -18px rgba(11, 99, 229, 0.35); }
.usp-badge {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
    background: var(--soft); color: var(--muted); margin-bottom: 22px;
}
.usp-card-hero .usp-badge { background: var(--blue); color: #fff; }
.usp-diagram { display: flex; align-items: center; justify-content: center; gap: 12px; height: 54px; margin-bottom: 18px; }
.usp-node { font-size: 27px; line-height: 1; }
.usp-arrow { color: var(--faint); font-size: 22px; }
.usp-fan { display: flex; flex-direction: column; gap: 4px; }
.usp-ray { width: 26px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.usp-ray:nth-child(1) { transform: rotate(-13deg); }
.usp-ray:nth-child(3) { transform: rotate(13deg); }
.usp-flags { font-size: 19px; letter-spacing: 2px; }
.usp-card h3 { font-size: 21px; margin-bottom: 9px; }
.usp-card p { font-size: 15px; color: var(--muted); max-width: 360px; margin: 0 auto; }
.usp-card-hero p strong { color: var(--ink); }

/* ---------- Worlds (tabs) ---------- */
.worlds-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
    margin: 0 auto clamp(32px, 4vw, 46px);
    background: var(--soft); border: 1px solid var(--line);
    border-radius: 100px; padding: 5px; width: max-content; max-width: 100%;
}
.worlds-tabs [role="tab"] {
    padding: 9px 18px; border-radius: 100px; min-height: 42px;
    font-size: 14px; font-weight: 600; color: var(--ink-2);
    transition: background .2s, color .2s, box-shadow .2s;
}
.worlds-tabs [role="tab"]:hover { color: var(--ink); }
.worlds-tabs [role="tab"][aria-selected="true"] {
    background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.world-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.world-panel[hidden] { display: none; }
.wp-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 13px; }
.wp-copy .wp-blurb { font-size: 16px; color: var(--muted); margin-bottom: 20px; max-width: 440px; }
.wp-quote {
    display: flex; gap: 11px; align-items: flex-start;
    font-size: 14.5px; color: var(--ink-2);
    padding: 12px 15px; border-radius: var(--r);
    background: var(--soft); border: 1px solid var(--line);
    margin-bottom: 9px; max-width: 430px;
}
.wp-quote .flag { font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.wp-devices { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 2vw, 24px); }
.wp-devices figure { flex: 0 0 auto; margin: 0; }
.wp-host { width: clamp(180px, 20vw, 224px); }
.wp-listener { width: clamp(140px, 15vw, 176px); }

/* ---------- Playground ---------- */
.pg-controls {
    max-width: 860px; margin: 0 auto clamp(32px, 4vw, 48px);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px clamp(18px, 3vw, 28px);
    display: flex; flex-direction: column; gap: 18px;
}
.pg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pg-row-label {
    font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: var(--faint); flex: 0 0 100%;
}
.chip {
    padding: 9px 17px; border-radius: 100px; min-height: 42px;
    font-size: 14px; font-weight: 600; color: var(--ink-2);
    border: 1px solid var(--line); background: var(--bg);
    transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: #cfd6e1; }
.chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-langs { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.pg-langs label { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.pg-select {
    appearance: none; -webkit-appearance: none;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6b7d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center;
    color: var(--ink); font: 600 14px var(--font);
    padding: 10px 38px 10px 15px; border-radius: 11px;
    border: 1px solid var(--line); min-height: 42px;
}
.pg-select:hover { border-color: #cfd6e1; }

.pg-stage { display: flex; justify-content: center; align-items: flex-start; gap: clamp(18px, 3.5vw, 44px); }
.pg-phone { position: relative; flex: 0 0 auto; margin: 0; }
.pg-host { width: clamp(190px, 21vw, 234px); }
.pg-listener { width: clamp(170px, 18.5vw, 210px); margin-top: 26px; }
.pg-pill {
    position: absolute; z-index: 5; left: 50%; transform: translateX(-50%);
    bottom: 23%;
    display: inline-flex; align-items: center; gap: 7px;
    max-width: 88%;
    padding: 7px 13px; border-radius: 100px;
    background: rgba(14, 21, 38, 0.92);
    font-size: clamp(10px, 3.8cqi, 12.5px); font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg-pill .pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff5b5b; flex-shrink: 0; }
.pg-overlay { position: absolute; inset: 17.5% 5.5% auto; z-index: 4; }
.app-bubble {
    background: #fff; border-radius: 4cqi; padding: 4cqi;
    box-shadow: 0 1.5cqi 3cqi rgba(12, 19, 38, 0.09);
    color: #0c1326; text-align: left;
    font-family: var(--font);
}
.ab-head { display: flex; align-items: center; gap: 2cqi; margin-bottom: 2.6cqi; }
.ab-avatar {
    width: 7cqi; height: 7cqi; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    font-size: 3cqi; font-weight: 700;
    background: rgba(11, 99, 229, 0.12); color: #0b63e5;
}
.ab-avatar.neutral { background: rgba(108, 118, 137, 0.14); color: #6b7689; }
.ab-name { font-size: 3.7cqi; font-weight: 600; color: #0c1326; }
.ab-chip {
    font-size: 2.6cqi; font-weight: 500; color: #0b63e5;
    background: rgba(11, 99, 229, 0.1); padding: 0.8cqi 2cqi; border-radius: 100px;
}
.ab-chip[hidden] { display: none; }
.ab-time { margin-left: auto; font-size: 2.7cqi; color: #6b7689; }
.ab-body { display: flex; gap: 2cqi; align-items: flex-start; }
.ab-flag { font-size: 4.6cqi; line-height: 1.35; }
.ab-text { font-size: 4.1cqi; line-height: 1.4; color: #0c1326; }
.ab-orig { display: flex; align-items: center; justify-content: space-between; margin-top: 3cqi; font-size: 2.9cqi; color: #6b7689; }
.pg-speaker {
    display: inline-flex; align-items: center; gap: 7px;
    margin: 12px auto 0; padding: 9px 16px; min-height: 40px;
    border-radius: 100px; font-size: 13px; font-weight: 600;
    color: var(--ink); background: var(--bg); border: 1px solid var(--line);
    transition: border-color .2s, background .2s;
}
.pg-speaker:hover { border-color: #cfd6e1; background: var(--soft); }
.pg-speaker[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg-speaker[hidden] { display: none; }
.pg-listener-col { display: flex; flex-direction: column; align-items: center; }
.pg-note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--faint); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 4px; }
.step-num {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 16px;
    display: grid; place-items: center;
    font-weight: 700; font-size: 17px; color: var(--blue);
    background: #fff; border: 1.5px solid rgba(11, 99, 229, 0.35);
}
.step h3 { font-size: 17.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.step .device { width: min(158px, 70%); margin: 0 auto; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 28px 26px; box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
    display: grid; place-items: center; color: var(--blue);
    background: rgba(11, 99, 229, 0.09);
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 7px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Languages ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.lang-card {
    padding: 18px 8px; text-align: center; border-radius: var(--r);
    background: var(--card); border: 1px solid var(--line);
}
.lang-card .flag { font-size: 27px; line-height: 1; margin-bottom: 8px; }
.lang-card .l-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.lang-card .l-native { font-size: 11.5px; color: var(--faint); margin-top: 1px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.price-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.price-featured { border-color: rgba(11, 99, 229, 0.45); box-shadow: 0 18px 40px -20px rgba(11, 99, 229, 0.35); }
.price-flag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #fff; background: var(--blue); padding: 5px 14px; border-radius: 100px;
    white-space: nowrap;
}
.price-card h3 { font-size: 19px; margin-bottom: 7px; }
.price-tag { font-size: 29px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.price-tag span { font-size: 14.5px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.price-blurb { font-size: 14px; color: var(--muted); margin: 11px 0 20px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-list li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-2); }
.price-list li strong { color: var(--ink); }
.price-list li::before {
    content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
.price-note { text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--faint); }

/* ---------- Download ---------- */
.download-card {
    text-align: center;
    background: var(--soft); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: clamp(44px, 6vw, 72px) 28px;
}
.download-icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 24px; box-shadow: var(--shadow); }
.download-card h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.download-card p { font-size: clamp(15.5px, 1.6vw, 18px); color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.appstore-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--ink); color: #fff; padding: 13px 26px; border-radius: 14px;
    transition: transform .2s, background .2s;
}
.appstore-btn:hover { transform: translateY(-2px); background: #1c2740; }
.appstore-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.appstore-text small { font-size: 10.5px; font-weight: 500; }
.appstore-text strong { font-size: 19px; font-weight: 700; }
.download-meta { display: block; margin-top: 16px; font-size: 13px; color: var(--faint); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 32px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer .brand-mark { width: 32px; height: 32px; }
.footer-tagline { margin: 14px 0 5px; font-size: 14.5px; color: var(--muted); }
.footer-by { font-size: 13.5px; color: var(--faint); }
.footer-by a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; font-size: 13px; color: var(--faint); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 24px 90px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 10px; }
.legal .legal-meta { font-size: 14px; color: var(--faint); margin-bottom: 40px; }
.legal h2 { font-size: 21px; margin: 38px 0 12px; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal-back { display: inline-block; margin-bottom: 26px; font-size: 14px; color: var(--muted); text-decoration: none; }
.legal .legal-back:hover { color: var(--ink); }

/* ---------- Reveal (progressive enhancement; JS adds html.js) ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .usp-cards { grid-template-columns: 1fr; max-width: 480px; }
    .world-panel { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .wp-copy .wp-blurb, .wp-quote { margin-left: auto; margin-right: auto; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .lang-grid { grid-template-columns: repeat(5, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 460px; }
    .price-featured { order: -1; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding-top: 118px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 330px; }
    .hero-phone.is-listener { width: clamp(120px, 26vw, 160px); }
    .hero-phone.is-host { width: clamp(170px, 38vw, 210px); }
    .wp-devices .wp-listener:last-child { display: none; }
    .pg-stage { flex-wrap: wrap; }
    .pg-host { width: min(230px, 64vw); }
    .pg-listener { width: min(205px, 56vw); margin-top: 10px; }
    .features-grid { grid-template-columns: 1fr; }
    .lang-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
    .lang-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-phones { gap: 12px; }
    .worlds-tabs { border-radius: 18px; }
}
