:root {
  color-scheme: light;
  --ink: #071a3d;
  --ink-soft: #53627a;
  --blue: #0877f9;
  --blue-dark: #005fd4;
  --blue-soft: #eff7ff;
  --blue-line: #a9d3ff;
  --coral: #ff6657;
  --coral-soft: #fff0ed;
  --line: #dce6f2;
  --line-strong: #c8d7e8;
  --white: #ffffff;
  --focus: #ff9f1c;
  --shadow: 0 22px 60px rgba(7, 26, 61, 0.1);
  --content: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

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

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

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

.shell {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 46px;
  height: 32px;
  color: var(--blue);
}

.brand-mark path,
.brand-mark circle {
  vector-effect: non-scaling-stroke;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-right: auto;
}

.site-nav a,
.back-link {
  color: var(--ink);
  font-size: 16px;
  font-weight: 620;
}

.site-nav a:hover,
.back-link:hover,
.footer-links a:hover {
  color: var(--blue);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 720;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-outline {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue);
}

.button-outline:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.button[disabled] {
  border-color: var(--line);
  background: #edf2f7;
  color: #8794a8;
  cursor: not-allowed;
  transform: none;
}

.arrow-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.home-hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero .shell {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 80px 120px;
}

.hero-copy h1,
.coupon-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 5.3vw, 72px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy p,
.coupon-copy > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.7;
}

.hero-rule {
  width: 42px;
  height: 4px;
  margin-top: 28px;
  border-radius: 99px;
  background: var(--blue);
}

.whale-scene {
  position: absolute;
  inset: 38px -70px 0 42%;
  pointer-events: none;
}

.hero-whale {
  position: absolute;
  top: 82px;
  right: 28px;
  width: min(620px, 48vw);
  color: var(--blue);
  filter: drop-shadow(0 18px 22px rgba(8, 119, 249, 0.06));
}

.hero-orbit {
  position: absolute;
  top: 36px;
  right: 230px;
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dcecff;
}

.current-line {
  position: absolute;
  right: -8%;
  bottom: 70px;
  width: 76%;
  height: 110px;
  border-top: 2px solid var(--blue);
  border-radius: 50% 65% 0 0;
  transform: rotate(-2deg);
  opacity: 0.9;
}

.current-line::before,
.current-line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-top: 1px solid var(--blue-line);
  border-radius: inherit;
}

.current-line::before {
  top: 18px;
  left: -18%;
}

.current-line::after {
  top: 42px;
  left: -6%;
  border-top-width: 24px;
  opacity: 0.22;
}

