@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #07090e;
  --surface: #0e131c;
  --surface2: #151b27;
  --stroke: #232b3a;
  --text: #eceff4;
  --text2: #a3acbc;
  --text3: #667186;
  --amber: #f2a65a;
  --violet: #6b40d9;
  --win: #3da9f5;
}

* { box-sizing: border-box; }

html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

.display {
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.eyebrow {
  font-family: "Archivo", sans-serif;
  font-stretch: 125%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { display: flex; gap: 22px; font-size: 14px; }
.bar nav a { color: var(--text2); }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-block: 56px 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px auto auto -220px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(107, 64, 217, 0.35), rgba(7, 9, 14, 0) 70%);
  z-index: -1;
}
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); margin: 18px 0 22px; }
.hero p.lead { font-size: 19px; color: var(--text2); max-width: 34em; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--stroke); color: var(--text); background: var(--surface2);
}
.button.primary { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.button:hover { text-decoration: none; filter: brightness(1.08); }

.phones { position: relative; height: 560px; }
.phones img {
  position: absolute; width: 250px; border-radius: 28px; border: 1px solid var(--stroke);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.phones img:nth-child(1) { left: 0; top: 50px; transform: rotate(-6deg); }
.phones img:nth-child(2) { left: 170px; top: 0; z-index: 2; }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--stroke); }
section h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 12px; }
section > .wrap > p.intro { color: var(--text2); max-width: 40em; margin: 0 0 36px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: 16px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--text2); font-size: 15px; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--text3); text-transform: uppercase; margin-bottom: 14px; }

.gallery { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.gallery img { width: 230px; flex: none; border-radius: 22px; border: 1px solid var(--stroke); scroll-snap-align: start; }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.promise div { padding: 20px 22px; border-radius: 14px; background: var(--surface2); }
.promise strong { display: block; margin-bottom: 4px; }
.promise span { color: var(--text2); font-size: 15px; }

footer { border-top: 1px solid var(--stroke); padding: 36px 0 56px; color: var(--text3); font-size: 13px; }
footer p { margin: 0 0 10px; max-width: 60em; }

/* Policy page */
.doc { max-width: 760px; padding-block: 32px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin: 14px 0 8px; }
.doc .updated { color: var(--text3); margin: 0 0 36px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .box { background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px; padding: 18px 22px; margin: 18px 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .phones { height: 430px; width: 330px; margin: 0 auto; }
  .phones img { width: 190px; }
  .phones img:nth-child(1) { left: 10px; top: 36px; }
  .phones img:nth-child(2) { left: 130px; }
  .bar nav { gap: 14px; font-size: 13px; }
}

@media (max-width: 480px) {
  .bar nav a:not(:last-child) { display: none; }
}
