

:root {
  /* Colors  */
  --ink: #15171b;          /* asphalt black */
  --ink-soft: #2a2e35;
  --paper: #f6f4ef;        /* concrete / cream */
  --paper-dim: #ece8df;
  --white: #ffffff;
  --red: #e4130f;          /* brand red, sampled from the logo */
  --red-deep: #a80f0c;
  --muted: #6b7280;
  --line: rgba(21, 23, 27, 0.1);
  --line-on-dark: rgba(246, 244, 239, 0.16);

  /* Type */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Layout */
  --max-width: 1160px;
  --radius: 10px;
}

/* ---------- Reset & base ---------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

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

/* ---------- Lane divider (signature motif) ---------- */
.lane-divider {
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink) 0,
    var(--ink) 26px,
    transparent 26px,
    transparent 46px
  );
  opacity: 0.15;
  margin: 0;
}

.lane-divider--dark {
  background-image: repeating-linear-gradient(
    90deg,
    var(--paper) 0,
    var(--paper) 26px,
    transparent 26px,
    transparent 46px
  );
  opacity: 0.18;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  z-index: 1000;
}

.navbar__brand {
  display: flex;
  align-items: center;
}

.navbar__brand img {
  height: 42px;
  width: auto;
}

@media (max-width: 480px) {
  .navbar__brand img {
    height: 34px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:not(.download-btn) {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:not(.download-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.nav-links a:not(.download-btn):hover::after {
  width: 100%;
}

.download-btn {
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.download-btn:hover {
  background: var(--red);
  color: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -8px;
  font-size: 1.3rem;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--ink);
}

.menu-toggle:hover {
  background: var(--paper-dim);
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 88px 24px 72px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(246, 244, 239, 0.78);
  max-width: 46ch;
  margin: 20px 0 32px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin: 36px 0 4px;
  font-family: var(--font-mono);
}

.hero__stats div {
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

.hero__stats strong {
  display: block;
  font-size: 1.3rem;
  color: var(--white);
}

.hero__stats span {
  font-size: 0.72rem;
  color: rgba(246, 244, 239, 0.6);
  letter-spacing: 0.06em;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta a img {
  height: 50px;
}

.hero__art {
  position: relative;
  text-align: center;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: -6% -10%;
  background: radial-gradient(circle, rgba(228, 19, 15, 0.2), transparent 68%);
  z-index: 0;
}

/* Device frame — mats the product screenshot in a clean card instead of
   letting its own studio background float loose on the page. */
.device-frame {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin: 0 auto;
  padding: 14px;
  background: linear-gradient(160deg, #fbfaf7, #eae5da);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(21, 23, 27, 0.05);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.device-frame--compact {
  max-width: 220px;
  padding: 10px;
  border-radius: 18px;
}

.device-frame--compact img {
  border-radius: 10px;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero__stats {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .hero__art {
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .hero .device-frame {
    max-width: 230px;
    padding: 10px;
  }
}

/* ---------- Features ---------- */
.section {
  padding: 84px 0;
}

.section__head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section__head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.section__head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.02rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(21, 23, 27, 0.08);
}

.feature__dial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background:
    repeating-conic-gradient(
      var(--line) 0deg 4deg,
      transparent 4deg 30deg
    );
  position: relative;
}

.feature__dial::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
}

.feature__dial i {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  color: var(--red-deep);
}

.feature__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 700;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- About ---------- */
.about {
  background: var(--ink);
  color: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}

.about p {
  color: rgba(246, 244, 239, 0.75);
  font-size: 1.02rem;
  max-width: 52ch;
}

.about__img {
  position: relative;
}

@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__img {
    order: -1;
  }

  .about .device-frame {
    max-width: 220px;
  }
}

/* ---------- Footer ---------- */
footer {
  background: var(--paper-dim);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
}

.footer__about {
  max-width: 320px;
}

.footer__logo {
  height: 34px;
  width: auto;
  margin-bottom: 14px;
}

.footer__about p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer__links a {
  color: var(--muted);
  width: fit-content;
}

.footer__links a:hover {
  color: var(--red);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer__social a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--red);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__about {
    max-width: none;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__links {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero p,
  .hero .cta,
  .hero__stats {
    animation: rise 0.6s ease both;
  }

  .hero p { animation-delay: 0.08s; }
  .hero .cta { animation-delay: 0.16s; }
  .hero__stats { animation-delay: 0.22s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
