:root {
  color-scheme: light;
  --ink: #171817;
  --muted: #626b6a;
  --line: #dce3df;
  --paper: #fbfcf9;
  --surface: #ffffff;
  --surface-soft: #eef6f1;
  --accent: #176f5d;
  --accent-dark: #0f4d42;
  --accent-soft: #d9efe8;
  --coral: #d96d58;
  --blue: #dbe7ff;
  --shadow: 0 24px 70px rgba(23, 24, 23, 0.12);
  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;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.hero,
.intro,
.steps,
.principles,
.not-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
}

.brand {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 850;
  text-decoration: none;
}

nav,
.site-footer {
  font-size: 0.95rem;
}

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

nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  min-height: calc(100svh - 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  padding: 42px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.25;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--surface);
}

.product-panel {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 318px);
  aspect-ratio: 0.52;
  border: 10px solid #222523;
  border-radius: 36px;
  background: #222523;
  box-shadow: var(--shadow);
  position: relative;
}

.phone-top {
  width: 92px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #222523;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
}

.screen {
  height: 100%;
  border-radius: 26px;
  padding: 52px 24px 24px;
  background:
    linear-gradient(180deg, rgba(217, 239, 232, 0.95), rgba(255, 255, 255, 0.98)),
    var(--surface);
  overflow: hidden;
}

.screen-label {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.screen h2 {
  margin: 0 0 24px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.quote,
.word-card {
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(24, 25, 31, 0.08);
}

.quote span {
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: var(--coral);
}

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

.word-card {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.word-card strong {
  font-size: 1.15rem;
}

.word-card small {
  color: var(--accent);
  font-weight: 800;
}

.progress {
  height: 10px;
  border-radius: 99px;
  margin-top: 18px;
  background: #edf1f0;
}

.progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(34px, 6vw, 58px) 0;
}

.intro p {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.25;
}

.steps,
.principles,
.not-section {
  padding: clamp(58px, 9vw, 104px) 0;
}

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

.section-heading {
  grid-column: 1 / -1;
  max-width: 720px;
  margin-bottom: 16px;
}

.steps article,
.principle-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.steps span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.steps p,
.principle-grid p,
.not-section p,
.legal-content p {
  margin: 10px 0 0;
  color: var(--muted);
}

.principles {
  background: var(--surface-soft);
  box-shadow: 0 0 0 100vmax var(--surface-soft);
  clip-path: inset(0 -100vmax);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.not-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.not-section p {
  margin-top: 30px;
  font-size: 1.08rem;
}

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

.site-footer p {
  margin: 0;
}

.legal-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 80px;
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-content h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
}

.legal-content h2 {
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 850;
}

.updated {
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .hero,
  .intro,
  .steps,
  .principles,
  .not-section {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.2rem);
  }

  .product-panel {
    justify-content: flex-start;
  }

  .phone {
    width: min(100%, 292px);
  }

  .steps,
  .principle-grid,
  .not-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    width: min(100% - 28px, 760px);
    padding-top: 34px;
  }
}
