/* Public marketing and guided setup share the Antiflow palette and type. */
.marketing[hidden] { display: none; }
.marketing {
  --market-ink:var(--ink);
  --market-paper:var(--sidebar);
  --market-accent:var(--primary);
  --market-line:var(--border);
  --market-muted:var(--muted);
  --market-ease:cubic-bezier(.22,.73,.24,1);
  height: 100dvh; overflow: auto; scroll-behavior: smooth; color: var(--market-ink); background: var(--market-paper);
  scrollbar-gutter: stable; overflow-anchor: none;
}
.market-limit { width: min(100% - 96px, 1280px); margin-inline: auto; }
.market-header {
  min-height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: var(--hairline) solid var(--market-line); gap: 20px;
}
.market-brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 23px; font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.market-brand img { transition: transform .55s var(--market-ease,var(--ease)); }
.market-brand:hover img { transform: rotate(-11deg); }
.market-header nav { display: flex; gap: clamp(20px,4vw,58px); align-items: center; color: var(--market-muted); font-weight: 600; }
.market-header-actions { display:flex; align-items:center; justify-content:flex-end; gap: clamp(12px,2.5vw,32px); white-space: nowrap; }
.market-header a, .market-footer a { transition: color .2s, background-color .2s; }
.market-header nav a:hover, .market-signin:hover { color: var(--market-accent); }
.market-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding: 0 15px;
  border: var(--hairline) solid transparent; border-radius: 5px; font-weight: 650; color: var(--primary-ink);
  transition: translate .28s var(--market-ease), background .23s, border-color .23s, box-shadow .28s; white-space: nowrap;
}
.market-button:hover { translate: 0 -2px; box-shadow: 0 7px 18px #1a1a1820; }
.market-button:active { translate: 0 1px; }
.market-button span, .market-link span { display:inline-block; transition: transform .26s var(--market-ease); }
.market-button:hover span { transform:translate(2px,-2px); }
.market-dark,.market-accent { background: var(--market-accent); }
.market-dark:hover,.market-accent:hover { background: var(--primary-hover); }
.market-outline { color:var(--market-ink); border-color:var(--border-interactive); background: transparent; }
.market-outline:hover { background:var(--row-hover); }

.market-hero {
  display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.56fr); gap: clamp(26px,3.6vw,58px);
  align-items: center; padding-block: clamp(40px,5.6vw,90px) clamp(30px,4vw,55px);
}
.market-hero-copy { padding-bottom: 34px; container-type: inline-size; }
.market-kicker { font-size: .735rem; font-weight: 720; text-transform: uppercase; letter-spacing: .15em; display:flex; align-items:center; gap: 10px; }
.market-kicker>span { display:inline-block; width: 8px; height: 8px; flex:0 0 auto; border-radius: 50%; background: var(--accent); }
.market-hero h1 {
  font-size: clamp(28px, 10.4cqw, 58px); font-weight: 660; letter-spacing: -.082em;
  line-height: .99; margin: 22px 0 21px; max-width: 100%; text-wrap: balance;
}
.market-hero h1 em { font-style: normal; color:var(--market-muted); font-weight:560; }
.market-summary { color: var(--market-muted); max-width: 38ch; font-size: clamp(16px,1.52vw,21px); line-height: 1.58; letter-spacing: -.02em; }
.market-hero-actions { margin-top: 29px; display: flex; align-items:center; gap: clamp(15px,2.5vw,33px); flex-wrap: wrap; }
.market-hero-actions .market-button { min-height: 52px; padding-inline: 17px; }
.market-link { font-weight:650; display:inline-flex;align-items:center;gap:8px; transition: color .2s; }
.market-link:hover { color:var(--market-accent); }
.market-link:hover span { transform:translateY(3px); }
.market-product {
  min-width:0; padding:clamp(6px,1.1vw,15px); border:var(--hairline) solid var(--market-line);
  border-radius:16px; background:var(--row-hover);
  animation:market-rise .85s var(--market-ease) 120ms both;
}
.market-product-window {
  min-width:0; border:var(--hairline) solid var(--border); border-radius:10px; background:var(--paper);
  box-shadow:0 3px 9px #1a1a180a,0 16px 29px -20px #1a1a1840;
}
.market-product-bar {
  min-height:46px; padding:8px clamp(9px,1.5vw,21px); display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:var(--sidebar); border-radius:9px 9px 0 0; border-bottom:var(--hairline) solid var(--border);
}
.market-product-brand { display:flex; align-items:center; gap:7px; font-size:15px; font-weight:720; letter-spacing:-.04em; }
.market-product-brand img { display:block; }
.market-product-sample { color:var(--muted); font-size:11px; }
.market-product-tabs {
  display:flex; align-items:center; gap:clamp(2px,.55vw,8px); padding:6px clamp(5px,1.2vw,17px);
  border-bottom:var(--hairline) solid var(--border); background:var(--sidebar);
}
.market-product-tabs button {
  border:var(--hairline) solid transparent; background:transparent; border-radius:6px; padding:6px clamp(5px,.8vw,12px);
  color:var(--muted); font-size:clamp(10px,1vw,13px); font-weight:650; white-space:nowrap;
  transition:background .23s,color .23s,border-color .23s;
}
.market-product-tabs button:hover { background:var(--row-hover); color:var(--ink); }
.market-product-tabs button[aria-selected=true] { color:var(--ink); background:var(--row-hover); border-color:var(--border); }
.market-product-screen { border-radius:0 0 9px 9px; }
.market-product-content { padding:clamp(10px,1.45vw,21px); animation:market-screen-in .37s var(--market-ease) both; }
.market-screen-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:14px; }
.market-screen-heading h2 { font-size:clamp(22px,2.4vw,34px); line-height:1.05; font-weight:700; letter-spacing:-.06em; }
.market-screen-heading p { margin-top:4px; color:var(--muted); font-size:clamp(11px,1vw,13px); }
.market-screen-heading>span { display:flex; align-items:center; gap:6px; border:var(--hairline) solid var(--border); border-radius:6px;
  color:var(--muted); font-size:10px; padding:6px 7px; white-space:nowrap; }
