:root {
  color-scheme: light;
  --ink: #14201c;
  --muted: #5d6b66;
  --paper: #ffffff;
  --soft: #f6f8f6;
  --wash: #eef5f1;
  --line: #d9e2dd;
  --green: #0f766e;
  --blue: #1d4ed8;
  --amber: #b7791f;
  --red: #be123c;
  --shadow: 0 18px 44px rgba(20, 32, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 226, 221, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #f7faf8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 250, 248, 0.42);
  z-index: 1;
}

.hero-product {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-device {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 32, 28, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(20, 32, 28, 0.18);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.hero-ipad {
  right: clamp(24px, 5vw, 88px);
  top: 72px;
  width: min(58vw, 760px);
  aspect-ratio: 1350 / 1800;
}

.hero-phone {
  right: min(44vw, 520px);
  bottom: 46px;
  width: min(18vw, 220px);
  aspect-ratio: 451 / 980;
  box-shadow: 0 22px 54px rgba(20, 32, 28, 0.20);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 88px;
}

.hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.kicker {
  margin: 22px 0 8px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 740px;
  font-size: 78px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #31413c;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero .button {
  border-color: rgba(20, 32, 28, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.hero .button.primary {
  border-color: var(--green);
  color: #ffffff;
  background: var(--green);
}

.section {
  padding: 82px 0;
}

.section.soft {
  background: var(--soft);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.legal h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.legal .intro {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

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

.accent-green {
  border-top: 4px solid var(--green);
}

.accent-blue {
  border-top: 4px solid var(--blue);
}

.accent-amber {
  border-top: 4px solid var(--amber);
}

.accent-red {
  border-top: 4px solid var(--red);
}

.screens {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screen-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(20, 32, 28, 0.10);
}

.screen-shot img {
  width: 100%;
  aspect-ratio: 451 / 980;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.screen-shot figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sankey-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.sankey-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.sankey-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

.cta-band {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.12;
}

.cta-band p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

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

.legal {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal h2 {
  margin: 42px 0 12px;
  font-size: 26px;
  line-height: 1.18;
}

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

.legal ul {
  padding-left: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.support-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.support-item h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero p.lead {
    font-size: 19px;
  }

  .feature-grid,
  .sankey-band,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: 58px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .nav-links .hide-small {
    display: none;
  }

  .hero-content {
    padding: 70px 0 360px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero::before {
    background: rgba(238, 245, 241, 0.92);
  }

  .hero-ipad {
    right: -120px;
    top: auto;
    bottom: 34px;
    width: 420px;
  }

  .hero-phone {
    right: 210px;
    bottom: 58px;
    width: 118px;
  }

  .screens {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .section-head h2,
  .legal h1 {
    font-size: 34px;
  }

  .cta-band {
    padding: 28px;
  }

  .footer-row {
    flex-direction: column;
  }
}
