@font-face {
  font-family: "Aeonik Pro";
  src: url("/assets/fonts/aeonik_pro_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik Pro";
  src: url("/assets/fonts/aeonik_pro_bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f8fa;
  --surface-strong: #eef1f4;
  --ink: #151515;
  --muted: #686c73;
  --soft: #8b9098;
  --line: #d8dee6;
  --line-soft: #e7ebf0;
  --primary: #ff5933;
  --primary-dark: #d94828;
  --green: #198f36;
  --red: #d7263d;
  --teal: #008c77;
  --shadow: 0 18px 42px rgba(21, 21, 21, 0.08);
  --radius-card: 18px;
  --radius-field: 12px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f0f;
  --surface: #121212;
  --surface-strong: #191919;
  --ink: #f4f4f4;
  --muted: #9a9a9a;
  --soft: #6f6f6f;
  --line: #2a2a2a;
  --line-soft: #222222;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Aeonik Pro", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 36px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-nav {
  background: rgba(15, 15, 15, 0.9);
}

.brand,
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  width: clamp(132px, 13vw, 164px);
  height: auto;
}

.page-toolbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-field);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover {
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--ink);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.site-brand span:last-child,
.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.site-brand small,
.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.mark,
.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(255, 89, 51, 0.22);
}

.mark svg,
.brand-mark svg {
  width: 30px;
  height: auto;
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
  background: var(--surface-strong);
  color: var(--primary);
}

.nav-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-field);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.button:hover,
.nav-action:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--surface-strong);
  color: var(--ink);
}

.button-secondary:hover {
  background: #dde3ea;
  color: var(--ink);
}

:root[data-theme="dark"] .button-secondary:hover {
  background: #202020;
}

.button svg,
.nav-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  min-height: min(88svh, 840px);
  display: grid;
  align-content: start;
  padding: clamp(34px, 6vw, 70px) clamp(16px, 4vw, 36px) 0;
  border-bottom: 0;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(54px, 11vw, 128px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-stage {
  position: relative;
  width: min(820px, 100%);
  min-height: clamp(300px, 42vw, 450px);
  margin-top: clamp(24px, 3vw, 36px);
}

.device {
  position: absolute;
  bottom: 18px;
  width: clamp(128px, 19vw, 220px);
  filter: drop-shadow(0 28px 36px rgba(21, 21, 21, 0.18));
}

.device img {
  width: 100%;
  border-radius: 28px;
}

.device-main {
  left: 50%;
  z-index: 3;
  width: clamp(154px, 23vw, 270px);
  transform: translateX(-50%);
}

.device-left {
  left: 14%;
  z-index: 2;
  transform: translateY(12px) rotate(-4deg);
}

.device-right {
  right: 14%;
  z-index: 2;
  transform: translateY(12px) rotate(4deg);
}

.hero-stat {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: left;
}

:root[data-theme="dark"] .hero-stat {
  background: rgba(25, 25, 25, 0.94);
}

.hero-stat span {
  color: var(--muted);
  font-size: 12px;
}

.hero-stat strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
}

.hero-stat.positive strong {
  color: var(--green);
}

.hero-stat.left {
  left: 4%;
  bottom: 38%;
}

.hero-stat.right {
  right: 1%;
  bottom: 22%;
}

.site-main {
  display: block;
}

.section,
.band-inner,
.download-inner,
.footer-inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: clamp(54px, 8vw, 94px) 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(31px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.download-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-grid,
.link-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-card,
.metric-card,
.link-card,
.notice,
body > main:not(.site-main) section.notice {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.feature-card,
.metric-card {
  min-height: 166px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
}

.feature-icon,
.link-icon,
.mail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 89, 51, 0.12);
  color: var(--primary);
}

.feature-icon.green {
  background: rgba(25, 143, 54, 0.12);
  color: var(--green);
}

.feature-icon svg,
.link-icon svg,
.mail-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card h3,
.metric-card strong,
.link-card strong {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.feature-card p,
.metric-card span,
.link-card span {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(46px, 8vw, 82px);
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split.reverse .visual {
  order: 2;
}

.visual {
  min-height: clamp(360px, 55vw, 640px);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--bg);
}

.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 28px 36px rgba(21, 21, 21, 0.14));
}

.split-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.copy-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.copy-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}

.check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(25, 143, 54, 0.12);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.metrics-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.metric-grid {
  padding: 24px 0;
}

.metric-card {
  min-height: 112px;
  background: var(--bg);
}

.metric-card strong.positive {
  color: var(--green);
}

.metric-card strong.negative {
  color: var(--red);
}

.download-band {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(54px, 8vw, 88px) 0;
}

.download-copy {
  display: grid;
  gap: 14px;
}