.market-product-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-bottom:10px; }
.market-product-metrics>div { display:grid; align-content:space-between; gap:5px; padding:10px 8px; border:var(--hairline) solid var(--border); border-radius:8px; }
.market-product-metrics dt { color:var(--muted); font-size:clamp(10px,.98vw,13px); line-height:1.2; }
.market-product-metrics dd { font-size:clamp(17px,1.85vw,26px); font-weight:730; letter-spacing:-.055em; font-variant-numeric:tabular-nums; line-height:1.1; text-align:left; }
.market-product-detail { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:9px; }
.market-product-list,.market-product-spotlight { min-width:0; border:var(--hairline) solid var(--border); border-radius:8px; }
.market-product-detail h3 { margin:0; font-weight:690; font-size:clamp(12px,1.17vw,16px); letter-spacing:-.025em; }
.market-product-list h3 { padding:10px 10px 7px; }
.market-product-list table { width:100%; min-width:0; border-collapse:collapse; font-size:clamp(10px,.91vw,12px); text-align:left; white-space:normal; }
.market-product-list thead { background:var(--row-hover); color:var(--muted); }
.market-product-list :is(th,td) { padding:6px 10px; }
.market-product-list :is(th,td):last-child { text-align:right; }
.market-product-list thead th { font-weight:550; }
.market-product-list tbody tr { cursor:default; }
.market-product-list tbody tr+tr { border-top:var(--hairline) solid var(--border); }
.market-product-list tbody tr:hover { background:var(--row-hover); }
.market-product-list tbody th { font-weight:650; }
.market-product-list small { display:block; font-weight:450; color:var(--muted); margin-top:2px; }
.market-product-list .badge { padding:4px 6px; font-size:clamp(9px,.77vw,10px); line-height:1.15; text-align:left; }
.market-product-list .badge::before { width:4px; height:4px; flex:none; }
.market-product-spotlight { display:grid; grid-template-rows:1fr auto; align-items:center; padding:7px 10px 10px; }
.market-product-spotlight img { width:min(100%,145px); height:auto; display:block; justify-self:center; }
.market-product-spotlight h3 { display:flex; gap:6px; align-items:center; }
.market-product-spotlight svg { flex:none; }
.market-product-spotlight p { margin:4px 0 0; color:var(--muted); font-size:clamp(10px,.9vw,12px); line-height:1.35; }
.market-hero-copy > * { animation: market-rise .65s var(--market-ease) both; }
.market-hero-copy h1 { animation-delay: 80ms; }
.market-hero-copy .market-summary { animation-delay: 150ms; }
.market-hero-copy .market-hero-actions { animation-delay: 210ms; }
@keyframes market-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes market-screen-in { from { opacity:.5; translate:0 3px; } to { opacity:1; translate:0 0; } }
.market-intro { display:grid; grid-template-columns:repeat(4,1fr); border-block:var(--hairline) solid var(--market-line); margin-bottom:13px; }
.market-intro a { color:var(--market-muted); padding:18px 12px; text-align:center; font-size:13px; font-weight:625; transition:background .2s,color .2s; }
.market-intro a:hover { background:var(--row-hover); color:var(--market-accent); }
.market-intro a+a { border-left:var(--hairline) solid var(--market-line); }
.market-workflow,.market-pricing,.market-controls { padding-block:clamp(55px,8.5vw,119px); scroll-margin-top:20px; }
.market-section-heading { max-width: 680px; margin-bottom:34px; }
.market-section-heading h2 { font-size:clamp(34px,5vw,68px); line-height:1.03; letter-spacing:-.074em; font-weight:645; margin-block:12px 8px; }
.market-section-heading>p:not(.market-kicker) { font-size:clamp(15px,1.5vw,18px); color:var(--market-muted); line-height:1.55; }
.market-workflow-heading {
  max-width:none; display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,350px); align-items:end; gap:18px 28px;
}
.market-workflow-heading h2 { margin-bottom:0; }
.market-workflow-heading>p { margin-bottom:4px; }
.market-workflow-board {
  border:var(--hairline) solid var(--border); border-radius:16px; background:var(--paper);
  box-shadow:0 20px 34px -31px #1a1a1850;
}
.market-workflow-steps {
  position:relative; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  border-bottom:var(--hairline) solid var(--border); border-radius:15px 15px 0 0; background:var(--sidebar);
}
.market-workflow-steps::after {
  content:""; position:absolute; inset:auto auto -1px 0; width:25%; height:2px; background:var(--primary);
  transform:translateX(calc(var(--workflow-step,0) * 100%)); transition:transform .42s var(--market-ease); pointer-events:none;
}
.market-workflow-steps button {
  min-width:0; display:flex; align-items:center; gap:10px; text-align:left; padding:15px clamp(9px,1.6vw,24px);
  border:0; background:transparent; font-weight:650; color:var(--muted);
  transition:background .24s,color .24s;
}
.market-workflow-steps button:first-child { border-radius:15px 0 0 0; }
.market-workflow-steps button:last-child { border-radius:0 15px 0 0; }
.market-workflow-steps button+button { border-left:var(--hairline) solid var(--border); }
.market-workflow-steps button:focus-visible { position:relative; z-index:1; outline-offset:-4px; }
.market-workflow-steps [data-workflow-icon] {
  display:grid; place-items:center; flex:0 0 35px; height:35px; border-radius:8px; border:var(--hairline) solid var(--border);
  background:var(--paper); transition:background .24s,color .24s,transform .32s var(--market-ease);
}
.market-workflow-steps button[aria-selected=true] { background:var(--row-hover); color:var(--ink); }
.market-workflow-steps button[aria-selected=true] [data-workflow-icon] { background:var(--primary); border-color:var(--primary); color:var(--paper); }
.market-workflow-steps button:hover { background:var(--row-hover); }
.market-workflow-steps button:hover [data-workflow-icon] { transform:translateY(-2px); }
.market-workflow-detail { border-radius:0 0 15px 15px; }
.market-workflow-scene {
  display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.5fr); align-items:center;
  gap:clamp(22px,3.1vw,48px); padding:clamp(16px,3vw,42px);
}
.market-workflow-copy { animation:market-screen-in .4s var(--market-ease) both; }
.market-workflow-copy h3 { text-wrap:balance; margin:0 0 12px; font-size:clamp(26px,3.05vw,43px); line-height:1.03; font-weight:665; letter-spacing:-.063em; }
.market-workflow-copy h3:focus { outline:none; }
.market-workflow-copy p { max-width:42ch; color:var(--muted); font-size:clamp(14px,1.18vw,17px); line-height:1.55; }
.market-workflow-next {
  display:inline-flex; align-items:center; gap:6px; padding:3px 0; margin-top:17px;
  border:0; background:transparent; font-weight:695; text-align:left;
}
.market-workflow-next svg { flex:none; transition:transform .26s var(--market-ease); }
.market-workflow-next:hover svg { transform:translateX(3px); }
.market-workflow-evidence {
  min-width:0; display:grid; gap:12px; padding:clamp(12px,1.45vw,20px);
  border:var(--hairline) solid var(--border); border-radius:12px;
  background:var(--surface);
  animation:market-rise .48s var(--market-ease) both;
}
.market-workflow-evidence>header { display:flex; gap:8px; align-items:flex-start; justify-content:space-between; }
.market-workflow-evidence h4 { margin:0; font-size:clamp(16px,1.45vw,20px); letter-spacing:-.03em; font-weight:700; }
.market-workflow-evidence header p,.market-workflow-evidence footer p { margin-top:3px; color:var(--muted); font-size:12px; }
.market-workflow-evidence header>span {
  color:var(--muted); background:var(--sidebar); border:var(--hairline) solid var(--border);
  padding:4px 6px; border-radius:5px; font-size:10px; white-space:nowrap;
}
.market-workflow-records { display:grid; grid-template-columns:minmax(0,1fr) clamp(72px,9.9vw,136px); gap:8px; align-items:center; }
.market-workflow-records ul { min-width:0; display:grid; gap:6px; list-style:none; margin:0; padding:0; }
.market-workflow-records li {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; padding:8px;
  border:var(--hairline) solid var(--border); border-radius:8px; background:var(--paper);
  box-shadow:0 4px 8px #1a1a1808; animation:market-screen-in .36s var(--market-ease) 55ms both;
}
.market-workflow-records li:nth-child(2) { animation-delay:105ms; }
.market-workflow-record-icon,.market-workflow-outcome-icon {
  display:grid; place-items:center; width:31px; height:31px; border-radius:7px; background:var(--row-hover); color:var(--ink);
}
.market-workflow-records strong,.market-workflow-evidence footer strong { display:block; font-size:13px; font-weight:705; line-height:1.25; }
.market-workflow-records small { display:block; margin-top:3px; color:var(--muted); font-size:11px; line-height:1.25; }
.market-workflow-records .badge { padding:4px 6px; line-height:1.15; }
.market-workflow-records .badge::before { flex:0 0 4px; height:4px; }
.market-workflow-records img { display:block; width:100%; height:auto; mix-blend-mode:multiply; }
.market-workflow-evidence footer {
  display:flex; gap:9px; align-items:center; min-width:0; padding:8px;
  border:var(--hairline) solid var(--border); border-radius:8px; background:var(--sidebar);
}
.market-workflow-outcome-icon { flex:0 0 31px; background:var(--primary); color:var(--paper); }
.market-control-wrap { background:var(--row-hover); border-block:var(--hairline) solid var(--market-line); }
.market-control-grid,.market-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.market-control-grid article,.market-plan { background:var(--paper); border:var(--hairline) solid var(--market-line); border-radius:5px; padding:22px 24px; }
.market-control-grid h3,.market-plan h3 { margin:11px 0 6px; font-size:clamp(17px,1.7vw,23px); letter-spacing:-.042em; }
.market-control-grid p,.market-plan>p:not(.market-plan-price) { color:var(--market-muted); line-height:1.5; }
.market-control-icon { color:var(--market-accent); display:block; font-size:23px; }
.market-plan-featured { border-color:var(--primary); box-shadow:inset 0 3px var(--primary); }
.market-plan-price { margin:14px 0; font-weight:690; font-size:clamp(32px,4vw,48px); letter-spacing:-.07em; }
.market-plan-price span { font-size:13px; color:var(--market-muted); letter-spacing:0; }
.market-plan .market-button { margin-top:22px; width:100%; }
.market-footer { display:flex; justify-content:space-between; gap:20px; align-items:center; border-top:var(--hairline) solid var(--market-line); padding:24px 0 35px; }
.market-footer>a:last-child { font-weight:650; }
.revealed .market-section-heading { animation:market-rise .58s var(--market-ease) both; }

