:root {
  color-scheme: light dark;
  --berry: #d31345;
  --berry-deep: #8e1035;
  --berry-ink: #710b2b;
  --saffron: #f4a619;
  --saffron-deep: #b56a00;
  --ink: #1d1d1f;
  --secondary: #66666b;
  --canvas: #fffaf5;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-solid: #ffffff;
  --line: rgba(113, 11, 43, 0.12);
  --shadow: 0 28px 80px rgba(87, 16, 42, 0.14);
  --shell: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

#features,
#search,
#deadlines {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--berry-deep);
  transition: top 160ms ease-out;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 250, 245, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(103, 10, 42, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.site-footer a {
  color: var(--secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--berry);
}

.hero {
  min-height: 860px;
  padding: 164px 0 108px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 19, 69, 0.14), rgba(244, 166, 25, 0.06) 42%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--berry);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.system-section h2,
.closing-section h2,
.document h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(3.35rem, 6.4vw, 6rem);
}

.hero-summary {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--secondary);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.018em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.availability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  color: #fff;
  background: var(--berry-deep);
  box-shadow: 0 10px 28px rgba(142, 16, 53, 0.18);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.availability svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--berry-deep);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration: underline;
}

.availability:active,
.text-link:active,
.nav-links a:active,
.brand:active {
  transform: scale(0.98);
}

.platform-note {
  margin: 15px 0 0;
  color: var(--secondary);
  font-size: 14px;
}

.product-visual {
  min-height: 640px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
}

.device-halo {
  position: absolute;
  width: min(540px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 166, 25, 0.17), rgba(211, 19, 69, 0.08) 44%, transparent 72%);
  filter: blur(8px);
}

.device-frame {
  z-index: 1;
  width: min(326px, 76vw);
  position: relative;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 58px;
  background: linear-gradient(145deg, #3b3a3c, #09090a 42%, #29282a);
  box-shadow:
    0 38px 80px rgba(78, 11, 37, 0.25),
    0 12px 28px rgba(78, 11, 37, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  animation: device-arrive 740ms cubic-bezier(.22, .8, .28, 1) both;
}

.product-screenshot {
  width: 100%;
  height: auto;
  border-radius: 50px;
  background: #fff;
}

.product-visual figcaption {
  z-index: 1;
  max-width: 280px;
  margin-top: 20px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.intro {
  max-width: 820px;
  padding-top: 124px;
  padding-bottom: 68px;
  text-align: center;
}

.intro h2,
.system-section h2,
.closing-section h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.intro > p:last-child {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--secondary);
  font-size: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 130px;
}

.feature-card {
  min-height: 450px;
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface-solid);
  box-shadow: 0 16px 48px rgba(78, 19, 40, 0.07);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -88px;
  bottom: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 166, 25, 0.18), transparent 70%);
}

.feature-number {
  color: var(--secondary);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.feature-symbol {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-top: 72px;
  border-radius: 20px;
  color: var(--berry);
  background: rgba(211, 19, 69, 0.09);
}

.feature-symbol svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 28px 0 12px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--secondary);
  font-size: 16px;
}

.system-section {
  padding: 130px 0;
  color: #fff;
  background: var(--berry-ink);
}

.system-section .section-kicker {
  color: #ffd36a;
}

.system-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.system-list {
  display: grid;
  gap: 12px;
}

.system-list > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.system-list strong {
  color: #ffd36a;
}

.system-list span {
  color: rgba(255, 255, 255, 0.7);
}

.closing-section {
  padding: 128px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 166, 25, 0.22), transparent 38%),
    linear-gradient(150deg, #9f133b, #6e0a29);
}

.closing-content {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.closing-content img {
  margin-bottom: 28px;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(44, 0, 16, 0.34);
}

.closing-section .section-kicker {
  color: #ffd36a;
}

.closing-section h2 {
  margin-bottom: 34px;
}

.availability-light {
  color: var(--berry-ink);
  background: #fff;
  box-shadow: none;
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--secondary);
  background: var(--surface-solid);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  gap: 22px;
}

/* Legal and support pages */
.subpage-main {
  min-height: calc(100vh - 130px);
  padding: 148px 0 100px;
}

.document {
  max-width: 760px;
}

.document h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.document .lede {
  margin: 28px 0 0;
  color: var(--secondary);
  font-size: 21px;
}

.document .updated {
  margin: 18px 0 64px;
  color: var(--secondary);
  font-size: 14px;
}

.document h2 {
  margin: 52px 0 12px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.document p,
.document li {
  color: var(--secondary);
}

.document ul {
  padding-left: 22px;
}

.document li + li {
  margin-top: 9px;
}

.document a {
  color: var(--berry-deep);
  font-weight: 600;
  text-underline-offset: 3px;
}

.support-options {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}

.support-option {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink) !important;
  background: var(--surface-solid);
  text-decoration: none;
  transition: transform 180ms ease-out, border-color 180ms ease-out;
}

.support-option:hover {
  transform: translateY(-2px);
  border-color: rgba(211, 19, 69, 0.34);
}

.support-option strong,
.support-option span {
  display: block;
}

.support-option span {
  margin-top: 5px;
  color: var(--secondary);
  font-weight: 400;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 22px;
  text-align: center;
}

.not-found img {
  margin: 0 auto 26px;
  border-radius: 24px;
}

.not-found h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: -0.06em;
}

.not-found p {
  color: var(--secondary);
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 4px;
}

@keyframes device-arrive {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 138px;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .product-visual {
    min-height: 680px;
  }

  .features {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .feature-card {
    min-height: 360px;
  }

  .feature-symbol {
    margin-top: 42px;
  }

  .system-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .nav {
    min-height: 58px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    padding: 122px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-summary {
    margin-top: 24px;
  }

  .product-visual {
    min-height: 610px;
  }

  .device-frame {
    width: min(318px, 88vw);
  }

  .intro {
    padding-top: 86px;
  }

  .features {
    padding-bottom: 90px;
  }

  .feature-card {
    min-height: 330px;
    padding: 26px;
    border-radius: 28px;
  }

  .system-section,
  .closing-section {
    padding: 92px 0;
  }

  .system-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid,
  .footer-grid div {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid div {
    gap: 10px;
  }

  .subpage-main {
    padding-top: 120px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7;
    --secondary: #aaaab0;
    --canvas: #11080c;
    --surface: rgba(31, 17, 22, 0.78);
    --surface-solid: #1b1014;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  }

  .site-header {
    background: rgba(17, 8, 12, 0.72);
  }

  .text-link,
  .document a {
    color: #ff7899;
  }

  .feature-symbol {
    background: rgba(255, 92, 132, 0.12);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--surface-solid);
  }
}

@media (prefers-contrast: more) {
  :root {
    --secondary: currentColor;
    --line: currentColor;
  }

  .site-header,
  .feature-card,
  .support-option {
    border: 2px solid currentColor;
  }
}
