:root {
  color-scheme: light;
  --bg: #f7f8f7;
  --panel: #ffffff;
  --ink: #15201c;
  --muted: #52615c;
  --line: #d9e0dc;
  --accent: #15635a;
  --accent-strong: #0d403a;
  --accent-soft: #e4f2ef;
  --warn-soft: #fff3d8;
  --shadow: 0 24px 70px rgba(20, 45, 38, 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;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #092b27;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #1b7f72;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 247, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-strong);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--accent-strong);
}

main {
  min-height: calc(100vh - 260px);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-strong);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.lede {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  color: var(--muted);
  max-width: 720px;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.device-preview {
  justify-self: center;
  width: min(100%, 370px);
  aspect-ratio: 0.68;
  border-radius: 40px;
  background: #17221f;
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.device-screen {
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, #fbfbfa 0%, #eef4f1 100%);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.mock-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
}

.mock-pill {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.mock-image {
  flex: 1;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(13, 64, 58, 0.88) 0 38%, transparent 38%),
    linear-gradient(#dfe8e4 0 0) 25% 18% / 48% 8% no-repeat,
    linear-gradient(#b9c8c2 0 0) 25% 31% / 68% 6% no-repeat,
    linear-gradient(#b9c8c2 0 0) 25% 42% / 58% 6% no-repeat,
    linear-gradient(#111 0 0) 68% 56% / 22% 14% no-repeat,
    linear-gradient(#f6f8f7, #eef3f1);
  border: 1px solid #d5ddd9;
  position: relative;
}

.mock-image::before,
.mock-image::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(21, 99, 90, 0.24);
  filter: blur(9px);
}

.mock-image::before {
  left: 48%;
  top: 22%;
  width: 86px;
  height: 24px;
}

.mock-image::after {
  left: 14%;
  bottom: 18%;
  width: 130px;
  height: 30px;
}

.mock-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-controls span {
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d7dfdb;
}

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

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header p,
.copy p,
.card p,
.notice p,
.checklist li,
.faq p {
  color: var(--muted);
}

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

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

.card,
.notice,
.copy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card {
  min-height: 100%;
}

.notice {
  background: var(--accent-soft);
  border-color: #bfd9d3;
}

.notice.warning {
  background: var(--warn-soft);
  border-color: #e6c982;
}

.list {
  padding-left: 1.2rem;
  margin: 0;
}

.list li + li {
  margin-top: 8px;
}

.route-hero {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 24px;
}

.content {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
  display: grid;
  gap: 18px;
}

.content h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.content h3 {
  margin-top: 14px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

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

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

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

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

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .device-preview {
    width: min(100%, 320px);
  }

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

@media (max-width: 480px) {
  .hero,
  .section,
  .route-hero,
  .content,
  .nav,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
