:root {
  --paper: #f2f2ed;
  --paper-2: #e9e9e2;
  --white: #ffffff;
  --ink: #111418;
  --ink-2: #2a2e33;
  --muted: #5d6368;
  --line: #d5d6ce;
  --blue: #2447ff;
  --blue-deep: #1734d8;
  --orange: #ff4a1c;
  --orange-ink: #c93610;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Menlo", "Consolas", monospace;
  --shell: 1180px;
  --pad: clamp(20px, 4.2vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

::selection {
  background: var(--orange);
  color: #1a0d07;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: min(calc(100% - var(--pad) * 2), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 242, 237, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
  flex: none;
}

.brand-text strong,
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em;
}

.brand-text small,
.footer-brand small {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 32px);
  margin-left: auto;
  font-size: 14px;
  color: var(--ink-2);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.btn-primary {
  background: var(--orange);
  border-color: #e63a0e;
  color: #1a0d07;
  box-shadow: 0 1px 0 rgba(17, 20, 24, .08);
}

.btn-primary:hover {
  background: #ff5c33;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 74, 28, .24);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-lg {
  min-height: 54px;
  padding: 17px 26px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
  min-height: 52px;
  padding: 15px 20px;
  font-size: 16px;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

.btn-price {
  font-family: var(--mono);
  font-weight: 700;
  font-size: .94em;
  letter-spacing: 0;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.header-cta {
  flex: none;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(17, 20, 24, .055) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 88%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .12em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--orange);
  flex: none;
}

.hero h1 {
  margin: 22px 0 26px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.9vw, 62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.hero h1 span {
  color: var(--blue);
}

@media (min-width: 921px) {
  .hero h1 span {
    white-space: nowrap;
  }
}

.hero-lead {
  max-width: 34em;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.9;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 36px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.link-arrow span {
  transition: transform .22s var(--ease);
}

.link-arrow:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.link-arrow:hover span {
  transform: translateY(3px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
}

.hero-meta li + li {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

/* Diagnosis sheet */
.sheet-wrap {
  justify-self: end;
  width: 100%;
  max-width: 460px;
}

.sheet {
  position: relative;
  padding: 28px 26px 24px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 16px 16px 0 var(--blue);
  transform: rotate(-1.4deg);
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(17, 20, 24, .1);
  pointer-events: none;
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}

.sheet-kicker {
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .14em;
  color: var(--muted);
}

.sheet-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .08em;
}

.sheet-platform {
  flex: none;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  text-align: right;
}

.sheet-platform span {
  display: block;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 1px;
}

.dot-baidu {
  background: var(--blue);
}

.dot-douyin {
  background: var(--ink);
}

.dot-kuaishou {
  background: var(--orange);
}

.sheet-platform .dot {
  width: 5px;
  height: 5px;
  margin-right: 6px;
}

.sheet-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.sheet-no {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.sheet-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.sheet-item small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.check {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ink);
}

.sheet-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.sheet-foot p {
  font-size: 10px;
  line-height: 1.75;
  color: var(--muted);
}

.sheet-foot strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}

.stamp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 74px;
  height: 74px;
  border: 2px solid var(--orange-ink);
  border-radius: 50%;
  color: var(--orange-ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  transform: rotate(-12deg);
}

.stamp::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--orange-ink);
  border-radius: 50%;
}

.sheet-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--muted);
  text-align: right;
}

/* Sections */
.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2,
.faq-head h2,
.studio-copy h2,
.offer h2,
.closing h2 {
  margin: 16px 0 20px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.01em;
}

.section-intro {
  max-width: 38em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .62fr);
  align-items: end;
  gap: 48px;
  max-width: none;
}

.section-head.split h2 {
  margin-bottom: 0;
}

.section-head.split .section-intro {
  max-width: 34em;
  padding-bottom: 6px;
}

/* Problems */
.problem-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.problem-list li {
  padding: 28px 24px 32px;
  border-left: 1px solid var(--line);
}

.problem-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.problem-list li:last-child {
  padding-right: 0;
}

.problem-no {
  display: block;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange-ink);
}

.problem-stage {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
}

.problem-list h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.problem-list li > p:last-child {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* Services */
.services {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.service {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .3s var(--ease);
}

.service:hover {
  background: #f7f7f2;
}

.service-code {
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
}

.service h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.service > p {
  max-width: 40em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.service .service-fit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-2);
}

.service-fit span {
  flex: none;
  padding: 2px 6px;
  border: 1px solid var(--orange-ink);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  color: var(--orange-ink);
}

.fineprint {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* Offer */
.offer {
  position: relative;
  overflow: clip;
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--blue);
  color: var(--white);
}

.offer::before {
  content: "9.9";
  position: absolute;
  right: -3%;
  bottom: -22%;
  font-family: var(--serif);
  font-size: clamp(240px, 34vw, 480px);
  font-weight: 700;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .17);
  pointer-events: none;
}

.offer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.offer .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.offer .eyebrow::before {
  background: var(--orange);
}

.offer h2 {
  color: var(--white);
}

.offer-copy > p {
  max-width: 34em;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .84);
  text-wrap: pretty;
}

.offer-no {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.offer-no li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

.offer-no li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--orange);
}

.offer-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 18px 18px 0 rgba(9, 16, 40, .28);
}

.offer-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: .12em;
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

.offer-price {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 700;
  line-height: .95;
  white-space: nowrap;
}