.download-visual {
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.download-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.footer-links a,
.legal-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.legal-links a:hover,
.support-link:hover {
  color: var(--primary);
}

.links-page {
  background: var(--bg);
  color: var(--ink);
}

.links-page main,
body > main.links-main {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 40px 18px 56px;
}

.links-page header,
.links-main header {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--line);
}

.links-page .theme-toggle,
.links-main .theme-toggle {
  position: absolute;
  top: 18px;
  right: 0;
}

.links-page h1,
.links-main h1 {
  margin: 0;
  font-size: clamp(38px, 9vw, 62px);
  line-height: 0.98;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.links,
.link-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

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

.card,
.link-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.card:hover,
.link-card:hover {
  border-color: rgba(255, 89, 51, 0.65);
  background: var(--surface-strong);
  transform: translateY(-1px);
}

.icon,
.link-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 89, 51, 0.13);
  color: var(--primary);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.content {
  display: grid;
  gap: 3px;
}

.content strong {
  color: var(--ink);
  font-size: 18px;
}

.content span {
  color: var(--muted);
  font-size: 15px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.links-page footer,
.links-main footer {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}

body > main:not(.site-main):not(.links-main) {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 36px 18px 64px;
}

body > main:not(.site-main):not(.links-main) header {
  display: grid;
  gap: 18px;
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line-soft);
}

body > main:not(.site-main):not(.links-main) h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

body > main:not(.site-main):not(.links-main) section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

body > main:not(.site-main):not(.links-main) h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
}

body > main:not(.site-main):not(.links-main) h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

body > main:not(.site-main):not(.links-main) p,
body > main:not(.site-main):not(.links-main) li {
  color: var(--muted);
  font-size: 15px;
}

body > main:not(.site-main):not(.links-main) p {
  margin: 0;
}

body > main:not(.site-main):not(.links-main) p + p {
  margin-top: 10px;
}

body > main:not(.site-main):not(.links-main) a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

body > main:not(.site-main):not(.links-main) a:hover {
  text-decoration: underline;
}

body > main:not(.site-main):not(.links-main) .updated {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 89, 51, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
}

body > main:not(.site-main):not(.links-main) .notice {
  margin-top: 22px;
  padding: 20px;
}

body > main:not(.site-main):not(.links-main) footer {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 10px;
  }

  .site-links {
    display: none;
  }

  .hero {
    min-height: 84svh;
  }

  .feature-grid,
  .metric-grid,
  .split,
  .split.reverse,
  .download-inner {
    grid-template-columns: 1fr;
  }

  .split.reverse .visual {
    order: 0;
  }

  .visual,
  .download-visual {
    min-height: 430px;
  }

  .device-left {
    left: 4%;
  }

  .device-right {
    right: 4%;
  }

  .hero-stat.right {
    right: 0;
  }

  .hero-stat.left {
    left: 0;
  }
}

@media (max-width: 560px) {
  .site-nav {
    min-height: 62px;
    padding: 10px 14px;
  }

  .brand-logo {
    width: 132px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .nav-controls {
    gap: 8px;
  }

  .site-nav .theme-toggle {
    position: absolute;
    top: 10px;
    right: 14px;
  }

  .links-page header,
  .links-main header {
    position: static;
  }

  .links-page .theme-toggle,
  .links-main .theme-toggle {
    top: 58px;
    right: 18px;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .site-nav .nav-action {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding-top: 30px;
  }

  .hero-inner {
    width: 100%;
    max-width: none;
    justify-items: start;
    margin: 0 auto;
    text-align: left;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-actions {
    width: min(358px, 100%);
    max-width: 358px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .actions {
    width: 100%;
    align-items: stretch;
  }

  .hero-actions {
    justify-self: start;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    width: min(430px, 100%);
    justify-self: center;
    min-height: 274px;
  }

  .hero-stat {
    display: none;
  }

  .device {
    width: clamp(98px, 27vw, 124px);
    bottom: 12px;
  }

  .device-main {
    width: clamp(122px, 36vw, 158px);
  }

  .device-left {
    left: 5%;
    transform: rotate(-3deg);
  }

  .device-right {
    right: 5%;
    transform: rotate(3deg);
  }

  .feature-card,
  .metric-card {
    min-height: auto;
  }

  .visual,
  .download-visual {
    min-height: 360px;
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  body > main:not(.site-main):not(.links-main) {
    width: min(358px, calc(100vw - 32px));
    max-width: 358px;
    margin-left: 18px;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  body > main:not(.site-main):not(.links-main) h1 {
    font-size: 35px;
  }

  .card,
  .link-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .icon,
  .link-icon {
    width: 42px;
    height: 42px;
  }
}
