/* =====================================================================
   Tulum 4 — product page (tulum4/index.html + tulum4/index-en.html)
   Sits on top of site.css: keeps the shared nav, footer and reveal
   motion, and re-skins them in the app's own black & gold identity
   (same tokens as the App Store screenshots).
   ===================================================================== */

.t4 {
    --t4-bg: #050403;
    --t4-bg-2: #0b0906;
    --t4-ink: #fdf8ef;
    --t4-ink-2: #d3c8b3;
    --t4-ink-3: #8b8171;
    --t4-gold-1: #f6e2b4;
    --t4-gold-2: #e0ac45;
    --t4-gold-3: #a9741e;
    --t4-line: rgba(230, 180, 80, 0.14);
    --t4-line-strong: rgba(230, 180, 80, 0.3);
    --t4-card: rgba(255, 236, 200, 0.03);
    --t4-card-2: rgba(255, 236, 200, 0.055);
    --t4-gold-text: linear-gradient(172deg, #fdf1d4 4%, #efc066 44%, #b8811f 98%);
    --t4-serif: Didot, 'Bodoni Moda', 'New York', 'Times New Roman', serif;
    --t4-sans: 'Avenir Next', 'Inter', system-ui, -apple-system, sans-serif;

    /* re-point the shared site tokens so nav, lang switch, buttons and
       cards pick up the gold palette without touching site.css */
    --bg: var(--t4-bg);
    --text: #efe6d6;
    --text-dim: #b3a892;
    --text-faint: var(--t4-ink-3);
    --accent: var(--t4-gold-2);
    --accent-2: var(--t4-gold-2);
    --accent-soft: rgba(224, 172, 69, 0.14);
    --border: rgba(230, 180, 80, 0.12);
    --border-strong: rgba(230, 180, 80, 0.26);
    --grad: linear-gradient(135deg, #f3d08a 0%, #c08f45 100%);
    --grad-text: var(--t4-gold-text);

    background: var(--t4-bg);
    color: var(--t4-ink-2);
    font-family: var(--t4-sans);
}

.t4 ::selection { background: rgba(224, 172, 69, 0.35); color: #fff; }

.t4 a:focus-visible,
.t4 button:focus-visible {
    outline: 2px solid var(--t4-gold-2);
    outline-offset: 3px;
    border-radius: 8px;
}

/* text for screen readers only */
.t4 .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* skip link: off-screen until a keyboard user tabs to it */
.t4-skip {
    position: fixed;
    top: 12px;
    left: 16px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--t4-gold-2);
    color: #1a1206;
    font-size: 14px;
    font-weight: 600;
    transform: translateY(-160%);
}

.t4-skip:focus { transform: none; color: #1a1206; }

/* ---------- shared chrome, re-skinned ---------- */
.t4 .nav.scrolled { background: rgba(5, 4, 3, 0.8); }
.t4 .brand .dot { box-shadow: 0 0 14px rgba(224, 172, 69, 0.8); }
.t4 .lang a.active { color: #1a1206; }
.t4 .socials a:hover { box-shadow: 0 10px 24px -10px rgba(224, 172, 69, 0.55); }
.t4 .btn-ghost:hover { border-color: var(--t4-gold-2); }

.t4 .bg-fx {
    background:
        radial-gradient(1100px 640px at 82% -12%, rgba(233, 180, 80, 0.13), transparent 60%),
        radial-gradient(900px 600px at -5% 30%, rgba(180, 120, 40, 0.08), transparent 58%),
        var(--t4-bg);
}
.t4 .bg-fx .blob.b1 { background: radial-gradient(circle, rgba(224, 172, 69, 0.34), transparent 70%); }
.t4 .bg-fx .blob.b2 { background: radial-gradient(circle, rgba(169, 116, 30, 0.3), transparent 70%); opacity: 0.45; }
.t4 .bg-fx .blob.b3 { background: radial-gradient(circle, rgba(246, 226, 180, 0.16), transparent 70%); }
.t4 .bg-fx::after {
    background-image:
        linear-gradient(rgba(246, 226, 180, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246, 226, 180, 0.02) 1px, transparent 1px);
}

.t4 .card::after {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 172, 69, 0.1), transparent 60%);
}

/* ---------- type ---------- */
.t4 h1,
.t4 h2 {
    font-family: var(--t4-serif);
    font-weight: 400;
    color: var(--t4-ink);
    letter-spacing: -0.012em;
}

.t4 h3,
.t4 h4 {
    font-family: var(--t4-sans);
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--t4-ink);
}

.t4 h1 em,
.t4 h2 em {
    font-style: italic;
    background: var(--t4-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* keep italic overhang from being clipped by the text fill */
    padding-right: 0.06em;
}

.t4-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--t4-sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--t4-gold-2);
    margin-bottom: 20px;
}

