@font-face {
  font-family: "Inter";
  src: url("/assets/inter-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #087eff;
  --blue-dark: #0568d7;
  --orange: #ff9500;
  --green: #34c759;
  --ink: #101318;
  --muted: #5e6672;
  --line: #d9dfe5;
  --surface: #f6f9fd;
  --white: #fff;
  --shadow: 0 24px 80px rgb(31 75 121 / 12%);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgb(8 126 255 / 45%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

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

.container {
  width: min(100% - 48px, 1225px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(217 223 229 / 65%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

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

.site-nav,
.nav-links,
.header-actions,
.store-buttons,
.footer-links,
.legal-links {
  display: flex;
  align-items: center;
}

.nav-links {
  margin: 0;
  padding: 0;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  padding-block: 10px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.header-actions {
  gap: 14px;
}

.button,
.button-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 12px 28px;
  cursor: pointer;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 30px rgb(255 149 0 / 22%);
}

.button:hover {
  background: #ed8900;
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 21px;
  height: 2px;
  display: block;
  background: var(--ink);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  margin-block: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::after {
  position: absolute;
  inset: 15% -18% auto 52%;
  height: 620px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(8 126 255 / 16%), transparent 68%);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 30px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 19px;
}

.store-buttons {
  flex-wrap: wrap;
  gap: 20px;
}

.store-link {
  border-radius: 14px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(16 19 24 / 12%);
}

.store-link img {
  width: 178px;
}

.hero-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.preview-card {
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(217 223 229 / 75%);
  border-radius: 22px;
  padding: 18px;
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow);
}

.preview-card:nth-child(2),
.preview-card:nth-child(4) {
  transform: translateY(28px);
}

.preview-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.section {
  padding: 100px 0;
}

.section-soft {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.download-card h2,
.subscribe-card h2,
.legal-page h1 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.section-heading p,
.feature-copy > p,
.download-card p,
.subscribe-card > p,
.legal-page .lead {
  color: var(--muted);
  font-size: 17px;
}

.features {
  display: grid;
  gap: 82px;
}

.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 80px;
}

.feature:nth-child(even) .feature-visual {
  order: 2;
}

.feature-visual {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  padding: 34px;
  background: linear-gradient(145deg, #f8fbff, #eef6ff);
}

.feature-visual img {
  max-height: 430px;
  object-fit: contain;
}

.feature-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
}

.feature-copy h2 {
  font-size: clamp(29px, 3vw, 40px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  background: var(--white);
}

.price-card-featured {
  border-color: rgb(52 199 89 / 45%);
  box-shadow: 0 22px 60px rgb(52 199 89 / 10%);
}

.price-card h3 {
  margin-bottom: 6px;
  font-size: 32px;
}

.price-card-featured h3 {
  color: var(--green);
}

.price-card > p {
  color: var(--muted);
}

.benefit-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid #edf0f3;
  font-weight: 520;
}

.benefit-list img {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.download-card,
.subscribe-card {
  border-radius: 34px;
  padding: 68px;
  text-align: center;
}

.download-card {
  color: var(--white);
  background: linear-gradient(135deg, #087eff, #0660c7);
  box-shadow: 0 30px 80px rgb(8 126 255 / 24%);
}

.download-card p {
  max-width: 770px;
  margin: 0 auto 34px;
  color: rgb(255 255 255 / 82%);
}

.download-card .store-buttons {
  justify-content: center;
}

.subscribe-card {
  background: linear-gradient(145deg, #f8fbff, #edf6ff);
}

.subscribe-card > p {
  max-width: 680px;
  margin-inline: auto;
}

.form-row {
  max-width: 680px;
  display: flex;
  gap: 12px;
  margin: 32px auto 16px;
}

.field {
  width: 100%;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 17px;
  background: var(--white);
  color: var(--ink);
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field-help {
  margin: 7px 0 0;
  color: var(--muted) !important;
  font-size: 14px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgb(8 126 255 / 14%);
}

.form-row .field {
  flex: 1;
}

.form-row .button {
  align-self: flex-end;
}

.checkbox {
  max-width: 680px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 auto 18px;
  color: var(--muted);
  text-align: left;
  font-size: 14px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.checkbox a,
.legal-page a,
.footer-contact {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.turnstile-wrap {
  max-width: 680px;
  margin: 0 auto 16px;
  text-align: left;
}

.form-status {
  min-height: 25px;
  margin: 14px 0 0;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #18863a;
}

.form-status[data-state="error"] {
  color: #c32626;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.legal-page {
  padding: 78px 0 110px;
}

.legal-shell {
  max-width: 880px;
  margin-inline: auto;
}

.legal-page h1 {
  font-size: clamp(38px, 5vw, 56px);
}

.legal-page h2 {
  margin: 48px 0 14px;
  font-size: 26px;
  line-height: 1.25;
}

.legal-page h3 {
  margin: 32px 0 10px;
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  color: #343a43;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-form {
  margin-top: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--surface);
}

.legal-form .field + .field {
  margin-top: 18px;
}

.legal-form .legal-checkbox {
  max-width: none;
  margin: 20px 0 18px;
}

.legal-form .button {
  margin-top: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px 0 30px;
  background: #fbfcfe;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-links {
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
}

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

.footer-store .store-buttons {
  justify-content: flex-end;
}

.footer-store .store-link img {
  width: 145px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal-links {
  flex-wrap: wrap;
  gap: 18px;
}

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 80;
  max-width: 860px;
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  background: var(--white);
  box-shadow: 0 24px 80px rgb(16 19 24 / 22%);
}

.consent-banner.is-visible {
  display: grid;
}

.consent-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-actions .button,
.consent-actions .button-secondary {
  min-height: 44px;
  padding: 9px 17px;
  font-size: 14px;
}

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(72px, 15vw, 150px);
  line-height: 1;
}

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

  .hero-copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }

  .hero .store-buttons {
    justify-content: center;
  }

  .hero-preview {
    max-width: 760px;
    margin-inline: auto;
  }

  .feature {
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-nav {
    position: fixed;
    inset: 89px 0 auto;
    display: none;
    border-bottom: 1px solid var(--line);
    padding: 26px 24px 34px;
    background: var(--white);
    box-shadow: 0 18px 32px rgb(16 19 24 / 8%);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links a {
    display: block;
    padding: 13px 8px;
  }

  .header-actions > .button {
    display: none;
  }

  .feature,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-visual {
    order: initial;
  }

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

  .feature-copy {
    text-align: center;
  }

  .feature-icon {
    margin-inline: auto;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-store .store-buttons {
    justify-content: flex-start;
  }
}

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

  .header-inner {
    min-height: 76px;
  }

  .site-nav {
    inset-block-start: 77px;
  }

  .brand {
    gap: 9px;
    font-size: 18px;
  }

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

  .hero {
    padding: 66px 0 80px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

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

  .preview-card,
  .preview-card:nth-child(2),
  .preview-card:nth-child(4) {
    min-height: 250px;
    transform: none;
  }

  .section {
    padding: 72px 0;
  }

  .features {
    gap: 64px;
  }

  .feature-visual {
    min-height: 300px;
    padding: 22px;
  }

  .feature-visual img {
    max-height: 310px;
  }

  .price-card,
  .download-card,
  .subscribe-card,
  .legal-form {
    padding: 28px 22px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .button {
    width: 100%;
  }

  .store-link img {
    width: 152px;
  }

  .consent-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-actions > * {
    flex: 1;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
