:root {
  --bg: #1c0a0c;
  --bg-2: #2e1418;
  --card: rgba(46, 20, 24, 0.88);
  --line: #4a2828;
  --text: #faf0f0;
  --muted: #c4a0a0;
  --mono: #ff8a80;
  --accent: #e53935;
  --accent-2: #ff6b66;
  --danger: #ff7043;
  --radius: 20px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(920px 420px at 8% -8%, rgba(229, 57, 53, 0.34), transparent 58%),
    radial-gradient(720px 360px at 100% 4%, rgba(255, 112, 67, 0.12), transparent 52%),
    radial-gradient(680px 520px at 70% 110%, rgba(229, 57, 53, 0.16), transparent 58%),
    var(--bg);
  line-height: 1.55;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(229, 57, 53, 0.35), 0 8px 24px rgba(229, 57, 53, 0.28);
}
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.94rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 42px 0 28px;
}
.kicker {
  color: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 12px 0 16px;
}
.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font: 700 0.98rem/1.2 inherit;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff8f8;
  box-shadow: 0 10px 28px rgba(229, 57, 53, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.phone-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.pulse, .pulse::before, .pulse::after {
  position: absolute;
  inset: 12% 10%;
  border: 1px solid rgba(229, 57, 53, 0.22);
  border-radius: 50%;
  animation: pulse 5.4s ease-out infinite;
}
.pulse::before, .pulse::after { content: ""; inset: -8%; }
.pulse::after { inset: -18%; animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(0.92); opacity: 0.55; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { opacity: 0; }
}

.phone {
  position: relative;
  z-index: 1;
  width: min(280px, 82%);
  background: linear-gradient(180deg, #3a181c, #241014);
  border: 1px solid #5c3030;
  border-radius: 36px;
  padding: 14px 12px 18px;
  box-shadow:
    0 28px 60px rgba(8, 0, 2, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.notch {
  width: 92px;
  height: 8px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: #120607;
}
.phone-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 8px 6px;
}
.phone h2 {
  margin: 0 8px 14px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: rgba(28, 10, 12, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px 11px;
  margin-bottom: 8px;
}
.row strong { display: block; font-size: 0.95rem; }
.row span { color: var(--muted); font-size: 0.78rem; }
.badge {
  align-self: center;
  color: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 12px 0 48px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }

.panel {
  background: linear-gradient(180deg, rgba(46, 20, 24, 0.96), rgba(24, 10, 12, 0.96));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  margin: 8px 0 56px;
}
.panel h2 { margin: 0 0 8px; letter-spacing: -0.03em; }

.support form { display: grid; gap: 0.7rem; max-width: 34rem; }
label { font-weight: 700; margin-top: 0.2rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(28, 10, 12, 0.8);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.85rem;
}
textarea { resize: vertical; min-height: 8rem; }
input:focus, textarea:focus {
  outline: 3px solid rgba(229, 57, 53, 0.22);
  border-color: var(--accent);
}
button {
  width: fit-content;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: 700 1rem/1.2 inherit;
  padding: 0.85rem 1.2rem;
}
.support-note { color: var(--muted); font-size: 0.92rem; }

.doc {
  max-width: 760px;
  padding: 18px 0 72px;
}
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc h2 { margin-top: 30px; font-size: 1.2rem; }
.doc p, .doc li { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 22px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .phone-stage { min-height: 0; order: -1; }
  .phone { width: min(260px, 78%); }
}
