@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 500 800; font-display: swap; src: url("fonts/sora-latin.woff2") format("woff2"); }

:root {
    --black: #0b0d11;
    --graphite: #15181e;
    --rule-dark: #262a32;
    --white: #ffffff;
    --paper: #f4f4f1;
    --ink: #111418;
    --ink-2: #4c535e;
    --ink-3: #868d98;
    --rule: #e2e2dc;
    --blue: #1f5fd0;
    --teal: #35c4a9;
    --head: "Sora", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.label { font-family: var(--head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-family: var(--head); font-size: 1.62rem; font-weight: 800; letter-spacing: -0.035em; color: transparent; background: linear-gradient(96deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; }
.logo span { margin-top: 3px; padding-left: 2px; color: var(--ink); font-family: var(--head); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.46em; }
.menu { display: flex; gap: 30px; margin-right: auto; }
.menu a { padding: 25px 0 22px; border-bottom: 3px solid transparent; font-family: var(--head); font-size: 0.9rem; font-weight: 600; }
.menu a:hover { border-color: var(--ink); }
.top-side { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; color: var(--ink-2); }
.top-side a:hover { color: var(--ink); }
.pill { padding: 10px 18px; border-radius: 999px; color: var(--white) !important; background: var(--ink); font-family: var(--head); font-weight: 600; }
.pill:hover { background: #000; }

/* ---------- Featured ---------- */
.featured { position: relative; height: min(78vh, 680px); min-height: 520px; overflow: hidden; color: var(--white); background: var(--black); }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 700ms; }
.slide.on { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; transform: scale(1.04); transition: transform 8s ease-out; }
.slide.on .slide-bg { transform: scale(1); }
.slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(11, 13, 17, 0.97) 0%, rgba(11, 13, 17, 0.9) 40%, rgba(11, 13, 17, 0.1) 78%), linear-gradient(0deg, rgba(11, 13, 17, 0.85), transparent 45%); }
.slide .wrap { position: relative; z-index: 2; padding-bottom: 96px; }
.slide-copy { max-width: 560px; }
.slide .label { display: inline-flex; gap: 10px; align-items: center; color: var(--teal); }
.slide .label::before { width: 28px; height: 2px; content: ""; background: var(--teal); }
.slide h1, .slide h2 { margin: 16px 0 0; font-family: var(--head); font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.slide p { margin: 18px 0 0; color: #d3d8e0; font-size: 1.1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; gap: 10px; align-items: center; padding: 14px 22px; border: 1px solid transparent; border-radius: 6px; font-family: var(--head); font-size: 0.92rem; font-weight: 700; }
.btn-solid { color: var(--ink); background: var(--white); }
.btn-solid:hover { background: #e9ecef; }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.plats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; color: #aeb5c0; font-size: 0.8rem; }
.plats span + span::before { margin-right: 8px; content: "/"; color: #5c6470; }

/* Tadoo Health slide has composed art instead of a photo */
.slide-health { background: radial-gradient(circle at 78% 40%, #123c6e, #071a30 55%, #0b0d11); }
.slide-health::after { background: linear-gradient(0deg, rgba(11, 13, 17, 0.8), transparent 40%); }
.slide-art { position: absolute; right: max(6vw, calc((100vw - 1240px) / 2 + 60px)); bottom: -120px; z-index: 1; width: 300px; overflow: hidden; border: 9px solid #05080d; border-radius: 40px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); transform: rotate(5deg); }

.dots { position: absolute; right: 0; bottom: 34px; left: 0; z-index: 5; }
.dots .wrap { display: flex; gap: 10px; }
.dot { display: flex; flex-direction: column; gap: 10px; width: 190px; padding: 0; border: 0; color: #9aa2ae; background: none; font-family: var(--head); font-size: 0.8rem; font-weight: 600; text-align: left; }
.dot i { display: block; height: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.dot i::after { display: block; width: 0; height: 100%; content: ""; background: var(--white); }
.dot.on { color: var(--white); }
.dot.on i::after { width: 100%; transition: width 7s linear; }

/* ---------- Platform strip ---------- */
.strip { border-bottom: 1px solid var(--rule); background: var(--paper); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: center; padding-block: 22px; }
.strip .label { color: var(--ink-3); }
.store { display: inline-flex; gap: 10px; align-items: center; font-family: var(--head); font-size: 0.95rem; font-weight: 600; }
.store svg { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.sec { padding-block: 84px; }
.sec-top { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.sec-top h2, .about h2 { margin: 8px 0 0; font-family: var(--head); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.sec .label { color: var(--blue); }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); }
.tab { padding: 9px 20px; border: 0; border-radius: 999px; color: var(--ink-2); background: none; font-family: var(--head); font-size: 0.86rem; font-weight: 600; }
.tab[aria-pressed="true"] { color: var(--white); background: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { display: block; }
.card[hidden] { display: none; }
.card-art { position: relative; aspect-ratio: 1024 / 500; overflow: hidden; border-radius: 10px; background: var(--black); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.card:hover .card-art img { transform: scale(1.035); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 11px; border-radius: 4px; color: var(--ink); background: var(--white); font-family: var(--head); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.badge.soon { color: var(--white); background: var(--blue); }
.card-row { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.card h3 { margin: 0; font-family: var(--head); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; }
.card-kind { color: var(--ink-3); font-size: 0.8rem; white-space: nowrap; }
.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.card-plats { display: flex; gap: 6px; margin-top: 12px; }
.card-plats span { padding: 4px 9px; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink-2); font-size: 0.72rem; font-weight: 600; }
.card-more { display: inline-block; margin-top: 14px; border-bottom: 2px solid var(--ink); font-family: var(--head); font-size: 0.84rem; font-weight: 700; }

.mystery { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; background: repeating-linear-gradient(135deg, #15181e 0 18px, #191d24 18px 36px); }
.mystery b { font-family: var(--head); font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.mystery small { display: block; margin-top: 8px; color: #8f98a5; font-size: 0.74rem; letter-spacing: 0.2em; text-align: center; text-transform: uppercase; }

/* ---------- Announcement band ---------- */
.band { color: var(--white); background: var(--black); }
.band .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-block: 84px; }
.band .label { color: var(--teal); }
.band h2 { margin: 12px 0 0; font-family: var(--head); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.band p { max-width: 520px; color: #b9c0cb; }
.signup { padding: 30px; border: 1px solid var(--rule-dark); border-radius: 10px; background: var(--graphite); }
.signup h3 { margin: 0; font-family: var(--head); font-size: 1.1rem; }
.signup p { margin: 6px 0 18px; font-size: 0.9rem; }
.signup form { display: flex; gap: 8px; }
.signup input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid #343a45; border-radius: 6px; color: var(--white); background: var(--black); font: inherit; }
.signup small { display: block; margin-top: 12px; color: #7d8693; font-size: 0.76rem; }

/* ---------- News ---------- */
.news { border-top: 1px solid var(--rule); }
.news a { display: grid; grid-template-columns: 130px 120px 1fr auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.news time { color: var(--ink-3); font-size: 0.86rem; }
.news .tag { color: var(--blue); font-family: var(--head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.news h3 { margin: 0; font-family: var(--head); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.news a:hover h3 { text-decoration: underline; }
.news .go { color: var(--ink-3); }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 84px; }
.about .label { color: var(--blue); }
.about-lead { margin: 20px 0 0; color: var(--ink-2); font-size: 1.08rem; }
.contacts { display: grid; gap: 0; align-content: start; }
.contacts div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid #d6d6cf; }
.contacts div:last-child { border-bottom: 1px solid #d6d6cf; }
.contacts dt { font-family: var(--head); font-size: 0.9rem; font-weight: 700; }
.contacts dd { margin: 0; color: var(--ink-2); font-size: 0.93rem; }
.contacts a { color: var(--ink); border-bottom: 1px solid var(--ink-3); }

/* ---------- Footer ---------- */
.foot { color: #aab1bc; background: var(--black); font-size: 0.88rem; }
.foot .wrap { padding-block: 60px 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.foot .logo span { color: var(--white); }
.foot-note { max-width: 260px; margin-top: 16px; font-size: 0.84rem; }
.foot h4 { margin: 0 0 14px; color: var(--white); font-family: var(--head); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
.foot ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.foot a:hover { color: var(--white); }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule-dark); color: #78818e; font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .menu, .top-side a:not(.pill) { display: none; }
    .top .wrap { justify-content: space-between; }
    .slide-art { display: none; }
    .dot { width: auto; flex: 1; }
    .band .wrap, .about .wrap { grid-template-columns: 1fr; gap: 36px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .news a { grid-template-columns: 1fr; gap: 4px; }
    .news .go { display: none; }
}
@media (max-width: 640px) {
    .slide::after { background: linear-gradient(0deg, rgba(11, 13, 17, 0.96) 35%, rgba(11, 13, 17, 0.7)); }
    .slide-health::after { background: none; }
    .grid { grid-template-columns: 1fr; }
    .sec, .band .wrap, .about .wrap { padding-block: 56px; }
    .featured { min-height: 560px; }
    .dot span { display: none; }
    .signup form { flex-direction: column; }
    .contacts div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    html { scroll-behavior: auto; }
}