.products-section {
  padding-block: 50px 22px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-heading-row h2,
.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 770;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.product-list {
  display: block;
}

.product-row {
  min-height: 168px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto 26px;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}

.product-row:hover {
  background: linear-gradient(90deg, transparent, var(--blue-soft), transparent);
}

.product-visual {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.product-icon {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--blue);
}

.product-icon::before {
  content: "";
  position: absolute;
  inset: -10px 18px 18px -12px;
  border-radius: 50%;
  background: #dfecff;
  z-index: 0;
}

.product-icon.coupon::before {
  background: var(--coral-soft);
}

.product-icon svg {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
}

.product-icon.coupon {
  color: var(--coral);
}

.product-copy h3 {
  margin: 0;
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.product-copy p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.row-chevron {
  width: 20px;
  color: var(--ink);
}

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

.footer-inner {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-inner > :last-child {
  justify-self: end;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Coupon page */
.coupon-header .header-inner {
  justify-content: space-between;
}

.coupon-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.coupon-hero .shell {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.coupon-copy {
  position: relative;
  z-index: 2;
  padding-block: 76px 96px;
}

.coupon-copy h1 {
  font-size: clamp(52px, 5.15vw, 70px);
}

.coupon-actions {
  margin-top: 32px;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.trust-note svg {
  width: 21px;
  color: var(--ink-soft);
}

.phone-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  left: -30%;
  right: -20%;
  bottom: 68px;
  height: 130px;
  border-top: 2px solid var(--blue);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.phone {
  position: relative;
  z-index: 2;
  width: 308px;
  height: 500px;
  overflow: hidden;
  padding: 15px 13px;
  border: 8px solid #14171c;
  border-bottom-width: 0;
  border-radius: 48px 48px 0 0;
  background: #f4f6f9;
  box-shadow: 0 30px 54px rgba(7, 26, 61, 0.19), inset 0 0 0 2px #66707c;
}

.dynamic-island {
  width: 96px;
  height: 27px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: #050607;
}

.phone-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.phone-title {
  color: var(--ink);
  font-size: 15px;
}

.phone-block {
  margin-bottom: 12px;
}

.phone-label {
  margin: 0 0 7px 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.ios-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 2px 6px rgba(7, 26, 61, 0.04);
}

.ios-row + .ios-row {
  margin-top: 7px;
}

.ios-row time,
.ios-row .ios-value {
  margin-left: auto;
  color: var(--ink);
  font-size: 14px;
}

.ios-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}

.toggle {
  width: 38px;
  height: 22px;
  margin-left: auto;
  padding: 2px;
  border-radius: 99px;
  background: #2bc95a;
}

.toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.notification-card {
  position: absolute;
  z-index: 4;
  top: 140px;
  right: 0;
  width: 275px;
  padding: 16px;
  border: 1px solid rgba(8, 119, 249, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 12px;
}

.notification-head strong {
  color: var(--ink);
}

.notification-card h3 {
  margin: 12px 0 2px;
  font-size: 19px;
  line-height: 1.3;
}

.notification-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.platform-section,
.setup-section,
.runtime-section,
.faq-section,
.content-page {
  padding-block: 74px;
}

.section-intro {
  max-width: 760px;
  margin: 14px 0 30px;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.platform-card {
  border-bottom: 1px solid var(--line);
}

.platform-card[open] {
  background: linear-gradient(90deg, var(--blue-soft), var(--white) 72%);
  box-shadow: inset 4px 0 0 var(--blue);
}

.platform-card summary {
  min-height: 112px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  list-style: none;
  cursor: pointer;
}

.platform-card summary::-webkit-details-marker {
  display: none;
}

.platform-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 23px;
  font-weight: 820;
}

.platform-title strong {
  display: block;
  font-size: 25px;
  line-height: 1.28;
}

.platform-title span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 15px;
}

.summary-action {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.disclosure-chevron {
  width: 18px;
  transition: transform 160ms ease;
}

.platform-card[open] .disclosure-chevron {
  transform: rotate(90deg);
}

.platform-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 4px 24px 30px 120px;
}

.app-options {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.app-options legend {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.app-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.app-option input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}

.install-action {
  align-self: end;
}

.prototype-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--coral);
  background: var(--coral-soft);
  color: #63342d;
  font-size: 14px;
}

.promotion-note {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step {
  position: relative;
  min-width: 0;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -21px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}

.step-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.step-number,
.flow-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 780;
}

.step h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.step p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.mini-phone {
  position: relative;
  height: 286px;
  margin-top: 24px;
  overflow: hidden;
  padding: 34px 18px 18px;
  border: 5px solid #1b2027;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: #f5f7fa;
}

.mini-phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 68px;
  height: 18px;
  border-radius: 99px;
  background: #0b0d10;
  transform: translateX(-50%);
}

.mini-title {
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.mini-panel {
  padding: 13px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 5px 16px rgba(7, 26, 61, 0.07);
}

.mini-panel strong,
.mini-panel span {
  display: block;
}

.mini-panel strong {
  font-size: 14px;
}

.mini-panel + .mini-panel {
  margin-top: 10px;
}

.mini-panel span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
}

.mini-action {
  min-height: 38px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 720;
}

.lock-phone {
  background: linear-gradient(150deg, #0b4b8c, #874157 65%, #e65947);
  color: var(--white);
}

.lock-time {
  margin: 10px 0 24px;
  text-align: center;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.lock-note {
  padding: 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.lock-note strong,
.lock-note span {
  display: block;
}

.lock-note span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}

.runtime-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.flow-item {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border-top: 2px solid var(--blue);
  background: var(--blue-soft);
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  right: -19px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}

.flow-number {
  width: 28px;
  height: 28px;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
}

.flow-item strong {
  display: block;
  margin-top: 16px;
  font-size: 17px;
}

.flow-item span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

.capability-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--blue-line);
  background: var(--blue-soft);
  color: var(--ink-soft);
}

.capability-note svg {
  width: 20px;
  flex: none;
  color: var(--blue);
}

.faq-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

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

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

.faq-item summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  list-style: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 720;
}

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

.faq-sign {
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.faq-sign::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item[open] .faq-sign::after {
  transform: rotate(0);
}

.faq-answer {
  max-width: 860px;
  margin: -8px 0 0;
  padding: 0 48px 24px;
  color: var(--ink-soft);
}

/* Content pages */
.content-page {
  min-height: 62vh;
}

.content-page h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.content-lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 20px;
}

.resolver-alert {
  max-width: 760px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  color: var(--ink);
}

.resolver-alert[hidden] {
  display: none;
}

.resolver-alert p {
  margin: 6px 0 2px;
  color: var(--ink-soft);
}

.resolver-alert span {
  color: var(--ink-soft);
  font-size: 14px;
}

.content-block {
  max-width: 860px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.content-block:first-of-type {
  margin-top: 48px;
}

.content-block h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
}

.content-block h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.content-block p,
.content-block li {
  color: var(--ink-soft);
}

.content-block ol,
.content-block ul {
  padding-left: 1.25em;
}

.status-line {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--coral);
  background: var(--coral-soft);
  color: #63342d;
}

.mbti-hero {
  position: relative;
  overflow: hidden;
  padding-block: 92px 84px;
  border-bottom: 1px solid var(--line);
}

.mbti-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -130px;
  right: max(-120px, calc((100vw - var(--content)) / 2));
  border: 2px solid var(--blue-line);
  border-radius: 50%;
  box-shadow: 0 0 0 48px var(--blue-soft), 0 0 0 50px var(--blue-line);
  opacity: 0.7;
}

