/* Telepon landing (2026-10). Same look as the SIŁA AAC stand videos: warm dark stage,
   gold accent, white pictogram tiles. Tile borders follow the Fitzgerald key, like the app. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0d0c0a;
  --bg-2: #15120e;
  --surface: #1c1915;
  --line: #2f2a23;
  --ink: #fffcf4;
  --soft: #d9d1c3;
  --muted: #a69d8d;
  --gold: #ffb800;
  --gold-ink: #1a1408;
  --coral: #f06b4e;

  /* Fitzgerald key */
  --people: #efbc22;
  --action: #3fa64f;
  --thing: #ec8a2d;
  --describe: #3d8bdb;
  --social: #e2649f;

  --wrap: 1160px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font: 700 17px/1 "Inter", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #ffc733; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--soft); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 12, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  min-width: 46px; height: 40px;
  border: 0; border-radius: 10px;
  background: var(--surface); color: var(--ink);
  font: 700 14px/1 "Inter", sans-serif;
  cursor: pointer;
}
.site-header .btn { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

/* ---------- hero ---------- */

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 19ch;
  margin: 0 auto;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 em, h2 em { font-style: normal; color: var(--gold); }
.lead {
  max-width: 44rem;
  margin: 24px auto 0;
  color: var(--soft);
  font-size: clamp(18px, 1.8vw, 21px);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.stage {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 30px 120px -40px rgba(255, 184, 0, 0.28);
}

/* the hero clip says which device is whose */
.stage { padding-top: 58px; }
.stage-labels { position: absolute; top: 16px; left: 0; right: 0; height: 30px; }
.stage-label {
  position: absolute;
  top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.14);
  color: var(--gold);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transform: translateX(-50%);
}
.stage-label svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* centres of the phone (6–26 %) and the tablet (34–94 %) in the hero clip */
.stage-label.is-phone { left: 16.1%; }
.stage-label.is-tablet { left: 63.9%; }

/* ---------- video clips ---------- */

.clip { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.stage .clip { border: 0; border-radius: 0; }
.clip video { width: 100%; height: auto; }
.clip-play {
  position: absolute; inset: auto 14px 14px auto;
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: rgba(13, 12, 10, 0.8); color: var(--ink);
  cursor: pointer;
}
.clip-play svg { width: 22px; height: 22px; margin: auto; fill: currentColor; }
.is-manual .clip-play { display: grid; }

/* ---------- sections ---------- */

section { padding: clamp(64px, 9vw, 112px) 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.label { margin: 0 0 12px; color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.section-head p { margin: 16px 0 0; color: var(--soft); font-size: 19px; }
h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }

/* a section says its message in symbols, as on the child's board */
.strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.center .strip { justify-content: center; }
.sym {
  --c: var(--people);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 72px; padding: 6px 8px 5px;
  border: 3px solid var(--c); border-radius: 12px;
  background: #fff; color: #15120e;
  font-size: 12px; font-weight: 700; line-height: 1.1; text-align: center;
}
.sym img { width: 48px; height: 48px; }
.sym[data-k="action"] { --c: var(--action); }
.sym[data-k="thing"] { --c: var(--thing); }
.sym[data-k="describe"] { --c: var(--describe); }
.sym[data-k="social"] { --c: var(--social); }

/* ---------- clip rows ---------- */

.rows { display: grid; gap: clamp(48px, 7vw, 88px); }
.row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.row.flip .clip { order: 2; }
.row-text h3 { margin-bottom: 12px; }
.row-text p { margin: 0; color: var(--soft); }
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-weight: 800; }

/* ---------- feature cards ---------- */

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.card { flex: 0 1 calc((100% - 32px) / 3); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card svg { width: 30px; height: 30px; margin-bottom: 14px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.55; }

/* ---------- specialists ---------- */

.badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.14);
  color: var(--gold);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  vertical-align: middle;
}
.pilot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: 28px 32px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 184, 0, 0.06);
}
.pilot p { max-width: 40rem; margin: 0; font-size: 19px; }

/* ---------- safety ---------- */

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 38px; color: var(--soft); }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.links { margin-top: 28px; color: var(--muted); font-size: 16px; }
.links a { color: var(--soft); }

/* ---------- videos ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.gallery video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); object-fit: cover; }
.gallery h3 { margin-top: 14px; font-size: 19px; }
.gallery p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.videos-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.tata {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 184, 0, 0.2), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(240, 107, 78, 0.12), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.tata-title { margin: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.tata-text > p:not(.label) { margin: 16px 0 0; color: var(--soft); font-size: 18px; }
.tata-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tata-reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 12px 0 24px; list-style: none; }
.tata-reels li:nth-child(even) { margin-top: 28px; }
.tata-reels a {
  --tilt: -3deg;
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 252, 244, 0.12);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.9);
  transform: rotate(var(--tilt));
  transition: transform 0.2s ease;
}
.tata-reels li:nth-child(2) a { --tilt: 2deg; }
.tata-reels li:nth-child(3) a { --tilt: -1.5deg; }
.tata-reels li:nth-child(4) a { --tilt: 3deg; }
.tata-reels a:hover, .tata-reels a:focus-visible { transform: rotate(0) translateY(-8px); }
.tata-reels img { width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; left: 10px; top: 10px;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(13, 12, 10, 0.72);
}
.reel-play svg { width: 14px; height: 14px; fill: var(--ink); }

/* ---------- FAQ ---------- */

.faq { max-width: 52rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  font-size: 19px; font-weight: 700;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--soft); }

/* ---------- CTA band ---------- */

.cta-band {
  padding: clamp(36px, 5vw, 56px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--gold);
  color: var(--gold-ink);
  text-align: center;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { max-width: 36rem; margin: 14px auto 26px; font-size: 19px; }
.cta-band .btn { background: var(--gold-ink); color: var(--gold); }
.cta-band .strip { justify-content: center; }

/* ---------- team + contact ---------- */

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.person { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; }
.person strong { display: block; font-size: 17px; }
.person span { color: var(--muted); font-size: 15px; }

.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.contact > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact h3 { margin-bottom: 6px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contact p { margin: 0; }
.contact a { text-decoration-color: var(--muted); text-underline-offset: 4px; }

.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer a { color: var(--soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- narrow screens ---------- */

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .card { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row.flip .clip { order: 0; }
  .checks, .team, .contact { grid-template-columns: minmax(0, 1fr); }
  .card { flex-basis: 100%; }
  .gallery { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery li { scroll-snap-align: start; }
  .sym { min-width: 62px; padding: 5px 6px 4px; font-size: 11px; }
  .sym img { width: 42px; height: 42px; }
  .pilot { padding: 22px; }
  .stage { padding-top: 48px; }
  .stage-labels { top: 12px; }
  .stage-label { height: 26px; padding: 0 9px; font-size: 12px; gap: 5px; transform: none; }
  .stage-label.is-phone { left: 4%; }
  .stage-label.is-tablet { left: auto; right: 5.9%; }
  .tata { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .tata-reels { grid-template-columns: repeat(4, 44%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; }
  .tata-reels li { scroll-snap-align: start; }
  .tata-reels li:nth-child(even) { margin-top: 0; }
  .tata-reels a { transform: none; }
}

@media (max-width: 420px) {
  .site-header .btn span { display: none; }
  .site-header .btn { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .faq summary::after, .tata-reels a { transition: none; }
}
