@font-face {
  font-family: Manrope;
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f8fafc;
  --white: #fff;
  --ink: #101d30;
  --muted: #4a596d;
  --blue: #185dcc;
  --blue-dark: #0c469e;
  --screen-mat: #f0f2f4;
  --line: #dce4ed;
  --navy: #112641;
  --gutter: clamp(1.25rem, 4vw, 3.75rem);
  --container: 74rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Manrope, 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 { font-weight: 800; }

h2 {
  font-size: clamp(2.4rem, 4.55vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 1.045;
}

a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

[id] { scroll-margin-top: 1.5rem; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

.icon {
  display: inline-block;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  padding: 0.7rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  background: var(--navy);
  color: var(--white);
  border-radius: 0.4rem;
}

.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.brand img { border-radius: 0.3em; }

.site-nav, .footer-nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.55rem); }

.site-nav a, .footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.header-download {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem 0.45rem 1rem;
  border: 1px solid #ccd8e6;
  border-radius: 0.55rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-download:hover { background: var(--white); border-color: #8bb1e8; color: var(--blue-dark); }
.header-download .icon, .footer-nav .icon { width: 1rem; height: 1rem; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4.1vw, 3.7rem);
  padding-block: clamp(2.9rem, 4.4vw, 4rem) clamp(3.15rem, 4.8vw, 4.3rem);
}

.eyebrow, .feature-index {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow span { height: 1px; width: 1.3rem; background: currentColor; }

.hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5.35vw, 4.9rem);
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero h1 span { display: block; margin-top: 0.08em; color: var(--blue); }

.hero-description {
  max-width: 28rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.55vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.5rem; margin-top: 1.95rem; }

.store-link { display: inline-block; width: fit-content; border-radius: 0.55rem; transition: transform 160ms ease; }
.store-link:hover { transform: translateY(-2px); }
.store-link img { width: 150px; height: 50px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link .icon { width: 1rem; height: 1rem; color: var(--blue); }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.hero-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.78rem; font-weight: 600; }

.hero-art { --screen-height: clamp(24rem, 35vw, 31rem); }

.app-preview { min-width: 0; }

.preview-stage {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--screen-mat);
}

.preview-stage img {
  width: auto;
  height: var(--screen-height);
  object-fit: contain;
}

.app-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding-inline: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.app-preview figcaption a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.app-preview figcaption a:hover { color: var(--ink); }

.benefits { border-block: 1px solid var(--line); background: var(--white); }

.benefits-inner {
  display: grid;
  grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 3fr);
  align-items: start;
  gap: 1.25rem clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.65rem, 3.5vw, 2.5rem);
}

.benefits h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem clamp(1rem, 3vw, 2.6rem);
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  padding-left: clamp(0.75rem, 1.5vw, 1.35rem);
  border-left: 2px solid var(--line);
}

.benefit-list strong { display: block; font-weight: 800; line-height: 1.3; }
.benefit-list span { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }

.features, .faq { padding-block: clamp(4.25rem, 8vw, 7.7rem); }

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(1.55rem, 3.2vw, 2.8rem);
}

.section-heading h2, .privacy h2, .faq h2 { margin-top: 0.8rem; }

.section-heading > p {
  max-width: 20rem;
  justify-self: end;
  padding-bottom: 0.2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-index {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-block: 1px solid var(--line);
}

.feature-index ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(0.9rem, 2.7vw, 2rem);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

.feature-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: var(--blue-dark);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

.feature-index a::after {
  width: 0.34rem;
  height: 0.34rem;
  margin-top: -0.18rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  content: '';
}

.feature-index a:hover { text-decoration: underline; }

.feature-guide {
  --feature-inset: clamp(1.5rem, 4.1vw, 3.5rem);
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.feature-panel, .feature-pair {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: var(--white);
}

.feature-panel-reverse { grid-template-columns: 0.94fr 1.06fr; }
.feature-panel-reverse .feature-copy { grid-area: 1 / 2; }
.feature-panel-reverse .feature-visual { grid-area: 1 / 1; }

.feature-spending { align-items: center; }
.feature-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-pair > section + section { border-left: 1px solid var(--line); }

.feature-copy { padding: var(--feature-inset); }
.feature-panel .feature-copy { align-self: center; }

.feature-kicker {
  color: var(--blue-dark);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.feature-copy h2,
.feature-copy h3 {
  max-width: 17ch;
  margin-top: 0.65rem;
  font-size: clamp(1.95rem, 3.3vw, 3.22rem);
  letter-spacing: -0.05em;
  line-height: 1.06;
  text-wrap: balance;
}

.feature-copy h2 ~ p,
.feature-copy h3 ~ p { max-width: 36rem; margin-top: 0.9rem; color: var(--muted); }

.feature-list {
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-list li::marker { color: var(--blue); }
.feature-list strong { color: var(--ink); }

.feature-spending > .feature-list {
  gap: 0.85rem;
  margin: 0;
  padding: var(--feature-inset) var(--feature-inset) var(--feature-inset) 1.15rem;
}

.feature-panel-full {
  grid-template-columns: 1fr;
}

.citable-block {
  margin-top: 1.15rem;
  padding: 1.1rem 1.25rem;
  border-radius: 0.85rem;
  background: var(--page);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.6;
}

.citable-block strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.94rem;
}

.citable-block p {
  color: var(--muted);
  margin: 0;
}

.comparison-card {
  padding: var(--feature-inset);
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.45;
}

.comparison-table th, .comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background: var(--page);
  font-weight: 800;
  color: var(--ink);
}

.comparison-table th:first-child, .comparison-table td:first-child {
  font-weight: 700;
  min-width: 9.5rem;
}

.comparison-table td.highlight {
  font-weight: 800;
  color: var(--blue-dark);
  background: #f0f5fc;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.use-case-box {
  padding: 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--page);
}

.use-case-box h3,
.use-case-box h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.use-case-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.feature-visual {
  --screen-height: clamp(21rem, 30vw, 27rem);
  align-self: center;
  margin: clamp(0.85rem, 2vw, 1.5rem) clamp(0.85rem, 2vw, 1.5rem) 0;
}

.privacy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.7rem, 6.7vw, 6.1rem);
  background: var(--navy);
  color: var(--white);
}

