:root {
  color-scheme: light;
  --ink: #17201e;
  --text: #34413f;
  --muted: #64736f;
  --line: #d7e5df;
  --paper: #fbfdf9;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --mist: #eef7f4;
  --brand: #2f8f83;
  --brand-dark: #12675d;
  --gold: #e4b949;
  --shadow: 0 28px 90px rgba(24, 32, 31, 0.1);
  --page-pad: clamp(1.25rem, 5vw, 5rem);
  --text-measure: 860px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 100%;
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .button:hover {
    transform: none;
  }
}

body {
  width: 100%;
  min-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(24, 32, 31, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 32, 31, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 10% 18%, rgba(47, 143, 131, 0.18), transparent 32rem),
    radial-gradient(circle at 92% 6%, rgba(228, 185, 73, 0.18), transparent 24rem),
    linear-gradient(180deg, #fbfdf9 0%, #f2faf6 58%, #ffffff 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

main {
  width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--page-pad);
  border-bottom: 1px solid rgba(216, 228, 223, 0.9);
  background: rgba(251, 253, 249, 0.72);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(47, 143, 131, 0.18);
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
}

.site-nav a:hover,
.site-footer a:hover {
  background: rgba(47, 143, 131, 0.08);
  color: var(--brand-dark);
}

.section {
  width: 100%;
  padding: clamp(3rem, 7vw, 6rem) var(--page-pad);
}

.section + .section {
  border-top: 1px solid rgba(216, 228, 223, 0.72);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding-top: clamp(2rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.8rem);
  font-weight: 880;
}

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.9rem);
  font-weight: 840;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.16rem;
}

.lede {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: var(--text);
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1.05rem;
  background: var(--panel-solid);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(21, 32, 31, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(21, 32, 31, 0.12);
}

.note {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 3rem 0 1.5rem 3rem;
  border: 1px solid rgba(47, 143, 131, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.app-mark {
  position: absolute;
  left: -0.5rem;
  top: 13%;
  z-index: 2;
  width: min(34vw, 230px);
  border-radius: 32px;
  box-shadow: var(--shadow);
  transform: rotate(-7deg);
}

.phone {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: min(100%, 380px);
  min-height: 520px;
  border: 1px solid rgba(24, 32, 31, 0.12);
  border-radius: 36px;
  background: #f8fbf8;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.phone-screen {
  min-height: 490px;
  overflow: hidden;
  border: 1px solid #dbe8e3;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(47, 143, 131, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 143, 131, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #eef7f4 100%);
  background-size: 26px 26px, 26px 26px, auto;
  padding: 1rem;
}

.phone-top,
.bookmark-row,
.review-card {
  border: 1px solid #e2ebe7;
  border-radius: 8px;
  background: #fff;
}

.phone-top {
  padding: 0.75rem;
}

.search-pill {
  height: 34px;
  border-radius: 8px;
  background: var(--mist);
}

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag-strip span {
  border-radius: 999px;
  background: #dff0eb;
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 760;
  padding: 0.24rem 0.48rem;
}

.bookmark-row {
  margin-top: 0.7rem;
  padding: 0.85rem;
}

.bookmark-row strong,
.review-card strong {
  display: block;
  font-size: 0.94rem;
}

.bookmark-row span,
.review-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.review-card {
  margin-top: 1rem;
  padding: 0.95rem;
  box-shadow: 0 16px 34px rgba(47, 143, 131, 0.13);
}

.ai-fields {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.ai-fields div {
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(90deg, #dff0eb, #f8eed0);
}

.section-intro {
  max-width: 880px;
  margin-bottom: 2rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.highlight-grid,
.feature-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid,
.pricing-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.price-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(24, 32, 31, 0.06);
}

.card {
  padding: 1.2rem;
}

.card p,
.faq-item p,
.price-panel p {
  color: var(--muted);
}

.card:hover,
.price-panel:hover,
.faq-item:hover {
  border-color: rgba(47, 143, 131, 0.34);
}

.metric {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 840;
  line-height: 1;
}

.feature-card {
  min-height: 184px;
}

.icon {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--mist);
  color: var(--brand-dark);
  font-weight: 860;
}

.price-panel {
  padding: 1.4rem;
}

.price-panel.emphasis {
  border-color: rgba(47, 143, 131, 0.42);
  box-shadow: 0 22px 58px rgba(47, 143, 131, 0.13);
}

.price {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 840;
}

.price-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  margin-top: 0.55rem;
  padding-left: 1.4rem;
  color: #34413e;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand);
}

.faq-item {
  padding: 1.15rem;
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.store-badge img {
  width: 180px;
}

body.document main {
  width: 100%;
  padding: clamp(2rem, 5vw, 5rem) var(--page-pad) clamp(3rem, 7vw, 6rem);
}

.document-page,
.blog-page {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(216, 228, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 62%, rgba(238, 247, 244, 0.64) 100%);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 4.75rem);
}

.blog-page {
  width: calc(100% - (2 * var(--page-pad)));
  margin: clamp(2rem, 5vw, 5rem) var(--page-pad) clamp(3rem, 7vw, 6rem);
}

.document-page > *,
.blog-page > * {
  max-width: var(--text-measure);
}

.document-page h1,
.blog-page h1 {
  max-width: 100%;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
}

.document-page h2 {
  margin-top: 2.2rem;
  font-size: 1.45rem;
}

.document-page p,
.document-page li {
  color: var(--muted);
  font-size: 1.03rem;
  overflow-wrap: break-word;
}

.document-page ul {
  padding-left: 1.3rem;
}

.document-page li + li {
  margin-top: 0.38rem;
}

.document-page code {
  border-radius: 5px;
  background: var(--mist);
  padding: 0.1rem 0.25rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.document-page a {
  overflow-wrap: anywhere;
}

.post-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.post-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.2rem;
  text-decoration: none;
}

.post-list time {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  padding: 1.5rem var(--page-pad);
}

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

.copyright {
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .hero,
  .download,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone {
    right: 50%;
    transform: translateX(50%);
  }

  .app-mark {
    left: 0;
    width: 150px;
  }

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

  .site-footer,
  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 1.25rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .site-nav {
    justify-content: start;
  }

  .site-nav a {
    padding-left: 0;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.65rem);
  }

  .lede {
    font-size: 1.08rem;
  }

  .section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .hero {
    gap: 1.4rem;
    padding-bottom: 1rem;
  }

  .hero-visual {
    min-height: 145px;
    overflow: hidden;
  }

  .phone {
    top: 0;
    width: min(100%, 320px);
    min-height: 230px;
  }

  .phone-screen {
    min-height: 200px;
  }

  .app-mark {
    left: 0.2rem;
    top: 3rem;
    width: 86px;
    border-radius: 18px;
  }

  .bookmark-row,
  .review-card {
    padding: 0.65rem;
  }

  .review-card {
    display: none;
  }

  .document-page,
  .blog-page {
    padding: 2rem;
  }

  .blog-page {
    width: calc(100% - 2.5rem);
    margin-right: 1.25rem;
    margin-left: 1.25rem;
  }

  .document-page h1,
  .blog-page h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }
}