:root {
  color-scheme: light;
  --canvas: #f5e9dd;
  --paper: #fbf6ed;
  --surface: #fffdf8;
  --surface-muted: #f7eee4;
  --ink: #17120f;
  --muted: #6f625b;
  --espresso: #57210b;
  --espresso-hover: #6b2b10;
  --coral: #fd6c47;
  --coral-soft: #ffe5da;
  --gold: #fcb34f;
  --gold-soft: #fff0cd;
  --safe: #0d6b2d;
  --safe-soft: #e5f4e9;
  --warning: #925000;
  --warning-soft: #fff0d3;
  --danger: #b12424;
  --danger-soft: #fde8e6;
  --line: #e7ded6;
  --line-strong: #cdbcaf;
  --shadow-paper: 0 18px 60px rgba(87, 33, 11, 0.1);
  --shadow-soft: 0 1px 2px rgba(87, 33, 11, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --measure: 42em;
  --font-sans: "MiSans VF", "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 8%, rgba(253, 108, 71, 0.1), transparent 28rem),
    radial-gradient(circle at 92% 48%, rgba(252, 179, 79, 0.1), transparent 30rem);
}

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

a:hover {
  color: var(--espresso-hover);
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--espresso);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header,
.page-shell,
.site-footer {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  background: var(--paper);
  border-inline: 1px solid rgba(205, 188, 175, 0.64);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-top: 10px solid var(--espresso);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(87, 33, 11, 0.05);
}

.header-inner {
  width: min(1160px, calc(100% - 64px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  overflow: hidden;
  background: var(--coral);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(87, 33, 11, 0.14);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

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

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: var(--muted);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--espresso);
  background: var(--surface-muted);
}

.page-shell {
  min-height: 72vh;
  padding: 64px max(32px, calc((100% - 1160px) / 2)) 104px;
  box-shadow: var(--shadow-paper);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px) 0 64px;
  border-bottom: 1px dashed var(--line-strong);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(28vw, 320px);
  height: min(28vw, 320px);
  content: "";
  pointer-events: none;
  border-radius: 50%;
  background: var(--coral-soft);
  opacity: 0.72;
  transform: translateY(-18%);
}

.receipt-code,
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 17ch;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 750;
}

.title-line {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 720;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 680;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38em;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
}

.status-row,
.action-row,
.meta-line,
.fact-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.status-pill,
.fact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 650;
}

.status-pill {
  color: var(--warning);
  border: 1px solid rgba(146, 80, 0, 0.18);
  background: var(--warning-soft);
}

.status-pill::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.fact-pill {
  color: var(--espresso);
  border: 1px solid var(--line);
  background: var(--surface);
}

.button-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  color: white;
  background: var(--espresso);
  border: 1px solid var(--espresso);
  border-radius: var(--radius-md);
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(87, 33, 11, 0.14);
  transition: transform 120ms ease, background 120ms ease;
}

.button-link:hover {
  color: white;
  background: var(--espresso-hover);
  transform: translateY(-1px);
}

.button-link.secondary {
  color: var(--espresso);
  border-color: var(--espresso);
  background: var(--paper);
  box-shadow: none;
}

.button-link.secondary:hover {
  color: var(--espresso);
  background: var(--surface-muted);
}

.meta-line {
  gap: 8px 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 48px;
  align-items: start;
  margin-top: 64px;
}

.content-card {
  min-width: 0;
}

.content-card.section-offset {
  margin-top: 56px;
}

.content-card > section + section {
  padding-top: 64px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.content-card p,
.content-card li {
  max-width: var(--measure);
}

.content-card p {
  margin-top: 0;
}

.content-card p + p {
  margin-top: 14px;
}

.content-card ul,
.content-card ol {
  padding-left: 1.35em;
}

.content-card li + li {
  margin-top: 9px;
}

.section-intro {
  color: var(--muted);
  font-size: 18px;
}

.aside-card {
  position: sticky;
  top: 108px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  box-shadow: var(--shadow-soft);
}

.aside-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--espresso);
  font-size: 16px;
  font-weight: 700;
}

.aside-card nav {
  display: grid;
}

.aside-card a {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid rgba(205, 188, 175, 0.55);
  font-size: 14px;
  text-decoration: none;
}

.aside-card a:hover {
  color: var(--espresso);
}

.notice {
  padding: 18px 20px;
  color: #6d3e00;
  border-left: 4px solid var(--gold);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  background: var(--warning-soft);
}

.notice.safe {
  color: var(--safe);
  border-left-color: var(--safe);
  background: var(--safe-soft);
}

