:root {
  --bg: #0b0f17;
  --surface: #121826;
  --border: #233047;
  --text: #f3f6fb;
  --muted: #9fb0c8;
  --cyan: #38bdf8;
  --emerald: #34d399;
  --amber: #f59e0b;
  --mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, "DejaVu Sans Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; }
}

body {
  margin: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 189, 248, 0.14), transparent), var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.92em; color: var(--emerald); }

.top, main, footer { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 800;
}
.top nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }

section { padding: 44px 0 8px; }
h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 18px; line-height: 1.25; }
.sub { color: var(--muted); margin: -8px 0 22px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-top: 28px;
}
.prompt { font-family: var(--mono); color: var(--emerald); font-size: 14px; margin: 0 0 14px; overflow-wrap: anywhere; }
.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--emerald);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

h1 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1;
  letter-spacing: -0.02em;
}
h1 span { display: block; margin-top: 8px; font-size: 0.46em; color: var(--cyan); letter-spacing: 0; }
.lead { font-size: 17.5px; color: var(--muted); max-width: 34em; }

.store {
  display: inline-block;
  margin: 12px 0 18px;
  padding: 12px 22px;
  border: 1px solid var(--emerald);
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
  font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid var(--border); border-radius: 999px; padding: 4px 13px; font-size: 13px; color: var(--muted); }

.phone {
  margin: 0;
  border: 8px solid #1e2a44;
  border-radius: 30px;
  overflow: hidden;
  background: #05080f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hero-phone { justify-self: center; width: min(300px, 100%); }

.console { margin-top: 40px; padding: 0; border: 1px solid var(--border); background: #05080f; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-bottom: 1px solid var(--border); }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.console-bar em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.console pre { margin: 0; padding: 16px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.console b { color: var(--emerald); font-weight: 600; }
.console i { color: var(--amber); font-style: normal; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid article, .plans article { background: var(--surface); border: 1px solid var(--border); padding: 18px; }
h3 { margin: 0 0 8px; font-size: 16.5px; }
h3 small { color: var(--amber); font-family: var(--mono); font-size: 12px; margin-left: 6px; }
.grid p { margin: 0; color: var(--muted); font-size: 14.5px; }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots .phone { border-width: 6px; border-radius: 22px; box-shadow: none; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 8px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.plans ul { margin: 0; padding-left: 20px; color: var(--muted); }
.plans .pro { border-color: var(--amber); }
.plans .pro h3 { color: var(--amber); }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

details { border-bottom: 1px solid var(--border); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--border); margin-top: 48px; padding: 22px 0 36px; font-size: 13.5px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

.lost { min-height: 70vh; display: grid; place-content: center; text-align: center; font-family: var(--mono); }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-phone { width: min(250px, 80%); }
  .console pre { white-space: pre-wrap; font-size: 12.5px; }
}
