:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #66738a;
  --line: #dfe6ef;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --blue: #2f73e8;
  --blue-dark: #1f5fc9;
  --blue-soft: #eaf2ff;
  --green: #2d9b68;
  --green-soft: #e9f7f0;
  --shadow: 0 22px 60px rgb(28 51 84 / 10%);
  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:
    radial-gradient(circle at 80% 6%, rgb(47 115 232 / 10%), transparent 26rem),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(47 115 232 / 28%);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(223 230 239 / 85%);
  background: rgb(251 253 255 / 90%);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 22px rgb(47 115 232 / 24%);
}

.brand-mark::before {
  width: 10px;
  height: 10px;
  content: "";
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(255 255 255 / 30%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
}

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

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

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  min-height: 650px;
  padding: 80px 0;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-copy > p:not(.eyebrow),
.page-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: white;
  font-weight: 740;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(28 51 84 / 6%);
}

.button.primary {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
}

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

.planner-preview {
  padding: 22px;
  border: 1px solid rgb(211 222 236 / 90%);
  border-radius: 28px;
  background: rgb(255 255 255 / 88%);
  box-shadow: var(--shadow);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cad4e2;
}

.preview-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  gap: 8px;
}

.preview-days span {
  padding: 10px 6px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 0.76rem;
  font-weight: 750;
  text-align: center;
}

.preview-days span.today {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.preview-task {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  min-height: 76px;
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  background: white;
}

.preview-task::before {
  align-self: stretch;
  content: "";
  background: var(--blue);
}

.preview-task.green::before {
  background: var(--green);
}

.preview-task > div {
  padding: 13px 16px;
}

.preview-task strong,
.preview-task small {
  display: block;
}

.preview-task small {
  margin-top: 4px;
  color: var(--muted);
}

.preview-task time {
  margin-right: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.75rem;
  font-weight: 800;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  margin-bottom: 48px;
  gap: 48px;
}

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

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

.feature {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgb(255 255 255 / 78%);
}

.feature-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 850;
}

.feature p,
.document-body p,
.document-body li {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 32px 0 96px;
  padding: 34px 38px;
  border-radius: 24px;
  color: #173d2c;
  background: var(--green-soft);
  gap: 40px;
}

.trust-strip p {
  margin: 6px 0 0;
  color: #3f6d59;
}

.document {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  padding: 84px 0 120px;
  gap: 72px;
}

.document-aside {
  position: sticky;
  top: 106px;
  min-width: 0;
  align-self: start;
}

.document-aside h1 {
  overflow-wrap: anywhere;
}

.document-aside p {
  color: var(--muted);
  font-size: 0.9rem;
}

.document-nav {
  display: grid;
  margin-top: 28px;
  gap: 8px;
}

.document-nav a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.document-body {
  min-width: 0;
}

.document-body > section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.document-body > section:first-child {
  padding-top: 0;
}

.document-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

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

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

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

.scope-list li {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--surface-soft);
}

.notice {
  padding: 20px 22px;
  border: 1px solid #cfe1fb;
  border-radius: 16px;
  color: #28496f;
  background: #eff6ff;
}

.pending-contact {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px dashed #b9761f;
  border-radius: 10px;
  color: #74450c;
  background: #fff8e8;
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgb(255 255 255 / 66%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

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

  .nav {
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 14px;
  }

  .nav-links a:first-child,
  .nav-links a:nth-child(4) {
    display: none;
  }

  .hero,
  .section-heading,
  .document {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 64px 0 72px;
    gap: 48px;
  }

  .section-heading,
  .document {
    gap: 24px;
  }

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

  .feature {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 22px;
  }

  .document-aside {
    position: static;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .document-aside h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    overflow-wrap: normal;
  }

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

  .trust-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav,
  main,
  .footer-inner {
    width: min(calc(100% - 28px), 1120px);
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    font-size: 0.82rem;
  }

  h1 {
    font-size: 3rem;
  }

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

  .button {
    justify-content: center;
  }

  .planner-preview {
    padding: 14px;
    border-radius: 22px;
  }

  .preview-task {
    grid-template-columns: 5px 1fr;
  }

  .preview-task time {
    margin: 0 14px 12px 20px;
  }

  .section {
    padding: 64px 0;
  }

  .trust-strip {
    margin-bottom: 64px;
    padding: 26px;
  }

  .document {
    padding: 56px 0 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