.notice.danger {
  color: var(--danger);
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.notice p:last-child,
.notice ul:last-child {
  margin-bottom: 0;
}

.notice.space-top {
  margin-top: 24px;
}

.card-grid,
.privacy-summary,
.boundary-grid,
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.summary-item,
.boundary-item,
.quick-link {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.info-card p:last-child,
.summary-item p:last-child,
.boundary-item p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.summary-item strong,
.boundary-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.summary-item::before {
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 16px;
  content: "";
  background: var(--coral);
  border-radius: 999px;
}

.quick-link {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 120ms ease, transform 120ms ease;
}

.quick-link:hover {
  color: var(--ink);
  border-color: var(--coral);
  transform: translateY(-1px);
}

.quick-link span:first-child {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.quick-link strong {
  font-size: 19px;
}

.data-table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 14px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  width: 25%;
  color: var(--espresso);
  font-weight: 650;
  background: var(--surface-muted);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

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

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

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 650;
}

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

.faq-list summary::after {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  content: "+";
  color: var(--espresso);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-list details[open] summary {
  color: var(--espresso);
}

.faq-list details[open] summary::after {
  content: "×";
  transform: rotate(90deg);
}

.faq-list details > :not(summary) {
  max-width: 45em;
  margin-top: 0;
  padding: 0 4px 22px;
  color: var(--muted);
}

.faq-list details ul,
.faq-list details ol {
  margin-bottom: 0;
}

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

.issue-steps li {
  counter-increment: support-step;
  max-width: none;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.issue-steps li::before {
  content: counter(support-step, decimal-leading-zero);
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-slot {
  min-height: 112px;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
}

.contact-slot[data-ready="true"] {
  border-style: solid;
  border-color: rgba(13, 107, 45, 0.3);
  background: var(--safe-soft);
}

.contact-slot p {
  margin: 0;
}

.contact-slot p + p {
  margin-top: 6px;
}

.contact-label {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(32px, calc((100% - 1160px) / 2)) 40px;
  color: var(--muted);
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
  box-shadow: var(--shadow-paper);
}

.site-footer p {
  margin: 0;
}

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

/* Product homepage: editorial receipt meets a busy neighborhood counter. */
.home-page {
  background:
    linear-gradient(rgba(87, 33, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 33, 11, 0.035) 1px, transparent 1px),
    var(--canvas);
  background-size: 28px 28px;
}

.home-page::before {
  background:
    radial-gradient(circle at 8% 5%, rgba(253, 108, 71, 0.18), transparent 29rem),
    radial-gradient(circle at 90% 24%, rgba(252, 179, 79, 0.17), transparent 33rem),
    radial-gradient(circle at 52% 82%, rgba(87, 33, 11, 0.08), transparent 30rem);
}

.home-header {
  border-top-color: var(--ink);
}

.home-shell {
  padding-top: 0;
  padding-bottom: 0;
}

.home-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(72px, 9vw, 112px) 0 96px;
  border-bottom: 1px solid var(--line-strong);
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.04;
}

.home-hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.home-hero .hero-copy {
  max-width: 34em;
  font-size: clamp(18px, 1.75vw, 21px);
  line-height: 1.8;
}

.hero-footnote {
  max-width: 40em;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-stage {
  position: relative;
  min-height: 570px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.product-stage::before {
  position: absolute;
  inset: 4% -8% 0 8%;
  z-index: -2;
  content: "";
  background: var(--espresso);
  border-radius: 46% 54% 38% 62% / 54% 40% 60% 46%;
  transform: rotate(-4deg);
}

.product-stage::after {
  position: absolute;
  inset: 13% 4% 6% -2%;
  z-index: -1;
  content: "";
  border: 1px dashed rgba(255, 253, 248, 0.46);
  border-radius: 44% 56% 62% 38% / 48% 57% 43% 52%;
  transform: rotate(7deg);
}

.app-window {
  width: min(100%, 610px);
  margin-left: auto;
  overflow: hidden;
  color: #1d1714;
  background: #fffaf1;
  border: 8px solid #15110f;
  border-radius: 26px;
  box-shadow: 0 34px 70px rgba(31, 14, 7, 0.34);
  transform: rotate(1.2deg);
}

.app-window-bar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: white;
  background: #1b1714;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.window-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.window-brand div {
  display: grid;
  line-height: 1.25;
}

.window-brand strong {
  font-size: 14px;
}

.window-brand span,
.window-time {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 9px;
}

.app-window-body {
  min-height: 390px;
  display: grid;
  grid-template-columns: 60px 1fr 180px;
}

.menu-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 9px;
  color: #826e63;
  background: #f0e6d9;
  border-right: 1px solid #dfd1c3;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.menu-rail span {
  padding: 9px 4px;
  border-radius: 7px;
}

.menu-rail .active {
  color: white;
  background: var(--espresso);
}

.menu-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  align-content: start;
  padding: 18px 12px;
}

.menu-board article {
  min-height: 110px;
  display: grid;
  align-content: space-between;
  padding: 12px;
  background: white;
  border: 1px solid #eadfd3;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(59, 28, 15, 0.05);
}

.menu-board article span {
  width: max-content;
  padding: 2px 6px;
  color: #a44025;
  background: #ffe6da;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
}

.menu-board article strong {
  font-size: 12px;
}

.menu-board article b {
  color: var(--espresso);
  font-size: 14px;
}

.order-panel {
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  background: white;
  border-left: 1px solid #dfd1c3;
}

.order-heading,
.order-line,
.order-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.order-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid #eadfd3;
  font-size: 11px;
}

.order-heading span {
  color: #8b766a;
  font-size: 9px;
}

.order-line {
  padding-block: 12px;
  border-bottom: 1px dashed #eadfd3;
  font-size: 10px;
}

.order-line span {
  display: grid;
}

.order-line small {
  color: #987f72;
  font-size: 8px;
}

.order-total {
  align-items: baseline;
  margin-top: auto;
  padding-top: 16px;
  font-size: 10px;
}

.order-total strong {
  color: var(--espresso);
  font-size: 21px;
}

.pay-button {
  margin-top: 10px;
  padding: 10px;
  color: white;
  background: var(--coral);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.stage-ticket,
.stage-note {
  position: absolute;
  z-index: 3;
  display: grid;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid rgba(87, 33, 11, 0.24);
  box-shadow: 0 12px 30px rgba(31, 14, 7, 0.18);
}

.stage-ticket {
  top: 18px;
  left: -10px;
  transform: rotate(-7deg);
}

.stage-note {
  right: -18px;
  bottom: 24px;
  max-width: 220px;
  background: var(--coral-soft);
  transform: rotate(5deg);
}

.stage-ticket span,
.stage-note span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
}

.stage-ticket strong,
.stage-note strong {
  font-size: 12px;
}

.home-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line-strong);
}

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