.t4-kicker::before {
    content: '';
    width: 34px;
    height: 1.5px;
    background: var(--t4-gold-2);
    flex: none;
}

.t4-head {
    max-width: 780px;
    margin-bottom: 52px;
}

.t4-head h2 {
    font-size: clamp(34px, 4.8vw, 60px);
    line-height: 1.04;
}

.t4-head p {
    margin-top: 22px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--t4-ink-2);
    max-width: 680px;
}

.t4-head p + p { margin-top: 16px; }

.t4-head p b { color: var(--t4-ink); font-weight: 600; }

.t4-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.t4-head.center p { margin-left: auto; margin-right: auto; }

.t4 strong { color: var(--t4-ink); font-weight: 600; }

/* ---------- hero ---------- */
.t4-hero {
    padding-top: calc(var(--nav-h) + 52px);
    padding-bottom: 40px;
}

.t4-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    align-items: center;
}

.t4-launch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    margin-bottom: 30px;
    border: 1px solid var(--t4-line-strong);
    border-radius: 999px;
    background: rgba(224, 172, 69, 0.06);
    color: var(--t4-ink);
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.t4-launch:hover {
    color: var(--t4-ink);
    border-color: var(--t4-gold-2);
    background: rgba(224, 172, 69, 0.12);
    transform: translateY(-1px);
}

.t4-launch img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.t4-launch .arrow { color: var(--t4-gold-2); }

.t4-hero h1 {
    font-size: clamp(46px, 6.6vw, 90px);
    line-height: 0.98;
    margin-bottom: 26px;
}

/* product name on top, positioning line beneath it */
.t4-hero h1 .t4-name { display: block; }

.t4-hero h1 .t4-tagline {
    display: block;
    margin-top: 16px;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.1;
}

/* the one-line proof under the headline */
.t4-proof {
    margin-bottom: 22px;
    padding-left: 14px;
    border-left: 2px solid var(--t4-gold-2);
    font-size: clamp(16.5px, 1.6vw, 19px);
    font-weight: 600;
    line-height: 1.45;
    color: var(--t4-ink);
}

.t4-proof span { color: var(--t4-gold-1); }

.t4-lead {
    font-size: clamp(18px, 1.9vw, 21px);
    line-height: 1.6;
    color: var(--t4-ink-2);
    max-width: 580px;
    margin-bottom: 34px;
}

.t4-lead b { color: var(--t4-ink); font-weight: 600; }

.t4-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.t4-badge {
    display: inline-block;
    line-height: 0;
    border-radius: 12px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.t4-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 12px 22px rgba(224, 172, 69, 0.25)); }

.t4-badge img {
    height: 54px;
    width: auto;
}

/* a flex row so the line can wrap between items (spans stay unbroken) */
.t4-meta {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--t4-ink-3);
}

.t4-meta span { white-space: nowrap; }

.t4-meta span + span::before {
    content: '·';
    margin: 0 9px;
    color: var(--t4-gold-3);
}

/* phone frame */
.t4-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.t4-hero-visual::before {
    content: '';
    position: absolute;
    inset: 8% 6%;
    background: radial-gradient(closest-side, rgba(224, 172, 69, 0.28), transparent 72%);
    filter: blur(20px);
    z-index: -1;
}

