:root {
  color-scheme: light;
  --paper: #fbfcf9;
  --white: #fff;
  --ink: #172923;
  --muted: #50615b;
  --green: #234b40;
  --green-deep: #193c34;
  --mint: #edf4ee;
  --line: #dce6df;
  --blue: #28556a;
  --blue-light: #eef4f7;
  --rose: #8b3e55;
  --rose-light: #fbf0f0;
  --wrap: 1160px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.055em; }
p { line-height: 1.8; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 10px 14px; color: white; background: var(--green); z-index: 9; }
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgb(251 252 249 / 97%);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: max-content; font-size: 22px; font-weight: 720; letter-spacing: .04em; }
.brand img { flex: none; }
.navigation { display: flex; align-items: center; gap: clamp(17px, 2.6vw, 37px); }
.navigation a { padding-block: 15px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.navigation a:hover, .navigation a[aria-current="location"] { color: var(--green-deep); text-decoration: underline; text-underline-offset: 8px; }
.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  transition: background .18s, color .18s, border-color .18s;
}
.button span[aria-hidden="true"] { font-size: 17px; line-height: 1; }
.button-primary { color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-deep); }
.button-outline { border-color: #c9d8d0; background: transparent; }
.button-outline:hover { background: var(--mint); }
.site-login { min-height: 40px; padding: 7px 13px; white-space: nowrap; }
.menu-toggle { display: none; }

.hero { padding: clamp(24px, 3.5vw, 48px) 0 clamp(24px, 3.2vw, 44px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4.5vw, 58px); }
.hero-copy { container-type: inline-size; }
.kicker { color: var(--green); font-size: .83rem; font-weight: 650; letter-spacing: .08em; }
.hero h1 { color: var(--green); font-size: clamp(1.5rem, 13cqi, 3.84rem); line-height: 1.14; margin-bottom: clamp(10px, 3.5cqi, 16px); white-space: nowrap; }
.hero-lede { max-width: 28em; color: var(--muted); font-size: 1.06rem; text-wrap: balance; }
.hero-policy { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.hero-policy li { padding: 6px 10px; border-radius: 5px; background: var(--mint); color: var(--green-deep); font-size: .83rem; font-weight: 650; }
.hero-policy li + li { background: var(--blue-light); color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-customer { display: inline-block; margin-top: 12px; color: var(--blue); font-size: .86rem; }
.hero-customer:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-visual { position: relative; padding-right: 14px; padding-bottom: 24px; }
.hero-photo { overflow: hidden; aspect-ratio: 1.5; border-radius: 18px 18px 18px 4px; background: #e9ede5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-phone {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 23%;
  max-width: 138px;
  aspect-ratio: .69;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: 17px;
  box-shadow: 0 12px 44px #16312636;
}
.hero-phone img { width: 100%; height: auto; }
.hero-visual figcaption { position: absolute; bottom: 0; left: 0; font-size: .75rem; color: var(--muted); }

.section { padding-block: clamp(50px, 6vw, 82px); }
.section-intro { max-width: 38rem; }
.section-intro h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.2; margin: 10px 0 15px; text-wrap: balance; }
.section-intro > p:not(.kicker) { color: var(--muted); }
.product { border-top: 1px solid var(--line); }
.product-feature { margin-top: 25px; }
.product-feature + .product-feature { margin-top: clamp(34px, 5vw, 64px); }
.product-feature-intro { padding: clamp(18px, 2.6vw, 30px); border-radius: 12px; }
.capability-base { background: var(--mint); border: 1px solid #d7e5d9; }
.capability-agent { background: var(--blue-light); border: 1px solid #d6e5eb; }
.capability-agent .kicker { color: var(--blue); }
.capability h3 { font-size: clamp(1.23rem, 2.1vw, 1.62rem); line-height: 1.25; margin: 5px 0 9px; }
.capability p:not(.kicker) { color: var(--muted); font-size: .94rem; }
.product-gallery { display: grid; grid-template-columns: minmax(270px, .82fr) minmax(0, 1.3fr); gap: 28px; margin-top: 20px; }
.product-options { display: grid; align-content: start; gap: 8px; }
.product-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  text-align: start;
  width: 100%;
  min-height: 82px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 8px;
  background: transparent;
  padding: 13px 18px;
}
.product-option[aria-pressed="true"] { border-color: #c6d9cb; background: var(--mint); }
.product-option:hover { background: #f0f5ef; }
.product-option strong, .product-option small { display: block; }
.product-option strong { font-size: 1.05rem; font-weight: 700; }
.product-option small { margin-top: 6px; color: var(--muted); font-size: .83rem; line-height: 1.6; }
.product-option > span:last-child { color: var(--green); }
.preview-stage { min-height: 355px; background: var(--blue-light); border: 1px solid #dbe8ed; border-radius: 15px; overflow: hidden; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; font-size: .85rem; color: var(--blue); }
.preview-heading > span { font-weight: 700; }
.preview-heading a:hover { text-decoration: underline; }
.preview-window { height: 305px; padding-inline: 18px; overflow: hidden; }
.preview-window img { width: min(390px, 100%); margin-inline: auto; border: 5px solid white; border-radius: 15px 15px 0 0; box-shadow: 0 10px 28px #27465421; }

.preview-heading > .preview-label { font-size: .78rem; font-weight: 550; }
.agent-screen { margin: 0 clamp(12px, 3vw, 26px) 20px; padding: clamp(13px, 2.5vw, 24px); border: 1px solid #d9e7e5; border-radius: 12px; background: var(--white); }
.agent-screen-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; margin-bottom: 14px; }
.agent-screen-header h4 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.36rem); letter-spacing: -.04em; }
.agent-screen-header span { padding: 3px 8px; border-radius: 4px; background: var(--mint); color: var(--green-deep); font-size: .76rem; }
.agent-facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.agent-facts div { flex: 1 1 94px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.agent-facts dt { color: var(--muted); font-size: .75rem; }
.agent-facts dd { margin: 4px 0 0; font-size: .93rem; font-weight: 650; }
.agent-metrics div { flex-basis: 64px; }
.agent-metrics dd { color: var(--green-deep); font-size: clamp(1rem, 2vw, 1.4rem); }
.agent-output { margin-top: 14px; padding: 10px 12px; border-left: 3px solid #adcdb9; border-radius: 4px; background: var(--mint); }
.agent-output strong { color: var(--green-deep); font-size: .8rem; }
.agent-output p { margin-top: 3px; font-size: .86rem; }
.agent-channels { margin: 0; }
.agent-channels div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.agent-channels dt { font-weight: 650; }
.agent-channels dd { margin: 0; color: var(--muted); }
.agent-screen-note { margin-top: 9px; color: var(--muted); font-size: .81rem; }

.consumer { --line: #ecd9df; background: #fdf8f7; border-block: 1px solid var(--line); }
.consumer .kicker, .consumer .preview-heading, .consumer .product-option > span:last-child { color: var(--rose); }
.consumer .product-feature-intro, .consumer .preview-stage { border: 1px solid var(--line); background: var(--rose-light); }
.consumer .product-option:hover { background: #faf0f1; }
.consumer .product-option[aria-pressed="true"] { border-color: #e4c9d1; background: var(--rose-light); }
.consumer .preview-window img { width: min(320px, 100%); height: auto; box-shadow: 0 10px 28px #49283521; }
.consumer .agent-screen { border-color: var(--line); }
.consumer .agent-facts div { background: #fdf8f7; }
.consumer .agent-screen-header span, .consumer .agent-output { background: var(--rose-light); }
.consumer .agent-screen-header span, .consumer .agent-output strong { color: var(--rose); }
.consumer .agent-output { border-left-color: #dcaeba; }
.design-reference { width: 100%; height: auto; max-height: 155px; object-fit: cover; margin-top: 11px; border-radius: 7px; }
.hair-reference { width: min(100%, 360px); max-height: none; margin-inline: auto; }
.text-link { display: inline-block; margin-top: 17px; font-size: .86rem; font-weight: 650; }

.case-tabs { display: flex; gap: 5px; width: fit-content; padding: 4px; margin: 22px 0 14px; border: 1px solid #ecd9df; border-radius: 10px; background: var(--white); }
.case-tabs button { min-width: 88px; min-height: 42px; padding: 7px 17px; border: 0; border-radius: 6px; background: transparent; color: var(--rose); font-weight: 650; }
.case-tabs button:hover { background: var(--rose-light); }
.case-tabs button:is([aria-selected="true"], [aria-pressed="true"]) { background: var(--rose); color: var(--white); }
.case-tabs + .product-gallery, .design-case .product-gallery { margin-top: 0; }
.scenario-panel { display: grid; gap: 14px; }
[role="tabpanel"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 12px; }
.scenario-path { padding: clamp(17px, 2.7vw, 31px); border: 1px solid var(--path-border); border-radius: 12px; background: var(--path-bg); }
.scenario-merchant { --path-ink: var(--blue); --path-border: #d6e5eb; --path-bg: var(--blue-light); }
.scenario-consumer { --path-ink: var(--rose); --path-border: #ead8dc; --path-bg: var(--rose-light); }
.scenario-path h3 { color: var(--path-ink); font-size: clamp(1.15rem, 2.1vw, 1.52rem); line-height: 1.35; }
.scenario-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 16px 0 0; padding: 0; list-style: none; }
.scenario-steps li { position: relative; display: grid; align-content: start; gap: 6px; padding: 13px; border: 1px solid var(--path-border); border-radius: 7px; background: var(--white); }
.scenario-steps strong { font-size: .92rem; }
.scenario-steps span { color: var(--muted); font-size: .84rem; line-height: 1.65; }
.scenario-steps li:not(:last-child)::after { content: "→" / ""; position: absolute; top: 11px; left: calc(100% + 5px); color: var(--path-ink); }
.scenario-channels { margin-top: 12px; color: var(--path-ink); font-size: .86rem; font-weight: 650; }
.scenario-channels span { margin-inline-start: .45em; font-weight: 500; }
.scenario-note { margin-top: 12px; color: var(--muted); font-size: .83rem; }

.referral .pricing-title, .referral-intro h3 { margin-bottom: 12px; font-size: 1.3rem; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { padding: 27px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.plan-main { background: var(--mint); border-color: #bdd4c3; }
.plan-agent { background: var(--blue-light); border-color: #cddfe7; }
.plan h3 { font-size: 1.16rem; letter-spacing: -.04em; }
.plan .price { font-size: 3.05rem; line-height: 1.12; margin-top: 15px; font-weight: 700; color: var(--green-deep); letter-spacing: -.06em; }
.plan .price span { font-size: .85rem; font-weight: 550; letter-spacing: 0; white-space: nowrap; }
.plan .price-text { font-size: clamp(1.6rem, 3vw, 2.55rem); min-height: 54px; }
.plan-agent .price { color: var(--blue); }
.plan .standard-price { margin: 9px 0; color: var(--muted); font-size: .82rem; }
.plan p:last-of-type { color: var(--muted); font-size: .89rem; }
.plan-agent p:last-of-type { margin-top: 9px; }
.plan .text-link { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }

.referral { border-top: 1px solid var(--line); }
.referral-intro { margin-top: clamp(27px, 4vw, 46px); }
.referral-intro p { color: var(--muted); }
.referral-rewards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid #cdded3;
  border-radius: 12px;
  background: var(--mint);
}
.referral-rewards article { padding: 24px; }
.referral-rewards article + article { border-left: 1px solid #cdded3; }
.referral-rewards h4 { margin: 0; font-size: 1.1rem; font-weight: 650; letter-spacing: -.055em; }
.referral-rewards .reward-value {
  margin-block: 8px;
  color: var(--green-deep);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.055em;
}
.reward-value span { color: var(--green); font-size: .8rem; font-weight: 650; letter-spacing: 0; white-space: nowrap; }
.referral-rewards article > p:last-child, .referral-use { color: var(--muted); font-size: .88rem; }
.referral-use {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 14px 28px;
  margin-top: 15px;
  padding: 17px 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
}
.referral-use strong { display: block; color: var(--green-deep); font-size: 1rem; }

.site-footer { background: #f0f5ef; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-block: 26px 19px; }
.footer-inner p { margin-top: 7px; font-size: .84rem; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; }
.footer-inner nav a { padding: 4px 0; color: var(--muted); font-size: .83rem; }
.footer-inner nav a:hover { color: var(--green-deep); text-decoration: underline; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 15px; padding-block: 14px 20px; border-top: 1px solid #d4e2d8; font-size: .75rem; color: var(--muted); }

.filing-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.filing-link, .contact-email { color: var(--green-deep); text-decoration: underline; text-underline-offset: .24em; }
.filing-link { display: inline-flex; align-items: center; gap: 6px; }
.filing-link img { flex: none; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 34px; }
  .plan { padding: 22px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 42px); }
  .header-inner { min-height: 64px; gap: 8px; }
  .header-inner .brand { font-size: 20px; }
  .header-inner .brand img { width: 32px; height: 32px; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: transparent; font-size: .8rem; }
  .navigation { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 8px 21px 14px; background: var(--paper); box-shadow: 0 10px 16px #1b392b15; border-top: 1px solid var(--line); }
  .navigation.is-open { display: grid; gap: 0; }
  .navigation a { padding: 12px 0; }
  .scenario-steps { gap: 16px; }
  .scenario-steps li { padding: 9px; }
  .scenario-steps li:not(:last-child)::after { left: calc(100% + 2px); font-size: .78rem; }
}

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { width: 100%; max-width: 520px; padding-right: 9px; }
  .hero-photo { aspect-ratio: 1.6; max-height: 280px; }
  .hero-phone { border-width: 4px; border-radius: 12px; }
  .scenario-steps { grid-template-columns: 1fr; gap: 6px; margin-top: 12px; }
  .scenario-steps li { grid-template-columns: 4.75em minmax(0, 1fr); gap: 8px; align-items: baseline; }
  .scenario-steps li:not(:last-child)::after { content: none; }
}

@media (max-width: 600px) {
  .hero-lede { font-size: .95rem; }
  .actions { gap: 8px; margin-top: 15px; }
  .hero .actions .button { min-height: 44px; gap: 7px; padding-inline: 12px; font-size: .83rem; }
  .section { padding-block: 52px; }
  .product-gallery, .plans, .referral-rewards, .referral-use { grid-template-columns: 1fr; }
  .product-gallery { gap: 16px; }
  .product-options { grid-template-columns: 1fr 1fr; gap: 7px; }
  .product-option { min-height: 91px; padding: 9px; align-items: start; gap: 5px; }
  .product-option strong { font-size: .9rem; }
  .product-option small { font-size: .73rem; }
  .product-option > span:last-child { display: none; }
  .preview-stage { min-height: 0; }
  .preview-window { height: 250px; }
  .preview-heading { padding: 12px; }
  .plans { gap: 11px; }
  .plan .price-text { min-height: 0; }
  .referral-rewards article, .referral-use { padding: 17px 20px; }
  .referral-rewards article + article { border-left: 0; border-top: 1px solid #cdded3; }
  .referral-use { gap: 7px; }
  .footer-inner { gap: 13px; }
}

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