.section-heading h2,
.home-section h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 72px;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
}

.workflow-line {
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid var(--ink);
}

.workflow-line li {
  position: relative;
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--ink);
}

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

.workflow-line span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.workflow-line strong {
  align-self: end;
  font-size: 28px;
}

.workflow-line small {
  color: var(--muted);
  font-size: 13px;
}

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

.feature-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  box-shadow: 8px 8px 0 rgba(87, 33, 11, 0.06);
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-card-accent {
  color: white;
  background: var(--espresso);
  border-color: var(--espresso);
}

.feature-card h3 {
  max-width: 16ch;
  margin-top: auto;
  margin-bottom: 12px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(26px, 2.6vw, 36px);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-no {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.mini-receipt {
  width: min(240px, 80%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  align-self: flex-end;
  padding: 16px;
  margin: -36px 0 4px;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px dashed var(--espresso);
  font-family: var(--font-mono);
  font-size: 10px;
  transform: rotate(2deg);
}

.local-section,
.plan-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.local-statement > p:not(.eyebrow),
.plan-copy > p:not(.eyebrow) {
  max-width: 40em;
  color: var(--muted);
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  color: var(--coral);
  font-size: 20px;
}

.boundary-list {
  border-block: 1px solid var(--ink);
}

.boundary-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}

.boundary-list article:last-child {
  border-bottom: 0;
}

.boundary-list article > span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 11px;
}

.boundary-list strong {
  font-size: 19px;
}

.boundary-list p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-section {
  position: relative;
}

.plan-section::before {
  position: absolute;
  inset: 12% -5% 8% 48%;
  z-index: 0;
  content: "";
  background: var(--coral-soft);
  border-radius: 48% 52% 64% 36% / 50% 36% 64% 50%;
  transform: rotate(-3deg);
}

.plan-copy,
.price-card {
  position: relative;
  z-index: 1;
}

.plan-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.plan-points li {
  position: relative;
  padding-left: 25px;
}

.plan-points li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--safe);
  font-weight: 800;
}

.price-card {
  padding: 34px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: 14px 14px 0 var(--gold);
  transform: rotate(1deg);
}

.price-label {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 18px 12px;
}

.price small {
  font-size: 25px;
}

.price strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(66px, 8vw, 92px);
  line-height: 0.95;
}

.price span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.price-card p {
  font-size: 17px;
}

.price-card > small {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.price-rule {
  margin-block: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.34);
}

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

.doc-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.doc-card:hover {
  color: var(--ink);
  border-color: var(--coral);
  box-shadow: 8px 8px 0 var(--coral-soft);
  transform: translate(-2px, -2px);
}