/* Identity screens */
.auth-screen:not([hidden]):has(.entry-layout) { display:block; padding:0; background:var(--paper); }
.entry-layout {
  display:grid; grid-template-rows:auto 1fr; width:100%; min-height:100dvh; color:var(--ink);
}
.entry-topbar {
  display:flex; align-items:center; min-height:68px; padding:12px max(20px,calc((100% - 1280px)/2));
  border-bottom:var(--hairline) solid var(--border); background:var(--sidebar);
}
.entry-main {
  display:grid; justify-items:center; align-items:start; padding:clamp(44px,10vh,96px) 20px 48px;
}
.entry-layout .auth-card {
  width:min(100%,440px); padding:0; border:0; border-radius:0; background:transparent;
  animation:market-rise .42s var(--ease) both;
}
.entry-layout :is(.auth-card,.journey-content) h1 { font-size:clamp(29px,4.1vw,48px); line-height:1.035; letter-spacing:-.06em; font-weight:680; }
.entry-layout .auth-card>p,.journey-description { color:var(--muted); font-size:15px; line-height:1.55; margin-top:9px; }
.entry-layout .auth-fields { margin-top:24px; gap:14px; }
.entry-layout .auth-fields input { min-height:44px; font-size:16px; padding-inline:11px; }
.entry-layout .auth-fields button { min-height:44px; margin-top:3px; }
.entry-layout .auth-links { margin-top:18px; }
.entry-layout .auth-links a,.entry-layout .auth-links button { font-size:inherit; font-weight:650; text-decoration:underline; text-underline-offset:3px; }

