/* Telvy website. No external fonts, scripts or trackers: nothing is loaded from other servers. */
:root {
  --night-1: #2b2e45;
  --night-2: #14141f;
  --night-3: #0a0a14;
  --ink: #f4f4fa;
  --soft: #b9bad0;
  --dim: #8a8ba6;
  --line: #2c2d45;
  --card: #1a1b2c;
  --rec: #ff4d57;
  --rec-ink: #ff6b73;
  --todo: #ffd166;
  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night-3);
  color: var(--ink);
  font: 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.15rem var(--f-display); text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.top nav { display: flex; gap: 18px; font-size: 0.92rem; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .top nav a.opt { display: none; } .brand { font-size: 1.02rem; } }
@media (max-width: 400px) {
  .top { gap: 10px; }
  .brand { font-size: 0.92rem; gap: 8px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .top nav { font-size: 0.85rem; }
}

/* Hero */
.hero { background: linear-gradient(160deg, var(--night-1) 0%, var(--night-2) 55%, var(--night-3) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; padding: 36px 0 72px; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rec-ink); }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.2rem); line-height: 1.02; font-weight: 800; margin: 14px 0 18px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--soft); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 650; font-size: 1rem; text-decoration: none; }
.btn.primary { background: var(--rec); color: #fff; }
.btn.primary:hover { background: #ff626b; }
.btn.ghost { border: 1px solid #3a3b58; color: var(--ink); }
.btn.ghost:hover { border-color: var(--soft); }
.note { margin-top: 14px; font-size: 0.88rem; color: var(--dim); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 48px; }
  .phone { margin: 0 auto; }
}

/* Phone drawing: the script runs right below the lens */
.phone { width: min(290px, 78vw); aspect-ratio: 9 / 18.6; border-radius: 44px; background: #05050b; border: 2px solid #34354f; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 6px #0d0d18; position: relative; padding: 18px 16px; justify-self: center; }
.phone .lens { width: 74px; height: 22px; border-radius: 12px; background: #000; margin: 0 auto; position: relative; }
.phone .lens::after { content: ""; position: absolute; right: 9px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #1d2b4a; box-shadow: inset 0 0 0 2px #0b1428; }
.phone .script { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; font: 700 1.02rem/1.25 var(--f-display); text-align: center; }
.phone .script span:nth-child(1) { color: #fff; }
.phone .script span:nth-child(2) { color: #fff; }
.phone .script span:nth-child(3) { color: #c6c7d6; }
.phone .script span:nth-child(4) { color: #8e8fa6; }
.phone .script span:nth-child(5) { color: #5c5d75; }
.phone .script span:nth-child(6) { color: #35364c; }
.phone .view { position: absolute; left: 16px; right: 16px; bottom: 86px; top: 46%; border-radius: 18px; background: radial-gradient(120% 90% at 50% 20%, #23253a 0%, #10111c 70%); display: grid; place-items: center; }
.phone .view svg { width: 44%; opacity: 0.5; }
.phone .shutter { position: absolute; left: 50%; bottom: 20px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; }
.phone .shutter i { width: 38px; height: 38px; border-radius: 50%; background: var(--rec); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--night-2); }
.sec-head { max-width: 40em; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.1; font-weight: 750; margin-top: 10px; }
.sec-head p { color: var(--soft); margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--soft); font-size: 0.98rem; }
.card .num { display: inline-block; font: 700 0.78rem var(--f-display); letter-spacing: 0.1em; color: var(--rec-ink); margin-bottom: 12px; }
.plain { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .plain { grid-template-columns: 1fr; } }
.plain li { border-top: 2px solid var(--rec); padding-top: 12px; color: var(--soft); font-size: 0.95rem; }
.plain strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }

/* Steps and feedback */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; color: var(--soft); font-size: 0.98rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rec); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.questions { margin: 0 0 24px; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; font-size: 1.05rem; }
.questions li::marker { color: var(--rec-ink); font-weight: 700; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rec-ink); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); margin-top: 10px; max-width: 46em; }

/* Legal pages */
.legal { padding: 24px 0 72px; max-width: 46em; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }
.legal .stand { color: var(--dim); font-size: 0.9rem; }

/* Still to be filled in before the site goes live */
mark.todo { background: var(--todo); color: #1a1300; padding: 1px 6px; border-radius: 5px; font-weight: 600; }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--dim); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
