/* ephyre.app: the app's Cinematic Noir look on the web (U101, U105). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/Inter_400Regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/Inter_600SemiBold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/Inter_700Bold.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/JetBrainsMono_500Medium.woff2) format("woff2"); }

:root {
  --black: #050505;
  --violet: #140d1c;
  --neon: #b026ff;
  --white: #ffffff;
  --lavender: #e6e0f8;
  --muted: rgba(230, 224, 248, 0.6);
  --hairline: rgba(230, 224, 248, 0.12);
  --wash: rgba(176, 38, 255, 0.16);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--lavender);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--white); text-decoration-color: var(--neon); text-underline-offset: 3px; }
a:hover { color: var(--neon); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* ---- top bar ---- */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.bar nav { display: flex; gap: 20px; font-size: 15px; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover { color: var(--white); }

/* ---- hero ---- */
.hero { position: relative; text-align: center; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
  background: radial-gradient(closest-side, rgba(176, 38, 255, 0.28), transparent 70%);
}
.mark { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 26px; box-shadow: 0 0 80px rgba(176, 38, 255, 0.35); }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: 0.18em; color: var(--neon); text-transform: uppercase; }
h1 { color: var(--white); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: 16px 0 18px; font-size: clamp(44px, 9vw, 92px); }
.lead { max-width: 560px; margin: 0 auto 32px; font-size: clamp(17px, 2.2vw, 20px); color: var(--lavender); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--neon); color: var(--white); font: 600 16px/1 Inter, sans-serif; text-decoration: none;
  box-shadow: 0 0 32px rgba(176, 38, 255, 0.45);
}
.button:hover { color: var(--white); filter: brightness(1.12); }
.button[aria-disabled="true"] { background: var(--violet); box-shadow: none; color: var(--muted); border: 1px solid var(--hairline); cursor: default; filter: none; }
.button.ghost { background: transparent; border: 1px solid var(--hairline); box-shadow: none; }
.button svg { width: 20px; height: 20px; }
.small { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---- sections ---- */
section { padding: 56px 0; }
h2 { color: var(--white); font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 560px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li, .card { background: var(--violet); border: 1px solid var(--hairline); border-radius: 20px; padding: 24px; }
.steps .n { font: 500 14px/1 var(--mono); color: var(--neon); }
.steps h3 { color: var(--white); font-size: 20px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

.shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); justify-items: center; }
.phone {
  width: 100%; max-width: 260px; aspect-ratio: 9 / 19.5; border-radius: 36px; padding: 10px;
  background: linear-gradient(160deg, #241633, #0b070f); border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(176, 38, 255, 0.18);
}
.phone .screen { height: 100%; border-radius: 28px; overflow: hidden; background: var(--black); display: grid; place-items: center; text-align: center; padding: 20px; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .screen span { font: 500 12px/1.5 var(--mono); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.caption { margin-top: 12px; font: 500 13px/1.4 var(--mono); color: var(--muted); text-align: center; letter-spacing: 0.06em; }

.safety { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.safety .card strong { color: var(--white); display: block; margin-bottom: 4px; }
.safety .card { font-size: 15px; color: var(--muted); }

/* ---- forms ---- */
form { display: grid; gap: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row input { flex: 1 1 240px; }
input[type="email"], input[type="text"] {
  min-height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--hairline);
  background: var(--violet); color: var(--white); font: 400 16px Inter, sans-serif;
}
input::placeholder { color: rgba(230, 224, 248, 0.4); }
input:focus { outline: none; border-color: var(--neon); }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--neon); }
.status { min-height: 1.6em; font-size: 15px; margin: 0; }
.status.ok { color: var(--white); }
.status.error { color: #ff9ad5; }

/* ---- legal pages ---- */
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: clamp(34px, 6vw, 52px); margin: 24px 0 8px; text-align: left; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc h3 { color: var(--white); font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--lavender); }
.doc strong { color: var(--white); }
.doc blockquote { margin: 20px 0; padding: 8px 24px; border-radius: 16px; border: 1px solid rgba(176, 38, 255, 0.5); background: var(--wash); }
.doc .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--hairline); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.doc th { color: var(--white); background: var(--violet); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
.updated { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--hairline); padding: 32px 0 48px; margin-top: 32px; font-size: 14px; color: var(--muted); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
footer a { color: var(--lavender); text-decoration: none; }
footer a:hover { color: var(--white); }

@media (max-width: 560px) {
  .bar nav { display: none; }
  .hero { padding-top: 40px; }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .mark { animation: glow 4s ease-in-out infinite alternate; }
  @keyframes glow { from { box-shadow: 0 0 60px rgba(176, 38, 255, 0.25); } to { box-shadow: 0 0 110px rgba(176, 38, 255, 0.45); } }
}
.doc blockquote ul { padding-left: 18px; }