.t4-device {
    position: relative;
    width: min(330px, 76vw);
    aspect-ratio: 640 / 1391;
    padding: 9px;
    border-radius: 50px;
    background: linear-gradient(150deg, #3a3122 0%, #120f0a 38%, #0a0806 62%, #2b2418 100%);
    box-shadow:
        0 0 0 1px rgba(230, 180, 80, 0.3),
        inset 0 0 0 1px rgba(255, 244, 220, 0.08),
        0 50px 90px -40px rgba(0, 0, 0, 0.95);
}

.t4-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 41px;
    background: #000;
}

.t4-device.sm { width: min(260px, 64vw); border-radius: 42px; padding: 8px; }
.t4-device.sm img { border-radius: 34px; }

.t4-device.landscape {
    width: 100%;
    max-width: 820px;
    aspect-ratio: 1280 / 589;
    border-radius: 44px;
}

.t4-device.landscape img { border-radius: 36px; }

.t4-note {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid var(--t4-line-strong);
    border-radius: 999px;
    background: rgba(12, 10, 7, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--t4-ink);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
}

.t4-note::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--t4-gold-2);
    box-shadow: 0 0 0 4px rgba(224, 172, 69, 0.16);
}

/* notes are placed on the phone itself, over the empty parts of the screen */
.t4-device-wrap { position: relative; }
.t4-note.n1 { top: 21%; left: 55%; }
.t4-note.n3 { top: 50%; right: 52%; }
.t4-note.n2 { top: 79%; right: 58%; }

/* ---------- stats ---------- */
.t4-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 64px;
    border-top: 1px solid var(--t4-line-strong);
}

.t4-stats > div {
    padding: 26px 22px 6px 0;
}

.t4-stats > div + div {
    padding-left: 22px;
    border-left: 1px solid var(--t4-line);
}

.t4-stats dt {
    font-family: var(--t4-serif);
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1;
    background: var(--t4-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.t4-stats dt small {
    font-family: var(--t4-sans);
    font-size: 0.42em;
    vertical-align: 0.5em;
    margin-left: 2px;
}

.t4-stats dd {
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--t4-ink-3);
    font-weight: 600;
}

/* ---------- cards ---------- */
.t4-grid {
    display: grid;
    gap: 20px;
}

.t4-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.t4-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.t4-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.t4 .card {
    background: var(--t4-card);
    border-color: var(--t4-line);
    padding: 30px;
}

.t4 .card:hover {
    background: var(--t4-card-2);
    border-color: var(--t4-line-strong);
}

.t4-num {
    display: block;
    font-family: var(--t4-serif);
    font-size: 30px;
    line-height: 1;
    color: var(--t4-gold-2);
    margin-bottom: 22px;
}

.t4 .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.t4 .card p {
    color: var(--t4-ink-2);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---------- the last difference ---------- */
.t4-posture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.t4-posture-copy p {
    font-size: 17px;
    line-height: 1.75;
    margin-top: 18px;
}

.t4-posture-copy p.t4-ask {
    margin-top: 26px;
    padding: 20px 22px;
    border-left: 2px solid var(--t4-gold-2);
    border-radius: 0 12px 12px 0;
    background: rgba(224, 172, 69, 0.06);
    color: var(--t4-ink);
}

.t4-figure {
    margin: 0;
    padding: 26px;
    border: 1px solid var(--t4-line);
    border-radius: 24px;
    background:
        radial-gradient(420px circle at 30% 0%, rgba(224, 172, 69, 0.1), transparent 65%),
        var(--t4-bg-2);
}

.t4-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.t4-panel svg {
    display: block;
    width: 100%;
    height: auto;
}

.t4-panel figcaption {
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--t4-ink-3);
}

.t4-panel figcaption b {
    display: block;
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--t4-gold-2);
    margin-bottom: 4px;
}

.t4-ripple {
    transform-origin: center;
    transform-box: fill-box;
    animation: t4-ripple 2.4s ease-out infinite;
}

.t4-ripple.late { animation-delay: 1.2s; }

@keyframes t4-ripple {
    0% { opacity: 0.55; transform: scale(0.7); }
    100% { opacity: 0; transform: scale(1.35); }
}

