:root {
  color-scheme: light;
  --white: #fff;
  --mist: #f5f5f7;
  --paper: #fafafc;
  --ink: #1d1d1f;
  --slate: #707070;
  --silver: #d6d6d6;
  --control: #e6e6e8;
  --steel: #86868b;
  --blue: #0066cc;
  --action: #0071e3;
  --action-hover: #0077ed;
  --radius: 28px;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --shell: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.5 var(--text);
  letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }

.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--action);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--control);
}

.header-inner {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 19px/1.2 var(--display);
  letter-spacing: -.025em;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.header-inner nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.header-inner nav a:hover { color: var(--blue); }
.header-inner .button { justify-self: end; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--action);
  color: var(--white);
  font: 400 15px/1.25 var(--text);
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover { background: var(--action-hover); }
.button-small { padding: 7px 14px; font-size: 12px; }
.button-outline { color: var(--blue); background: transparent; border-color: var(--blue); }
.button-outline:hover { color: var(--white); background: var(--blue); }
.button .icon { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 15px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link .icon { width: 15px; height: 15px; }

.hero {
  background: var(--white);
  padding: 61px 0 58px;
  text-align: center;
}

.hero-product { font: 600 21px/1.2 var(--display); margin-bottom: 12px; }
.hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero h1 span { white-space: nowrap; }

.hero-lede {
  margin: 19px auto 0;
  font-size: clamp(16px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--slate);
  text-wrap: balance;
}

.hero-media { margin: 45px auto 31px; width: min(100%, 724px); }
.hero-media img {
  object-fit: contain;
  clip-path: polygon(0 0, 100% 0, 100% 86.4%, 92.4% 86.4%, 87.5% 100%, 12.5% 100%, 7.6% 86.4%, 0 86.4%);
}
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 23px; }
.hero-price { font-size: 15px; color: var(--ink); font-weight: 500; }
.hero-price span { color: var(--slate); font-weight: 400; }
.section { padding: 86px 0; }
.plans, .faq, .site-footer { background: var(--mist); }
.faq details a, .form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(33px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading p { margin-top: 12px; color: var(--slate); font-size: 17px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--white);
}
.plan-card h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.plan-tag { margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--slate); font-size: 13px; }
.plan-purpose { margin-top: 18px; }
.plan-spec { margin-top: 5px; color: var(--slate); font-size: 15px; }
.price { margin-top: auto; padding-top: 28px; white-space: nowrap; }
.price strong { display: inline-block; font: 600 46px/.98 var(--display); letter-spacing: -.05em; }
.price span { font-size: 15px; color: var(--slate); }
.plan-renew { margin: 6px 0 22px; color: var(--slate); font-size: 15px; }
.plan-lock { margin-top: 20px; padding: 18px 24px; border-radius: 20px; background: #e8f1fc; font-size: 15px; }
.plan-lock b { margin-right: 12px; color: var(--blue); }
.plan-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.plan-note { margin: 18px 4px 0; color: var(--slate); font-size: 13px; }

.editorial-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: 40px;
}
.editorial .section-heading { margin: 0; }
.editorial .section-heading p { max-width: 340px; margin-top: 19px; }
.editorial img { border-radius: var(--radius); }

.network { background: var(--mist); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec-grid li { min-width: 0; padding: 26px; border-radius: 20px; background: var(--white); }
.spec-grid h3 { margin-top: 15px; font-size: 19px; }
.spec-grid p { margin-top: 6px; color: var(--slate); font-size: 14px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 39px 0 0;
  padding: 0;
  list-style: none;
}

.steps li { position: relative; min-width: 0; }
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 62px;
  right: 0;
  height: 1px;
  background: var(--control);
}

