@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,800;1,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ink: #0e0f12;
  --ink-2: #16181d;
  --paper: #f3f1ec;
  --text: #f2f2f0;
  --muted: #9a9ea8;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff7a1a;
  --accent-deep: #e85a0c;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 26px/1 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--text) !important;
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; }
.kicker {
  font: 600 15px/1 var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero h1 {
  font: italic 800 clamp(56px, 10vw, 128px)/0.88 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 11ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-row p { max-width: 520px; margin: 0; color: var(--muted); font-size: 19px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.store small { display: block; font-weight: 500; font-size: 12px; opacity: 0.7; }
.store svg { width: 22px; height: 22px; }

/* ---------- iPhone 16 Pro Max, landscape ---------- */
.device {
  position: relative;
  width: 100%;
  aspect-ratio: 2868 / 1320;
  margin: 56px auto 0;
  border-radius: 5.4% / 11.8%;
  padding: 1.05%;
  background: linear-gradient(135deg, #8a8c91, #3a3b3f 16%, #1d1e21 50%, #3a3b3f 84%, #9a9ca1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 60px 140px -30px rgba(0, 0, 0, 0.8),
    0 40px 90px -50px rgba(255, 122, 26, 0.45);
}
.device::before {
  /* Black bezel between the titanium band and the screen. */
  content: "";
  position: absolute;
  inset: 0.5%;
  border-radius: 5.1% / 11.2%;
  background: #030303;
}
.device .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4.6% / 10%;
  overflow: hidden;
  background: #000;
}
.device .screen img { width: 100%; height: 100%; object-fit: cover; }
.device .btn {
  position: absolute;
  height: 0.9%;
  background: linear-gradient(#6b6d72, #2c2d30);
  border-radius: 3px;
}
.device .btn.power { bottom: -0.45%; left: 63%; width: 10.6%; }
.device .btn.vol1 { top: -0.45%; left: 69%; width: 6%; }
.device .btn.vol2 { top: -0.45%; left: 60%; width: 6%; }
.device .btn.action { top: -0.45%; left: 79%; width: 3.2%; }

.device.small { max-width: 640px; margin: 0; }

/* ---------- Ticker ---------- */
.ticker {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 64px 0 24px;
  font: 800 clamp(22px, 3vw, 34px)/1 var(--display);
  text-transform: uppercase;
  color: var(--muted);
}
.ticker span { white-space: nowrap; }
.ticker span::after { content: "/"; margin-left: 34px; color: var(--accent); }
.ticker span:last-child::after { content: ""; }

/* ---------- Feature sections ---------- */
.feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.feature.flip { grid-template-columns: 1.15fr 0.85fr; }
.feature.flip .copy { order: 2; }
.feature .num {
  font: 800 15px/1 var(--display);
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}
.feature h2 {
  font: 800 clamp(38px, 5vw, 60px)/0.95 var(--display);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.feature p { color: var(--muted); margin: 0 0 14px; max-width: 460px; }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; }
.feature li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
  display: flex;
  gap: 12px;
}
.feature li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; flex: none; background: var(--accent); transform: skewX(-12deg); }

/* ---------- Widgets strip ---------- */
.widgets {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.widgets h2 {
  font: 800 clamp(38px, 5vw, 60px)/0.95 var(--display);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.widgets > p { color: var(--muted); max-width: 560px; margin: 0 0 36px; }
.wgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.wgrid div { background: var(--ink-2); padding: 22px; }
.wgrid b { display: block; font: 800 22px/1.1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.wgrid span { color: var(--muted); font-size: 15px; }

/* ---------- Closing ---------- */
.closing {
  margin: 40px 0 0;
  padding: 72px 40px;
  border-radius: 28px;
  background: var(--accent);
  color: #120800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.closing h2 { font: italic 800 clamp(40px, 6vw, 76px)/0.9 var(--display); text-transform: uppercase; margin: 0; }
.closing .store { background: #120800; color: #fff; }

/* ---------- Text pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 32px 0 72px; }
.doc h1 { font: 800 clamp(44px, 7vw, 72px)/0.95 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.doc h2 { font: 800 26px/1.1 var(--display); text-transform: uppercase; margin: 38px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc .updated { font-size: 15px; margin-bottom: 28px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); }
td { color: var(--muted); }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .feature.flip .copy { order: 0; }
  .wgrid { grid-template-columns: 1fr 1fr; }
  .nav a:not(.lang) { display: none; }
  .closing { padding: 48px 28px; }
}
@media (max-width: 480px) {
  .wgrid { grid-template-columns: 1fr; }
}

.built { display: inline-flex; align-items: center; gap: 8px; }
.flag { width: 20px; height: 12.5px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }

.hero-phone { margin: 56px auto 0; max-width: 1100px; }
.small-phone { max-width: 640px; width: 100%; }
