html:has(.agent-page) { scroll-behavior: smooth; }
.agent-page {
  --accent: var(--orange);
  --accent-dark: var(--orange-dark);
  --accent-soft: var(--orange-soft);
  --space: clamp(38px, 5.2vw, 72px);
}
:where(.agent-content) :is(h4, ol, ul, figure) { margin: 0; }
:where(.agent-content) h4 { line-height: 1.21; letter-spacing: -.035em; text-wrap: balance; }
:where(.agent-content, .source-dialog) img { display: block; max-width: 100%; height: auto; }
:where(.agent-content) :is(button, input, select) { font: inherit; color: inherit; }
:where(.agent-content) a:hover { color: var(--accent-dark); }
.block { padding-block: var(--space); border-top: 1px solid var(--line); }
.number { font-variant-numeric: tabular-nums; font-weight: 750; letter-spacing: -.045em; line-height: 1.18; }
.eyebrow { color: var(--accent-dark); font-size: 13px; font-weight: 690; }
.lede { color: var(--muted); font-size: clamp(14px, 1.28vw, 17px); max-width: 37em; line-height: 1.7; }
.note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.agent-section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 12px 42px; margin-bottom: clamp(20px, 3vw, 37px); }
.agent-section-head h2, .feature-title { font-size: clamp(27px, 3vw, 40px); font-weight: 750; }
.agent-section-head .eyebrow + h2 { margin-top: 6px; }