/* ---------- controller ---------- */
.t4-ctrl {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: stretch;
}

.t4-ctrl .card { display: flex; flex-direction: column; }

.t4-ctrl-hw {
    padding: 0 !important;
    overflow: hidden;
}

.t4-ctrl-render {
    position: relative;
    padding: 34px 26px 6px;
    background: radial-gradient(60% 70% at 50% 60%, rgba(224, 172, 69, 0.14), transparent 70%);
}

.t4-ctrl-render img {
    width: 100%;
    height: auto;
}

.t4-ctrl-body {
    padding: 8px 32px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.t4-ctrl-body .t4-hw-grid {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 22px;
    align-items: start;
}

.t4-photo {
    margin: 0;
}

.t4-photo img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--t4-line-strong);
}

.t4-photo figcaption {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--t4-ink-3);
}

.t4-specs {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
}

.t4-specs li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--t4-ink-2);
}

.t4-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--t4-gold-2);
    box-shadow: 0 0 0 4px rgba(224, 172, 69, 0.12);
}

.t4-foot {
    margin-top: auto !important;
    padding-top: 20px;
    border-top: 1px solid var(--t4-line);
    font-size: 13.5px !important;
    color: var(--t4-ink-3) !important;
}

.t4-foot a { color: var(--t4-gold-1); }

.t4 .t4-foot p { font-size: inherit; color: inherit; }

.t4-foot .card-links { margin-top: 14px; }

.t4 .t4-foot .clink { color: var(--t4-ink); }

.t4 .clink.wa svg { fill: #25d366; flex: none; }

.t4 .clink.wa:hover { border-color: rgba(37, 211, 102, 0.5); background: rgba(37, 211, 102, 0.12); }

.t4-pill {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid var(--t4-line-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--t4-gold-2);
    align-self: flex-start;
}

.t4-pill.solid {
    background: linear-gradient(135deg, #f3d08a, #c08f45);
    border-color: transparent;
    color: #1a1206;
}

/* ---------- split rows (learn / studio) ---------- */
.t4-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.t4-split.flip .t4-split-media { order: -1; }

.t4-split-media {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.t4-split-media .t4-device:nth-child(2) { margin-top: 64px; }

.t4-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 16px;
}

.t4-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--t4-ink-2);
}

.t4-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    border: 1.5px solid var(--t4-gold-2);
    background: radial-gradient(circle, var(--t4-gold-2) 0 3px, transparent 3.5px);
}

.t4-list b { color: var(--t4-ink); font-weight: 600; }

.t4-studio-shot {
    display: flex;
    justify-content: center;
    margin: 0 0 22px;
}

.t4-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.t4-formats span {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--t4-gold-1);
    border: 1px solid var(--t4-line-strong);
    border-radius: 8px;
    padding: 4px 10px;
    background: rgba(224, 172, 69, 0.05);
}

/* ---------- story ---------- */
.t4-story {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: start;
}

.t4-story p {
    font-size: 17px;
    line-height: 1.75;
    margin-top: 18px;
}

.t4-quote {
    position: relative;
    margin: 0;
    padding: 40px 36px 34px;
    border: 1px solid var(--t4-line);
    border-radius: 24px;
    background:
        radial-gradient(360px circle at 100% 0%, rgba(224, 172, 69, 0.12), transparent 60%),
        var(--t4-bg-2);
}

.t4-quote p {
    font-family: var(--t4-serif);
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.12;
    color: var(--t4-ink);
    margin: 0;
}

.t4-quote p::before { content: '\201C'; color: var(--t4-gold-2); }
.t4-quote p::after { content: '\201D'; color: var(--t4-gold-2); }

.t4-quote footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    font-size: 14px;
    color: var(--t4-ink-3);
}

.t4-quote footer b {
    display: block;
    color: var(--t4-ink);
    font-size: 15px;
}

.t4-langs-label {
    margin: 30px 0 0 !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--t4-ink-3);
}