.mbti-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: clamp(50px, 6.8vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.mbti-hero p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
}

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

.feature-row {
  min-height: 126px;
  display: grid;
  grid-template-columns: 76px 220px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: var(--blue);
  font-size: 18px;
  font-weight: 780;
}

.feature-row h3 {
  margin: 0;
  font-size: 24px;
}

.feature-row p {
  margin: 0;
  color: var(--ink-soft);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 26, 61, 0.58);
  cursor: default;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.modal-dialog h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.modal-dialog p {
  color: var(--ink-soft);
}

.selection-summary {
  margin: 22px 0;
  padding: 16px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

.selection-summary strong,
.selection-summary span {
  display: block;
}

.selection-summary span {
  margin-top: 4px;
  color: var(--ink-soft);
}

/* Coupon compact landing */
.coupon-page {
  padding-bottom: calc(87px + env(safe-area-inset-bottom));
}

.coupon-overview {
  min-height: calc(100svh - 180px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.coupon-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
  padding-block: 56px;
}

.coupon-overview-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 5.3vw, 72px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.coupon-overview-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.7;
}

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

.overview-points li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.overview-points svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--blue);
}

.overview-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.overview-more:hover {
  color: var(--blue-dark);
}

.overview-more svg {
  width: 18px;
  height: 18px;
}

