
:root {
  --paper: #f3efe5;
  --paper-light: #fbfaf6;
  --ink: #151815;
  --muted: #62675f;
  --line: rgba(21, 24, 21, .15);
  --earth: #b44d2d;
  --earth-dark: #75311f;
  --leaf: #315f4d;
  --sun: #e9b744;
  --night: #172923;
  --max: 1200px;
  --shadow: 0 28px 60px -42px rgba(42, 33, 23, .48), 0 12px 24px -20px rgba(0, 0, 0, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; }
::selection { color: #fff; background: var(--earth); }
.skip-link { position: fixed; top: 8px; right: 8px; z-index: 30; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }

.site-header, main, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 25; width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-inline: clamp(22px,5vw,72px); background: rgba(243, 239, 229, .9); border: 0; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 12px 30px -28px rgba(21,24,21,.8); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark > span:last-child { display: grid; gap: 2px; }
.wordmark b { font-size: 15px; font-weight: 800; }
.wordmark small { color: var(--muted); font: 9px/1 ui-monospace, Consolas, monospace; letter-spacing: .15em; }
.wordmark-mark { width: 27px; height: 27px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2px; transform: rotate(180deg); }
.wordmark-mark i { display: block; background: var(--ink); }
.wordmark-mark i:nth-child(1) { height: 9px; }.wordmark-mark i:nth-child(2) { height: 18px; }.wordmark-mark i:nth-child(3) { height: 26px; }
nav { display: flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 600; }
nav a { text-decoration: none; transition: color .2s ease; }
nav a:hover { color: var(--earth); }
.nav-cta { padding: 11px 16px; color: #fff; background: var(--ink); }
nav .nav-cta:hover { color: #fff; background: var(--earth); }
[hidden] { display: none !important; }

.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); align-items: center; gap: clamp(50px, 8vw, 120px); padding: clamp(76px, 10vw, 132px) 0; }
.hero-copy { max-width: 620px; }
.eyebrow, .kicker { margin: 0 0 24px; color: var(--earth); font: 700 11px/1.8 "Vazirmatn", Tahoma, sans-serif; letter-spacing: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--earth); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: "Vazirmatn", Tahoma, sans-serif; font-size: clamp(66px, 8.4vw, 120px); font-weight: 850; line-height: .92; letter-spacing: -.065em; }
h1 em { color: var(--earth); font-style: italic; }
.slogan { margin: 28px 0 0; font-size: clamp(21px, 2.2vw, 31px); font-weight: 750; }
.intro { max-width: 55ch; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; border: 0; border-radius: 2px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button-primary { color: #fff; background: var(--earth); box-shadow: var(--shadow); }
.button-primary:hover { background: var(--earth-dark); transform: translateY(-2px); }
.text-link { padding: 12px 0; font-size: 13px; text-underline-offset: 5px; }

.model-map { position: relative; min-height: 480px; overflow: hidden; color: #f4efe4; background: var(--night); box-shadow: var(--shadow); }
.model-map::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 42px 42px; }
.model-map::after { content: ""; position: absolute; left: -15%; bottom: -40%; width: 130%; height: 70%; border-radius: 50% 50% 0 0; background: #244637; }
.map-head, .map-foot { position: absolute; z-index: 3; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.58); font: 9px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.map-head { top: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.15); direction: ltr; }
.map-head i { color: #f0cf76; font-style: normal; }
.map-foot { bottom: 20px; direction: rtl; }
.map-core { position: absolute; z-index: 4; top: 50%; left: 50%; width: 156px; height: 156px; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: var(--earth); box-shadow: 0 0 0 12px rgba(180,77,45,.16), 0 22px 50px rgba(0,0,0,.25); transform: translate(-50%, -50%); }
.map-core span, .map-core small { font-size: 10px; }.map-core strong { font: italic 54px/.95 Georgia, serif; }.map-core small { margin-top: 8px; opacity: .7; }
.route { position: absolute; z-index: 3; min-width: 120px; display: grid; gap: 3px; }
.route b { font-size: 13px; direction: ltr; text-align: left; }.route span { color: rgba(255,255,255,.55); font-size: 10px; }.route i { position: absolute; height: 1px; background: rgba(240,207,118,.6); transform-origin: right; }
.route-one { top: 105px; left: 32px; }.route-one i { top: 36px; right: -95px; width: 105px; transform: rotate(20deg); }
.route-two { top: 106px; right: 16px; }.route-two i { top: 38px; left: -86px; width: 98px; transform: rotate(-22deg); }
.route-three { bottom: 106px; left: 32px; }.route-three i { top: 0; right: -92px; width: 102px; transform: rotate(-18deg); }
.route-four { bottom: 104px; right: 16px; }.route-four i { top: 0; left: -82px; width: 94px; transform: rotate(20deg); }

.promise-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promise-strip p { min-height: 132px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 18px; margin: 0; padding: 24px 7%; border-left: 1px solid var(--line); }
.promise-strip p:last-child { border-left: 0; }.promise-strip span { grid-row: 1 / 3; color: var(--earth); font: 11px ui-monospace, monospace; }.promise-strip strong { font-size: 15px; }.promise-strip small { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.section { padding: clamp(90px, 12vw, 150px) 0; border-bottom: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(60px, 10vw, 150px); }
.section-heading h2, .calculator-intro h2, .closing h2 { margin: 0; font-size: clamp(34px, 4.5vw, 58px); font-weight: 750; line-height: 1.45; letter-spacing: -.035em; }
.about-copy { padding-top: 44px; }.about-copy p, .calculator-intro > p { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 2.05; }
.about-why-link { width: fit-content; margin-top: 8px; }

.tooling { padding-top: clamp(80px, 10vw, 125px); }
.tooling-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; margin-top: 64px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.tool-card { min-height: 250px; display: flex; flex-direction: column; padding: 26px 24px 22px; border-left: 1px solid var(--line); }
.tool-card:last-child { border-left: 0; }
.tool-card.featured { color: #f7f2e8; background: var(--night); border-color: var(--night); }
.tool-card > span { color: var(--earth); font: 10px ui-monospace, Consolas, monospace; }
.tool-card.featured > span { color: #f0cf76; }
.tool-card h3 { margin: 42px 0 12px; direction: ltr; font-size: 24px; font-weight: 750; text-align: right; }
.tool-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.tool-card.featured p { color: rgba(255,255,255,.62); }
.tool-card small { margin-top: auto; padding-top: 28px; color: var(--muted); font: 9px ui-monospace, Consolas, monospace; letter-spacing: .08em; direction: ltr; text-align: left; }
.tool-card.featured small { color: rgba(255,255,255,.4); }
.more-models { display: flex; align-items: center; gap: 14px; margin: 30px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.more-models span { flex: 0 0 auto; padding: 5px 9px; color: var(--earth); border: 1px solid rgba(180,77,45,.35); }
.more-models strong { flex: 0 0 auto; color: var(--ink); }

.calculator-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.calculator-intro h2 { margin-bottom: 24px; }
.pending-note { display: flex; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.9; }.pending-note i { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(233,183,68,.18); }.pending-note b { display: block; color: var(--ink); }
.calculator-card { padding: clamp(26px, 4vw, 48px); background: var(--paper-light); border: 1px solid rgba(21,24,21,.1); box-shadow: var(--shadow); }
.calculator-field { margin: 0 0 40px; padding: 0; border: 0; }.calculator-field > label, .calculator-field legend { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.credit-field-help { margin: -6px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.9; }.package-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.package-options label { display: grid; cursor: pointer; }.package-options input { position: absolute; opacity: 0; }.package-options span { box-sizing: border-box; min-height: 94px; height: 100%; display: grid; align-content: center; gap: 5px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-light); }.package-options input:checked + span { border-color: var(--earth); box-shadow: 0 0 0 2px rgba(0,184,250,.12); }.package-options small { color: var(--muted); }[data-custom-package-fields][hidden] { display: none; }@media(max-width:760px){.package-options { grid-template-columns: 1fr 1fr; }}@media(max-width:520px){.package-options { grid-template-columns: 1fr; }}
.amount-input { display: flex; align-items: center; border-bottom: 2px solid var(--ink); }.amount-input span { color: var(--earth); font: 38px Georgia, serif; }.amount-input input { min-width: 0; width: 100%; padding: 8px 12px; border: 0; outline: 0; color: var(--ink); background: transparent; font: 52px/1 Georgia, serif; font-variant-numeric: tabular-nums; }
.range-track { position: relative; margin-top: 12px; padding-bottom: 8px; direction: ltr; }
.range { width: 100%; height: 3px; margin: 0; accent-color: var(--earth); cursor: pointer; }.range-track .range { position: relative; z-index: 4; }.range-labels { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font: 10px ui-monospace, monospace; direction: ltr; }
.quota-markers { position: absolute; top: 8.5px; right: 8px; left: 8px; z-index: 2; height: 24px; pointer-events: none; }
.quota-marker { position: absolute; top: 0; z-index: auto; width: 24px; height: 24px; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: help; pointer-events: auto; transform: translateX(-50%); }
.quota-marker-weekly { left: 10.833%; }.quota-marker-monthly { left: 62.5%; }
.quota-marker-dot { width: 10px; height: 10px; display: block; margin: 0 auto; border: 2px solid var(--night); border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(246,200,95,.14); transform: translateY(-50%); }
.quota-marker-monthly .quota-marker-dot { background: var(--leaf); box-shadow: 0 0 0 4px rgba(55,237,133,.13); }
.quota-marker-tip { position: absolute; bottom: calc(100% + 12px); left: 50%; width: max-content; max-width: min(230px,70vw); padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface-strong); box-shadow: 0 14px 35px rgba(0,0,0,.3); font: 600 11px/1.7 "Vazirmatn",Tahoma,sans-serif; direction: rtl; opacity: 0; visibility: hidden; transform: translate(-50%,8px) scale(.94) rotate(-1deg); transform-origin: bottom center; transition: opacity .2s ease, transform .35s cubic-bezier(.22,1,.36,1), visibility .2s; }
.quota-marker-tip b { color: var(--sun); }.quota-marker-monthly .quota-marker-tip b { color: var(--leaf); }.quota-marker-tip small { display: block; color: var(--muted); }
.quota-marker:hover .quota-marker-tip,.quota-marker:focus-visible .quota-marker-tip,.quota-marker.is-proximate .quota-marker-tip { opacity: 1; visibility: visible; transform: translate(-50%,0) scale(1) rotate(0); }
.range-extra { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 11px; }.range-extra button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--earth); background: var(--paper-light); font-weight: 800; cursor: pointer; }
.duration-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.duration-options label { cursor: pointer; }.duration-options input { position: absolute; opacity: 0; }.duration-options span { min-height: 82px; display: grid; align-content: center; gap: 7px; padding: 14px 18px; border: 1px solid var(--line); transition: border .2s, background .2s; }.duration-options input:checked + span { border-color: var(--earth); background: rgba(180,77,45,.06); box-shadow: inset 0 -3px var(--earth); }.duration-options input:focus-visible + span { outline: 2px solid var(--earth); outline-offset: 3px; }.duration-options b { font-size: 14px; }.duration-options small { color: var(--muted); font-size: 10px; }
.estimate { margin: 8px 0 24px; padding: 6px 22px; color: #fff; background: var(--night); }.estimate div { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }.estimate div:last-child { border: 0; }.estimate span { color: rgba(255,255,255,.62); font-size: 11px; }.estimate strong { font-size: 13px; font-variant-numeric: tabular-nums; }.estimate .pending-price { color: #f0cf76; font-weight: 400; }
.button-disabled { width: 100%; color: #777b74; background: #e5e2d9; cursor: not-allowed; }

.steps .compact { display: flex; justify-content: space-between; align-items: end; gap: 30px; }.steps .compact .kicker { flex: 0 0 auto; }.steps .compact h2 { max-width: 650px; }

.steps ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 70px 0 0; padding: 0; border-top: 1px solid var(--ink); }.steps li { display: flex; gap: 22px; padding: 30px 26px 10px 0; border-left: 1px solid var(--line); }.steps li:last-child { border-left: 0; }.steps li > span { color: var(--earth); font: 12px ui-monospace, monospace; }.steps h3 { margin: 0 0 14px; font-size: 15px; }.steps li p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.closing { margin-top: 0; padding: clamp(70px, 10vw, 120px) clamp(30px, 8vw, 110px); color: #f7f2e8; background: var(--night); }.closing .kicker { color: #f0cf76; }.closing h2 { max-width: 780px; }.closing > p:not(.kicker) { max-width: 620px; margin: 24px 0 40px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 2; }.status { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; }.status i { width: 8px; height: 8px; border-radius: 50%; background: #f0cf76; box-shadow: 0 0 0 5px rgba(240,207,118,.13); }
footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: 10px; }footer > p:nth-child(2) { text-align: center; }footer > p:last-child { text-align: right; }.footer-mark { color: var(--ink); }

@media (max-width: 900px) {
  .site-header, main, footer { width: min(calc(100% - 32px), var(--max)); }
  nav > a:not(.nav-cta):not(.nav-login) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }.hero-copy { max-width: 680px; }.model-map { min-height: 430px; }
  .about, .calculator-section { grid-template-columns: 1fr; }.calculator-intro { position: static; max-width: 650px; }
  .tooling-grid { grid-template-columns: 1fr 1fr; }.tool-card:nth-child(2) { border-left: 0; }.tool-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .site-header { width: 100%; min-height: 68px; padding-inline: 16px; border-inline: 0; }.nav-cta { padding: 10px 12px; font-size: 10px; }.wordmark small { display: none; }
  .hero { gap: 58px; padding: 68px 0 80px; }h1 { font-size: clamp(64px, 20vw, 92px); }.intro { font-size: 14px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .model-map { min-height: 410px; }.route { min-width: 90px; }.route b { font-size: 11px; }.map-core { width: 130px; height: 130px; }.map-core strong { font-size: 45px; }.route-one,.route-three { left: 18px; }.route-two,.route-four { right: 8px; }.route-one i,.route-three i { right: -55px; width: 64px; }.route-two i,.route-four i { left: -48px; width: 58px; }
  .promise-strip { grid-template-columns: 1fr; }.promise-strip p { min-height: 100px; border-left: 0; border-bottom: 1px solid var(--line); }.promise-strip p:last-child { border-bottom: 0; }
  .section { padding: 80px 0; }.about-copy { padding-top: 0; }.calculator-card { padding: 25px 18px; }.duration-options { grid-template-columns: 1fr; }.estimate { padding-inline: 16px; }.estimate div { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }.range-track { padding-bottom: 8px; }.quota-marker-weekly .quota-marker-tip { left: -8px; transform: translate(0,8px) scale(.94); }.quota-marker-weekly:hover .quota-marker-tip,.quota-marker-weekly:focus-visible .quota-marker-tip,.quota-marker-weekly.is-proximate .quota-marker-tip { transform: translate(0,0) scale(1); }
  .tooling-grid { grid-template-columns: 1fr; margin-top: 42px; }.tool-card { min-height: 210px; border-left: 0; border-bottom: 1px solid var(--line); }.tool-card:nth-child(3) { border-bottom: 1px solid var(--line); }.more-models { align-items: flex-start; flex-wrap: wrap; }.more-models strong { flex-basis: calc(100% - 60px); }
  .steps .compact { display: block; }.steps ol { grid-template-columns: 1fr; margin-top: 45px; }.steps li { min-height: 116px; border-left: 0; border-bottom: 1px solid var(--line); }.steps li:last-child { border: 0; }
  .closing { margin-inline: -16px; }.closing h2 { font-size: 35px; }
  footer { min-height: 200px; grid-template-columns: 1fr 1fr; }.footer-mark { display: none; }footer > p:nth-child(2) { text-align: right; }footer > p:last-child { text-align: left; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: appear .7s ease-out both; }.hero-copy h1 { animation-delay: .06s; }.hero-copy .slogan { animation-delay: .12s; }.hero-copy .intro,.hero-copy .hero-actions { animation-delay: .18s; }.model-map { animation: appear .9s .15s ease-out both; }.map-core { animation: pulse 4s ease-in-out infinite; }
}
@keyframes appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 12px rgba(180,77,45,.16), 0 22px 50px rgba(0,0,0,.25); } 50% { box-shadow: 0 0 0 20px rgba(180,77,45,.06), 0 22px 50px rgba(0,0,0,.25); } }

/* AIZamin 2026 light design system */
:root {
  color-scheme: light;
  --paper: #f4f8fb;
  --paper-light: #ffffff;
  --ink: #102735;
  --muted: #526b79;
  --line: #c8dbe5;
  --earth: #006f96;
  --earth-dark: #005b7b;
  --leaf: #147845;
  --sun: #8a5a00;
  --night: #ffffff;
  --surface-strong: #e1f0f6;
  --button-text: #ffffff;
  --brand-backdrop: #eaf7ff;
  --max: 1280px;
  --shadow: 0 24px 70px rgba(16, 39, 53, .10);
}
html, body { background: var(--paper); }
body { line-height: 1.8; }
.grain { display: none; }
.skip-link { border-radius: 10px; background: var(--earth); color: var(--button-text); font-weight: 700; }
.site-header, main, footer { width: min(calc(100% - 64px), var(--max)); }
.site-header {
  width: 100%;
  min-height: 72px;
  padding-inline: clamp(22px,5vw,72px);
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: none;
}
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.wordmark > span:not(.wordmark-mark) { display: none; }
.wordmark-mark { display: none; }
nav { gap: 28px; font-size: 14px; font-weight: 500; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover, nav a:focus-visible { color: var(--earth); }
.nav-cta, .button, .auth-button { border-radius: 12px; }
.nav-cta { padding-inline: 18px; color: var(--button-text); background: var(--earth); font-weight: 700; }
nav .nav-cta:hover { color: var(--button-text); background: var(--earth-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--earth); outline-offset: 4px; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 68px);
  grid-template-columns: minmax(0, 1fr) minmax(380px, .86fr);
  gap: clamp(48px, 8vw, 112px);
  padding-block: clamp(64px, 9vw, 112px);
}
.hero > :not(.hero-digital-layer) { position: relative; z-index: 1; }
.hero-digital-layer { position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; overflow: hidden; pointer-events: none; opacity: .85; color: rgba(0,92,125,.62); font: 600 11px/1.5 ui-monospace, Consolas, monospace; direction: ltr; transform: translateX(-50%); mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%); }
.hero-digital-layer::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,111,150,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(0,111,150,.10) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.hero-digital-layer::after { content: ""; position: absolute; top: -15%; left: 0; width: 100%; height: 22%; background: linear-gradient(180deg, transparent, rgba(15,132,91,.30), transparent); filter: blur(10px); animation: hero-scan 7s ease-in-out infinite; }
.hero-digital-layer .binary-stream { position: absolute; left: 0; white-space: nowrap; opacity: 0; animation: binary-drift 18s linear infinite; }
.hero-digital-layer .binary-stream:nth-child(1) { top: 13%; animation-duration: 21s; animation-delay: 0s; }
.hero-digital-layer .binary-stream:nth-child(2) { top: 29%; animation-duration: 17s; animation-delay: 2.2s; }
.hero-digital-layer .binary-stream:nth-child(3) { top: 47%; animation-duration: 24s; animation-delay: 4.1s; }
.hero-digital-layer .binary-stream:nth-child(4) { top: 64%; animation-duration: 19s; animation-delay: 1.3s; }
.hero-digital-layer .binary-stream:nth-child(5) { top: 78%; animation-duration: 22s; animation-delay: 5.6s; }
.hero-digital-layer .binary-stream:nth-child(6) { top: 90%; animation-duration: 16s; animation-delay: 3.5s; }
.hero-copy { max-width: 680px; }
.eyebrow, .kicker { margin-bottom: 20px; color: var(--earth); font-size: 13px; font-weight: 600; }
.eyebrow span { background: var(--earth); }
h1 { font-size: clamp(48px, 5.5vw, 68px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
h1 em { color: inherit; font-style: normal; }
.slogan { margin-top: 20px; color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }
.intro { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { gap: 16px; margin-top: 32px; }
.button { min-height: 48px; padding-inline: 22px; }
.button-primary { color: var(--button-text); background: var(--earth); box-shadow: none; }
.button-primary:hover { color: var(--button-text); background: var(--earth-dark); transform: translateY(-1px); }
.button-secondary { color: var(--ink); background: var(--paper-light); border: 1px solid var(--line); }
.button-secondary:hover { border-color: var(--earth); transform: translateY(-1px); }
.text-link { color: var(--earth); }

.model-map {
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(0, 184, 250, .24);
  border-radius: 40% 60% 44% 56% / 58% 42% 58% 42%;
  background: var(--brand-backdrop);
  box-shadow: 0 28px 80px rgba(0, 184, 250, .12);
  isolation: isolate;
}
.model-map::before {
  inset: 0;
  border-radius: inherit;
  opacity: .75;
  background: radial-gradient(circle at 26% 22%, rgba(0,184,250,.24), transparent 36%), radial-gradient(circle at 78% 76%, rgba(55,237,133,.22), transparent 38%);
  filter: none;
}
.model-map::after {
  z-index: 1;
  inset: 8%;
  width: auto;
  height: auto;
  border: 1px solid rgba(1,27,48,.12);
  border-radius: inherit;
  background: transparent;
  transform: none;
}
.hero-brand-symbol { position: relative; z-index: 3; width: min(92%, 490px); height: auto; object-fit: contain; }
.hero-agent-cloud { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 50%; pointer-events: none; --agent-travel: 50vw; }
.hero-agent { position: absolute; left: 0; width: clamp(42px, 4vw, 58px); aspect-ratio: 1; display: grid; place-items: center; padding: 6px; border: 1px solid rgba(255,255,255,.64); border-radius: 16px; opacity: 0; background: rgba(255,255,255,.58); box-shadow: 0 14px 34px rgba(8,49,68,.18); filter: saturate(.82); }
.hero-agent img { width: 100%; height: 100%; border-radius: 11px; object-fit: cover; object-position: center; }
.hero-agent:nth-child(1) { top: 11%; --agent-duration: 23s; --agent-delay: -7s; }
.hero-agent:nth-child(2) { top: 28%; --agent-duration: 19s; --agent-delay: -14s; }
.hero-agent:nth-child(3) { top: 46%; --agent-duration: 26s; --agent-delay: -3s; }
.hero-agent:nth-child(4) { top: 63%; --agent-duration: 21s; --agent-delay: -17s; }
.map-head, .map-foot, .map-core, .route { display: none; }

.promise-strip { border-color: var(--line); }
.promise-strip p { min-height: 124px; border-color: var(--line); }
.promise-strip span { color: var(--earth); }
.promise-strip strong { font-size: 17px; }
.promise-strip small { color: var(--muted); font-size: 13px; }
.section { scroll-margin-top: 88px; border-color: var(--line); }
.about { border-bottom: 0; }
.benefits { border-top: 0; border-bottom: 0; }
.faq { border-bottom: 0; }
.section-heading h2, .calculator-intro h2, .closing h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 650; line-height: 1.45; }
.about-copy p, .calculator-intro > p { font-size: 17px; line-height: 1.95; }
.benefits .section-heading, .value .section-heading { max-width: 900px; }
.benefits .section-heading > p:last-child, .value .section-heading > p:last-child, .tooling .section-heading > p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.95; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.benefit-grid article, .value-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--night); }
.benefit-grid span { color: var(--earth); font: 700 11px/1.6 ui-monospace,Consolas,monospace; direction: ltr; }
.benefit-grid h3, .value-grid h3 { margin: 20px 0 10px; font-size: 19px; }
.benefit-grid p, .value-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 52px; }
.developer-callout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); align-items: center; gap: clamp(36px,6vw,80px); margin-top: 52px; padding: clamp(32px,5vw,58px); border: 1px solid rgba(0,184,250,.38); border-radius: 18px; background: linear-gradient(135deg,rgba(0,184,250,.12),rgba(55,237,133,.04)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.developer-callout strong { display: block; color: var(--ink); font-size: clamp(28px,3.3vw,44px); line-height: 1.4; }
.developer-callout p { max-width: none; margin: 16px 0 0; color: var(--muted); font-size: 19px; line-height: 1.9; }
.developer-tools { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; }
.developer-tools li { min-height: 70px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.82); color: var(--ink); font-size: 15px; font-weight: 700; }
.developer-tools span { color: var(--earth); font: 700 10px/1 ui-monospace,Consolas,monospace; }

.tooling-grid { border-top-color: var(--line); border-bottom-color: var(--line); }
.tool-card { min-height: 270px; padding: 28px; border-color: var(--line); background: var(--night); }
.tool-card.featured { color: var(--ink); background: var(--surface-strong); border-color: var(--earth); }
.tool-card > span, .tool-card.featured > span { color: var(--earth); }
.tool-card h3 { margin-top: 34px; font-size: 23px; }
.tool-card p, .tool-card.featured p { color: var(--muted); font-size: 14px; }
.tool-card small, .tool-card.featured small { color: #708693; }
.more-models span { color: var(--earth); border-color: rgba(0,184,250,.35); border-radius: 999px; }
.more-models strong { color: var(--ink); }

.calculator-card { border-color: var(--line); border-radius: 16px; background: var(--night); box-shadow: var(--shadow); }
.pending-note { border-color: var(--line); }.pending-note i { background: var(--sun); }
.amount-input { border-color: var(--line); }.amount-input span { color: var(--earth); }
.amount-input input { color: var(--ink); }
.range { accent-color: var(--earth); }
.duration-options span { min-height: 84px; border-color: var(--line); border-radius: 12px; background: var(--paper-light); }
.duration-options input:checked + span { border-color: var(--earth); background: rgba(0,184,250,.08); box-shadow: inset 0 -3px var(--earth); }
.estimate { border-radius: 12px; background: var(--surface-strong); }
.estimate div { border-color: var(--line); }.estimate .pending-price { color: var(--sun); }
.steps ol { border-color: var(--line); }.steps li { border-color: var(--line); }.steps li > span { color: var(--earth); }

.faq-list { width: 100%; max-width: none; margin: 56px 0 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--earth); font-size: 28px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: none; margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.faq-list details[open] .faq-api-answer { display: block; white-space: nowrap; }
.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(36px, 7vw, 96px); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: linear-gradient(135deg,#eaf7fb,#f8fcfd); }
.closing .kicker { color: var(--earth); }.closing-copy > p:not(.kicker) { max-width: 620px; margin: 24px 0 40px; color: var(--muted); font-size: 16px; line-height: 2; }
.closing-enamad { display: grid; place-items: center; min-width: 132px; min-height: 148px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.closing-enamad img { display: block; width: 100px; height: auto; cursor: pointer; }
.status i { background: var(--leaf); box-shadow: 0 0 0 5px rgba(55,237,133,.12); }
footer { min-height: 190px; border-top: 0; }
.footer-brand-logo { width: 150px; height: auto; }
.footer-license-link { color: var(--ink); text-underline-offset: 4px; }
.support-fab { z-index: 50; }
.support-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Small, state-based transitions keep the page feeling responsive without adding a runtime dependency. */
@media (prefers-reduced-motion: no-preference) {

  [data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
  [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
  [data-reveal-group].is-visible > *:nth-child(2) { transition-delay: .08s; }
  [data-reveal-group].is-visible > *:nth-child(3) { transition-delay: .16s; }
  [data-reveal-group].is-visible > *:nth-child(4) { transition-delay: .24s; }
  .promise-strip p, .tool-card, .steps li { transition: background-color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.22,1,.36,1); }
  .promise-strip p:hover { background: rgba(0,184,250,.04); transform: translateY(-3px); }
  .tool-card:hover { border-color: rgba(0,184,250,.5); transform: translateY(-6px); }
  .tool-card.featured:hover { border-color: var(--leaf); }
  .steps li:hover { background: rgba(0,184,250,.035); transform: translateX(-5px); }
  .button, .nav-cta { transition: transform .25s cubic-bezier(.22,1,.36,1), background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
  .button:active, .nav-cta:active { transform: translateY(1px) scale(.98); }
  .hero-brand-symbol { transition: transform .7s cubic-bezier(.22,1,.36,1); will-change: transform; }
  .hero-agent { animation: hero-agent-drift var(--agent-duration) linear var(--agent-delay) infinite; will-change: transform; }
  .faq-list details p { display: grid; grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; transition: grid-template-rows .4s cubic-bezier(.22,1,.36,1), opacity .25s ease, margin-bottom .4s ease; }
  .faq-list details p::before { content: ""; min-height: 0; }
  .faq-list details[open] p { grid-template-rows: 1fr; opacity: 1; margin-bottom: 24px; }
  .faq-list details p { overflow: hidden; }
}
@keyframes hero-agent-drift { 0% { opacity: 0; transform: translateX(-100%) scale(.88); } 12% { opacity: .46; } 82% { opacity: .46; } 100% { opacity: 0; transform: translateX(var(--agent-travel)) scale(1); } }
@keyframes binary-drift { 0% { opacity: 0; transform: translateX(-100%); } 10% { opacity: .8; } 84% { opacity: .8; } 100% { opacity: 0; transform: translateX(100vw); } }
@keyframes hero-scan { 0%, 100% { transform: translateY(0); opacity: 0; } 18% { opacity: .8; } 72% { opacity: .8; } 100% { transform: translateY(520%); opacity: 0; } }

@media (max-width: 900px) {
  nav > a:not(.nav-cta):not(.nav-login) { display: none; }
  .brand-logo { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
  .hero { grid-template-columns: 1fr; }
  .hero-agent-cloud { top: 48%; width: 100%; --agent-travel: 100vw; }
  .model-map { min-height: 400px; }
  .promise-strip { grid-template-columns: 1fr 1fr; }
  .promise-strip p:nth-child(2) { border-left: 0; }
  .promise-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-left: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .developer-callout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { width: 100%; padding-inline: 16px; }
  .hero { padding-block: 56px 72px; }
  h1 { font-size: clamp(38px, 11vw, 48px); }
  .intro { font-size: 17px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .model-map { min-height: 330px; }
  .promise-strip p { min-height: 96px; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise-strip p { border-left: 0; border-bottom: 1px solid var(--line); }
  .promise-strip p:last-child { border-bottom: 0; }
  .benefit-grid, .value-grid { grid-template-columns: 1fr; }
  .developer-callout p { font-size: 17px; }
  .developer-tools { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
  .closing-enamad { width: fit-content; }
  .faq-list details[open] .faq-api-answer { white-space: normal; }
  .closing { margin-inline: 0; padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

/* Audience-first plan selector */
.calculator-section.plans-section { display: block; }
.plans-intro { max-width: 860px; }
.plan-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #eaf2f6; }
.plan-tabs button { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; border: 0; border-radius: 13px; color: var(--muted); background: transparent; cursor: pointer; }
.plan-tabs button[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 10px 28px rgba(16,39,53,.10); }
.plan-tabs svg { width: 26px; height: 26px; flex: 0 0 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-tabs span { display: grid; gap: 2px; text-align: right; }
.plan-tabs strong { font-size: 15px; }
.plan-tabs small { font-size: 11px; font-weight: 500; }
.plan-panel { margin-top: 22px; padding: clamp(22px,4vw,40px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.plan-panel[hidden] { display: none; }
.plan-panel-heading { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; padding: 24px 30px; border-radius: 18px; background: linear-gradient(120deg,#e7f6fb,#f4fbf7); }
.plan-panel-heading > div { max-width: 680px; }
.plan-panel-heading span { color: var(--earth); font-size: 12px; font-weight: 800; }
.plan-panel-heading h3 { margin: 4px 0 7px; font-size: clamp(25px,3vw,36px); }
.plan-panel-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.plan-scene { width: 220px; max-width: 28%; height: 120px; flex: 0 0 auto; fill: rgba(255,255,255,.54); stroke: var(--earth); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.plan-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(16,39,53,.055); }
.plan-card.plan-featured { border-color: #75b9d2; background: linear-gradient(180deg,#eefaff,#fff 42%); box-shadow: 0 18px 44px rgba(0,111,150,.12); }
.plan-popular { position: absolute; top: 0; left: 24px; padding: 6px 12px; border-radius: 0 0 10px 10px; color: #fff; background: var(--earth); font-size: 10px; font-weight: 800; }
.plan-card-top { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-emblem { width: 58px; height: 66px; display: grid; place-items: center; filter: drop-shadow(0 8px 10px rgba(16,39,53,.14)); }
.plan-emblem svg { width: 58px; height: 66px; overflow: visible; }
.plan-emblem path:first-child { stroke-width: 2; }
.plan-emblem path:last-child { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.plan-bronze .plan-emblem path:first-child { fill: #a96743; stroke: #754225; }
.plan-silver .plan-emblem path:first-child { fill: #788b9b; stroke: #4c5d6b; }
.plan-gold .plan-emblem path:first-child { fill: #c48a16; stroke: #8a5a00; }
.plan-level,.discount-badge { padding: 6px 10px; border-radius: 999px; color: var(--muted); background: #edf3f6; font-size: 10px; font-weight: 800; }
.discount-badge { color: #0d6237; background: #e2f5ea; }
.plan-card > h3 { margin: 18px 0 5px; font-size: 27px; }
.plan-fit { min-height: 54px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.plan-credit { display: grid; gap: 2px; margin: 20px 0; padding: 18px; border-radius: 14px; background: #f2f7fa; }
.plan-credit strong { color: var(--ink); font-size: 32px; line-height: 1.2; }
.plan-credit span { color: var(--muted); font-size: 11px; }
.plan-duration { margin: 0 0 20px; padding: 0; border: 0; }
.plan-duration legend { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }
.plan-duration > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #edf3f6; }
.plan-duration label { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); cursor: pointer; }
.plan-duration label:has(input:checked) { border-color: #75b9d2; color: var(--ink); background: #fff; box-shadow: 0 5px 14px rgba(16,39,53,.08); font-weight: 800; }
.plan-duration input { width: 18px; height: 18px; margin: 0; accent-color: var(--earth); cursor: pointer; }
.plan-card ul { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; color: #315466; font-size: 13px; line-height: 1.7; }
.plan-card li { position: relative; min-height: 44px; display: flex; align-items: center; padding: 10px 44px 10px 12px; border: 1px solid #d7e8df; border-radius: 10px; background: #f7fbf9; }
.plan-card li:first-child { border-color: #b8dfc8; color: var(--ink); background: #edf9f2; font-weight: 800; }
.plan-card li::before { content: "✓"; position: absolute; top: 50%; inset-inline-start: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--leaf); font-size: 13px; font-weight: 900; line-height: 1; transform: translateY(-50%); }
.plan-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-price strong { color: var(--ink); font-size: 14px; }
.plan-action { min-height: 48px; display: grid; place-items: center; margin-top: 16px; padding-inline: 15px; border: 1px solid var(--earth); border-radius: 12px; color: #fff; background: var(--earth); font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; }
.plan-action:hover { color: #fff; background: var(--earth-dark); }
.business-note { margin: 22px 0 0; padding: 16px 20px; border-inline-start: 4px solid var(--earth); border-radius: 10px; color: var(--muted); background: #f0f7fa; font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .plan-tabs button,.plan-card,.plan-action,.plan-duration label { transition: transform .25s cubic-bezier(.22,1,.36,1),border-color .25s ease,box-shadow .25s ease,background-color .25s ease; }
  .plan-card:hover { border-color: #75b9d2; box-shadow: 0 20px 46px rgba(16,39,53,.11); transform: translateY(-6px); }
  .plan-tabs button:hover { transform: translateY(-2px); }
  .plan-action:active { transform: scale(.98); }
  .plan-panel:not([hidden]) { animation: plan-panel-in .42s cubic-bezier(.22,1,.36,1) both; }
  .plan-panel:not([hidden]) .plan-card { animation: plan-card-in .48s cubic-bezier(.22,1,.36,1) both; }
  .plan-panel:not([hidden]) .plan-card:nth-child(2) { animation-delay: .06s; }
  .plan-panel:not([hidden]) .plan-card:nth-child(3) { animation-delay: .12s; }
}
@keyframes plan-panel-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes plan-card-in { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 900px) {
  .plan-tabs { grid-template-columns: 1fr; }
  .plan-tabs button { justify-content: flex-start; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-fit { min-height: 0; }
}
@media (max-width: 640px) {
  .plan-panel { padding: 14px; }
  .plan-panel-heading { min-height: 0; padding: 22px; }
  .plan-scene { display: none; }
  .plan-card { padding: 22px; }
}


/* Audience-first plan selector */
.calculator-section.plans-section { display: block; }
.plans-intro { max-width: 860px; }
.plan-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #eaf2f6; }
.plan-tabs button { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 18px; border: 0; border-radius: 13px; color: var(--muted); background: transparent; cursor: pointer; }
.plan-tabs button[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 10px 28px rgba(16,39,53,.10); }
.plan-tabs svg { width: 26px; height: 26px; flex: 0 0 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-tabs span { display: grid; gap: 2px; text-align: right; }
.plan-tabs strong { font-size: 15px; }
.plan-tabs small { font-size: 11px; font-weight: 500; }
.plan-panel { margin-top: 22px; padding: clamp(22px,4vw,40px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.plan-panel[hidden] { display: none; }
.plan-panel-heading { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 28px; padding: 24px 30px; border-radius: 18px; background: linear-gradient(120deg,#e7f6fb,#f4fbf7); }
.plan-panel-heading > div { max-width: 680px; }
.plan-panel-heading span { color: var(--earth); font-size: 12px; font-weight: 800; }
.plan-panel-heading h3 { margin: 4px 0 7px; font-size: clamp(25px,3vw,36px); }
.plan-panel-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.plan-scene { width: 220px; max-width: 28%; height: 120px; flex: 0 0 auto; fill: rgba(255,255,255,.54); stroke: var(--earth); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.plan-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(16,39,53,.055); }
.plan-card.plan-featured { border-color: #75b9d2; background: linear-gradient(180deg,#eefaff,#fff 42%); box-shadow: 0 18px 44px rgba(0,111,150,.12); }
.plan-popular { position: absolute; top: 0; left: 24px; padding: 6px 12px; border-radius: 0 0 10px 10px; color: #fff; background: var(--earth); font-size: 10px; font-weight: 800; }
.plan-card-top { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-emblem { width: 58px; height: 66px; display: grid; place-items: center; filter: drop-shadow(0 8px 10px rgba(16,39,53,.14)); }
.plan-emblem svg { width: 58px; height: 66px; overflow: visible; }
.plan-emblem path:first-child { stroke-width: 2; }
.plan-emblem path:last-child { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.plan-bronze .plan-emblem path:first-child { fill: #a96743; stroke: #754225; }
.plan-silver .plan-emblem path:first-child { fill: #788b9b; stroke: #4c5d6b; }
.plan-gold .plan-emblem path:first-child { fill: #c48a16; stroke: #8a5a00; }
.plan-level,.discount-badge { padding: 6px 10px; border-radius: 999px; color: var(--muted); background: #edf3f6; font-size: 10px; font-weight: 800; }
.discount-badge { color: #0d6237; background: #e2f5ea; }
.plan-card > h3 { margin: 18px 0 5px; font-size: 27px; }
.plan-fit { min-height: 54px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.plan-credit { display: grid; gap: 2px; margin: 20px 0; padding: 18px; border-radius: 14px; background: #f2f7fa; }
.plan-credit strong { color: var(--ink); font-size: 32px; line-height: 1.2; }
.plan-credit span { color: var(--muted); font-size: 11px; }
.plan-duration { margin: 0 0 20px; padding: 0; border: 0; }
.plan-duration legend { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }
.plan-duration > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: #edf3f6; }
.plan-duration label { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); cursor: pointer; }
.plan-duration label:has(input:checked) { border-color: #75b9d2; color: var(--ink); background: #fff; box-shadow: 0 5px 14px rgba(16,39,53,.08); font-weight: 800; }
.plan-duration input { width: 18px; height: 18px; margin: 0; accent-color: var(--earth); cursor: pointer; }
.plan-card ul { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; color: #315466; font-size: 13px; line-height: 1.7; }
.plan-card li { position: relative; min-height: 44px; display: flex; align-items: center; padding: 10px 44px 10px 12px; border: 1px solid #d7e8df; border-radius: 10px; background: #f7fbf9; }
.plan-card li:first-child { border-color: #b8dfc8; color: var(--ink); background: #edf9f2; font-weight: 800; }
.plan-card li::before { content: "✓"; position: absolute; top: 50%; inset-inline-start: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--leaf); font-size: 13px; font-weight: 900; line-height: 1; transform: translateY(-50%); }
.plan-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-price span { color: var(--muted); font-size: 11px; }
.plan-price strong { color: var(--ink); font-size: 14px; }
.plan-action { min-height: 48px; display: grid; place-items: center; margin-top: 16px; padding-inline: 15px; border: 1px solid var(--earth); border-radius: 12px; color: #fff; background: var(--earth); font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; }
.plan-action:hover { color: #fff; background: var(--earth-dark); }
.business-note { margin: 22px 0 0; padding: 16px 20px; border-inline-start: 4px solid var(--earth); border-radius: 10px; color: var(--muted); background: #f0f7fa; font-size: 13px; }

@media (prefers-reduced-motion: no-preference) {
  .plan-tabs button,.plan-card,.plan-action,.plan-duration label { transition: transform .25s cubic-bezier(.22,1,.36,1),border-color .25s ease,box-shadow .25s ease,background-color .25s ease; }
  .plan-card:hover { border-color: #75b9d2; box-shadow: 0 20px 46px rgba(16,39,53,.11); transform: translateY(-6px); }
  .plan-tabs button:hover { transform: translateY(-2px); }
  .plan-action:active { transform: scale(.98); }
  .plan-panel:not([hidden]) { animation: plan-panel-in .42s cubic-bezier(.22,1,.36,1) both; }
  .plan-panel:not([hidden]) .plan-card { animation: plan-card-in .48s cubic-bezier(.22,1,.36,1) both; }
  .plan-panel:not([hidden]) .plan-card:nth-child(2) { animation-delay: .06s; }
  .plan-panel:not([hidden]) .plan-card:nth-child(3) { animation-delay: .12s; }
}
@keyframes plan-panel-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes plan-card-in { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 900px) {
  .plan-tabs { grid-template-columns: 1fr; }
  .plan-tabs button { justify-content: flex-start; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-fit { min-height: 0; }
}
@media (max-width: 640px) {
  .plan-panel { padding: 14px; }
  .plan-panel-heading { min-height: 0; padding: 22px; }
  .plan-scene { display: none; }
  .plan-card { padding: 22px; }
}

.custom-plan-section { margin-top: 24px; padding: clamp(22px,4vw,40px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.custom-plan-heading { margin-bottom: 24px; }
.custom-plan-heading h3 { margin: 4px 0 8px; font-size: clamp(24px,3vw,34px); }
.custom-plan-heading p:last-child { margin: 0; color: var(--muted); }
.custom-plan-section .estimate { color: #fff; background: var(--earth); border: 1px solid var(--earth-dark); box-shadow: 0 14px 30px rgba(0,111,150,.18); }
.custom-plan-section .estimate div { border-color: rgba(255,255,255,.24); }
.custom-plan-section .estimate span { color: rgba(255,255,255,.82); }
.custom-plan-section .estimate strong { color: #fff; font-size: 15px; font-weight: 850; }

/* 2026-09 homepage refresh */
.section { padding: clamp(64px, 8vw, 96px) 0; }
.agent-marquee { margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agent-marquee-viewport { overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.agent-marquee-track { width: max-content; display: flex; gap: 16px; animation: agent-marquee 24s linear infinite; animation-play-state: running; will-change: transform; }
.agent-marquee-set { display: flex; gap: 16px; }
.agent-chip { width: 250px; min-height: 92px; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 10px 26px rgba(16,39,53,.06); text-decoration: none; cursor: pointer; }
.agent-chip img { width: 58px; height: 58px; flex: 0 0 58px; padding: 5px; border: 1px solid #dbe8ed; border-radius: 14px; background: #fff; object-fit: cover; object-position: center; }
.agent-chip bdi { font-size: 16px; font-weight: 850; }
.agent-chip:focus-visible { outline: 3px solid rgba(0,111,150,.32); outline-offset: 3px; }
@keyframes agent-marquee { to { transform: translateX(calc(-50% - 8px)); } }

.benefits { border-top: 0; }
.comparison-shell { margin-top: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.advantage-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.advantage-table caption { padding: 18px 22px; color: var(--muted); background: #f1f7fa; font-size: 13px; text-align: right; }
.advantage-table th,
.advantage-table td { padding: 19px 22px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
.advantage-table thead th { color: var(--ink); background: #e7f3f8; font-size: 13px; font-weight: 850; }
.advantage-table thead th:nth-child(2) { color: #fff; background: var(--earth); }
.advantage-table tbody th { width: 24%; color: var(--ink); font-size: 14px; }
.advantage-table td { color: #315466; font-size: 14px; line-height: 1.8; }
.advantage-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-state { width: 24px; height: 24px; display: inline-grid; place-items: center; margin-inline-end: 9px; border-radius: 50%; font-size: 13px; font-weight: 900; }
.comparison-state.is-positive { color: #fff; background: var(--leaf); }
.comparison-state.is-limited { color: #6d5847; background: #f1e6d8; }
.benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; }
.benefit-grid article { min-height: 170px; background: #fff; }
.benefit-grid .benefit-astra { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: auto minmax(240px,.55fr) 1fr; align-items: center; gap: 24px; background: linear-gradient(120deg,#e9f7fb,#f3fbf7); }
.benefit-astra h3 { margin: 0; font-size: clamp(20px,2vw,26px); }
.benefit-astra p { font-size: 15px; }

.developer-agent-marquee { margin-top: 32px; }

.plan-panel { padding: clamp(18px,3vw,28px); }
.plan-panel-heading { min-height: 112px; gap: 22px; margin-bottom: 18px; padding: 18px 24px; }
.plan-panel-heading h3 { font-size: clamp(23px,2.7vw,31px); }
.plan-scene { width: 180px; height: 88px; }
.plan-card { padding: 20px; }
.plan-card-top { min-height: 54px; }
.plan-emblem,
.plan-emblem svg { width: 46px; height: 52px; }
.plan-card > h3 { margin: 10px 0 3px; font-size: 24px; }
.plan-credit { margin: 12px 0; padding: 12px 14px; }
.plan-credit strong { display: flex; align-items: center; gap: 9px; font-size: 28px; }
.plan-credit strong img { width: 34px; height: 34px; flex: 0 0 34px; }
.plan-duration { margin-bottom: 14px; }
.plan-card ul { gap: 6px; margin-bottom: 16px; line-height: 1.55; }
.plan-card li { min-height: 38px; padding: 7px 40px 7px 10px; }
.plan-card li::before { width: 20px; height: 20px; }
.plan-price { margin-top: auto; padding: 13px 14px; border: 1px solid #b8d8e4; border-radius: 12px; background: linear-gradient(135deg,#f6fbfd,#e9f6fa); }
.plan-price span { color: #456575; font-size: 12px; font-weight: 750; }
.plan-price strong { color: #073d56; font-size: clamp(17px,1.5vw,20px); font-weight: 950; font-variant-numeric: tabular-nums; }
.plan-action { margin-top: 12px; }
.credit-coin { width: 42px; height: 42px; flex: 0 0 42px; }
.custom-plan-section { width: min(100%,760px); margin: 24px auto 0; padding: clamp(20px,3vw,30px); }
.custom-plan-heading { margin-bottom: 18px; }
.custom-plan-heading h3 { font-size: clamp(22px,2.7vw,29px); }

@media (prefers-reduced-motion: no-preference) {
  .agent-chip,
  .benefit-grid article { transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .25s ease, box-shadow .35s ease; }
  .agent-chip:hover { transform: translateY(-3px); border-color: #75b9d2; box-shadow: 0 16px 36px rgba(16,39,53,.11); }
  .benefit-grid article:hover { transform: translateY(-4px); border-color: #9ccadb; box-shadow: 0 18px 40px rgba(16,39,53,.09); }
  .advantage-table tbody tr { transition: background-color .25s ease; }
  .advantage-table tbody tr:hover { background: #f7fbfd; }
}
@media (max-width: 700px) {
  .section { padding: 54px 0; }
  .agent-chip { width: 210px; min-height: 82px; padding: 12px 16px; }
  .agent-chip img { width: 52px; height: 52px; flex-basis: 52px; }
  .comparison-shell { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .advantage-table,
  .advantage-table tbody,
  .advantage-table tr,
  .advantage-table th,
  .advantage-table td { display: block; width: 100%; }
  .advantage-table { table-layout: auto; }
  .advantage-table caption { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .advantage-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .advantage-table tbody tr { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(16,39,53,.05); }
  .advantage-table tbody th { padding: 14px 16px; border: 0; color: #fff; background: var(--earth); font-size: 15px; }
  .advantage-table td { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: center; padding: 14px 16px; font-size: 13px; }
  .advantage-table td::before { content: attr(data-label); color: var(--muted); font-size: 11px; font-weight: 850; }
  .advantage-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .advantage-table tbody tr:last-child td:last-child,
  .advantage-table tbody tr td:last-child { border-bottom: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 0; }
  .benefit-grid .benefit-astra { grid-column: auto; display: block; }
  .benefit-astra h3 { margin: 20px 0 10px; }
  .plan-panel-heading { min-height: 0; padding: 18px; }
  .plan-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-marquee-track { width: auto; animation: none; will-change: auto; }
  .agent-marquee-set { width: 100%; flex-wrap: wrap; }
  .agent-marquee-set[aria-hidden="true"] { display: none; }
  .agent-chip { flex: 1 1 210px; }
}

/* Aster: a small, optional companion that perches on clear element edges. */
.site-pet { position: fixed; z-index: 38; top: 0; left: 0; width: 92px; height: 100px; pointer-events: none; transform: translate3d(calc(100vw - 116px),calc(100vh - 172px),0); transition: opacity .16s ease; will-change: transform; }
.site-pet.is-scrolling,.site-pet.is-safely-hidden { opacity: 0; }
.site-pet-sprite { position: absolute; z-index: 1; left: 50%; bottom: 0; width: 192px; height: 208px; background: url('/assets/pets/aster/spritesheet.webp?v=20260909-aster-v1') 0 0 / 1536px 1872px no-repeat; filter: drop-shadow(0 12px 14px rgba(7,61,86,.2)); transform: translateX(-50%) scale(.48); transform-origin: center bottom; }
.site-pet-bubble { position: absolute; z-index: 3; left: 0; bottom: calc(100% + 8px); box-sizing: border-box; width: 184px; max-width: calc(100vw - 32px); padding: 8px 12px; border: 1px solid #b8d8e4; border-radius: 14px 14px 4px 14px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 8px 24px rgba(7,61,86,.12); font-size: 12px; font-weight: 750; line-height: 1.6; opacity: 0; transform: translateY(6px); transition: opacity .25s ease,transform .25s ease; }
.site-pet.bubble-after .site-pet-bubble { border-radius: 14px 14px 14px 4px; }
.site-pet.is-chatty .site-pet-bubble,.site-pet.is-sleeping .site-pet-bubble { opacity: 1; transform: none; }
.site-pet.bubble-blocked .site-pet-bubble { opacity: 0; }
.site-pet-toggle { position: fixed; z-index: 39; right: max(18px,env(safe-area-inset-right)); bottom: max(18px,env(safe-area-inset-bottom)); min-width: 112px; min-height: 44px; padding: 0 14px; border: 1px solid #9ccadb; border-radius: 999px; color: #073d56; background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(7,61,86,.14); font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1.4; cursor: pointer; }
.site-pet-toggle:hover { border-color: var(--earth); background: #f0fbff; }
.site-pet-toggle:active { transform: translateY(1px); }
.site-pet-toggle:focus-visible { outline: 3px solid rgba(0,111,150,.32); outline-offset: 3px; }
@media (max-width: 640px) {
  .site-pet { width: 64px; height: 69px; }
  .site-pet-sprite { transform: translateX(-50%) scale(.333); }
  .site-pet-bubble { width: 148px; font-size: 11px; }
  .site-pet-toggle { right: 12px; bottom: 12px; min-width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-pet { transition: none; will-change: auto; }
  .site-pet-bubble { transition: none; }
}
