:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --paper: #ffffff;
  --cream: #fffaf2;
  --ink: #2f2724;
  --muted: #6c6663;
  --line: #e5e3df;
  --blue: #2382d1;
  --blue-soft: #eaf5ff;
  --green: #2fae76;
  --green-soft: #e9f8f1;
  --orange: #ec941e;
  --orange-soft: #fff4dd;
  --pink: #e95675;
  --pink-soft: #fff0f4;
  --lavender: #8268ba;
  --shadow: 0 14px 36px rgba(47, 39, 36, 0.08);
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", sans-serif;
  line-height: 1.75;
  margin: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  font-weight: 700;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 227, 223, 0.9);
  display: flex;
  height: 68px;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-brand,
.footer-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

.site-brand img,
.footer-brand img {
  border-radius: 8px;
}

.marketing-nav,
.marketing-nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
}

.marketing-nav a {
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}

.marketing-nav a:hover,
.marketing-nav a:focus-visible {
  color: var(--blue);
}

.header-cta {
  background: var(--blue);
  border-radius: 8px;
  color: #fff !important;
  min-height: 44px;
  padding: 8px 16px;
}

.marketing-hero {
  background: var(--cream);
  border-bottom: 1px solid #f1e8da;
  display: grid;
  min-height: 700px;
  overflow: hidden;
  padding: 72px max(24px, calc((100vw - var(--content)) / 2));
  position: relative;
}

.marketing-hero::before {
  background: var(--green-soft);
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 37%;
}

.hero-copy {
  align-self: center;
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 10px;
}

.marketing-hero h1 {
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero-lead {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.3;
  margin: 24px 0 18px;
}

.hero-description {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 24px;
}

.app-store-badge {
  display: inline-block;
}

.app-store-badge img {
  height: 60px;
  width: auto;
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 0;
}

.hero-product {
  bottom: auto;
  filter: drop-shadow(0 22px 32px rgba(47, 39, 36, 0.18));
  position: absolute;
  right: max(20px, calc((100vw - var(--content)) / 2));
  top: 40px;
  transform: rotate(2deg);
  width: min(360px, 31vw);
  z-index: 2;
}

.hero-product img {
  border: 8px solid #fff;
  border-radius: 8px;
}

.benefit-strip {
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--content);
  padding: 32px 0;
}

.benefit-strip > div {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 4px 28px;
}

.benefit-strip > div:last-child {
  border-right: 0;
}

.benefit-strip strong {
  font-size: 17px;
}

.benefit-strip p {
  color: var(--muted);
  font-size: 13px;
  grid-column: 2;
  margin: 0;
}

