/* The start page (index.html, de/index.html). Built for the phone first: most visitors come from TikTok on a phone,
   and Frametide installs on a Windows PC. So phones get their own buttons: send the link to the PC, or buy now and
   install later. Buttons, plans, the comparison table, the FAQ and the footer come from style.css. */

/* Touch screens (phones, tablets) get the phone buttons; mice and trackpads get the PC ones. Decided by the kind of
   pointer, not the width, so a narrow desktop window still offers the download. */
@media not all and (hover: none) and (pointer: coarse) { .on-touch { display: none !important; } }
@media (hover: none) and (pointer: coarse) { .on-desk { display: none !important; } }
/* Safety net: a phone whose browser doesn't report a touch pointer gets the class from site.js. */
html.force-touch .on-desk { display: none !important; }
html.force-touch div.on-touch { display: flex !important; }
html.force-touch p.on-touch, html.force-touch a.on-touch { display: revert !important; }
html.force-touch .nav a.on-touch { display: inline-flex !important; }

/* Warm blacks and greys instead of pure black and cold grey, with an amber second colour next to the lime: the page
   should feel like a gaming room at night, not a server rack. Text contrast stays above 4.5:1. */
.home { --bg: #0b0a08; --raise: #14120f; --line: #221f1a; --line-2: #332e26; --muted: #aaa397; --dim: #8d877c; --warm: #ff9f43; }
.home .site-header { background: rgba(11, 10, 8, 0.86); }
.home .cmp-head { background: #110f0c; }

.home section { padding: 96px 0; }
.home section[id] { scroll-margin-top: 64px; } /* the sticky header covers the top of a section the menu jumps to */
.home h2 { font-size: clamp(38px, 5.6vw, 72px); line-height: 0.95; margin: 0; max-width: 820px; }
/* Big, upright and in capitals, like a game's title screen; the small label inside the h1 stays plain text. */
.home h1, .home h2 { text-transform: uppercase; }
.home h1 .status { font-family: var(--sans); font-weight: 400; text-transform: none; letter-spacing: 0; }
.hm-old, .hm-new, .hm-delta { font-family: var(--display); }
.home .label { margin-bottom: 18px; }
.home .review-note { margin-top: 16px; }
/* Sections run the full width, so their glows fade out instead of stopping at the 1200 px frame's hard edge. */
.home .frame { max-width: none; border: 0; }
.home .rule { border-top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); }
.home .rule::before, .home .rule::after { display: none; }
@media (max-width: 720px) { .home section { padding: 64px 0; } }

/* ── Hero: the promise, the buttons, the proof ─────────────────────────────────────────────────── */
.hm-hero { position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 58% at 80% 42%, rgba(212, 255, 58, 0.11), transparent 70%),
    radial-gradient(ellipse 48% 60% at 6% 26%, rgba(255, 140, 60, 0.11), transparent 70%); }
/* The glows fade into the page at the bottom instead of ending on a line. */
.hm-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hm-hero > .wrap { position: relative; z-index: 1; }
/* ".home .hm-hero", not ".hm-hero": ".home section" (96 px) would win otherwise. */
.home .hm-hero { padding: 40px 0 80px; }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
/* The offer chip takes the top line; the label stays in the heading for search engines and screen readers. */
.hm-copy h1 .status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; border: 0; }
.hm-copy .hm-offer { margin-bottom: 26px; }
/* The offer, above the headline: free, no account, no payment details. */
.hm-offer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px; padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid #3d4a12; background: rgba(212, 255, 58, 0.07); font-size: 14.5px; color: var(--text); }
.hm-offer b { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #000; font: 800 16px/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.hm-offer span { display: inline-flex; align-items: center; gap: 7px; }
.hm-offer span::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--accent) no-repeat center / 8px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* The phone's main button says both: it's free, and the link goes to the PC. */
.hm-btn-2 { flex-direction: column; gap: 3px; height: auto; min-height: 60px; padding: 11px 24px; line-height: 1.15; }
.hm-btn-main { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.hm-btn-sub { font-size: 12.5px; font-weight: 500; opacity: 0.72; }
.hm-sub { margin: 22px 0 0; max-width: 520px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.hm-sub strong { color: var(--text); font-weight: 500; }
.hm-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hm-btn { height: 54px; padding: 0 26px; font-size: 16px; justify-content: center; }
/* The main button is the brand colour: the one thing on the page to press. */
.hm-cta .btn:not(.line), .hm-final .cta .btn:not(.line), .home .buybar .btn:not(.line) { background: var(--accent);
  box-shadow: 0 0 0 1px rgba(212, 255, 58, 0.4), 0 12px 44px rgba(212, 255, 58, 0.22); }
.hm-cta .btn:not(.line):hover, .hm-final .cta .btn:not(.line):hover, .home .buybar .btn:not(.line):hover { background: #e2ff70; }
.hm-micro { margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--dim); }
.hm-trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); }
.hm-trust li { display: flex; align-items: center; gap: 8px; }
.hm-trust li::before { content: ""; width: 15px; height: 15px; flex: none; border-radius: 50%; background: var(--accent) no-repeat center / 9px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5 5 9l5-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hm-copy .device-note { margin-top: 18px; }

/* The real test as one card: the numbers big, both runs side by side. */
.hm-proof { margin: 0; padding: 18px; border: 1px solid var(--line-2); border-radius: 24px;
  background: linear-gradient(180deg, rgba(212, 255, 58, 0.07), transparent 45%), var(--raise);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65), 0 0 90px rgba(212, 255, 58, 0.07); }