.t4-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.t4-langs span {
    font-size: 14px;
    color: var(--t4-ink);
    border: 1px solid var(--t4-line);
    border-radius: 999px;
    padding: 6px 13px;
    background: var(--t4-card);
}

/* videos */
.t4-videos {
    margin-top: 72px;
}

.t4-videos-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.t4-videos-head h3 {
    font-size: 22px;
}

.t4-videos-head a {
    font-size: 14px;
    font-weight: 600;
    color: var(--t4-gold-1);
}

.t4-video {
    display: block;
    border: 1px solid var(--t4-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--t4-card);
    color: var(--t4-ink-2);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.t4-video:hover {
    color: var(--t4-ink-2);
    transform: translateY(-4px);
    border-color: var(--t4-line-strong);
}

.t4-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #120e09;
    overflow: hidden;
}

.t4-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85);
}

.t4-thumb::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border-radius: 50%;
    background: rgba(5, 4, 3, 0.72);
    box-shadow: 0 0 0 1px rgba(246, 226, 180, 0.4);
}

.t4-thumb::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -8px 0 0 -5px;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--t4-gold-1);
}

.t4-video-body {
    padding: 14px 16px 16px;
}

.t4-video-body strong {
    display: block;
    font-size: 14.5px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.t4-video-body span {
    font-size: 12.5px;
    color: var(--t4-ink-3);
}

/* ---------- generations ---------- */
.t4-gen {
    display: flex;
    flex-direction: column;
}

.t4-gen img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid var(--t4-line-strong);
    margin-bottom: 20px;
    background: #0d0b08;
}

.t4-gen .t4-gen-no {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--t4-gold-2);
    margin-bottom: 8px;
}

.t4-gen h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.t4-gen .t4-pill { margin: 0; }

.t4-gen p { margin-bottom: 18px !important; }

.t4-gen .clink { margin-top: auto; align-self: flex-start; }

.t4-gen.current {
    border-color: var(--t4-line-strong);
    background:
        radial-gradient(320px circle at 0% 0%, rgba(224, 172, 69, 0.14), transparent 60%),
        var(--t4-card);
}

.t4 .clink {
    border-color: var(--t4-line-strong);
    background: rgba(224, 172, 69, 0.05);
    color: var(--t4-ink);
}

.t4 .clink:hover {
    border-color: var(--t4-gold-2);
    background: rgba(224, 172, 69, 0.12);
    color: #fff;
}

/* ---------- press ---------- */
.t4-press {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 20px;
    align-items: start;
}

.t4-facts {
    display: grid;
    grid-template-columns: 170px 1fr;
    margin: 0;
}

.t4-facts dt,
.t4-facts dd {
    padding: 13px 0;
    border-bottom: 1px solid var(--t4-line);
    font-size: 14.5px;
    line-height: 1.55;
}

.t4-facts dt {
    color: var(--t4-ink-3);
    font-weight: 600;
    padding-right: 16px;
}

.t4-facts dd { color: var(--t4-ink); }

.t4-facts dt:last-of-type,
.t4-facts dd:last-of-type { border-bottom: 0; }

.t4-downloads {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
}

.t4-downloads a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--t4-line);
    border-radius: 12px;
    background: rgba(224, 172, 69, 0.04);
    color: var(--t4-ink);
    font-size: 14.5px;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.t4-downloads a:hover {
    color: #fff;
    border-color: var(--t4-gold-2);
    background: rgba(224, 172, 69, 0.1);
}

.t4-downloads a span {
    font-size: 12px;
    color: var(--t4-ink-3);
    font-family: var(--font-mono);
    white-space: nowrap;
}

.t4-blurb {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px dashed var(--t4-line-strong);
    color: var(--t4-ink-2) !important;
}

.t4-press h3 { font-size: 17px; margin-bottom: 16px; }

.t4-press .t4-blurb + h3 { margin-top: 24px; }

/* ---------- final call ---------- */
.t4-final {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 120px;
}

.t4-final img.icon {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    margin: 0 auto 30px;
    box-shadow: 0 0 0 1px rgba(230, 180, 80, 0.35), 0 30px 70px -20px rgba(224, 172, 69, 0.45);
}