.offer-price span {
  margin-right: 2px;
  font-size: 18px;
  vertical-align: top;
}

.offer-price small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.offer-card h3 {
  margin: 22px 0 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--muted);
}

.offer-includes li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.offer-includes span {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange-ink);
}

.offer-card .btn {
  margin-top: 22px;
}

.offer-card-note {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.steps li {
  padding: 28px 26px 0 0;
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.step-no {
  display: block;
  margin-bottom: 34px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange-ink);
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.steps p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* Studio */
.studio {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.studio-figure {
  position: relative;
}

.studio-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}

.studio-figure::after {
  content: "";
  position: absolute;
  left: -12px;
  bottom: 26px;
  width: 38%;
  height: 44%;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  pointer-events: none;
}

.studio-figure figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted);
}

.studio-copy h2 {
  margin: 16px 0 22px;
}

.studio-copy > p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
  text-wrap: pretty;
}

.studio-points {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.studio-points li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}

.studio-points strong {
  font-weight: 600;
}

.studio-points span {
  color: var(--muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}

.faq-head {
  position: sticky;
  top: 110px;
}

.faq-head h2 {
  margin: 16px 0 20px;
}

.faq-head > p {
  max-width: 24em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-list summary:hover {
  color: var(--blue);
}

.faq-list summary:hover span::before,
.faq-list summary:hover span::after {
  background: var(--blue);
}

.faq-list details > div {
  padding: 0 40px 22px 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}

/* Closing */
.closing {
  padding-block: clamp(72px, 10vw, 140px);
  border-top: 1px solid var(--line);
}

.closing-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.closing h2 {
  margin-bottom: 0;
}

.closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.closing-actions p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding-block: 56px 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.footer-brand small {
  color: rgba(255, 255, 255, .5);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

.footer-bottom a {
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.footer-bottom a:hover {
  color: var(--white);
  border-color: var(--white);
}

.footer-note {
  margin-top: 18px;
}

.footer-note p {
  max-width: 880px;
  font-size: 11px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .48);
}

/* Mobile CTA */
.mobile-cta {
  display: none;
}

/* Dialog */
.consult-dialog {
  width: min(calc(100% - 32px), 480px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.consult-dialog::backdrop {
  background: rgba(17, 20, 24, .56);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.consult-dialog[open] {
  animation: dialog-in .26s var(--ease);
}

.dialog-inner {
  position: relative;
  padding: 38px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--orange);
}

.dialog-inner .mono {
  margin-bottom: 12px;
}

.dialog-inner h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 700;
  line-height: 1.25;
}

.dialog-inner > p:not(.mono) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.dialog-close:hover {
  border-color: var(--ink);
  background: var(--white);
}

.dialog-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(40px, 5.8vw, 64px);
  }

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

  .problem-list li {
    padding: 26px 24px 30px;
    border-left: 1px solid var(--line);
  }

  .problem-list li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .problem-list li:nth-child(even) {
    padding-right: 0;
  }

  .problem-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .steps li {
    padding: 26px 24px 30px;
    border-left: 1px solid var(--line);
  }

  .steps li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .steps li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/* Stack */
@media (max-width: 920px) {
  .hero-grid,
  .offer-grid,
  .section-head.split,
  .studio-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 44px;
  }

  .sheet-wrap {
    justify-self: start;
    max-width: 540px;
  }

  .sheet {
    transform: none;
    box-shadow: 10px 10px 0 var(--blue);
  }

  .studio-figure {
    max-width: 640px;
  }

  .faq-head {
    position: static;
  }

  .faq-head > p {
    max-width: 34em;
  }

  .closing-inner {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  [id] {
    scroll-margin-top: 80px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(242, 242, 237, .97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .mobile-cta > div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
  }

  .mobile-cta strong {
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.2;
  }

  .mobile-cta span {
    font-size: 11px;
    color: var(--muted);
  }

  .mobile-cta .btn {
    min-height: 44px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(36px, 9.6vw, 54px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

  .hero-meta {
    gap: 8px 0;
  }

  .hero-meta li + li {
    margin-left: 14px;
    padding-left: 14px;
  }

  .sheet {
    padding: 24px 20px 22px;
  }

  .sheet-title {
    font-size: 26px;
  }

  .sheet-list li {
    padding: 11px 0;
  }

  .stamp {
    width: 64px;
    height: 64px;
    font-size: 14px;
  }

  .problem-list,
  .service-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-list li,
  .problem-list li:nth-child(odd),
  .problem-list li:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
    border-right: 0;
  }

  .problem-list li + li {
    border-top: 1px solid var(--line);
  }

  .problem-no {
    margin-bottom: 20px;
  }

  .service-code {
    margin-bottom: 24px;
  }

  .steps li,
  .steps li:nth-child(odd) {
    padding: 22px 0;
    border-left: 0;
  }

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

  .step-no {
    margin-bottom: 16px;
  }

  .studio-grid {
    gap: 30px;
  }

  .studio-figure::after {
    left: -8px;
    bottom: 24px;
  }

  .studio-points li {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .faq-list summary {
    font-size: 15px;
    padding: 18px 0;
  }

  .faq-list details > div {
    padding-right: 16px;
  }

  .closing-actions .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom {
    gap: 8px 18px;
  }

  .dialog-inner {
    padding: 32px 22px 26px;
    box-shadow: 10px 10px 0 var(--orange);
  }

  .dialog-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .sheet-platform {
    display: none;
  }

  .sheet-foot {
    align-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
