:root {
  --ink: #0A0A0A;
  --red: #E63946;
  --crimson: #C81E3A;
  --grey: #6B6B6B;
  --light: #F6F6F6;
  --white: #FFFFFF;

  --bg: var(--white);
  --bg-alt: var(--light);
  --fg: var(--ink);
  --fg-muted: var(--grey);
  --line: rgba(10, 10, 10, 0.1);
  --card-bg: var(--ink);
  --card-fg: var(--white);
  --card-muted: rgba(255, 255, 255, 0.72);
  --focus: var(--red);

  --font-display: 'Urbanist', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --bg-alt: #141414;
    --fg: var(--white);
    --fg-muted: #B3B3B3;
    --line: rgba(255, 255, 255, 0.12);
    --card-bg: #1A1A1A;
    --card-fg: var(--white);
    --card-muted: rgba(255, 255, 255, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(230, 57, 70, 0.5); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 10px; z-index: 10;
}
.skip:focus { top: 16px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }

p { margin: 0; }

.kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

/* header: floating capsule */
.top { position: sticky; top: 14px; z-index: 5; }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(10, 10, 10, 0.08);
}
.brand { display: flex; align-items: center; }
.brand img { width: 201px; height: 32px; }
.nav { display: flex; gap: 4px; }
.nav a {
  font-weight: 500; font-size: 0.93rem; text-decoration: none; white-space: nowrap;
  color: var(--fg); padding: 9px 14px; border-radius: 999px;
  transition: background-color 0.15s ease;
}
.nav a:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.93rem; }

/* hero */
.hero { padding: clamp(64px, 11vw, 140px) 0 clamp(48px, 8vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center; gap: clamp(32px, 6vw, 80px);
}
.hero-copy { max-width: 620px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--fg-muted); margin: 24px 0 36px; max-width: 540px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: min(320px, 70vw); height: auto; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--crimson); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--light); }

/* sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.intro { color: var(--fg-muted); max-width: 640px; font-size: 1.05rem; margin-bottom: 40px; }

/* product card */
.product {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  background: var(--card-bg); color: var(--card-fg);
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  margin-top: 40px;
}
.product-body { padding: clamp(32px, 5vw, 64px); }
.product-kicker {
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.product-head { display: flex; align-items: center; gap: 16px; }
.product-icon { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.product-title { color: var(--card-fg); }
.product-text { color: var(--card-muted); margin: 20px 0 32px; max-width: 520px; }
.product-visual {
  position: relative; min-height: 320px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(251, 224, 133, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  display: flex; align-items: center; justify-content: center;
}
.product-visual img { width: min(78%, 420px); height: auto; }

/* facts */
.facts {
  margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px; border-top: 1px solid var(--line);
}
.fact {
  display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.fact dt { color: var(--fg-muted); font-size: 0.95rem; font-weight: 500; }
.fact dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.todo {
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  border: 1.5px dashed var(--red); color: var(--crimson);
  font-size: 0.9rem; font-weight: 500;
}

/* contact */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.contact-grid .intro { margin-bottom: 0; }
.contact-card {
  font-style: normal;
  background: var(--bg-alt); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.contact-label {
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted);
  margin: 0 0 4px;
}
.contact-card p + .contact-label { margin-top: 22px; }
.contact-card a { font-weight: 600; text-decoration: none; }
.contact-card a:hover { color: var(--crimson); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 0.9rem; color: var(--fg-muted); }
.foot-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: center; }
.foot-note { grid-column: 1; }
.foot-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 22px; }
.foot-nav a { text-decoration: none; color: var(--fg); font-weight: 500; }
.foot-nav a:hover { color: var(--crimson); }

/* phones and small tablets */
@media (max-width: 840px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .top { top: 10px; }
  .bar { padding: 8px 8px 8px 16px; }
  .brand img { width: 176px; height: 28px; }
  .nav { display: none; }
  .btn-sm { min-height: 40px; padding: 0 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .hero-mark img { width: 128px; }
  .product { grid-template-columns: 1fr; }
  .product-visual { min-height: 240px; order: -1; }
  .product-visual img { width: 62%; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .fact { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-row { grid-template-columns: 1fr; }
  .foot-nav { grid-column: 1; grid-row: auto; margin-top: 12px; flex-wrap: wrap; gap: 14px 22px; }
}

@media (max-width: 420px) {
  .brand img { width: 150px; height: 24px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