.t4-final h2 {
    font-size: clamp(36px, 5.4vw, 68px);
    line-height: 1.02;
    max-width: 860px;
    margin: 0 auto 34px;
}

.t4-final-sub {
    margin: -16px auto 32px;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.5;
    color: var(--t4-ink-2);
}

.t4-final .t4-actions { justify-content: center; margin-bottom: 18px; }

.t4-final .t4-meta { max-width: 640px; margin: 0 auto; justify-content: center; }

.t4-final .t4-follow { justify-content: center; margin-top: 20px; }

.t4 .footer { border-top-color: var(--t4-line); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .t4-stats { grid-template-columns: repeat(3, 1fr); }
    .t4-stats > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .t4-stats > div:nth-child(n + 4) { border-top: 1px solid var(--t4-line); }
    .t4-note.n3 { display: none; }
}

@media (max-width: 920px) {
    .t4-hero-grid,
    .t4-posture,
    .t4-split,
    .t4-story,
    .t4-ctrl,
    .t4-press { grid-template-columns: 1fr; gap: 40px; }
    .t4-split.flip .t4-split-media { order: 0; }
    .t4-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .t4-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .t4-hero-visual { padding-top: 10px; }
}

@media (max-width: 760px) {
    .t4-hero { padding-top: calc(var(--nav-h) + 36px); }
    .t4 .lang a { padding: 9px 14px; }
    .t4-grid.cols-2 { grid-template-columns: 1fr; }
    .t4-stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
    .t4-stats > div,
    .t4-stats > div + div { padding: 22px 16px 8px 0; border-left: 0; }
    .t4-stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--t4-line); }
    .t4-stats > div:nth-child(n + 3) { border-top: 1px solid var(--t4-line); }
    .t4-stats > div:nth-child(4) { padding-left: 16px; }
    .t4-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .t4-note { display: none; }
    .t4-split-media .t4-device:nth-child(2) { margin-top: 40px; }
    .t4-facts { grid-template-columns: 1fr; }
    .t4-facts dt { border-bottom: 0; padding-bottom: 2px; }
    .t4-facts dd { padding-top: 0; }
    .t4-ctrl-body .t4-hw-grid { grid-template-columns: 1fr; }
    .t4-photo { max-width: 220px; }
    .t4-quote { padding: 32px 26px 28px; }
}

@media (max-width: 560px) {
    /* phones: name, positioning, proof and a store badge in the first screen */
    .t4-hero { padding-top: calc(var(--nav-h) + 24px); }
    .t4-hero .t4-kicker { display: none; }
    .t4-launch { margin-bottom: 24px; }
    .t4-hero h1 { margin-bottom: 20px; }
    .t4-hero h1 .t4-tagline { margin-top: 10px; }
    .t4-proof { margin-bottom: 18px; }
    .t4-lead { margin-bottom: 26px; }
    .t4-grid.cols-4,
    .t4-grid.cols-3 { grid-template-columns: 1fr; }
    .t4-split-media .t4-device.sm { width: min(200px, 44vw); border-radius: 32px; padding: 6px; }
    .t4-split-media .t4-device.sm img { border-radius: 26px; }
    .t4-device.landscape { border-radius: 26px; padding: 6px; }
    .t4-device.landscape img { border-radius: 20px; }
    .t4-figure { padding: 18px; }
    .t4-panels { gap: 12px; }
    .t4-ctrl-body { padding: 4px 22px 24px; }
    .t4-ctrl-render { padding: 24px 14px 0; }
    .t4-badge img { height: 50px; }
}

/* keep the App Store and Google Play badges on one row on phones */
@media (max-width: 420px) {
    .t4-actions { column-gap: 12px; }
    .t4-badge img { height: 44px; }
}

/* 360px Android phones: the wider Turkish App Store badge still fits beside Google Play */
@media (max-width: 380px) {
    .t4-actions { column-gap: 10px; }
    .t4-badge img { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    .t4-ripple { animation: none; opacity: 0.35; }
    .t4-launch,
    .t4-badge,
    .t4-video { transition: none; }
}
