@font-face {
  font-family: "Noto Sans SC Local";
  src: url("./assets/NotoSansSC-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #5c6661;
  --line: #d9e1dc;
  --green: #2f685c;
  --green-dark: #214f46;
  --green-tint: #eaf2ee;
  --blue: #607c86;
  --blue-pale: #e7eef0;
  --terracotta: #d99578;
  --gold: #c58a3a;
  --warning: #a06a24;
  --radius: 7px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans SC Local", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: -56px;
  left: 16px;
  z-index: 30;
  padding: 10px 12px;
  color: var(--surface);
  background: var(--green-dark);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 246, 0.96);
}

.site-header__inner,
.section-shell,
.site-footer__inner {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
}

.site-nav__legal {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
}

.menu-button__bars {
  display: grid;
  width: 18px;
  gap: 4px;
  margin: auto;
}

.menu-button__bars i {
  display: block;
  height: 1px;
  background: currentColor;
}

.hero {
  width: min(var(--content), calc(100% - 40px));
  min-height: min(850px, calc(100vh - 66px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 122px) 0 52px;
  overflow: hidden;
}

.hero__intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero__mark {
  width: 76px;
  height: 76px;
  margin: 2px 0 14px;
  object-fit: cover;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 900;
  line-height: 1.13;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero__lead {
  max-width: 500px;
  margin: 0 auto 22px;
  font-size: clamp(17px, 2vw, 20px);
}

.text-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.text-action:hover span,
.text-action:focus-visible span,
.primary-action:hover span,
.primary-action:focus-visible span {
  transform: translateY(3px);
}

.text-action span,
.primary-action span {
  display: inline-block;
  transition: transform 180ms ease;
}

.product-preview {
  width: min(1060px, 100%);
  margin: clamp(48px, 7vw, 76px) auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(23, 32, 29, 0.08);
}

.product-preview__caption {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.focus-preview {
  overflow: hidden;
}

.focus-preview__bar {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
}

.focus-preview__bar div {
  display: grid;
  gap: 5px;
}

.focus-preview__class {
  color: var(--muted);
  font-size: 13px;
}

.focus-preview__bar strong {
  font-size: 27px;
  font-weight: 900;
}

.focus-preview__new {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.focus-preview__body {
  display: grid;
  grid-template-columns: 0.86fr 1.2fr 1fr;
}

.focus-preview__section {
  min-height: 268px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.focus-preview__section:last-child {
  border-right: 0;
}

.focus-preview__section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
}

.focus-preview__section-title b {
  color: var(--warning);
  font-size: 13px;
}

.focus-preview__section-title a {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.action-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 9px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.action-row--overdue {
  border-top-color: #ead9bf;
}

.action-row strong {
  font-size: 14px;
}

.action-row p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.action-row time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.action-row--overdue time {
  color: var(--warning);
}

.action-row__dot,
.action-row__check {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.action-row__dot {
  border-color: var(--warning);
  background: var(--warning);
}

.week-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  color: var(--muted);
  font-size: 13px;
}

.week-row span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.focus-preview__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 56px;
  border-top: 1px solid var(--line);
}

.focus-preview__tabs span {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.focus-preview__tabs .is-active {
  color: var(--green);
  font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--green);
}

.section-shell {
  padding: clamp(78px, 11vw, 136px) 0;
}

.workflow {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: clamp(42px, 7vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list li {
  min-height: 254px;
  padding: 25px 22px 24px;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list span,
.feature__index {
  display: block;
  margin-bottom: 42px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 900;
}

.workflow-list p,
.feature p {
  margin-bottom: 0;
  font-size: 14px;
}

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

.features::before,
.features::after {
  display: block;
  width: min(var(--content), calc(100vw - 40px));
  height: 1px;
  margin: 0 auto;
  background: var(--line);
  content: "";
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.8fr);
  gap: 54px;
  align-items: end;
}

.section-heading--split > p {
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(46px, 7vw, 82px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 264px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature:nth-child(3n + 2) .feature__index {
  color: var(--blue);
}

.feature:nth-child(3n) .feature__index {
  color: var(--gold);
}

.privacy-band {
  background: var(--green-dark);
  color: var(--surface);
}

.privacy-band__inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.8fr);
  width: min(var(--content), calc(100% - 40px));
  min-height: 470px;
  margin: 0 auto;
}

.privacy-band__statement,
.privacy-band__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 10vw, 122px) 0;
}

.privacy-band__statement {
  padding-right: clamp(36px, 8vw, 96px);
}

.privacy-band__details {
  padding-left: clamp(30px, 6vw, 78px);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.privacy-band .section-kicker {
  color: #a4c8bd;
}

.privacy-band h2,
.privacy-band p {
  color: var(--surface);
}

.privacy-band__details p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.text-action--light {
  margin-top: 10px;
  color: var(--surface);
}

.text-action--light:hover span,
.text-action--light:focus-visible span {
  transform: translateX(4px);
}

.support-callout {
  padding-top: clamp(72px, 10vw, 112px);
  padding-bottom: clamp(72px, 10vw, 112px);
}

.support-callout__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(34px, 6vw, 66px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--terracotta);
  background: var(--blue-pale);
}

.support-callout .section-kicker {
  color: var(--blue);
}

.primary-action {
  flex: 0 0 auto;
  padding: 13px 17px;
  border-radius: 5px;
  color: var(--surface);
  background: var(--green);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--green-dark);
}

.primary-action:hover span,
.primary-action:focus-visible span {
  transform: translateX(4px);
}

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

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 32px 0;
}

.brand--footer img {
  width: 30px;
  height: 30px;
}

.site-footer__links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--green-dark);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--green-dark);
}

