:root {
  --bg: #0b0d10;
  --surface: #15181d;
  --surface-high: #1e232a;
  --outline: #2e353f;
  --accent: #ffb300;
  --on-accent: #1a1200;
  --text: #f2f4f7;
  --dim: #9aa4b2;
  --ok: #34d17a;
  --info: #4fc3f7;
  --danger: #ff4d4f;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* height:auto keeps the 1280x714 proportion when the image shrinks (the width/height attributes only reserve space). */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--dim); }
.top nav a:hover, .top nav a.on { color: var(--text); text-decoration: none; }

/* ------------------------------------------------------------ hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 12px 0 18px; letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--dim); font-size: 19px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1px solid var(--outline); color: var(--text); background: var(--surface);
}
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge { font-size: 13px; color: var(--dim); border: 1px solid var(--outline); border-radius: 999px; padding: 4px 12px; }

.device {
  background: #000;
  border: 10px solid #1b1f25;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px var(--outline);
  overflow: hidden;
}
.device img { width: 100%; height: auto; aspect-ratio: 1280 / 714; }

/* ------------------------------------------------------------ sections */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; letter-spacing: -0.01em; }
.sub { color: var(--dim); margin: 0 0 36px; max-width: 760px; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px;
}
section.alt .card { background: var(--bg); }
.card h3 { margin: 10px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--dim); font-size: 15.5px; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--dim); font-size: 15px; }
.card li { margin: 3px 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 179, 0, .12); color: var(--accent);
}
.icon svg { width: 24px; height: 24px; }
.new { font-size: 11px; font-weight: 800; color: var(--on-accent); background: var(--accent); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }

/* feature with screenshot */
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; margin-top: 56px; }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: 26px; margin: 0 0 10px; }
.feature p { color: var(--dim); }
.feature ul { padding-left: 18px; color: var(--dim); }
.feature li { margin: 6px 0; }
.feature li b { color: var(--text); font-weight: 600; }

/* chain diagram */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.chain span { background: var(--surface-high); border: 1px solid var(--outline); border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.chain i { color: var(--accent); font-style: normal; }

/* specs */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--outline); }
.specs dt { color: var(--dim); }
.specs dd { margin: 0; text-align: right; font-weight: 600; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
section.alt details { background: var(--bg); }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--dim); margin: 0 0 18px; }

/* screens gallery */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.shot figure { margin: 0; }
.shot .device { border-width: 8px; border-radius: 20px; }
.shot figcaption { margin-top: 14px; }
.shot figcaption b { display: block; font-size: 18px; }
.shot figcaption span { color: var(--dim); font-size: 15px; }
.shot a { display: block; }
.shot a:hover .device { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 2px var(--accent); }

.callout { border-left: 4px solid var(--accent); background: var(--surface); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--dim); }

/* ------------------------------------------------------------ footer */
footer { padding: 40px 0; border-top: 1px solid var(--outline); color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 920px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip > :first-child { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .grid, .specs { grid-template-columns: 1fr; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav .hide-sm { display: none; }
  section { padding: 48px 0; }
}

/* Grid / flex children with big images must be allowed to shrink (no sideways scroll on phones). */
.hero .wrap > *, .feature > *, .shots > *, .grid > *, .shot figure, .device { min-width: 0; }
.top nav { overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.top nav::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  .brand { font-size: 18px; }
  .top .wrap { gap: 12px; }
  .lead { font-size: 17px; }
}