.doc-card > span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.doc-card strong {
  margin-top: auto;
  font-family: "Songti SC", "STSong", serif;
  font-size: 28px;
}

.doc-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.doc-card b {
  align-self: flex-end;
  color: var(--coral);
  font-size: 24px;
}

.home-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
}

.home-footer > div strong {
  color: var(--ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
}

.home-footer > div p {
  margin-top: 4px;
}

.footer-entity {
  grid-column: 1 / -1;
  padding-top: 18px;
  margin-top: 18px !important;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero-copy > *,
.product-stage {
  animation: home-rise 620ms ease both;
}

.home-hero-copy > :nth-child(2) { animation-delay: 80ms; }
.home-hero-copy > :nth-child(3) { animation-delay: 140ms; }
.home-hero-copy > :nth-child(4) { animation-delay: 200ms; }
.home-hero-copy > :nth-child(5) { animation-delay: 250ms; }
.product-stage { animation-delay: 170ms; }

@media (max-width: 900px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 24px, 760px);
  }

  .header-inner {
    width: calc(100% - 40px);
  }

  .page-shell {
    padding-inline: 28px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aside-card {
    position: static;
    order: -1;
  }

  .aside-card nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .aside-card a {
    border-top: 0;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-stage {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .split-heading,
  .local-section,
  .plan-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .workflow-line li:nth-child(2) {
    border-right: 0;
  }

  .workflow-line li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

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

  .plan-section::before {
    inset: 50% -4% 3% 16%;
  }
}

@media (max-width: 620px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: 100%;
    border-inline: 0;
  }

  .site-header {
    border-top-width: 7px;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 66px;
  }

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

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

  .site-nav a {
    padding-inline: 9px;
    font-size: 14px;
  }

  .page-shell {
    padding: 24px 20px 72px;
  }

  .hero {
    padding-block: 36px 48px;
  }

  .hero::before {
    width: 200px;
    height: 200px;
    opacity: 0.48;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(38px, 12vw, 52px);
  }

  h1.privacy-title {
    max-width: none;
    font-size: clamp(34px, 10.5vw, 46px);
  }

  h2 {
    font-size: 30px;
  }

  .content-layout {
    margin-top: 44px;
  }

  .content-card > section + section {
    padding-top: 48px;
    margin-top: 48px;
  }

  .card-grid,
  .privacy-summary,
  .boundary-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr + tr {
    border-top: 1px solid var(--line);
  }

  .data-table th,
  .data-table td {
    border-bottom: 0;
  }

  .data-table th {
    padding-bottom: 4px;
  }

  .data-table td {
    padding-top: 6px;
  }

  .faq-list summary {
    font-size: 17px;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 20px;
  }

  .home-nav a {
    padding-inline: 7px;
    font-size: 13px;
  }

  .home-shell {
    padding-top: 0;
  }

  .home-hero {
    gap: 30px;
    padding-block: 54px 66px;
  }

  .home-hero h1 {
    max-width: 8.5ch;
    font-size: clamp(48px, 14vw, 64px);
  }

  .product-stage {
    min-height: 430px;
  }

  .app-window {
    border-width: 5px;
    border-radius: 18px;
  }

  .app-window-body {
    min-height: 300px;
    grid-template-columns: 46px minmax(0, 1fr) 132px;
  }

  .menu-board {
    gap: 5px;
    padding: 10px 6px;
  }

  .menu-board article {
    min-height: 82px;
    padding: 8px;
  }

  .menu-board article strong,
  .menu-board article b {
    font-size: 9px;
  }

  .order-panel {
    padding: 11px 8px 8px;
  }

  .order-line {
    font-size: 8px;
  }

  .stage-ticket {
    left: -4px;
  }

  .stage-note {
    right: -4px;
    bottom: 4px;
    max-width: 180px;
  }

  .home-section {
    padding-block: 68px;
  }

  .workflow-line,
  .feature-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .workflow-line li,
  .workflow-line li:nth-child(2) {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

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

  .feature-card-wide {
    grid-column: auto;
  }

  .mini-receipt {
    width: 100%;
    margin: 20px 0 0;
  }

  .home-footer {
    grid-template-columns: 1fr;
  }

  .footer-entity {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body {
    background: white;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .aside-card,
  .status-row,
  .action-row {
    display: none;
  }

  .page-shell,
  .site-footer {
    width: 100%;
    padding-inline: 0;
    border: 0;
    box-shadow: none;
  }

  .hero {
    padding-top: 0;
  }

  .content-layout {
    display: block;
  }

  .faq-list details {
    break-inside: avoid;
  }

  .faq-list details > :not(summary) {
    display: block;
  }
}
