:root {
  color-scheme: light;
  --ink: #122426;
  --muted: #53686a;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: #d5dfda;
  --teal: #0d6b66;
  --teal-dark: #0b3234;
  --blue: #2d63b8;
  --coral: #d45e46;
  --gold: #bb7a16;
  --focus: #f3a824;
  --display: "Songti SC", "STSong", serif;
  --body: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 8px 14px;
  color: var(--white);
  background: var(--teal-dark);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px clamp(24px, 5vw, 76px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.brand span {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 5px;
  font-size: 11px;
  opacity: 0.76;
}

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

.site-header nav a,
.footer-links a,
.footer-links button {
  text-decoration: none;
}

.site-header nav a {
  font-size: 15px;
  opacity: 0.84;
}

.site-header nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-primary {
  color: #082a2b;
  background: #78d9b0;
  border-color: #78d9b0;
}

.button-primary:hover {
  background: #94e5c2;
  border-color: #94e5c2;
}

.button-quiet {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.button-on-dark {
  color: var(--white);
  background: rgba(8, 25, 30, 0.42);
  border-color: rgba(255, 255, 255, 0.58);
}

.button-large {
  min-height: 52px;
  padding: 12px 24px;
  font-size: 17px;
}

.hero {
  position: relative;
  height: calc(100svh - 44px);
  min-height: 620px;
  max-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: #071a23;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 56% center;
}

.hero-overlay {
  background: rgba(3, 19, 27, 0.76);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 126px 0 42px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5fc9a1;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: 68px;
  font-weight: 700;
  line-height: 1.12;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-facts {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-facts div {
  padding-right: 24px;
}

.hero-facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts dt {
  font-size: 16px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.intro-band {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 24px;
  color: #f5fbf9;
  background: var(--teal-dark);
  text-align: center;
}

.intro-band p,
.intro-band span {
  margin: 0;
}

.intro-band p {
  font-size: 18px;
  font-weight: 800;
}

.intro-band span {
  color: #b9d3cf;
}

.section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  display: grid;
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.compact {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading h2,
.product-copy h2,
.contact-band h2,
.dialog-header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.25;
}

.section-heading > p:last-child,
.product-copy > p:last-of-type,
.contact-band p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.capability-card {
  position: relative;
  min-height: 330px;
  padding: 30px 26px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
}

.capability-card.accent-coral {
  border-top-color: var(--coral);
}

.capability-card.accent-blue {
  border-top-color: var(--blue);
}

.capability-card.accent-gold {
  border-top-color: var(--gold);
}

.capability-index {
  color: #829292;
  font-size: 13px;
  font-weight: 800;
}

.capability-card h3 {
  margin: 34px 0 12px;
  font-size: 22px;
}

.capability-card p {
  min-height: 90px;
  margin: 0;
  color: var(--muted);
}

.capability-card ul {
  display: flex;
  margin: 24px 0 0;
  padding: 16px 0 0;
  flex-wrap: wrap;
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.capability-card li {
  font-size: 13px;
  font-weight: 700;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(560px, 1.45fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding: 92px max(24px, calc((100vw - 1280px) / 2));
  color: #eff9f6;
  background: #163d3c;
}

.product-copy .eyebrow {
  color: #83dab9;
}

.product-copy > p:last-of-type {
  color: #c3d7d3;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: #9ce7c8;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  margin-left: 8px;
}

.product-figure {
  margin: 0;
}

.product-figure img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 0 24px 56px rgba(1, 15, 18, 0.34);
}

.product-figure figcaption {
  margin-top: 10px;
  color: #9dbab5;
  font-size: 13px;
  text-align: right;
}

.delivery-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  list-style: none;
}

.delivery-steps li {
  display: grid;
  min-height: 190px;
  padding: 28px 24px;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.delivery-steps li + li {
  border-left: 1px solid var(--line);
}

.delivery-steps > li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.delivery-steps h3 {
  margin: 3px 0 8px;
  font-size: 19px;
}

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

.plans-band {
  padding: 94px max(24px, calc((100vw - 1280px) / 2));
  color: var(--white);
  background: #202b35;
}

.section-heading.light > p:last-child {
  color: #bac5cc;
}

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

.plan-card {
  min-height: 310px;
  padding: 30px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px solid #59636b;
  border-radius: 8px;
}

.plan-card[data-featured="true"] {
  border: 3px solid #77d8b0;
}

.plan-card h3 {
  margin: 0;
  font-size: 22px;
}

.plan-price {
  margin: 14px 0 20px;
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 800;
}

.plan-price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.plan-card ul {
  min-height: 110px;
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
}

.plan-card .button {
  width: 100%;
}

.plan-loading {
  color: var(--muted);
}

.contact-band {
  display: flex;
  width: min(1280px, calc(100% - 48px));
  min-height: 300px;
  margin: 0 auto;
  padding: 72px 0;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact-band > div {
  max-width: 720px;
}

.site-footer {
  display: flex;
  min-height: 140px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px max(24px, calc((100vw - 1280px) / 2));
  color: #dfe9e6;
  background: #0b2225;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand div {
  display: grid;
}

.footer-brand span {
  margin-top: 3px;
  color: #94aaa6;
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #a8bbb7;
  font-size: 13px;
}

.footer-links button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.registration-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(4, 22, 24, 0.35);
}

.registration-dialog::backdrop {
  background: rgba(5, 19, 21, 0.72);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 24px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  font-size: 30px;
}

.dialog-header > div > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.registration-dialog form {
  padding: 28px 32px 32px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span {
  font-size: 14px;
  font-weight: 800;
}

.field b {
  color: #b94332;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #aebdb9;
  border-radius: 4px;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 28px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-kind="error"] {
  color: #b33c2f;
}

.form-status[data-kind="success"] {
  color: #136d51;
  font-weight: 800;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

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

  .delivery-steps li:nth-child(3) {
    border-left: 0;
  }

  .product-band {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 13px 16px;
  }

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

  .brand strong {
    font-size: 16px;
  }

  .brand small,
  .header-actions .button-quiet {
    display: none;
  }

  .header-actions .button-primary {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .hero {
    height: calc(100svh - 36px);
    min-height: 620px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-overlay {
    background: rgba(3, 19, 27, 0.82);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 96px 0 28px;
    justify-content: center;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    width: 100%;
    margin-top: 22px;
    flex-direction: column;
  }

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

  .hero-facts {
    margin-top: 26px;
    padding-top: 16px;
  }

  .hero-facts div,
  .hero-facts div + div {
    padding: 0 10px;
  }

  .hero-facts div:first-child {
    padding-left: 0;
  }

  .hero-facts div:last-child {
    padding-right: 0;
  }

  .hero-facts dt {
    font-size: 13px;
  }

  .hero-facts dd {
    display: none;
  }

  .intro-band {
    display: grid;
    gap: 3px;
  }

  .intro-band p {
    font-size: 16px;
  }

  .intro-band span {
    font-size: 13px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .section-heading h2,
  .product-copy h2,
  .contact-band h2 {
    font-size: 32px;
  }

  .section-heading > p:last-child,
  .product-copy > p:last-of-type,
  .contact-band p {
    font-size: 16px;
  }

  .capability-grid,
  .delivery-steps,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
  }

  .capability-card p,
  .plan-card ul {
    min-height: 0;
  }

  .delivery-steps li + li,
  .delivery-steps li:nth-child(3) {
    border-left: 0;
  }

  .product-band,
  .plans-band {
    padding: 72px 16px;
  }

  .product-band {
    gap: 34px;
  }

  .product-figure {
    overflow: hidden;
  }

  .product-figure img {
    width: 880px;
    max-width: none;
    transform: translateX(-26%);
  }

  .contact-band {
    width: calc(100% - 32px);
    padding: 64px 0;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .dialog-header,
  .registration-dialog form {
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .field-wide {
    grid-column: auto;
  }
}

@media (max-height: 720px) {
  .hero-facts {
    display: none;
  }
}

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

  .button {
    transition: none;
  }
}