.shortcut-preview {
  position: relative;
  padding: 30px;
  border: 1px solid var(--blue-line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.shortcut-preview::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 54px -34px -38px 42px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.shortcut-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.shortcut-preview-head time {
  color: var(--blue);
  font-weight: 760;
}

.shortcut-preview h2 {
  margin: 34px 0 4px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.shortcut-preview > p {
  margin: 0;
  color: var(--ink-soft);
}

.shortcut-preview-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.shortcut-preview-flow span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 13px;
}

.shortcut-preview-flow b {
  color: var(--blue);
  font-size: 12px;
}

.shortcut-preview-url {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.guide-section {
  padding-block: 76px;
  border-bottom: 1px solid var(--line);
  background: #f6f9fd;
}

.guide-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  align-items: end;
  gap: 48px;
}

.guide-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.guide-heading p {
  max-width: 640px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 2px solid var(--blue);
}

.guide-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 780;
}

.guide-list h3,
.guide-notes h3 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.3;
}

.guide-list p,
.guide-notes p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.guide-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.coupon-page .faq-section {
  padding-block: 72px;
}

.shortcut-dock {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(200, 215, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -14px 42px rgba(7, 26, 61, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.shortcut-dock-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px calc(12px + env(safe-area-inset-bottom));
}

.shortcut-dock-copy strong,
.shortcut-dock-copy span {
  display: block;
}

.shortcut-dock-copy strong {
  font-size: 17px;
  line-height: 1.3;
}

.shortcut-dock-copy span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.shortcut-dock-button {
  min-width: 220px;
}

/* Runtime Meituan chooser */
.meituan-launch-page {
  min-height: 100svh;
}

.launch-main {
  min-height: calc(100svh - 95px);
  display: grid;
  place-items: center;
  padding-block: 52px;
}

.launch-panel {
  width: min(100%, 620px);
}

.launch-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 17px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 23px;
  font-weight: 820;
}

.launch-panel h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.launch-lead {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.launch-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.launch-choice {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.launch-choice:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.launch-choice-primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.launch-choice-primary:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.launch-choice strong,
.launch-choice small {
  display: block;
}

.launch-choice strong {
  font-size: 18px;
  line-height: 1.35;
}

.launch-choice small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.launch-choice-primary small {
  color: rgba(255, 255, 255, 0.78);
}

.launch-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

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

  .home-hero .shell,
  .coupon-hero .shell {
    grid-template-columns: 1fr;
  }

  .home-hero .shell {
    min-height: 760px;
    align-items: start;
  }

  .hero-copy {
    padding: 72px 0 0;
  }

  .whale-scene {
    inset: auto -40px 30px 12%;
    height: 390px;
  }

  .hero-whale {
    top: 38px;
    right: 20px;
    width: min(640px, 76vw);
  }

  .product-row {
    grid-template-columns: 150px minmax(0, 1fr) 26px;
    gap: 26px;
  }

  .product-row .button {
    display: none;
  }

  .coupon-hero .shell {
    gap: 0;
  }

  .coupon-copy {
    padding-bottom: 20px;
  }

  .phone-stage {
    min-height: 510px;
  }

  .notification-card {
    right: max(0px, 4vw);
  }

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

  .step:not(:last-child)::after,
  .flow-item:not(:last-child)::after {
    display: none;
  }

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

  .footer-inner .footer-links {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .coupon-overview-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 42px;
  }

  .guide-list {
    gap: 22px;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
  }

  .brand {
    gap: 8px;
    font-size: 20px;
  }

  .brand-mark {
    width: 38px;
  }

  .header-inner > .button {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .back-link {
    font-size: 14px;
  }

  .home-hero .shell {
    min-height: 680px;
  }

  .hero-copy h1,
  .coupon-copy h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .hero-copy p,
  .coupon-copy > p {
    font-size: 17px;
  }

  .whale-scene {
    inset: auto -80px 10px -10%;
    height: 330px;
  }

  .hero-whale {
    width: 118vw;
  }

  .hero-orbit {
    top: 44px;
    right: 150px;
    width: 60px;
  }

  .products-section,
  .platform-section,
  .setup-section,
  .runtime-section,
  .faq-section,
  .content-page {
    padding-block: 52px;
  }

  .section-title,
  .section-heading-row h2 {
    font-size: 34px;
  }

  .product-row {
    min-height: 152px;
    grid-template-columns: 68px minmax(0, 1fr) 18px;
    gap: 16px;
  }

  .product-visual {
    min-height: 96px;
    border-right: 0;
  }

  .product-icon,
  .product-icon svg {
    width: 56px;
    height: 56px;
  }

  .product-copy h3 {
    font-size: 25px;
  }

  .product-copy p {
    font-size: 15px;
  }

  .coupon-hero .shell {
    min-height: auto;
  }

  .coupon-copy {
    padding-top: 58px;
  }

  .phone-stage {
    min-height: 465px;
    justify-content: flex-start;
    padding-left: 8px;
  }

  .phone {
    width: 290px;
    height: 450px;
  }

  .notification-card {
    top: 135px;
    right: -8px;
    width: 215px;
    padding: 13px;
  }

  .notification-card h3 {
    font-size: 16px;
  }

  .platform-card summary {
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    gap: 14px;
    padding-inline: 14px;
  }

  .platform-symbol {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    font-size: 19px;
  }

  .platform-title strong {
    font-size: 21px;
  }

  .summary-action {
    display: none;
  }

  .platform-body {
    grid-template-columns: 1fr;
    padding: 0 16px 24px 82px;
  }

  .install-action {
    justify-self: start;
  }

  .steps-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .mini-phone {
    height: 270px;
  }

  .flow-item:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: -18px;
    right: 50%;
    transform: rotate(135deg);
  }

  .footer-inner {
    min-height: 150px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 10px;
  }

  .footer-inner > :last-child {
    justify-self: start;
  }

  .footer-inner .footer-links {
    grid-column: auto;
    grid-row: auto;
  }

  .modal-dialog {
    padding: 28px 22px 22px;
  }

  .feature-row {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding-block: 22px;
  }

  .feature-row p {
    grid-column: 2;
  }

  .coupon-page {
    padding-bottom: calc(77px + env(safe-area-inset-bottom));
  }

  .coupon-overview {
    min-height: 540px;
    min-height: min(540px, calc(100svh - 154px));
    align-items: start;
  }

  .coupon-overview-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 34px 30px;
  }

  .coupon-overview-copy h1 {
    font-size: clamp(42px, 12.2vw, 52px);
  }

  .coupon-overview-lead {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.65;
  }

  .overview-points {
    gap: 9px;
    margin-top: 22px;
  }

  .overview-points li {
    font-size: 15px;
  }

  .overview-more {
    margin-top: 22px;
  }

  .shortcut-preview {
    display: none;
  }

  .guide-section {
    padding-block: 54px;
  }

  .guide-heading,
  .guide-list,
  .guide-notes {
    grid-template-columns: 1fr;
  }

  .guide-heading {
    gap: 14px;
  }

  .guide-heading h2 {
    font-size: 38px;
  }

  .guide-heading p {
    font-size: 16px;
  }

  .guide-list {
    gap: 28px;
    margin-top: 34px;
  }

  .guide-list li {
    padding-top: 18px;
  }

  .guide-notes {
    gap: 28px;
    margin-top: 40px;
    padding-top: 26px;
  }

  .coupon-page .faq-section {
    padding-block: 52px;
  }

  .shortcut-dock-inner {
    min-height: 76px;
    padding-block: 10px calc(10px + env(safe-area-inset-bottom));
  }

  .shortcut-dock-copy {
    display: none;
  }

  .shortcut-dock-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .launch-main {
    min-height: calc(100svh - 79px);
    align-items: start;
    padding-block: 38px;
  }

  .launch-symbol {
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    border-radius: 14px;
    font-size: 20px;
  }

  .launch-panel h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .launch-lead {
    margin-top: 20px;
    font-size: 17px;
  }

  .launch-actions {
    margin-top: 26px;
  }

  .launch-choice {
    min-height: 78px;
    padding: 14px 16px;
  }
}

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