:root {
  color-scheme: light;
  --ink: #14211e;
  --muted: #52625e;
  --line: #d9e5e1;
  --paper: #ffffff;
  --canvas: #f4f8f6;
  --brand: #176b5b;
  --brand-dark: #0d4f43;
  --brand-soft: #dff5ed;
  --accent: #a9edcf;
  --warning: #8a5013;
  --shadow: 0 24px 70px rgba(18, 70, 58, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(23, 107, 91, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: #fff;
  background: var(--brand-dark);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(217, 229, 225, 0.82);
  background: rgba(244, 248, 246, 0.93);
  backdrop-filter: blur(16px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-link img {
  width: 38px;
  height: 38px;
}

.brand-byline {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: #33423e;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

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

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease,
    box-shadow 150ms ease;
}

.nav-cta {
  min-height: 40px;
  padding-inline: 16px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(23, 107, 91, 0.18);
}

.button.secondary {
  border-color: #b6c9c3;
  color: var(--brand-dark);
  background: transparent;
}

.button.secondary:hover {
  color: var(--brand-dark);
  background: var(--paper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 118px) 0 86px;
  background:
    radial-gradient(circle at 83% 15%, rgba(169, 237, 207, 0.55), transparent 27rem),
    radial-gradient(circle at 10% 65%, rgba(91, 185, 158, 0.13), transparent 26rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
}

.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill {
  padding: 7px 11px;
  border: 1px solid #b8d8cd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.04em;
  text-transform: none;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24a678;
  box-shadow: 0 0 0 4px rgba(36, 166, 120, 0.13);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6.7vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.hero-copy > p {
  max-width: 610px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.microcopy {
  color: #64736f;
  font-size: 0.82rem;
}

.product-preview {
  position: relative;
}

.app-window {
  overflow: hidden;
  border: 1px solid #cbdcd6;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: #fff;
  background: var(--brand-dark);
}

.app-topbar strong {
  letter-spacing: -0.02em;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.app-body {
  padding: 24px;
}

.app-greeting {
  margin-bottom: 18px;
}

.app-greeting span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.app-greeting strong {
  font-size: 1.25rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric,
.schedule-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdfc;
}

.metric span,
.schedule-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.metric strong {
  display: block;
  margin-top: 5px;
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.preview-heading {
  margin: 23px 0 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.schedule-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.time-chip {
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.schedule-card strong {
  font-size: 0.84rem;
}

.schedule-card .state-chip {
  color: #126a4b;
  font-size: 0.7rem;
  font-weight: 800;
}

.floating-note {
  position: absolute;
  right: -24px;
  bottom: -24px;
  max-width: 210px;
  padding: 14px 16px;
  border: 1px solid #b9d9ce;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(20, 55, 46, 0.16);
  font-size: 0.78rem;
  font-weight: 750;
}

.floating-note::before {
  margin-right: 7px;
  color: #17815e;
  content: "✓";
}

.section {
  padding: clamp(72px, 10vw, 118px) 0;
}

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

.section.dark {
  color: #eef8f4;
  background: #0c3d34;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.dark .section-heading p,
.dark .muted {
  color: #b9cec8;
}

.dark .eyebrow {
  color: var(--accent);
}

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

.feature-card,
.support-card,
.price-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 13px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 1.15rem;
  font-weight: 900;
}

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

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: workflow;
}

.workflow-step {
  position: relative;
  padding-top: 56px;
  counter-increment: workflow;
}

.workflow-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #78b7a4;
  border-radius: 50%;
  color: var(--accent);
  content: counter(workflow, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 850;
}

.workflow-step p {
  color: #b9cec8;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 870px;
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: #70bba4;
  box-shadow: 0 22px 55px rgba(23, 107, 91, 0.12);
}

.plan-label {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 18px;
}

.price strong {
  font-size: 2.7rem;
  letter-spacing: -0.05em;
}

.price span {
  color: var(--muted);
  font-size: 0.86rem;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 11px 0;
  padding-left: 25px;
  color: #3c4c48;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #17815e;
  content: "✓";
  font-weight: 900;
}

.security-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 44px;
  border: 1px solid #bcd7ce;
  border-radius: 24px;
  background: linear-gradient(135deg, #e6f7f1, #f8fcfa);
}

.security-band h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

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

.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 15%, rgba(169, 237, 207, 0.4), transparent 23rem),
    var(--canvas);
}

.page-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.document-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  align-items: start;
  gap: clamp(40px, 7vw, 86px);
}

.document-nav {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.document-nav strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.document-nav a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.document-nav a:hover {
  color: var(--brand);
}

.document {
  padding-bottom: 20px;
}

.document h2 {
  margin: 52px 0 13px;
  padding-top: 12px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.document h2:first-child {
  margin-top: 0;
}

.document h3 {
  margin-top: 30px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.document p,
.document li {
  color: #40504c;
}

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

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--brand-soft);
}

.callout.warning {
  border-color: #b86b1e;
  background: #fff4e5;
}

.callout p:last-child {
  margin-bottom: 0;
}

.updated {
  color: #64736f;
  font-size: 0.84rem;
}

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

.support-card .button {
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

details {
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 44px;
  padding: 10px 0 10px 58px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 5px;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  content: counter(steps);
  font-weight: 900;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 168px);
  place-items: center;
  text-align: center;
}

.not-found-inner {
  max-width: 600px;
  padding: 60px 0;
}

.not-found-code {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.site-footer {
  padding: 54px 0 26px;
  color: #bcd0ca;
  background: #092f28;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 42px;
}

.footer-brand {
  color: #fff;
}

.footer-brand p {
  max-width: 340px;
  color: #aec5be;
  font-size: 0.88rem;
}

.footer-group strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.85rem;
}

.footer-group a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #bcd0ca;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-group a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(188, 208, 202, 0.18);
  font-size: 0.77rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 9px 6px;
  }

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

  .product-preview {
    max-width: 620px;
  }

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

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

  .document-layout {
    grid-template-columns: 1fr;
  }

  .document-nav {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .page-shell,
  .footer-shell {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .app-window {
    border-radius: 20px;
    transform: none;
  }

  .app-body {
    padding: 17px;
  }

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

  .schedule-card {
    grid-template-columns: auto 1fr;
  }

  .schedule-card .state-chip {
    grid-column: 2;
  }

  .floating-note {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .feature-grid,
  .support-grid,
  .pricing-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .security-band {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .feature-card,
  .support-card,
  .price-card {
    padding: 23px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