.back-link span {
  transition: transform 180ms ease;
}

.back-link:hover span,
.back-link:focus-visible span {
  transform: translateX(-4px);
}

.legal-main {
  min-height: calc(100vh - 66px);
  padding: clamp(62px, 9vw, 112px) 0;
}

.legal-content {
  width: min(790px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 7vw, 66px);
}

.legal-date {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 13px;
}

.legal-lead {
  max-width: 700px;
  margin-bottom: 62px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.7;
}

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

.legal-content section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.legal-content section p {
  margin-bottom: 0;
}

.support-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.support-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.support-steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--surface);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.support-steps strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 16px;
}

.support-steps p {
  margin: 5px 0 0;
  font-size: 14px;
}

.reveal {
  animation: enter 650ms both;
}

.workflow-list .reveal:nth-child(2),
.feature-grid .reveal:nth-child(2) {
  animation-delay: 80ms;
}

.workflow-list .reveal:nth-child(3),
.feature-grid .reveal:nth-child(3) {
  animation-delay: 160ms;
}

.workflow-list .reveal:nth-child(4),
.feature-grid .reveal:nth-child(4) {
  animation-delay: 240ms;
}

.feature-grid .reveal:nth-child(5) {
  animation-delay: 320ms;
}

.feature-grid .reveal:nth-child(6) {
  animation-delay: 400ms;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@media (max-width: 860px) {
  .site-header__inner,
  .section-shell,
  .site-footer__inner,
  .hero,
  .privacy-band__inner {
    width: min(100% - 32px, var(--content));
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__legal {
    padding-left: 0;
    border-left: 0;
  }

  .focus-preview__body,
  .workflow-list,
  .feature-grid,
  .section-heading--split,
  .privacy-band__inner {
    grid-template-columns: 1fr;
  }

  .focus-preview__section {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .focus-preview__section--week {
    border-bottom: 0;
  }

  .workflow-list li {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-list li:last-child {
    border-bottom: 0;
  }

  .workflow-list span,
  .feature__index {
    margin-bottom: 22px;
  }

  .feature {
    min-height: 0;
  }

  .privacy-band__statement,
  .privacy-band__details {
    padding: 70px 0;
  }

  .privacy-band__statement {
    padding-bottom: 34px;
  }

  .privacy-band__details {
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 0;
  }

  .support-callout__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .section-shell,
  .site-footer__inner,
  .hero,
  .privacy-band__inner {
    width: min(100% - 28px, var(--content));
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  .hero__mark {
    width: 64px;
    height: 64px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .focus-preview__bar {
    min-height: 84px;
    padding: 16px;
  }

  .focus-preview__bar strong {
    font-size: 24px;
  }

  .focus-preview__new {
    font-size: 12px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-content {
    width: min(100% - 28px, 790px);
  }

  .legal-lead {
    margin-bottom: 44px;
    font-size: 18px;
  }
}