.hm-proof-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 4px 6px 16px; }
.hm-proof-tag { display: block; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.hm-proof-nums { display: flex; align-items: baseline; gap: 10px; font-weight: 800; letter-spacing: 0; line-height: 0.9; }
.hm-old { font-size: 34px; color: var(--dim); }
.hm-arrow { font-size: 24px; color: var(--muted); letter-spacing: 0; }
.hm-new { font-size: 60px; color: var(--accent); text-shadow: 0 0 34px rgba(212, 255, 58, 0.35); }
.hm-unit { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.hm-delta { flex: none; padding: 8px 14px; border-radius: 999px; background: #0c0e05; border: 1px solid #3d4a12; color: var(--accent); font-weight: 800; font-size: 22px; letter-spacing: 0; }
.hm-runs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hm-run { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); }
.hm-run video { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) brightness(0.72); }
.hm-run.after { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 50px rgba(212, 255, 58, 0.2); }
.hm-run.after video { filter: none; }
.hm-run span { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.72); font-size: 12px; font-weight: 500; color: var(--muted); }
.hm-run.after span { color: var(--accent); }
.hm-proof-note { margin: 12px 6px 2px; font-size: 12.5px; line-height: 1.45; color: var(--dim); }
/* The quote keeps its room while it loads, so nothing below jumps. */
.hm-proof .hero-review { max-width: none; margin: 12px 0 0; }
.hm-proof .hero-review[hidden] { display: flex; visibility: hidden; }