.privacy::after {
  position: absolute;
  z-index: -1;
  top: -8rem;
  right: -13rem;
  width: 37rem;
  aspect-ratio: 1;
  background: repeating-radial-gradient(circle, transparent 0 57px, #8cb6ea1a 58px, transparent 59px 89px);
  content: '';
}

.privacy-inner { display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: clamp(2rem, 9vw, 8.4rem); }

.privacy .eyebrow { color: #a7c9fb; }
.privacy-copy > p:not(.eyebrow) { max-width: 29rem; margin-top: 1.15rem; color: #d1def0; font-size: 1.06rem; }
.privacy-copy .text-link { margin-top: 0.75rem; color: #e4efff; }
.privacy-copy .icon { color: #a7c9fb; }
.privacy :focus-visible { outline-color: #a7c9fb; }

.privacy-list { border-top: 1px solid #7891b35c; }

.privacy-list > div { position: relative; padding: 1.18rem 0 1.18rem 1.3rem; border-bottom: 1px solid #7891b35c; }
.privacy-list > div::before { position: absolute; top: 1.82rem; left: 0; width: 0.37rem; height: 0.37rem; border-radius: 50%; background: #a7c9fb; content: ''; }
.privacy-list dt { font-size: 1.03rem; font-weight: 800; }
.privacy-list dd { margin-top: 0.2rem; color: #d1def0; font-size: 0.88rem; }

.faq { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 7vw, 6.4rem); }
.faq-intro > p:last-child { margin-top: 1.15rem; color: var(--muted); }
.faq-intro a { color: var(--blue-dark); font-weight: 800; text-underline-offset: 0.15em; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.45rem;
  padding: 0.75rem 0;
  font-size: 1.025rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-dark); }
.faq-list details p { max-width: 38rem; padding: 0 2rem 1.35rem 0; color: var(--muted); }

.disclosure { position: relative; flex: 0 0 1.85rem; width: 1.85rem; height: 1.85rem; color: var(--blue-dark); }
.disclosure::before, .disclosure::after { position: absolute; top: 50%; left: 50%; width: 0.8rem; height: 1.5px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); content: ''; }
.disclosure::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .disclosure::after { content: none; }

.download { padding-bottom: clamp(3.4rem, 6vw, 5rem); }

.download-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.65rem, 4.5vw, 3.4rem);
  border: 1px solid #d5e3f5;
  border-radius: 1.3rem;
  background: #e9f2ff;
}

.download-icon { border-radius: 1rem; }
.download h2 { font-size: clamp(1.95rem, 3.45vw, 3.4rem); }
.download p { margin-top: 0.4rem; color: var(--muted); }

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

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem 1.25rem;
  min-height: 5.5rem;
  padding-block: 0.75rem;
}

.footer-inner .brand { font-size: 1.25rem; }
.footer-inner > p { color: var(--muted); font-size: 0.8rem; }
.footer-nav { gap: clamp(0.8rem, 2.5vw, 1.7rem); }
.footer-nav a { font-size: 0.8rem; }

@media (max-width: 1050px) {
  .hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); }
}

@media (max-width: 760px) {
  .header-inner { min-height: 4.35rem; gap: 0.8rem; }
  .site-nav { gap: 1rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.9rem 2rem; }
  .hero h1 { font-size: clamp(2.55rem, 9.5vw, 4.7rem); }
  .hero-art { --screen-height: clamp(15rem, 80vw, 25rem); width: 100%; max-width: 35rem; }
  .hero-description { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.4rem; }
  .benefits-inner, .benefit-list { grid-template-columns: 1fr; }
  .section-heading, .privacy-inner, .faq { grid-template-columns: 1fr; gap: 1.15rem; }
  .section-heading > p { justify-self: start; }
  .feature-panel, .feature-pair { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .feature-panel-reverse .feature-copy, .feature-panel-reverse .feature-visual { grid-area: auto; }
  .feature-spending > .feature-list { padding: 0 var(--feature-inset) var(--feature-inset); padding-left: calc(var(--feature-inset) + 1.15rem); }
  .feature-pair > section + section { border-top: 1px solid var(--line); border-left: 0; }
  .feature-visual { --screen-height: clamp(17rem, 75vw, 23rem); margin: 0 0.85rem; }
  .privacy-inner, .faq { gap: 2rem; }
  .download-inner { grid-template-columns: auto 1fr; }
  .download-inner > .store-link { grid-column: 2; }
}

@media (max-width: 530px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .download-inner { grid-template-columns: 1fr; gap: 0.9rem; }
  .download-inner > .store-link { grid-column: 1; }
  .download-icon { width: 3.25rem; height: 3.25rem; border-radius: 0.72rem; }
  .download h2 { font-size: clamp(1.55rem, 6.9vw, 2.3rem); }
  .download p { font-size: 0.88rem; }
  .footer-inner { grid-template-columns: auto 1fr; padding-block: 1.35rem 0.6rem; }
  .footer-nav { grid-column: 1 / -1; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .store-link:hover { transform: none; }
}