.journey-topbar { justify-content:space-between; gap:12px; }
.journey-signout { min-height:34px; }
.journey-content { width:min(100%,536px); animation:market-rise .42s var(--ease) both; }
.journey-counter { color:var(--muted); font-size:11px; letter-spacing:.105em; font-weight:710; text-transform:uppercase; }
.journey-steps {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
  margin:12px 0 28px; padding:0; list-style:none;
}
.journey-steps li {
  display:flex; align-items:center; gap:7px; padding:8px 3px;
  border-bottom:var(--hairline) solid var(--border); color:var(--muted); font-size:13px;
}
.journey-steps li[aria-current] { box-shadow:inset 0 -2px var(--primary); color:var(--ink); font-weight:670; }
.journey-step-mark {
  flex:none; width:25px; height:25px; display:grid; place-items:center; border:var(--hairline) solid var(--border-interactive);
  border-radius:50%; font-variant-numeric:tabular-nums; font-size:12px;
}
.journey-steps li[aria-current] .journey-step-mark { background:var(--primary); color:var(--paper); border-color:var(--primary); }
.journey-steps li[data-complete=true] .journey-step-mark { background:var(--row-hover); color:var(--ink); }
.journey-content h1:focus { outline:none; }
.journey-form { margin-top:24px; }
.journey-form label:not(.journey-plan) { font-weight:620; }
.journey-form :is(input:not([type=radio]),select) { min-height:44px; width:100%; padding-inline:11px; font-size:16px; font-weight:450; }
.journey-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.journey-footer { display:flex; flex-wrap:wrap; gap:9px; align-items:center; margin-top:13px; }
.journey-footer .recon-button { min-height:44px; }
.journey-footer .recon-button span { margin-left:4px; }
.journey-message { margin-top:12px; }
.journey-message:empty { display:none; }
.journey-plans { display:grid; gap:8px; border:0; margin:0; padding:0; min-width:0; }
.journey-plan {
  position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; padding:10px 13px;
  border:var(--hairline) solid var(--border-interactive); border-radius:7px; transition:background .2s,border-color .2s; cursor:pointer;
}
.journey-plan>input { position:absolute; opacity:0; width:1px; height:1px; }
.journey-plan:hover:not(:has(:disabled)) { background:var(--row-hover); }
.journey-plan:has(:checked) { border-color:var(--primary); background:var(--row-hover); }
.journey-plan:has(:focus-visible) { outline:2px solid var(--primary); outline-offset:2px; }
.journey-plan:has(:disabled) { color:var(--muted); cursor:default; }
.journey-radio { display:block; width:16px; height:16px; border:1px solid var(--muted); border-radius:50%; }
.journey-plan:has(:checked) .journey-radio { border:4px solid var(--primary); background:var(--paper); }
.journey-plan strong { display:block; font-size:14px; }
.journey-plan small { color:var(--muted); font-size:11px; }
.journey-plan b { align-self:center; font-size:17px; }
.journey-billing-note,.journey-loading { color:var(--muted); margin-top:12px; line-height:1.45; }
.journey-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:13px; }
.journey-links button { padding:0; border:0; background:none; color:var(--muted); font-size:13px; text-decoration:underline; text-underline-offset:3px; }

