@font-face {
  font-family: "Montserrat";
  font-weight: 800;
  font-display: swap;
  src: url("montserrat-800.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #F2F2F2;
  --text: #DADADA;
  --muted: #A8A8A8;
  --red: #D0021B;
  --accent: #FF5A69;
  --bg: #0B0B0B;
  --panel: #141414;
  --card: #1C1C1C;
  --line: #262626;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--accent); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .logo {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
}

/* Logo: matches the app's wordmark */
.logo { font-size: 28px; line-height: 1; text-decoration: none; white-space: nowrap; }
.logo .e { color: var(--red); }
.logo .dot { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.05em; background: var(--red); }
.logo:hover { color: var(--ink); }

/* Header */
.top { background: var(--panel); border-bottom: 1px solid var(--line); }
.top .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top nav { display: flex; gap: 24px; }
.top nav a { text-decoration: none; font-size: 15px; }

/* Hero */
.hero { background: var(--panel); }
.hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-text { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; color: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(40px, 6vw, 60px); line-height: 1.05; letter-spacing: -1px; }
.hero p { margin: 0; font-size: 19px; color: var(--muted); }

.play {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: #FFFFFF; color: #111111; text-decoration: none;
  border-radius: 12px; padding: 12px 20px; font-weight: 600; font-size: 15px;
}
.play:hover { color: #111111; background: #E6E6E6; }
.play small { display: block; font-size: 11px; font-weight: 400; opacity: 0.8; }
.play span { line-height: 1.15; }

/* Phone frame: flat-sided, squared corners, centred punch-hole camera */
.phone {
  position: relative;
  padding: 3px;
  border-radius: 16px;
  background: linear-gradient(145deg, #8A8A8F 0%, #4B4B50 30%, #2E2E31 70%, #6C6C71 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.phone::before, .phone::after {
  content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #3A3A3D, #77777C);
}
.phone::before { top: 18%; height: 11%; }
.phone::after { top: 32%; height: 6%; }
.bezel { background: #000000; border-radius: 13px; padding: 7px; }
.screen { position: relative; border-radius: 6px; overflow: hidden; background: #000000; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.statusbar { position: absolute; top: 0; left: 0; right: 0; height: 24px; background: #000000; z-index: 2; }
.statusbar::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: #0A0A0A; box-shadow: inset 0 0 0 2px #1E1E22, 0 0 0 1px #050505;
}
.screen.withbar img { top: 24px; height: calc(100% - 24px); }

.slideshow { display: flex; flex-direction: column; align-items: center; gap: 14px; flex-shrink: 0; }
.slideshow .phone { width: 300px; }
.slideshow .screen { height: 610px; }
.slideshow .screen img { position: absolute; left: 0; right: 0; top: 24px; height: calc(100% - 24px); opacity: 0; transition: opacity 0.6s; }
.slideshow .screen img.on { opacity: 1; }
.slide-label { font-size: 14px; font-weight: 600; color: var(--ink); min-height: 1.5em; }
.dots { display: flex; gap: 6px; align-items: center; }
.dots button {
  width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: #4A4A4A; transition: width 0.3s, background 0.3s;
}
.dots button.on { width: 22px; background: var(--red); }

/* Features */
.section { padding: 72px 0; }
.section h2 { margin: 0 0 28px; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.5px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--card); border-radius: 16px; padding: 22px; }
.feature .mark { width: 40px; height: 40px; border-radius: 10px; background: rgba(208, 2, 27, 0.18); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature .mark::after { content: ""; width: 12px; height: 12px; background: var(--red); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }

/* Screens strip */
.strip-section { background: var(--panel); padding: 72px 0; }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.strip-head h2 { margin: 0; }
.strip-head span { font-size: 14px; color: var(--muted); }
.strip { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 14px; max-width: 1200px; margin: 0 auto; }
.strip figure { margin: 0; flex-shrink: 0; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.strip .phone { width: 210px; border-radius: 13px; padding: 2px; box-shadow: none; }
.strip .bezel { border-radius: 11px; padding: 5px; }
.strip .screen { height: 428px; border-radius: 5px; }
.strip .statusbar { height: 18px; }
.strip .statusbar::after { top: 5px; width: 8px; height: 8px; margin-left: -4px; }
.strip .screen img { position: absolute; left: 0; right: 0; top: 18px; height: calc(100% - 18px); }
.strip figcaption { font-size: 14px; font-weight: 600; color: var(--ink); }

/* Call to action */
.cta { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 72px 0; }
.cta h2 { margin: 0; color: #FFFFFF; font-size: 32px; }
.cta p { margin: 0; color: var(--muted); }


/* Footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-top: 28px; padding-bottom: 36px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer .logo { font-size: 18px; }
footer .links { display: flex; gap: 20px; }
footer a { color: var(--muted); }
.left { display: flex; align-items: center; gap: 14px; }

/* Privacy page */
.doc { background: var(--card); border-radius: 16px; padding: 40px; margin: 48px 0; max-width: 780px; }
.doc h1 { margin: 0 0 6px; font-size: 36px; }
.doc h2 { margin: 32px 0 8px; font-size: 20px; }
.doc .date { color: var(--muted); margin: 0 0 24px; }
.doc ul { padding-left: 22px; }

/* Phones */
@media (max-width: 860px) {
  .top nav { display: none; }
  .hero .wrap { flex-direction: column; gap: 40px; padding-top: 40px; padding-bottom: 48px; }
  .hero p { font-size: 17px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .section, .strip-section { padding: 48px 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; margin: 48px 0; }
  .cta h2 { font-size: 26px; }
  .doc { padding: 24px; margin: 24px 0; }
}