.agent-sections { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(10px, 2.5vw, 32px); border-bottom: 1px solid var(--line); }
.agent-sections a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: 14px; text-decoration: none; }
.agent-sections a:last-child { color: var(--accent-dark); font-weight: 720; }
.agent-sections a:hover { text-decoration: underline; }
.store-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr); align-items: center; gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 4.7vw, 66px); }
.hero-content h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.12; font-weight: 760; }
.hero-content h1 span { display: block; }
.hero-deck { max-width: 32em; margin-top: 12px; color: var(--muted); font-size: clamp(15px, 1.37vw, 17px); }
.hero-method { margin-top: 6px; font-size: 15px; font-weight: 690; line-height: 1.6; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.hero-link:hover { text-decoration: underline; }
.intro-feature { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); align-items: center; gap: clamp(12px, 1.55vw, 21px); background: #f8efe6; border: 1px solid #e9d6c8; border-radius: 15px; padding: 13px; text-decoration: none; }
.intro-feature:hover { color: var(--ink); border-color: #c59682; }
.intro-feature img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 9px; }
.agent-featured-copy strong { display: block; font-size: clamp(18px, 2vw, 28px); line-height: 1.15; letter-spacing: -.035em; }
.agent-featured-copy small { display: inline-block; margin-top: 9px; color: var(--accent-dark); font-size: 13px; font-weight: 700; }

.benchmark { background: var(--paper); }
.evidence-figure { margin-bottom: clamp(20px, 3.3vw, 39px); }
.evidence-button { width: 100%; display: block; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: white; text-align: left; cursor: zoom-in; }
.evidence-button:hover { border-color: #c1907f; }
.evidence-button img { width: 100%; }
.evidence-action { display: block; padding: 9px 13px; border-top: 1px solid var(--line); color: var(--accent-dark); font-size: 13px; font-weight: 650; }
.benchmark-conclusion { margin-top: 16px; }
.compare-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: white; margin-bottom: 16px; }
.compare-metrics > div { padding: clamp(12px, 1.8vw, 22px); }
.compare-metrics > div + div { border-left: 1px solid var(--line); }
.benchmark-conclusion dt { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.benchmark-conclusion dd { font-size: clamp(24px, 3.15vw, 42px); white-space: nowrap; }
.benchmark-conclusion dd strong { color: var(--accent); }
.benchmark-conclusion dd small { font-size: .46em; letter-spacing: 0; color: var(--muted); }
.reading-note { padding-left: 13px; border-left: 2px solid #dca98f; color: var(--muted); font-size: 15px; line-height: 1.68; }
.reading-note strong { color: var(--ink); }
.task-example, .benchmark-conclusion .note { margin-top: 6px; }
.metric-details summary, .peer-pricing summary { width: fit-content; min-height: 44px; padding-block: 10px; color: var(--accent-dark); cursor: pointer; font-weight: 700; font-size: 14px; }
.benchmark-layout { display: grid; grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr); gap: 22px; margin-top: 9px; align-items: start; }
.metric-switch { display: grid; gap: 5px; }
.metric-tab { display: flex; justify-content: space-between; align-items: center; min-height: 47px; gap: 8px; padding: 9px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; text-align: left; }
.metric-tab span { white-space: nowrap; color: var(--muted); font-size: 12px; }
.metric-tab strong { font-size: 14px; }
.metric-tab:hover { background: var(--soft); }
.metric-tab[aria-pressed="true"] { background: #efe8df; color: #64271c; border-color: #dfd3c5; }
.metric-switch .note { margin-top: 6px; }
.data-chart { background: white; border: 1px solid var(--line); border-radius: 13px; padding: clamp(15px, 3vw, 32px); min-width: 0; }
.data-chart header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.data-chart h3 { font-size: clamp(18px, 2vw, 23px); }
#metric-unit, .axis { color: var(--muted); font-size: 12px; }
.bar-row + .bar-row { margin-top: 16px; }
.bar-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.bar-label span { font-size: 14px; font-weight: 620; }
.bar-label strong { font-size: clamp(25px, 2.8vw, 39px); white-space: nowrap; }
.bar-label .accent { color: var(--accent); }
.bar-track { height: clamp(9px, 1.1vw, 14px); background: var(--soft); border-radius: 3px; overflow: hidden; }
.bar { height: 100%; background: #8e7b6e; transition: width .23s ease; }
#gpt-bar { width: 95%; background: #d35032; }
#kimi-bar { width: 76.667%; }
.axis { display: flex; justify-content: space-between; margin-top: 6px; }
.data-chart figcaption { margin-top: 15px; padding-top: 10px; border-top: 1px solid var(--line); }

.buying { background: #f8f5f0; }
.plus-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px 17px; list-style: none; padding: 0; margin-bottom: 19px; }
.plus-tools li { border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 13px; }
.plus-tools strong { display: block; color: var(--ink); font-size: 16px; }
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1.6vw, 19px); }
.offer > div { min-width: 0; padding: clamp(9px, 1.9vw, 23px); border: 1px solid var(--line); border-radius: 13px; background: white; }
.offer .highlight { background: #f8efe6; border-color: #e9d6c8; }
.offer dt { font-weight: 730; font-size: clamp(13px, 1.6vw, 18px); }
.offer .monthly { margin-block: 8px; font-size: clamp(23px, 3.15vw, 46px); }
.offer .highlight .monthly { color: var(--accent-dark); }
.offer small { font-size: .36em; font-weight: 600; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.price-source { margin-top: 10px; }
.market-conclusion { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 31px; align-items: center; margin-top: clamp(25px, 4vw, 52px); padding: clamp(18px, 3vw, 37px); border: 1px solid #e9d6c8; background: #f8efe6; border-radius: 15px; }
.market-conclusion h3 { font-size: clamp(25px, 3.1vw, 40px); margin-top: 5px; }
.membership-value { font-size: clamp(14px, 1.4vw, 17px); color: var(--muted); }
.membership-value p + p { margin-top: 8px; }
.membership-value strong { color: var(--accent-dark); }
.pay-section { margin-top: clamp(32px, 5.1vw, 65px); }
.payment-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 15px 20px; margin-top: 17px; }
.payment-compare > div { padding: clamp(16px, 2.2vw, 26px); border: 1px solid var(--line); border-radius: 13px; background: white; }
.payment-compare > .payment-result { border-color: #e9d6c8; }
.payment-compare h4 { margin-bottom: 12px; font-size: clamp(19px, 1.8vw, 24px); }
.pay-options > div { display: grid; grid-template-columns: minmax(71px, .3fr) minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.pay-options dt { font-weight: 710; font-size: 14px; }
.pay-options dd { color: var(--muted); font-size: 14px; }
.pay-options dd p + p { margin-top: 7px; }
.payment-advantages { display: grid; gap: 8px; padding-left: 22px; }
.payment-advantages li { padding: 4px 0 7px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.payment-advantages li::marker, .first-order-steps li::marker { color: var(--accent-dark); font-weight: 740; }
.payment-advantages strong, .first-order-steps strong { display: block; color: var(--ink); font-size: 15px; }
.payment-result a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 3px; font-size: 14px; font-weight: 700; color: var(--accent-dark); text-decoration: underline; }
.payment-conclusion { margin-top: 17px; }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; gap: 11px 20px; margin-bottom: 21px; }
.flow li { border-top: 1px solid var(--line); padding-top: 9px; }
.flow small { display: block; color: var(--accent-dark); font-size: 12px; font-weight: 750; }
.flow h3 { margin: 3px 0; font-size: clamp(14px, 1.85vw, 21px); }
.screens { max-width: min(100%, 700px); }
.screens img { width: 100%; border-radius: 13px; border: 1px solid var(--line); background: white; }
.screens figcaption { margin-top: 6px; }

.order { background: #f8f5f0; }
.price-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 9px; }
.price-overview > div { border: 1px solid var(--line); border-radius: 13px; background: white; padding: clamp(11px, 2vw, 25px); }
.price-overview > .reference { background: #f8efe6; border-color: #e9d6c8; }
.price-overview dt { font-weight: 710; font-size: 14px; }
.price-overview .number { margin-block: 5px 4px; font-size: clamp(27px, 4vw, 48px); white-space: nowrap; }
.price-overview .reference .number { color: var(--accent-dark); }
.pricing-note { margin-bottom: 12px; }
.pricing-note strong { color: var(--ink); }
.peer-pricing { margin-bottom: 15px; }
.peer-quotes { margin-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.peer-quotes img { width: 100%; height: clamp(70px, 12vw, 150px); object-fit: contain; }
.peer-quotes figcaption { color: var(--muted); margin-top: 5px; font-size: 13px; }
.order-body { display: grid; grid-template-columns: minmax(220px, .73fr) minmax(0, 1.27fr); gap: clamp(15px, 3vw, 38px); align-items: start; }
.controls { display: grid; gap: 10px; padding: clamp(15px, 2vw, 24px); border: 1px solid var(--line); border-radius: 13px; background: white; }
.control { display: grid; gap: 4px; font-size: 14px; font-weight: 680; }
.control :is(input, select) { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #c8bdb4; border-radius: 7px; padding: 7px 10px; font-size: 16px; font-weight: 500; background: white; }
.price-reset { justify-self: start; min-height: 44px; border: 0; background: none; color: var(--accent-dark); font-size: 13px; font-weight: 700; padding-inline: 0; }
.price-reset:hover { text-decoration: underline; }
.order-evidence { min-width: 0; }
.receipt { padding: clamp(17px, 2.8vw, 32px); border: 1px solid #e9d6c8; border-radius: 13px; background: white; }
.equation { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: clamp(4px, 1.6vw, 20px); align-items: end; }
.term { container-type: inline-size; }
.term dt { font-size: clamp(11px, 1.3vw, 15px); font-weight: 650; margin-bottom: 6px; color: var(--muted); }
.term dd { font-size: min(clamp(22px, 4.3vw, 56px), calc(155cqw / var(--characters, 4))); white-space: nowrap; }
.term output { display: block; }
.term.result dd, .term.result dt { color: var(--accent-dark); }
.operator { font-size: clamp(14px, 2.3vw, 29px); color: #877261; }
.receipt figcaption { margin-top: 15px; padding-top: 9px; border-top: 1px dashed var(--line); }
.market-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.market-prices > div { display: flex; align-items: baseline; justify-content: space-between; gap: 3px 8px; flex-wrap: wrap; margin-top: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.market-prices dt { color: var(--muted); font-size: 13px; }
.market-prices dd { font-size: clamp(17px, 2vw, 25px); white-space: nowrap; }
.order-comparison { margin-top: 8px; }

.join { background: var(--paper); }
.join-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.main-tier, .next-tier { border: 1px solid var(--line); border-radius: 13px; padding: clamp(16px, 2.6vw, 30px); background: white; }
.main-tier { border-color: #e9d6c8; background: #f8efe6; }
.join-layout h3 { font-size: clamp(19px, 2.05vw, 26px); }
.join-layout .fee { margin-block: 7px 8px; font-size: clamp(43px, 6.5vw, 76px); }
.join-layout .fee small { color: var(--muted); font-size: .25em; letter-spacing: 0; white-space: nowrap; }
.main-tier .fee { color: var(--accent-dark); }
.fee-example { margin-block: 12px 9px; padding: 10px 13px; border: 1px solid #e9d6c8; border-inline-start: 3px solid var(--accent); border-radius: 8px; background: #fffaf5; }
.fee-example-context { font-size: 14px; font-weight: 700; }
.fee-example-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-bottom: 4px; font-size: 14px; }
.fee-example-result strong { color: var(--accent-dark); font-size: clamp(23px, 3vw, 34px); white-space: nowrap; }
.fee-example .note { margin-top: 3px; }
.activation-note { display: flex; justify-content: space-between; align-items: baseline; gap: 5px 12px; padding: 12px 15px; margin-top: 14px; border: 1px solid #e9d6c8; border-radius: 8px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; }
.activation-note button[data-contact-support] { min-height: 44px; font-weight: 700; text-align: left; text-decoration: underline; }
.activation-note span { white-space: nowrap; }
.activation-note b { font-size: 16px; }
.rate-table { width: 100%; border-collapse: collapse; margin-top: 23px; text-align: left; font-variant-numeric: tabular-nums; }
.rate-table caption { text-align: left; padding-bottom: 8px; font-weight: 720; }
.rate-table th, .rate-table td { border-bottom: 1px solid var(--line); padding: 8px 5px; font-size: clamp(11px, 1.32vw, 15px); }
.rate-table thead th { color: var(--muted); font-weight: 640; }
.rate-table tbody th { font-weight: 650; }
.rate-table .ordinary-rate { color: var(--accent-dark); }
.agent-shop { margin-top: clamp(24px, 4vw, 52px); background: white; border: 1px solid var(--line); border-radius: 13px; padding: clamp(17px, 2.7vw, 29px); }
.agent-shop h3 { font-size: clamp(22px, 2.6vw, 33px); }
.first-order-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; margin-top: 12px; padding-left: 21px; }
.first-order-steps li { padding-right: 6px; }
.first-order-steps strong { margin-bottom: 3px; }

.source-dialog { width: min(1120px, calc(100% - 30px)); max-height: 90svh; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); }
.source-dialog::backdrop { background: #26201bc2; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 13px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 16px; }
.dialog-head button { min-height: 44px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.dialog-scan { overflow: auto; max-height: calc(90svh - 99px); }
.dialog-scan img { max-width: none; width: 100%; min-width: 420px; }
.dialog-scan.is-wide img { min-width: 1030px; }
#source-tip { padding: 6px 13px; }

@media (max-width: 790px) {
  .store-intro, .agent-section-head, .benchmark-layout, .market-conclusion, .payment-compare, .order-body { grid-template-columns: 1fr; }
  .store-intro { gap: 16px; }
  .intro-feature { max-width: 530px; }
  .compare-metrics { grid-template-columns: 1fr; }
  .compare-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
  .compare-metrics > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .benchmark-conclusion dt { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .agent-sections { justify-content: space-between; column-gap: 8px; }
  .agent-sections a { font-size: 12px; }
  .flow { gap: 6px; }
  .flow .note { font-size: 12px; }
  .first-order-steps { grid-template-columns: 1fr; }
  .offer small { display: block; margin-top: 3px; }
  .offer .note { font-size: 11px; }
  .price-overview .note { font-size: 12px; }
  .join-layout { grid-template-columns: 1fr; }
  .join-layout .fee { font-size: clamp(38px, 10vw, 48px); }
  .activation-note { align-items: flex-start; flex-direction: column; }
  .dialog-scan img { min-width: 350px; }
}
@media (max-width: 350px) {
  .price-overview { gap: 7px; }
  .price-overview .number { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.agent-page) { scroll-behavior: auto; }
  .bar { transition: none; }
}
