:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #eceff4;
  --text: #101828;
  --muted: #475467;
  --line: #d0d5dd;
  --primary: #4183ed;
  --primary-ink: #ffffff;
  --secondary: #f4a261;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --max: 1120px;
}

@supports (color: color(display-p3 1 1 1)) {
  :root {
    --primary: color(display-p3 0.2549 0.5137 0.9294);
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

main {
  width: min(100% - 2.2rem, var(--max));
  margin: 0 auto 4rem;
  position: relative;
}

.site-header {
  width: min(100% - 2.2rem, var(--max));
  margin: 1.2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 1rem;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--bg), transparent 16%);
  border: 1px solid color-mix(in srgb, var(--line), transparent 40%);
  border-radius: 999px;
  padding: 0.6rem 0.8rem 0.6rem 1.1rem;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  margin-right: 0.8rem;
}

.site-header-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-header-nav a:hover {
  text-decoration: underline;
}

.brand {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.brand-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.site-header-cta {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.8rem 1.3rem;
  background: var(--primary);
  color: var(--primary-ink);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(65, 131, 237, 0.28);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.2rem, 3.2vw, 2.4rem);
  margin-top: 1.15rem;
}

.hero {
  margin-top: 1.6rem;
  padding: clamp(1.8rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  margin: 0;
}

h1,
h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
}

h2 {
  margin: 24pt 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.14;
}

.lead {
  max-width: 45rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.app-store-badge-link {
  display: inline-block;
  line-height: 0;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 3.2rem;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-media img {
  width: min(100%, 442px);
  height: auto;
  aspect-ratio: 442 / 899;
  object-fit: contain;
  display: block;
}

.hero-cover-placeholder {
  width: 100%;
  max-width: 442px;
  min-height: 420px;
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1rem;
}

.hero-cover-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-cover-placeholder span {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
}

.value-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.1rem;
  background: color-mix(in srgb, var(--surface-soft), transparent 15%);
}

.card h2 {
  font-size: 1.2rem;
}

.card p,
.stack-example p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.stack-example {
  text-align: center;
  background: linear-gradient(125deg, #fffdf9, #f3fbfe);
}

.pill-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  border-radius: 999px;
  padding: 0.52rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
}

.arrow {
  font-weight: 700;
  color: var(--secondary);
}

.feature-list ul,
.steps ol {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature-list li,
.steps li {
  margin: 0.38rem 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.72rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin: 0.45rem 0 0;
}

.cta-final {
  text-align: center;
}

.cta-final .btn {
  margin-top: 1rem;
}

.site-footer {
  margin-top: 2.2rem;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
}

.footer-inner {
  width: min(100% - 2.2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.6rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.footer-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.footer-made {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-weight: 600;
}

.footer-note {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.page-main {
  margin-top: 1.6rem;
}

.page-content {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0.85rem 0 0;
}

.page-list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.page-list ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.page-list li {
  display: block;
}

.page-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.page-list a:hover {
  text-decoration: underline;
}

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

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-media img,
  .hero-cover-placeholder {
    max-width: 100%;
  }

  .hero-media img {
    width: min(92vw, 442px);
    height: auto;
  }

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

  .site-header {
    width: min(100% - 1.2rem, var(--max));
    top: 0.6rem;
  }

  .site-header-nav {
    gap: 0.55rem;
  }

  .site-header-nav a {
    font-size: 0.88rem;
  }

  main {
    width: min(100% - 1.2rem, var(--max));
    margin-bottom: 2.2rem;
  }

  .footer-inner {
    width: min(100% - 1.2rem, var(--max));
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.6rem 0 2rem;
  }

  .page-list li {
    display: block;
  }
}

@media (max-width: 700px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav";
    align-items: center;
    gap: 0.45rem 0.6rem;
    border-radius: 16px;
    padding: 0.55rem 0.7rem 0.65rem 0.85rem;
  }

  .brand-with-icon {
    grid-area: brand;
  }

  .site-header-nav {
    grid-area: nav;
    margin: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
  }

  .site-header-nav a {
    font-size: 0.86rem;
  }

  .site-header-cta {
    grid-area: cta;
    padding: 0.48rem 0.86rem;
    font-size: 0.84rem;
  }
}