.benefit-icon {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.benefit-green { background: var(--green-soft); color: var(--green); }
.benefit-blue { background: var(--blue-soft); color: var(--blue); }
.benefit-orange { background: var(--orange-soft); color: var(--orange); }

.section-band {
  padding: 88px max(24px, calc((100vw - var(--content)) / 2));
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.privacy-copy h2,
.final-cta h2 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 18px;
}

.section-heading > p:last-child,
.privacy-copy > p:not(.eyebrow),
.final-cta p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.compact-heading {
  margin-bottom: 40px;
}

.feature-intro {
  background: #fff;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 230px;
  padding: 28px;
}

.feature-card:nth-child(1) { border-top: 5px solid var(--green); }
.feature-card:nth-child(2) { border-top: 5px solid var(--blue); }
.feature-card:nth-child(3) { border-top: 5px solid var(--orange); }

.step-number {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  font-size: 24px;
  margin: 20px 0 8px;
}

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

.product-showcase {
  background: #f5f8fb;
  overflow: hidden;
}

.screenshot-rail {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-card {
  margin: 0;
  text-align: center;
}

.screenshot-card img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 650px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.screenshot-card:nth-child(2) img {
  margin-top: 36px;
}

.screenshot-card figcaption {
  font-size: 16px;
  font-weight: 900;
  margin-top: 14px;
}

.how-band {
  background: var(--cream);
}

.how-list {
  border-top: 1px solid #eadfce;
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-list li {
  align-items: center;
  border-bottom: 1px solid #eadfce;
  display: grid;
  gap: 22px;
  grid-template-columns: 56px 1fr;
  padding: 22px 0;
}

.how-list li > span {
  align-items: center;
  background: var(--paper);
  border: 1px solid #eadfce;
  border-radius: 8px;
  color: var(--orange);
  display: flex;
  font-size: 20px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.how-list strong {
  font-size: 21px;
}

.how-list p {
  color: var(--muted);
  margin: 0;
}

.privacy-band {
  background: var(--green-soft);
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  text-decoration: none;
}

.privacy-points {
  background: var(--paper);
  border: 1px solid #cfe9dc;
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 8px 26px;
}

.privacy-points li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px 14px;
  grid-template-columns: 34px 1fr;
  padding: 20px 0;
}

.privacy-points li:last-child { border-bottom: 0; }

.privacy-points span {
  align-items: center;
  background: var(--green-soft);
  border-radius: 8px;
  color: var(--green);
  display: flex;
  font-weight: 900;
  grid-row: span 2;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.privacy-points small {
  color: var(--muted);
}

.plan-band {
  background: #fff;
}

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

.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 290px;
  padding: 30px;
  position: relative;
}

.plan-pro {
  background: var(--orange-soft);
  border-color: #efd5a4;
}

.plan-label {
  background: var(--orange);
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  padding: 5px 9px;
  position: absolute;
  right: 22px;
  top: 22px;
}

.plan-name {
  font-size: 29px;
  font-weight: 900;
  margin: 0;
}

.plan-price {
  font-size: 20px;
  font-weight: 900;
  margin: 3px 0 22px;
}

.plan-card ul {
  color: var(--muted);
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.3em;
}

.faq-band {
  background: #f5f8fb;
}

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

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

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  min-height: 44px;
  padding: 6px 40px 6px 0;
}

.faq-list details p {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 800px;
}

.final-cta {
  align-items: center;
  background: var(--blue);
  color: #fff;
  display: grid;
  gap: 34px;
  grid-template-columns: 110px 1fr;
  padding: 64px max(24px, calc((100vw - 900px) / 2));
}

.final-cta > img {
  border: 6px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.final-cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 8px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 14px;
}

.site-footer {
  align-items: center;
  background: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr auto auto;
  padding: 34px max(24px, calc((100vw - var(--content)) / 2));
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.site-footer p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

/* Legal and support pages */
.page {
  margin: 0 auto;
  max-width: 920px;
  padding: 32px 18px 56px;
}

.top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.brand {
  font-size: 18px;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  padding: 6px 10px;
  text-decoration: none;
}

.page .hero,
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.page .hero { margin-bottom: 16px; }

.page h1,
.page h2 {
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 12px;
}

.page h1 { font-size: 30px; }

.page h2 {
  border-top: 1px solid var(--line);
  font-size: 21px;
  margin-top: 28px;
  padding-top: 22px;
}

.page p,
.page li {
  color: var(--muted);
}

.badge {
  background: var(--blue-soft);
  border-radius: 8px;
  color: var(--blue);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
  padding: 4px 10px;
}

.notice {
  background: var(--orange-soft);
  border: 1px solid #efd5a4;
  border-radius: 8px;
  color: #8a4b0f !important;
  padding: 12px 14px;
}

.support-form {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
}

.support-form label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 6px;
}

.support-form input,
.support-form select,
.support-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}

.support-form textarea {
  min-height: 160px;
  resize: vertical;
}

.primary-button {
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 48px;
  padding: 10px 16px;
}

.small-note { font-size: 14px; }
.list { padding-left: 1.2em; }
.footer { color: var(--muted); font-size: 13px; margin-top: 24px; }

@media (max-width: 860px) {
  .marketing-nav-links { display: none; }

  .marketing-hero {
    min-height: 720px;
    padding-bottom: 320px;
    padding-top: 54px;
  }

  .marketing-hero::before {
    bottom: 0;
    height: 300px;
    top: auto;
    width: 100%;
  }

  .hero-product {
    bottom: auto;
    left: 50%;
    right: auto;
    top: 380px;
    transform: translateX(-50%) rotate(1deg);
    width: 290px;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
    padding: 16px 24px;
  }

  .benefit-strip > div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 16px 0;
  }

  .benefit-strip > div:last-child { border-bottom: 0; }

  .feature-grid,
  .privacy-band,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .privacy-band { gap: 38px; }

  .screenshot-card img { height: 560px; }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 62px;
    padding: 0 16px;
  }

  .site-brand { font-size: 16px; }
  .site-brand img { height: 36px; width: 36px; }

  .header-cta {
    font-size: 12px !important;
    min-height: 40px;
    padding: 7px 11px;
  }

  .marketing-hero {
    min-height: 690px;
    padding: 42px 20px 290px;
  }

  .marketing-hero h1 { font-size: 48px; }
  .hero-lead { font-size: 34px; }
  .hero-description { font-size: 16px; }
  .desktop-break { display: none; }

  .hero-product {
    bottom: auto;
    top: 438px;
    width: 260px;
  }

  .section-band {
    padding: 64px 20px;
  }

  .section-heading h2,
  .privacy-copy h2 {
    font-size: 32px;
  }

  .feature-grid { margin-top: 34px; }
  .feature-card { min-height: auto; padding: 24px; }

  .screenshot-rail {
    gap: 16px;
    grid-template-columns: repeat(3, 250px);
    justify-content: start;
    margin-right: -20px;
    overflow-x: auto;
    padding-bottom: 18px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-card {
    scroll-snap-align: start;
    width: 250px;
  }

  .screenshot-card img { height: 540px; }
  .screenshot-card:nth-child(2) img { margin-top: 0; }

  .how-list li {
    gap: 14px;
    grid-template-columns: 48px 1fr;
  }

  .privacy-band { grid-template-columns: 1fr; }
  .privacy-points { padding: 6px 18px; }

  .final-cta {
    grid-template-columns: 72px 1fr;
    padding: 48px 20px;
  }

  .final-cta > img {
    height: 68px;
    width: 68px;
  }

  .final-cta h2 { font-size: 26px; }

  .site-footer {
    padding: 30px 20px;
  }

  .top { align-items: flex-start; }
  .nav { gap: 6px; }
  .nav a { font-size: 13px; }
  .card { padding: 18px; }
  .page h1 { font-size: 26px; }
}

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