/* Workspace transitions keep navigation, scrollbars and positioning stable. */
.content>section { animation: workspace-arrive .32s var(--ease) both; }
.content [data-overview-results]>.guide-card { animation:workspace-arrive .38s var(--ease) both; }
.workspace-header,.guide-head { animation: workspace-arrive .42s var(--ease) both; }
@keyframes workspace-arrive { from { opacity:0; translate:0 4px; } to { opacity:1; translate:0 0; } }
.profile-actions:not([hidden]) { animation: workspace-arrive .24s var(--ease) both; }
.recon-button,.period,.recon-tabs button { transition: background-color .2s,border-color .2s,color .2s,box-shadow .2s,translate .2s; }
.recon-button:hover:not(:disabled) { translate:0 -1px; }
.recon-button:active:not(:disabled) { translate:0 1px; }
.guide-card { margin-bottom:19px; display:grid; gap:10px; padding:18px 20px; }
.guide-head { display:flex; justify-content:space-between; align-items:start; gap:12px; }
.guide-head h2 { margin:0 0 4px; }
.guide-head p { color:var(--muted); font-size:13px; }
.guide-head>strong { font-variant-numeric:tabular-nums; font-size:13px; }
.guide-card progress { display:block; height:5px; width:100%; accent-color:var(--primary); }
.guide-card ul { display:grid; grid-template-columns:1fr 1fr; column-gap:22px; list-style:none; margin:0; padding:0; }
.guide-card li { display:grid; grid-template-columns:20px 1fr auto; align-items:center; gap:6px; padding:7px 0; border-bottom:var(--hairline) solid var(--border); font-size:13px; }
.guide-step-mark { font-weight:700; color:var(--primary); }
.guide-step-mark.pending { position:relative; height:14px; }
.guide-step-mark.pending::after { content:""; width:10px; height:10px; border:1px solid var(--muted); border-radius:50%; position:absolute; top:2px; }
.content :is(.recon-table,.run-result-table) tbody tr:nth-child(-n+6) { animation: workspace-row .26s var(--ease) both; }
.content :is(.recon-table,.run-result-table) tbody tr:nth-child(2n) { animation-delay:18ms; }
@keyframes workspace-row { from { opacity:.66; } to { opacity:1; } }
.guide-card li a:hover { text-decoration:underline; text-underline-offset:3px; }
.guide-card li>span:last-child { transition:transform .25s var(--ease); }
.guide-card li:hover>span:last-child { transform:translateX(3px); }
@media (max-width: 990px) {
  .market-limit { width:calc(100% - 52px); }
  .market-hero { gap:25px; }
}
@media (max-width: 900px) {
  .market-hero { grid-template-columns:1fr; padding-block:38px 24px; gap:24px; }
  .market-hero-copy { padding-bottom:0; }
  .market-hero h1 { margin-block:17px 14px; }
  .market-hero-actions { margin-top:21px; }
}
@media (max-width: 700px) {
  .market-limit { width:calc(100% - 32px); }
  .market-header { min-height:68px; grid-template-columns:1fr auto; gap:10px; }
  .market-header nav { display:none; }
  .market-brand { font-size:21px; }
  .market-brand img { width:27px; height:29px; }
  .market-header .market-button { min-height:39px; padding-inline:10px; gap:7px; }
  .market-intro { grid-template-columns:repeat(2,1fr); }
  .market-intro a { padding:13px 5px; font-size:11px; }
  .market-intro a:nth-child(3) { border-left:0; }
  .market-intro a:nth-child(n+3) { border-top:1px solid var(--market-line); }
  .market-control-grid,.market-plan-grid { grid-template-columns:1fr; }
  .market-section-heading { margin-bottom:23px; }
  .entry-topbar { min-height:60px; }
  .guide-card ul { grid-template-columns:1fr; }
}
@media (max-width: 860px) {
  .market-workflow-heading { grid-template-columns:1fr; gap:10px; }
  .market-workflow-scene { grid-template-columns:minmax(0,1fr); }
  .market-workflow-copy p { max-width:58ch; }
}
@media (max-width: 500px) {
  .market-product-detail { grid-template-columns:minmax(0,1fr); }
  .market-product-spotlight { grid-row:1; grid-template:1fr / 70px minmax(0,1fr); gap:10px; padding:5px 10px; }
  .market-product-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
  .market-product-metrics>div { padding:7px 8px; }
  .market-workflow-steps button { flex-direction:column; align-items:center; justify-content:start; gap:5px; padding:8px 3px; text-align:center; font-size:11px; line-height:1.2; }
  .market-workflow-steps [data-workflow-icon] { flex:0 0 27px; height:27px; width:27px; }
  .market-workflow-steps [data-workflow-icon] svg { width:15px; height:15px; }
  .market-workflow-scene { padding:13px; gap:16px; }
  .market-workflow-evidence { grid-template-columns:minmax(0,1fr) 56px; gap:8px; }
  .market-workflow-evidence>header { display:grid; justify-items:start; gap:5px; grid-area:1 / 1; }
  .market-workflow-records { display:contents; }
  .market-workflow-records img { grid-area:1 / 2; align-self:center; }
  .market-workflow-records ul,.market-workflow-evidence footer { grid-column:1 / -1; }
  .market-workflow-records li { column-gap:5px; }
  .market-workflow-record-icon { width:23px; height:23px; }
  .market-workflow-record-icon svg { width:14px; height:14px; }
  .market-workflow-records .badge { font-size:9px; padding-inline:4px; }
}
@media (max-width: 390px) {
  .market-header-actions { gap:10px; }
  .market-header .market-button span { display:none; }
  .market-screen-heading>span svg { display:none; }
  .journey-field-grid { grid-template-columns:1fr; }
  .journey-steps li { flex-direction:column; gap:5px; text-align:center; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing { scroll-behavior:auto; }
}

.market-button { border-radius: var(--radius-control); }
.market-button:hover { translate: 0 -1px; box-shadow: none; }
.market-hero h1 { letter-spacing: -.065em; line-height: 1.04; }
.market-hero h1 em { color: var(--accent-ink); }
.market-summary { font-size: clamp(15px, 1.35vw, 19px); }
.market-product { background: var(--surface); border-radius: var(--radius-dialog); animation-duration: .24s; }
.market-product-window { box-shadow: var(--shadow-menu); }
.market-product-tabs button[aria-selected="true"] { color: var(--accent-ink); background: var(--selection); }
.market-link, .auth-links a { color: var(--accent-ink); }
.journey-plan:has(:checked) { border-color: var(--accent); background: var(--selection); }
.journey-plan:has(:checked) .journey-radio { border-color: var(--accent); }
.journey-plan:has(:focus-visible) { outline-color: var(--focus); }
[data-theme="dark"] :is(.auth-brand,.journey-brand) img { filter: brightness(0) invert(.93); }
