:root {
  --background: #ffffff;
  --surface: #f6f6f4;
  --surface-strong: #efefec;
  --text: #161616;
  --muted: #686864;
  --line: #dcdcd7;
  --line-strong: #161616;
  --accent: #e94b3c;
  --accent-soft: #ffe8e3;
  --green: #147a5b;
  --green-soft: #dff3eb;
  --gold: #a56f00;
  --gold-soft: #fff2c7;
  --rose: #be3d65;
  --rose-soft: #ffe3ec;
  --ink-soft: #ececf1;
  --shadow: 0 24px 70px rgb(0 0 0 / 10%);
  --max-width: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: clip;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgb(22 22 22 / 10%);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgb(0 0 0 / 6%);
}

.brand-link,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 0;
  font-size: 13px;
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 186px;
  height: auto;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100svh - 140px);
  padding: clamp(58px, 8vw, 104px) 0 clamp(42px, 7vw, 76px);
  border-bottom: 1px solid var(--line-strong);
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.company-name,
.section-index {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 12px 0 20px;
  font-size: clamp(64px, 12vw, 168px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 0;
  color: #383834;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.22;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.button-secondary {
  background: #fff;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.device {
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow);
}

.device-large {
  position: absolute;
  inset: 20px 0 auto auto;
  width: min(100%, 470px);
  min-height: 430px;
  padding: 18px;
}

.device-small {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 185px;
  padding: 18px;
}

.device-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.device-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.future-grid {
  grid-template-columns: 1fr;
  min-height: 352px;
}

.screen-card {
  display: flex;
  min-height: 162px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(22 22 22 / 16%);
  padding: 15px;
}

.future-card {
  min-height: 352px;
}

.screen-card span,
.app-badge {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.screen-card span {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
}

.screen-card strong {
  max-width: 118px;
  font-size: 15px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.future-card span {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

.future-card strong {
  max-width: 260px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
}

.coral {
  background: var(--accent-soft);
  color: #9f2018;
}

.green {
  background: var(--green-soft);
  color: var(--green);
}

.ink {
  background: var(--ink-soft);
  color: #202032;
}

.gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.rose {
  background: var(--rose-soft);
  color: var(--rose);
}

.neutral {
  background: var(--surface-strong);
  color: var(--text);
}

.app-badge {
  width: 52px;
  height: 52px;
  background: var(--rose-soft);
  color: var(--rose);
}

.device-small p {
  margin: 32px 0 18px;
  font-size: 13px;
  font-weight: 900;
}

.mini-bars {
  display: grid;
  gap: 7px;
}

.mini-bars span {
  height: 8px;
  background: var(--text);
}

.mini-bars span:nth-child(2) {
  width: 72%;
  background: var(--accent);
}

.mini-bars span:nth-child(3) {
  width: 48%;
  background: var(--line-strong);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .device-large {
    width: min(100%, 560px);
    right: 0;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .site-header {
    gap: 12px;
    padding: 14px;
  }

  .brand-link {
    font-size: 12px;
  }

  .brand-mark {
    width: 154px;
  }

  .hero {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(56px, 21vw, 94px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: row;
    margin-top: 24px;
  }

  .button {
    flex: 1 1 150px;
    min-width: 0;
    padding-inline: 12px;
    text-align: center;
  }

  .button-primary {
    flex-basis: 218px;
  }

  .hero-visual {
    min-height: 210px;
    overflow: hidden;
  }

  .device-large {
    width: calc(100% - 18px);
    min-height: 210px;
    padding: 12px;
  }

  .device-small {
    width: 122px;
    padding: 13px;
  }

  .screen-grid {
    gap: 8px;
  }

  .future-grid,
  .future-card {
    min-height: 132px;
  }

  .screen-card {
    min-height: 64px;
    padding: 11px;
  }

  .screen-card strong {
    font-size: 12px;
  }

  .screen-card span {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .future-card span {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .future-card strong {
    max-width: 180px;
    font-size: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