@media (max-width: 1000px) { .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 640px) {
  .home .hm-hero { padding: 20px 0 48px; }
  .hm-copy .hm-offer { display: flex; justify-content: center; width: 100%; gap: 8px 14px; padding: 10px 10px 12px; border-radius: 18px; margin-bottom: 20px; font-size: 14px; }
  .hm-offer b { flex: 1 0 100%; text-align: center; padding: 9px 12px; font-size: 21px; border-radius: 12px; }
  .hm-sub { font-size: 16.5px; margin-top: 14px; }
  .hm-cta { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hm-btn { width: 100%; height: auto; min-height: 54px; padding: 12px 20px; font-size: 16px; white-space: normal; text-align: center; line-height: 1.25; }
  .hm-micro { text-align: center; }
  .hm-trust { justify-content: center; gap: 6px 14px; margin-top: 18px; font-size: 12.5px; }
  .hm-hero-grid { gap: 30px; }
  .hm-proof { padding: 12px; border-radius: 20px; }
  .hm-proof-head { padding: 4px 4px 12px; }
  .hm-old { font-size: 26px; } .hm-new { font-size: 46px; } .hm-arrow { font-size: 18px; }
  .hm-delta { font-size: 17px; padding: 6px 12px; }
  .hm-run { border-radius: 10px; }
}

/* ── What it finds ──────────────────────────────────────────────────────────────────────────────── */
.hm-finds { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#features { background: radial-gradient(ellipse 45% 55% at 0% 10%, rgba(255, 140, 60, 0.06), transparent 70%); }
.hm-finds li { padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 159, 67, 0.05), transparent 55%), var(--raise); }
.hm-finds h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
/* Amber for what's wrong, lime for what Frametide does about it. */
.hm-finds h3::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--warm); box-shadow: 0 0 12px rgba(255, 159, 67, 0.75); }
.hm-finds p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .hm-finds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: a light list instead of six boxes. */
@media (max-width: 560px) {
  .hm-finds { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
  .hm-finds li { padding: 16px 0 17px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .hm-finds h3 { font-size: 17px; margin-bottom: 4px; }
  .hm-finds p { font-size: 14.5px; padding-left: 18px; }
}

/* ── How it works: three steps next to the real app ─────────────────────────────────────────────── */
.hm-how-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.hm-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 24px; }
.hm-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.hm-steps b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0c0e05; border: 1px solid #3d4a12; color: var(--accent); font-weight: 600; }
.hm-steps h3 { margin: 7px 0 4px; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.hm-steps p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.hm-app { margin: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--raise);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 80px rgba(212, 255, 58, 0.06); }
.hm-app img { display: block; width: 100%; height: auto; }
@media (max-width: 1000px) { .hm-how-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
/* Phones: the app's main area, large enough to recognise, instead of the whole window shrunk to stamp size. */
@media (max-width: 560px) {
  .hm-steps { margin-top: 26px; gap: 18px; }
  .hm-steps h3 { font-size: 17px; margin-top: 8px; }
  .hm-steps p { font-size: 14.5px; }
  .hm-app { aspect-ratio: 5 / 6; border-radius: 14px; }
  .hm-app img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 0; }
}

/* ── Pricing, table, FAQ, final call: tighter than on the other pages ───────────────────────────── */
.home .plan-intro { margin-top: 16px; }
.home .plans { margin-top: 40px; }
@media (max-width: 640px) {
  .home .plans { margin-top: 28px; gap: 12px; }
  .home .plan { gap: 16px; }
  .home .plan .amount { font-size: 60px; }
  .home .plan .list li { padding-top: 9px; padding-bottom: 9px; font-size: 14.5px; }
  .home .plan .list li:first-child { padding-top: 0; }
  /* The table right below lists everything; on a phone the cards only need name, price and the button. */
  .home .plan .list { display: none; }
  .home .plan .amount { margin-top: -6px; }
  .home .cmp { margin-top: 28px; }
  .home summary { font-size: 16.5px; padding: 18px 0; gap: 16px; }
  .home details p { font-size: 15px; margin-bottom: 20px; }
}
.home .faq { margin-top: 8px; }
/* Who's behind it: a person to write to, right where the last doubts are. */
.hm-dev { display: flex; gap: 18px; align-items: flex-start; margin-top: 36px; padding: 22px 24px; max-width: 760px; border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.07), transparent 60%), var(--raise); }
.hm-dev-mark { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: #1a1206;
  background: linear-gradient(135deg, #ffc46b, var(--warm)); box-shadow: 0 0 24px rgba(255, 159, 67, 0.35); }
.hm-dev p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.hm-dev b { color: var(--text); font-weight: 500; }
.hm-dev a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .hm-dev { padding: 18px; gap: 14px; margin-top: 28px; } .hm-dev-mark { width: 40px; height: 40px; font-size: 14px; } .hm-dev p { font-size: 14.5px; } }
.hm-final { padding: 112px 0 120px !important; background:
    radial-gradient(ellipse 50% 70% at 22% 62%, rgba(212, 255, 58, 0.10), transparent 70%),
    radial-gradient(ellipse 45% 60% at 88% 40%, rgba(255, 140, 60, 0.09), transparent 70%) !important; }
.hm-final h2 { font-size: clamp(42px, 8vw, 104px); margin-bottom: 40px; }
@media (max-width: 640px) {
  .hm-final { padding: 64px 0 96px !important; }
  .hm-final h2 { margin-bottom: 28px; }
  .hm-final .cta { flex-direction: column; }
  .hm-final .cta .btn { width: 100%; height: auto; min-height: 54px; padding: 12px 20px; justify-content: center; font-size: 16px; white-space: normal; text-align: center; line-height: 1.25; }
  .hm-final .cta-micro { text-align: center; }
}

/* ── Phone bar: once the hero's buttons are out of sight, both phone actions stay in reach ──────── */
@media (max-width: 720px) {
  .home .buybar { padding: 8px; gap: 8px; border-radius: 22px; }
  .home .buybar .btn { flex: 1; justify-content: center; height: 46px; padding: 0 12px; font-size: 14.5px; }
}