.step-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid var(--silver);
  border-radius: 50%;
  background: var(--white);
}
.step-icon .icon { width: 22px; height: 22px; }
.steps h3 { margin-top: 15px; font-size: 21px; }
.steps p { margin-top: 5px; color: var(--slate); font-size: 15px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.faq-column { border-top: 1px solid var(--silver); }
.faq details { border-bottom: 1px solid var(--silver); }
.faq summary {
  min-height: 61px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 2px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 17px; height: 17px; color: var(--slate); transition: transform 160ms ease; }
.faq details[open] .icon { transform: rotate(180deg); }
.faq details p { padding: 0 26px 18px 2px; color: var(--slate); font-size: 15px; }

.footer-inner {
  border-top: 1px solid var(--silver);
  padding-block: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-inner .brand { font-size: 16px; }
.footer-inner .brand-mark { width: 24px; height: 24px; }
.credit { display: block; margin-top: 8px; font-size: 12px; color: var(--slate); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.contact { margin-top: 10px; font-size: 14px; }
.contact > span + span::before { content: '·'; margin: 0 8px; color: var(--steel); }
.contact a { color: var(--blue); }
.contact b { font-weight: 600; }

.application {
  width: min(100% - 32px, 580px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid var(--control);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}
.application::backdrop { background: rgb(29 29 31 / 40%); }
.dialog-inner { position: relative; padding: 32px; }
.application h2 { font-size: 32px; line-height: 1.1; padding: 0 34px 0 0; }
.close-form { position: absolute; top: 22px; right: 22px; }
.icon-button {
  display: grid;
  place-items: center;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
}
.icon-button:hover { background: var(--control); }
.lead-form { display: grid; gap: 14px; margin-top: 24px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead-form label { display: block; font-size: 14px; font-weight: 500; min-width: 0; }
.lead-form input, .lead-form select, .lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--steel);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.lead-form textarea { resize: vertical; min-height: 72px; }
.optional { margin-left: 4px; font-size: 12px; color: var(--slate); font-weight: 400; }
.application-quote { padding: 9px 13px; border-radius: 10px; background: var(--mist); font-size: 13px; }
.form-note { font-size: 13px; color: var(--slate); }
.form-submit { justify-self: start; }
.application-result { margin-top: 24px; }
.application-result h3 { margin-top: 11px; font-size: 24px; }
.application-result p { margin-top: 8px; color: var(--slate); font-size: 15px; }
.application-result .result-summary { color: var(--ink); font-weight: 600; }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.result-draft textarea {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--silver);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
}
.form-submit:disabled { opacity: .6; cursor: progress; }
.partner-hero { text-align: center; }
.partner-hero h1 { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.1; letter-spacing: -.02em; }
.partner-hero h1 span { white-space: nowrap; }
.partner-hero .button { margin-top: 26px; }
.partner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.partner-panel { padding: 32px; border-radius: var(--radius); background: var(--mist); }
.partner-panel h2 { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; }
.check-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: start; }
.check-list .icon { margin-top: 3px; color: var(--blue); }
.check-list b { display: block; font-weight: 600; }
.check-list span { color: var(--slate); font-size: 15px; }
.check-list b { color: var(--ink); font-size: 17px; }
.check-field { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check-field legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.lead-form .check-field label { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; font-size: 15px; font-weight: 400; cursor: pointer; }
.lead-form .check-field input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--blue); }
.partner-entry .shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; }
.partner-entry .section-heading { margin: 0; }
.partner-entry .section-heading h2 { font-size: clamp(28px, 3.2vw, 40px); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 820px) {
  .shell { width: calc(100% - 52px); }
  .header-inner { gap: 15px; }
  .header-inner nav { gap: 18px; }
  .section { padding-block: 69px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 27px; }
  .steps { gap: 18px; }
  .editorial-inner { gap: 24px; }
  .partner-grid { grid-template-columns: 1fr; gap: 40px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

@media (max-width: 610px) {
  .shell { width: calc(100% - 36px); }
  html { scroll-padding-top: 100px; }
  .header-inner { grid-template-columns: 1fr auto; row-gap: 0; min-height: 52px; padding-top: 8px; }
  .header-inner .brand { grid-row: 1; grid-column: 1; }
  .header-inner .button { grid-row: 1; grid-column: 2; min-height: 36px; padding-inline: 16px; font-size: 14px; }
  .header-inner nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 10px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .header-inner .brand { font-size: 17px; }
  .hero { padding-block: 48px 43px; }
  .hero-product { margin-bottom: 10px; font-size: 18px; }
  .hero h1 { font-size: clamp(32px, 8.8vw, 48px); line-height: 1.12; }
  .hero-lede { margin-top: 14px; }
  .hero-media { margin: 30px auto 22px; }
  .hero-actions { gap: 12px 16px; }
  .hero-price { flex-basis: 100%; }
  .section { padding-block: 52px; }
  .section-heading { margin-bottom: 23px; }
  .section-heading p { margin-top: 8px; font-size: 15px; }
  .faq-grid, .plan-grid { grid-template-columns: 1fr; gap: 14px; }
  .spec-grid li { padding: 20px; }
  .spec-grid h3 { font-size: 17px; }
  .spec-grid p { font-size: 13px; }
  .plan-card { padding: 26px; }
  .price strong { font-size: 39px; }
  .editorial-inner { grid-template-columns: 1fr; }
  .partner-panel { padding: 24px 20px; }
  .partner-panel .field-row { grid-template-columns: 1fr; }
  .editorial .section-heading p { margin-top: 12px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 17px; margin-top: 25px; }
  .steps li:nth-child(2)::after { display: none; }
  .steps h3 { margin-top: 9px; font-size: 20px; }
  .steps p { font-size: 14px; }
  .faq-grid { gap: 0; }
  .faq-column + .faq-column { border-top: 0; }
  .faq summary { min-height: 55px; font-size: 16px; }
  .dialog-inner { padding: 24px; }
  .close-form { top: 17px; right: 17px; }
}

@media (max-width: 360px) {
  .plan-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
}

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