:root {
  color-scheme: light;
  --ink: #111827;
  --ink-soft: #253041;
  --muted: #667386;
  --line: #dce3eb;
  --line-strong: #c8d2dd;
  --paper: #ffffff;
  --surface: #f4f7fa;
  --surface-strong: #edf3f7;
  --deep: #10231f;
  --green: #1fa36b;
  --green-strong: #08714e;
  --blue: #2f7ee8;
  --orange: #ff6b00;
  --purple: #7b55e8;
  --shadow-soft: 0 18px 48px rgba(17, 24, 39, 0.11);
  --shadow-device: 0 30px 84px rgba(16, 35, 31, 0.24);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(31, 163, 107, 0.45);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-strong);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 227, 235, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.13);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  border-radius: 8px;
  color: var(--ink-soft);
  padding: 8px 11px;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--surface-strong);
  color: var(--green-strong);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #eef5f2 72%, #eef5f2 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 42px;
  align-items: center;
  padding: 50px 0 62px;
}

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

.eyebrow,
.section-kicker,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--green-strong);
  font-size: 0.91rem;
  font-weight: 780;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 5rem;
  line-height: 0.98;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
}

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

.button-primary:hover {
  background: var(--green-strong);
  color: #fff;
}

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

.button-secondary:hover {
  border-color: rgba(31, 163, 107, 0.35);
  background: #f0f8f5;
  color: var(--green-strong);
}

.button-muted {
  border-color: #d7e3dc;
  background: #edf7f2;
  color: var(--green-strong);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-bottom: 0;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 13px 14px;
}

.trust-item dt {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
}

.trust-item dd {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.38;
}

.hero-media {
  width: 100%;
  margin-bottom: 0;
  border: 1px solid rgba(200, 210, 221, 0.82);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.section {
  padding: 86px 0;
}

.section-light {
  background: var(--paper);
}

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

.section-dark {
  background: var(--deep);
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-dark .section-kicker {
  color: #76ddaf;
}

.section h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 2.85rem;
  line-height: 1.08;
}

.section-dark h2 {
  color: #fff;
}

.section-lede {
  max-width: 770px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.11rem;
}

.section-dark .section-lede,
.section-dark .feature-card p,
.section-dark .check-list,
.section-dark .small-note {
  color: rgba(255, 255, 255, 0.76);
}

.appstore-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.url-panel {
  display: grid;
  gap: 12px;
}

.url-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.url-panel span {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 740;
}

.url-panel code {
  white-space: nowrap;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(290px, 370px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.phone-frame {
  width: min(100%, 350px);
  margin: 0 auto;
  border: 1px solid rgba(16, 35, 31, 0.16);
  border-radius: 44px;
  background: #101820;
  padding: 12px;
  box-shadow: var(--shadow-device);
}

.phone-frame img {
  width: 100%;
  border-radius: 32px;
}

.product-copy {
  max-width: 760px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.metric-card strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.04rem;
}

.workflow-board {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
}

.board-header div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 163, 107, 0.12);
}

.board-pill {
  border: 1px solid #cce7da;
  border-radius: 999px;
  background: #edf8f2;
  color: var(--green-strong);
  padding: 6px 10px;
  font-size: 0.86rem;
  font-weight: 740;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

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

.workflow-card h3,
.feature-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.1rem;
}

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

.card-kicker {
  color: var(--orange);
  margin-bottom: 7px;
}

.resource-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.resource-list div:not(.meter) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.resource-list strong,
.job-list strong {
  color: var(--green-strong);
}

.meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ecf2;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.meter-green span {
  background: var(--green);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.stat-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
  padding: 12px 10px;
  text-align: center;
}

.stat-strip strong {
  display: block;
  color: var(--blue);
  font-size: 1.55rem;
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
}

.capacity-ring {
  width: 110px;
  height: 110px;
  margin: 18px 0 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle closest-side, #fff 68%, transparent 69%),
    conic-gradient(var(--orange) 0 74%, #e7edf3 74% 100%);
}

.capacity-ring span {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 780;
}

.job-list {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.job-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  color: var(--muted);
}

.job-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

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

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 34px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.detail-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 24px;
}

.section-dark .detail-box {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.detail-box h3 {
  margin-bottom: 12px;
}

.detail-box p:last-child,
.legal-body p:last-child {
  margin-bottom: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.cta-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-hero {
  background: var(--deep);
  color: #fff;
  padding: 78px 0 68px;
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 4rem;
  line-height: 1.02;
}

.legal-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.legal-body {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 84px;
}

.legal-body h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.25rem;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-callout {
  border-left: 4px solid var(--green);
  background: #eef7f2;
  padding: 18px 20px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
  gap: 24px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.small-note {
  color: var(--muted);
  font-size: 0.93rem;
}

code {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f4f6f7;
  padding: 0.08em 0.36em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

@media (max-width: 1040px) {
  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 0 68px;
  }

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

  .hero-media {
    max-width: 840px;
  }

  h1 {
    font-size: 4rem;
  }

  .appstore-panel,
  .product-layout,
  .privacy-panel,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-nav {
    width: min(100% - 28px, 1180px);
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
    gap: 10px;
  }

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 6px 7px;
    font-size: 0.86rem;
  }

  .container,
  .footer-inner,
  .legal-body,
  .site-nav,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    gap: 24px;
    padding: 34px 0 38px;
  }

  h1 {
    font-size: 2.85rem;
  }

  .hero-lede {
    font-size: 1.07rem;
  }

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

  .button {
    width: 100%;
  }

  .button-muted {
    grid-column: 1 / -1;
  }

  .trust-row {
    display: none;
  }

  .metric-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    aspect-ratio: 3 / 2;
  }

  .section {
    padding: 60px 0;
  }

  #app-store {
    padding-top: 28px;
  }

  .section h2 {
    font-size: 2.1rem;
  }

  .section-lede {
    font-size: 1.02rem;
  }

  .url-panel div,
  .board-header,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .url-panel code {
    white-space: normal;
    word-break: break-word;
  }

  .workflow-board {
    padding: 14px;
  }

  .phone-frame {
    max-width: 318px;
    border-radius: 38px;
  }

  .phone-frame img {
    border-radius: 28px;
  }

  .legal-hero h1 {
    font-size: 3rem;
  }
}
