/*
 * TVMind website. Base layout first; the TVMind colours and type are set in the "TVMind theme" section further down.
 */
:root {
  --midnight: #0A1324; --midnight-2: #131E35; --midnight-line: #26355A;
  --blue: #12286B; --blue-2: #1A3480; --blue-line: #2D4BA0;
  --coral: #FF7A1A; --white: #FFFFFF; --on-dark: #F2F4F8; --on-dark-muted: #B9C4D4; --on-blue-muted: #D3DDF2;
  /* Neutral sections follow the visitor's light or dark setting. */
  --bg: #F3F5FA; --surface: #FFFFFF; --line: #D9E0EE; --text: #0E1A33; --muted: #4B5670; --accent: #1D4ED8; --accent-soft: #E5ECFC;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161D2A; --surface: #1F2938; --line: #2E3A4D; --text: #F2F4F8; --muted: #B9C4D4; --accent: #8EB0FF; --accent-soft: #1D2A44; color-scheme: dark; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.bar, main, .foot { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Full-width colour bands without extra wrappers: the band colour is painted out to the window edges. */
.band { box-shadow: 0 0 0 100vmax var(--band-bg); clip-path: inset(0 -100vmax); background: var(--band-bg); }
.band-midnight { --band-bg: var(--midnight); color: var(--on-dark); --band-muted: var(--on-dark-muted); --band-card: var(--midnight-2); --band-line: var(--midnight-line); }
.band-blue { --band-bg: var(--blue); color: var(--white); --band-muted: var(--on-blue-muted); --band-card: var(--blue-2); --band-line: var(--blue-line); }
.band a:not(.button) { color: var(--white); }

/* Header and footer: midnight on every page, with the white-and-coral wordmark. */
.bar { --band-bg: var(--midnight); box-shadow: 0 0 0 100vmax var(--midnight); clip-path: inset(0 -100vmax); background: var(--midnight); color: var(--on-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.mark { display: inline-flex; align-items: center; text-decoration: none; }
.mark img { height: 30px; width: auto; }
.mark .light { display: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--on-dark-muted); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--white); }
.status, .bar .status { font-size: 13px; font-weight: 650; color: var(--midnight); background: var(--coral); border-radius: 999px; padding: 4px 12px; white-space: nowrap; text-decoration: none; }
.foot { box-shadow: 0 0 0 100vmax var(--midnight); clip-path: inset(0 -100vmax); background: var(--midnight); color: var(--on-dark-muted);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 28px; padding-bottom: 36px; font-size: 14px; }
.foot a { color: var(--white); }

/* Type */
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.band .eyebrow { color: var(--coral); }
h1 { margin: 0 0 18px; font-size: clamp(44px, 7vw, 80px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.hl { color: var(--coral); }
.underline { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 0.12em; text-underline-offset: 0.14em; text-decoration-skip-ink: none; }
.lead { margin: 0 0 20px; font-size: 20px; color: var(--muted); max-width: 64ch; }
.band .lead, .band p { color: var(--band-muted); }
.band h2, .band h3, .band strong { color: inherit; }

/* Buttons: coral for the main action, outlined white for the second. */
.button { display: inline-block; padding: 13px 22px; border-radius: 10px; background: var(--coral); color: var(--midnight); font-weight: 700; text-decoration: none; }
.button:hover { background: #FF7356; }
.button.ghost { background: transparent; color: var(--white); border: 1.5px solid var(--on-dark-muted); }
.button.ghost:hover { border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }

/* Home: hero */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.pillars li { padding: 7px 15px; border-radius: 999px; background: var(--band-card); border: 1px solid var(--band-line); font-weight: 650; font-size: 15px; color: var(--white); }
.pillars li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px; border-radius: 50%; background: var(--coral); vertical-align: 1px; }
.note { margin: 0; font-size: 15px; color: var(--band-muted); }
.hero-shots { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.hero-shots img { flex: 1 1 0; min-width: 0; max-width: 250px; border-radius: 22px; border: 1px solid var(--band-line); }
.hero-shots img:last-child { margin-top: 48px; }

/* Screenshots */
.shot { margin: 0; }
.shot img { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.band .shot img { border-color: var(--band-line); }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.band .shot figcaption { color: var(--band-muted); }
.phones { display: flex; gap: 16px; justify-content: center; min-width: 0; }
.phones img { flex: 1 1 0; min-width: 0; max-width: 240px; border-radius: 22px; }

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; }
.section > h2, .feature h2 { margin: 0 0 12px; font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.compare { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; margin: 28px 0 36px; }
.compare > div { border-radius: 16px; padding: 24px; min-width: 0; }
.compare .remote { background: var(--band-card); border: 1px solid var(--band-line); }
.compare .remote li { color: var(--band-muted); }
.compare .tvi { background: var(--white); color: var(--midnight); }
.compare .tvi h3 { color: var(--blue); }
.compare h3 { margin: 0 0 12px; font-size: 20px; }
.compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.compare li { position: relative; padding-left: 30px; }
.compare .remote li::before { content: "–"; position: absolute; left: 6px; color: var(--band-muted); }
.compare .tvi li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); color: var(--midnight); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.feature + .feature:not(.band) { border-top: 1px solid var(--line); }
.feature.flip .text { order: 2; }
.feature p { color: var(--muted); }
.band.feature p { color: var(--band-muted); }
.tag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.band .tag { background: var(--coral); color: var(--midnight); }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 20px 0 6px; }
.stat .big { font-size: clamp(40px, 5.5vw, 60px); font-weight: 800; letter-spacing: -0.03em; color: var(--coral); line-height: 1; }
.stat .was { font-size: 18px; color: var(--band-muted); }
.stat-note { font-size: 14px; color: var(--band-muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cards article { background: var(--band-card, var(--surface)); border: 1px solid var(--band-line, var(--line)); border-radius: 16px; padding: 24px; }
.cards h3 { margin: 0 0 8px; font-size: 19px; }
.cards .key { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral); }
.cards p { margin: 0; font-size: 16px; }
.devices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 16px; padding: 0; list-style: none; }
.devices li { background: var(--band-card); border: 1px solid var(--band-line); border-radius: 14px; padding: 18px; font-weight: 650; }
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 24px 28px; border-radius: 16px; background: var(--coral); color: var(--midnight); }
.promo p { margin: 0; color: var(--midnight); font-size: 18px; font-weight: 650; }
.promo .button { background: var(--midnight); color: var(--white); }
.small { font-size: 14px; color: var(--muted); }
.band .small { color: var(--band-muted); }

/* Guide pages (VPN section) and the admin page. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; max-width: 640px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px 0 72px; }
.points article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.points h2 { margin: 0 0 8px; font-size: 18px; }
.points p { margin: 0; color: var(--muted); font-size: 16px; }
.doc { max-width: 760px; padding-top: 32px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(34px, 5.5vw, 52px); }
.doc h2 { margin: 40px 0 10px; font-size: 24px; letter-spacing: -0.015em; }
.doc h3 { margin: 0 0 8px; font-size: 19px; }
.doc p, .doc li { color: var(--text); }
.doc .lead { color: var(--muted); }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.eyebrow a { color: inherit; text-decoration: none; }
.doc .small { font-size: 14px; color: var(--muted); }
.doc .guide-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.guide-links li { margin: 0; }
.guide-links a { display: block; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; text-decoration: none; color: var(--text); }
.guide-links a strong { display: block; color: var(--accent); }
.guide-links a span { font-size: 15px; color: var(--muted); }
.callout { margin: 20px 0; padding: 16px 18px; background: var(--blue); color: var(--white); border-radius: 12px; }
.callout p, .callout strong { margin: 0; color: var(--white); }
.callout a { color: var(--white); }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
#vpn-offers { margin: 40px 0; padding: 20px; border: 1px dashed var(--line); border-radius: 14px; }
#vpn-offers h2 { margin-top: 0; }
.offer { margin: 0 0 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.offer .button { margin-top: 10px; }
.ad-label { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.disclosure { font-size: 14px; color: var(--muted); }
.form { display: grid; gap: 12px; margin: 12px 0; max-width: none; }
.form label { display: grid; gap: 4px; font-size: 15px; color: var(--muted); }
.form label.check { display: flex; gap: 8px; align-items: center; color: var(--text); }
.form input:not([type=checkbox]), .form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.form .button { border: 0; cursor: pointer; justify-self: start; font: inherit; font-weight: 700; }
.inline { display: inline; }
.quiet { font: inherit; font-size: 15px; background: none; border: 0; color: var(--accent); cursor: pointer; padding: 6px 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

.feature > *, .hero > *, .compare > * { min-width: 0; }
/* W1–W7 (owner 2026-11-30): the tablet Home as the hero, a numbered feature list, and each section's Free/Pro line. */
.hero:has(.hero-tablet) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
.hero-tablet img { border-radius: 16px; border: 1px solid var(--band-line); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35); }
.feature-index { list-style: none; counter-reset: f; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.feature-index li { counter-increment: f; }
.feature-index a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.feature-index a::before { content: counter(f); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: var(--midnight); font-size: 14px; font-weight: 800; }
.feature-index li:last-child a { color: var(--muted); font-weight: 600; }
.plan-note { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 15px; background: var(--accent-soft); color: var(--text) !important; }
.band .plan-note { background: var(--band-card); border: 1px solid var(--band-line); color: inherit !important; }
.shot img.second { margin-top: 16px; }
.feature[id], .section[id] { scroll-margin-top: 16px; }

@media (max-width: 860px) {
  .feature-index { grid-template-columns: 1fr; }
  .hero:has(.hero-tablet) { grid-template-columns: 1fr; }
  .hero, .feature, .compare { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .cards, .points, .guide-links, .devices { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; padding-bottom: 48px; gap: 32px; }
  .hero-shots img:last-child { margin-top: 32px; }
  .nav .hide-narrow { display: none; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .feature { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
}
@media (min-width: 561px) and (max-width: 860px) { .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .bar, main, .foot { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 10px; font-size: 14px; }
  .mark img { height: 26px; }
  .status, .bar .status { font-size: 12px; padding: 3px 10px; }
  .hero-shots img { max-width: 44vw; }
}
@media (prefers-reduced-motion: no-preference) { .button { transition: background-color 120ms ease, border-color 120ms ease; } }

/* ======================================================================================================================
 * TVMind theme (owner direction 4 Dec 2026, from the TVMind cover): dark navy and charcoal, royal blue and orange
 * accents, bold italic display type, clean line icons, a subtle texture and a strong hierarchy. No neon glows, no
 * decorative gradients, no clutter. Header, footer, the opening stage and the blue bands stay navy in every setting;
 * the plain sections follow the visitor's light or dark setting.
 * Contrast: white on navy 18:1, muted #B4C0D6 10:1, link blue #9DB8FF 9.5:1, orange #FF7A1A on navy 7.1:1,
 * navy on orange 7.1:1, white on royal blue 6.7:1. Light: text #0E1A33 on #F3F5FA 16:1, royal blue links 6.1:1.
 * ==================================================================================================================== */
:root {
  --night: #0A1324; --night-2: #131E35; --royal: #1D4ED8; --orange: #FF7A1A;
  --midnight: var(--night); --midnight-2: var(--night-2); --midnight-line: #26355A;
  --blue: #12286B; --blue-2: #1A3480; --blue-line: #2D4BA0; --coral: var(--orange);
  --on-dark: #F3F5FA; --on-dark-muted: #B4C0D6; --on-blue-muted: #D3DDF2;
  --bg: #F3F5FA; --surface: #FFFFFF; --line: #D9E0EE; --text: #0E1A33; --muted: #4B5670; --accent: #1D4ED8; --accent-soft: #E5ECFC;
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0A1324; --surface: #131E35; --line: #26355A; --text: #F3F5FA; --muted: #B4C0D6; --accent: #9DB8FF; --accent-soft: #1B2C55; color-scheme: dark; }
}
html, body { background: var(--bg); overflow-x: clip; }
h1, h2, .soon, .slogan { font-style: italic; font-weight: 900; }
.band-midnight, .bar, .foot, .stage { background-image: var(--texture); }

/* The TVMind mark: the TVM badge, then "TV" and orange "Mind" in heavy italic. */
.mark { gap: 10px; color: var(--white); }
.mark .badge { height: 30px; width: auto; }
.wm { font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1; color: var(--white); }
.wm b, .hl-mind { color: var(--orange); font-weight: 900; }

/* The stage: the opening banner on Home, on navy with two fine arcs (no glow). */
.stage { position: relative; isolation: isolate; display: grid; justify-items: center; text-align: center; gap: 14px; color: var(--on-dark);
  padding: 56px 0 84px; box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); background-color: var(--night); }
.stage::before, .stage::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.stage::before { left: -25vw; right: -25vw; top: 4%; height: 190%; border-top: 1.5px solid rgba(157, 184, 255, 0.45); }
.stage::after { left: -30vw; right: -30vw; top: -82%; height: 176%; border-bottom: 1.5px solid rgba(255, 122, 26, 0.55); }
.lockup { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.6vw, 28px); flex-wrap: wrap; }
.lockup .badge { height: clamp(64px, 11vw, 120px); width: auto; }
.lockup .wm { font-size: clamp(56px, 10vw, 112px); }
.soon { margin: 18px 0 0; font-size: clamp(40px, 8vw, 92px); line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--white); }
.glow-line { display: block; width: min(420px, 70%); height: 3px; border-radius: 2px; background: var(--orange); }
.slogan { margin: 4px 0 0; font-size: clamp(34px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.01em; color: var(--white); }
.actions-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; margin: 26px 0 0;
  font-size: clamp(13px, 1.7vw, 18px); font-style: italic; letter-spacing: 0.28em; text-transform: uppercase; color: var(--on-dark); }
.actions-line i { color: var(--orange); font-weight: 700; }
.hero { padding-top: 40px; }
.hero-title { margin: 0 0 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }

/* Panels: screenshots, cards and lists. Outlined, flat, with a quiet shadow. */
.shot img, .hero-tablet img, .phones img, .hero-shots img { border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(5, 12, 30, 0.28); }
.band .shot img, .band .hero-tablet img, .band .phones img, .band .hero-shots img { border-color: var(--band-line); }
.cards article, .feature-index a, .compare .remote, .devices li, .points article, .card, .offer, .guide-links a, .plan-note, .pillars li {
  background: var(--band-card, var(--surface)); border: 1px solid var(--band-line, var(--line)); }
.band .cards article, .band .devices li, .band .pillars li, .band .plan-note { border-color: var(--band-line); }
.feature-index a { color: var(--text); }
.feature-index a::before { color: var(--night); }
.compare .tvi { background: #FFFFFF; color: #0E1A33; border: 2px solid var(--royal); }

/* Blue bands: deep royal navy with an orange top rule. */
.band-blue { --band-bg: var(--blue); border-top: 3px solid var(--orange); }
.callout { background: var(--blue); color: var(--white); border: 1px solid var(--blue-line); }
.bar { border-bottom: 1px solid var(--midnight-line); }
.foot { border-top: 1px solid var(--midnight-line); }
.button:hover { background: #FF8A33; }

@media (max-width: 560px) {
  .stage { padding: 36px 0 64px; gap: 10px; }
  .actions-line { letter-spacing: 0.1em; gap: 4px 8px; font-size: 12px; }
  .wm { font-size: 20px; } .mark .badge { height: 26px; }
}

/* Launch countdown (owner 3 Dec 2026): glass boxes under "Coming soon"; shown only when a launch moment is set. */
.countdown { display: flex; gap: 12px; justify-content: center; margin: 6px 0 4px; }
.countdown[hidden] { display: none; }
.countdown span { display: grid; justify-items: center; min-width: 84px; padding: 12px 10px 10px; border-radius: 14px;
  background: var(--night-2); border: 1px solid var(--midnight-line); }
.countdown b { font-size: clamp(28px, 4.6vw, 48px); font-weight: 900; font-style: italic; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.countdown span:last-child b { color: var(--coral); }
.countdown small { margin-top: 6px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 560px) { .countdown { gap: 8px; } .countdown span { min-width: 64px; padding: 10px 6px 8px; } .countdown small { font-size: 10px; letter-spacing: 0.1em; } }

/* Legal pages (/legal/): the model cancellation form, laid out for printing or copying into an email, and row headings
 * in key-information tables. */
.doc th[scope="row"] { width: 32%; color: var(--text); }
.model-form { margin: 48px 0 0; padding: 4px 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.model-form h2 { margin-top: 24px; }
.model-form .field { min-height: 1.55em; margin: 0 0 18px; padding-bottom: 6px; border-bottom: 1px dotted var(--muted); color: var(--muted); }
@media print {
  .bar, .foot { display: none; }
  html, body, .model-form { background: #FFFFFF; color: #000000; }
  .doc p, .doc li, .doc td, .doc th, .model-form .field { color: #000000; }
}
