/* Unveil EV landing (nicheoffice.web.tr/unveil-ev/). Brand: ev-car-factory assets/brand/BRAND.md (cobalt ground, volt signal, Saira). */
@font-face {
  font-family: "Saira";
  src: url("saira.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #081241;
  --stage: #0b1a5e;
  --livery: #1834b0;
  --halo: #2446db;
  --volt: #d4ff3a;
  --volt-ink: #132000;
  --text: #f2f4fb;
  --muted: #aab3d6;
  --line: rgba(170, 179, 214, .18);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; }

html { background: var(--ground); }

body {
  min-height: 100svh;
  background: radial-gradient(120% 70% at 75% 0%, var(--stage) 0%, var(--ground) 62%) no-repeat, var(--ground);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Saira", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* top bar */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font-weight: 700; font-stretch: 75%; font-size: 1.25rem; letter-spacing: .01em; }
.lang { display: flex; gap: 4px; font-weight: 600; font-stretch: 75%; letter-spacing: .08em; font-size: .95rem; }
.lang a, .lang strong { padding: 6px 10px; border-radius: 6px; text-decoration: none; }
.lang strong { background: rgba(255, 255, 255, .08); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--text); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(24px, 4vw, 56px); padding-block: clamp(24px, 6vw, 72px) clamp(40px, 7vw, 96px);
}
.wordmark { display: block; width: clamp(220px, 28vw, 340px); height: auto; }
.tagline {
  margin-top: 14px; color: var(--muted);
  font-weight: 600; font-stretch: 75%; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem;
}
h1 {
  margin-top: clamp(28px, 4vw, 44px);
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1;
  text-wrap: balance;
}
.lead { margin-top: 20px; max-width: 34em; color: var(--muted); font-size: 1.125rem; text-wrap: pretty; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(212, 255, 58, .1); border: 1px solid rgba(212, 255, 58, .35);
  font-weight: 600; font-stretch: 75%; letter-spacing: .04em; font-size: 1.05rem;
}
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px var(--volt); }

.stage { position: relative; aspect-ratio: 16 / 9; transform: scale(1.12); }
.stage video, .stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* the render's own cobalt fades into the page instead of showing a frame */
  -webkit-mask-image: radial-gradient(closest-side at 55% 55%, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side at 55% 55%, #000 55%, transparent 100%);
}

/* features */
.features {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--line);
  list-style: none; padding-inline: 0;
}
.features b {
  display: block; color: var(--volt);
  font-weight: 700; font-stretch: 75%; letter-spacing: .08em; font-size: .95rem;
}
.features h2 {
  margin-top: 8px; font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.375rem; line-height: 1.15;
}
.features p { margin-top: 10px; color: var(--muted); font-size: 1rem; text-wrap: pretty; }

/* footer */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 28px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem;
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .stage { order: -1; margin-inline: calc(-1 * var(--gutter)); transform: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .status { font-size: .95rem; }
}
