:root {
  --ink: #14211b;
  --muted: #617067;
  --cream: #f5f3e9;
  --paper: #fffdf6;
  --surface: #ffffff;
  --surface-2: #f0efe8;
  --forest: #123c2c;
  --forest-2: #1c5a40;
  --lime: #c8e45c;
  --lime-soft: #eef6c8;
  --clay: #d46b45;
  --clay-soft: #faeee8;
  --line: rgba(20, 33, 27, .14);
  --header: rgba(255, 253, 246, .9);
  --shadow: 0 24px 80px rgba(18, 60, 44, .12);
  --radius: 24px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --ink: #edf5ee;
  --muted: #a7b8ad;
  --cream: #13231c;
  --paper: #0c1712;
  --surface: #12221b;
  --surface-2: #1a2b23;
  --forest: #b8de74;
  --forest-2: #9fd366;
  --lime: #c8e45c;
  --lime-soft: #263c24;
  --clay: #f2946f;
  --clay-soft: #3d2b24;
  --line: rgba(222, 244, 227, .14);
  --header: rgba(12, 23, 18, .9);
  --shadow: 0 24px 80px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; transition: color .18s ease, background .18s ease; }
button, textarea, input, select { font: inherit; }
button, a, input, select, textarea { outline-offset: 3px; }
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px; min-height: 78px; padding: 0 4vw;
  background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #123c2c; color: var(--lime); font-weight: 900; letter-spacing: -.06em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .95rem; }
.brand small { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; gap: 24px; }
nav a { font-size: .86rem; font-weight: 750; text-decoration: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.proposal-pill, .demo-badge, .draft-pill { padding: 8px 13px; border-radius: 999px; background: var(--lime-soft); color: var(--forest); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.theme-selector { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme-selector button { padding: 6px 9px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: .68rem; font-weight: 800; }
.theme-selector button.active { color: var(--ink); background: var(--lime-soft); }
.account-chip { max-width: 170px; overflow: hidden; padding: 7px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .72rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }

.auth-gate { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 64px 8vw; background: radial-gradient(circle at 90% 10%, rgba(200,228,92,.24), transparent 34%), linear-gradient(145deg, var(--paper), var(--cream)); }
.auth-gate[hidden] { display: none; }
.auth-card { width: min(1080px, 100%); display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 52px; border: 1px solid var(--line); border-radius: 34px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
.auth-lede { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.transport-warning { display: grid; gap: 5px; margin-top: 26px; padding: 16px; border-radius: 16px; background: var(--clay-soft); color: var(--clay); }
.transport-warning span { font-size: .82rem; }
.login-form { display: grid; gap: 16px; padding: 28px; border-radius: 24px; background: var(--surface-2); }
.login-form label { display: grid; gap: 7px; font-size: .78rem; font-weight: 850; }
.login-form input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
.form-state { min-height: 1.5em; margin: 0; color: var(--muted); font-size: .78rem; }
.form-state.error { color: var(--clay); }

.account-section { padding-top: 64px; padding-bottom: 64px; background: var(--cream); }
.account-heading { margin-bottom: 28px; }
.readiness-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.readiness-grid article, .account-panel { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.readiness-grid span, .readiness-grid strong, .readiness-grid small { display: block; }
.readiness-grid span { color: var(--muted); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.readiness-grid strong { margin-top: 12px; color: var(--forest-2); font-size: 1.2rem; }
.readiness-grid small { margin-top: 5px; color: var(--muted); }
.account-detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 12px; }
.account-panel dl { margin: 14px 0 0; }
.account-panel dl div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.account-panel dt { color: var(--muted); font-size: .78rem; }
.account-panel dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: .82rem; font-weight: 750; }
.client-list { display: grid; gap: 9px; margin-top: 14px; }
.client-list > div { padding: 11px; border-radius: 12px; background: var(--surface-2); }
.client-list strong, .client-list small { display: block; }
.client-list small { margin-top: 4px; color: var(--muted); overflow-wrap: anywhere; }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5vw; padding: 86px 8vw 72px; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(200,228,92,.23), transparent 32%), linear-gradient(150deg, var(--paper) 35%, var(--cream)); }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--forest-2); font-size: .76rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
h1 { max-width: 840px; font-size: clamp(3.2rem, 6vw, 6.6rem); }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
.hero-lede { max-width: 700px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--forest); border-radius: 999px; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { background: var(--forest); color: var(--paper); }
html[data-theme="dark"] .button.primary { color: #102018; }
.button.ghost { background: transparent; color: var(--forest); }
.button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: .5; transform: none; }
.proposal-note { margin-top: 20px; color: var(--muted); font-size: .84rem; }

.hero-visual { position: relative; min-height: 520px; }
.orbit { position: absolute; inset: 50%; border: 1px solid color-mix(in srgb, var(--forest) 25%, transparent); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 590px; height: 590px; border-style: dashed; }
.core-node { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 220px; height: 220px; padding: 34px; border-radius: 50%; transform: translate(-50%,-50%); text-align: center; color: white; background: #123c2c; box-shadow: var(--shadow); }
.core-node span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.core-node strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1.05; }
.satellite { position: absolute; display: grid; place-items: center; width: 106px; height: 106px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 900; }
.satellite.sat-orders { width: 128px; height: 128px; padding: 20px; text-align: center; }
.sat-stock { left: 3%; top: 17%; }
.sat-orders { right: 2%; top: 13%; }
.sat-web { right: 2%; bottom: 11%; }
.sat-customers { left: 5%; bottom: 8%; }

.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip div { padding: 24px 3vw; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: .9rem; }
.trust-strip span { margin-top: 3px; color: var(--muted); font-size: .78rem; }

.section { padding: 100px 8vw; }
.section.muted { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); align-items: end; gap: 40px; margin-bottom: 48px; }
.section-heading > p { max-width: 520px; margin: 0 0 6px auto; color: var(--muted); font-size: 1rem; }
.section-action { display: flex; justify-content: center; margin-top: 42px; }

.featured-plan { margin-bottom: 62px; }
.featured-card { position: relative; display: grid; grid-template-columns: 1fr .75fr; gap: 42px; overflow: hidden; padding: 48px; border-radius: 32px; color: white; background: linear-gradient(135deg, #0f3426, #1e6849); box-shadow: var(--shadow); }
.featured-card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -140px; border-radius: 50%; border: 70px solid rgba(200,228,92,.12); }
.featured-card .card-tag { color: var(--lime); }
.featured-card h3 { font-size: clamp(2.2rem, 4vw, 4.5rem); max-width: 660px; }
.featured-card p { max-width: 620px; color: rgba(255,255,255,.74); }
.featured-price { align-self: end; justify-self: end; text-align: right; z-index: 1; }
.featured-price strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 4.5rem; line-height: 1; }
.featured-price span { color: rgba(255,255,255,.7); }
.featured-card .button { margin-top: 24px; border-color: var(--lime); background: var(--lime); color: #123c2c; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.feature-list li { padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .78rem; }

.subheading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.subheading-row p { margin: 0; color: var(--muted); }
#addons .subheading-row { margin-top: 52px; }
#addons .section-heading + .subheading-row { margin-top: 0; }
.card-grid { display: grid; gap: 18px; }
.card-grid.modules { grid-template-columns: repeat(4,1fr); }
.card-grid.addons { grid-template-columns: repeat(3,1fr); }
.product-card { min-height: 290px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--forest) 38%, transparent); box-shadow: var(--shadow); }
.product-card.selected { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.product-card.included { background: color-mix(in srgb, var(--lime-soft) 45%, var(--surface)); }
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-tag, .status-badge { font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.status-badge { padding: 5px 8px; border-radius: 999px; background: var(--lime-soft); color: var(--forest); letter-spacing: .04em; }
.status-badge.deferred { background: var(--clay-soft); color: var(--clay); }
.product-card h3 { margin-top: 34px; font-family: inherit; font-size: 1.3rem; font-weight: 850; letter-spacing: -.025em; }
.product-card p { color: var(--muted); font-size: .9rem; }
.card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; }
.card-price strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; }
.card-price span { color: var(--muted); font-size: .72rem; }
.select-button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; padding: 4px 0; font-weight: 850; }

.checkout-section { background: var(--paper); }
.checkout-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.checkout-heading > div > p:last-child { max-width: 720px; color: var(--muted); }
.demo-badge { display: inline-block; margin-bottom: 16px; background: var(--clay-soft); color: var(--clay); }
.text-link { color: var(--forest-2); font-weight: 850; white-space: nowrap; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: start; gap: 24px; }
.checkout-main { display: grid; gap: 18px; }
.checkout-card, .order-summary { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 40px rgba(0,0,0,.04); }
.checkout-card { padding: 28px; }
.checkout-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.checkout-card-heading h3 { margin-top: 4px; font-family: inherit; font-size: 1.45rem; font-weight: 850; }
.checkout-card-heading > strong { text-align: right; color: var(--forest-2); }
.checkout-items { display: grid; }
.checkout-line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checkout-line:last-child { border-bottom: 0; }
.checkout-line h4 { margin: 0; font-size: 1rem; }
.checkout-line p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.line-price { min-width: 94px; text-align: right; font-weight: 850; }
.quantity-control { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.quantity-control button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-weight: 900; }
.quantity-control span { min-width: 26px; text-align: center; font-weight: 850; }
.capacity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding-top: 22px; }
.capacity-item { padding: 18px; border-radius: 16px; background: var(--surface-2); }
.capacity-item strong, .capacity-item span { display: block; }
.capacity-item strong { font-size: 1.35rem; }
.capacity-item span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.term-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; padding-top: 24px; }
.term-grid p { margin: 7px 0 0; color: var(--muted); font-size: .86rem; }
.decision-note, .legal-warning { margin-top: 20px; padding: 15px 17px; border-radius: 14px; color: var(--clay); background: var(--clay-soft); font-size: .84rem; }
.draft-pill { background: var(--clay-soft); color: var(--clay); }
.legal-intro { color: var(--muted); }
.legal-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 20px; }
.legal-link { display: flex; justify-content: space-between; gap: 16px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: transparent; color: var(--ink); cursor: pointer; text-align: left; }
.legal-link span:last-child { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.order-summary { position: sticky; top: 104px; padding: 28px; }
.summary-row, .summary-total { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.muted-row { color: var(--muted); font-size: .84rem; }
.summary-total { align-items: end; border: 0; }
.summary-total strong { font-size: 2.1rem; }
.summary-note, .payment-unavailable { color: var(--muted); font-size: .78rem; }
.payment-button { width: 100%; margin-top: 12px; background: var(--forest); color: var(--paper); }
.payment-unavailable { text-align: center; }
.safety-list { margin: 22px 0 0; padding: 18px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.safety-list li + li { margin-top: 7px; }

.builder-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6vw; background: #123c2c; color: white; }
.builder-intro { padding-top: 18px; }
.builder-intro .eyebrow { color: var(--lime); }
.builder-intro > p:not(.eyebrow) { color: rgba(255,255,255,.72); font-size: 1.05rem; }
.cloud-boundary { display: flex; gap: 16px; margin-top: 36px; padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.06); }
.cloud-boundary strong, .cloud-boundary p { display: block; }
.cloud-boundary p { margin: 5px 0 0; color: rgba(255,255,255,.65); font-size: .85rem; }
.lock-icon { color: var(--lime); font-size: 1.8rem; }
.codex-help { margin-top: 20px; padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.06); }
.codex-help-title-row { display: flex; align-items: center; gap: 12px; }
.openai-logo-link { display: block; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; }
.openai-logo-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.openai-logo { display: block; width: 44px; height: 44px; }
.codex-help strong { display: block; color: white; }
.codex-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 10px; }
.codex-links a { color: var(--lime); font-weight: 850; }
.codex-help p { margin: 12px 0 0; color: rgba(255,255,255,.65); font-size: .76rem; }
.builder-panel { padding: 28px; border-radius: 28px; background: var(--paper); color: var(--ink); }
.builder-topline { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.builder-topline strong { display: block; margin-top: 3px; }
.label { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.price { text-align: right; }
.price span { display: block; color: var(--muted); font-size: .75rem; }
.price strong { font-size: 2rem; }
.selection-list { min-height: 72px; display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; }
.selection-chip { padding: 8px 11px; border-radius: 999px; background: var(--lime-soft); color: var(--forest); font-size: .82rem; font-weight: 800; }
.empty-state { color: var(--muted); font-size: .88rem; }
.branding-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.branding-grid label, .existing-project { display: grid; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 800; }
input, select { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); }
input[type="color"] { padding: 4px; cursor: pointer; }
input[type="file"] { padding: 8px; font-size: .72rem; }
.branding-grid small { font-weight: 500; line-height: 1.35; }
.logo-field { align-content: start; }
.logo-field img { display: block; width: min(180px,100%); max-height: 96px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: white; object-fit: contain; }
.logo-field img[hidden] { display: none; }
.color-field { grid-template-columns: 1fr 56px; align-items: center; }
.color-field span { grid-column: 1; }
.color-field input { grid-column: 2; grid-row: 1 / 3; height: 46px; }
.privacy-note { margin: -8px 0 20px; color: var(--muted); font-size: .72rem; }
.platform-control, .project-control { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.segmented button { padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 800; color: var(--muted); }
.segmented button.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.segmented button:disabled { cursor: not-allowed; opacity: .4; }
.existing-project { padding: 14px 0 18px; }
.clearable-input { position: relative; }
.clearable-input input { padding-right: 44px; }
.clear-field-button { position: absolute; top: 50%; right: 7px; width: 30px; height: 30px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.25rem; line-height: 1; }
.clear-field-button:hover { background: var(--surface-2); color: var(--ink); }
.clear-field-button:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 2px; }
.clear-field-button[hidden] { display: none; }
.workspace-confirmation { display: flex; gap: 12px; align-items: flex-start; padding: 0 0 18px; color: var(--muted); font-size: .82rem; line-height: 1.5; font-weight: 700; }
.workspace-confirmation input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.agreement-card { border-color: color-mix(in srgb, var(--clay) 45%, var(--line)); }
.agreement-card .workspace-confirmation { padding: 14px; margin-top: 14px; border-radius: 12px; background: var(--clay-soft); color: var(--text); }
.configuration-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 20px; }
.configuration-actions .form-state { flex: 1 1 260px; margin: 0; }
.project-guidance { margin: -4px 0 16px; color: var(--muted); font-size: .78rem; }
.compatibility-message { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; color: var(--clay); background: var(--clay-soft); font-size: .85rem; }
.codex-onboarding { padding: 18px 0; border-top: 1px solid var(--line); }
.codex-onboarding h3 { font-family: inherit; }
.codex-question { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.codex-onboarding h4 { margin: 14px 0 4px; font-size: 1rem; }
.codex-onboarding p, .tutorial-steps { margin: 0; color: var(--muted); font-size: .85rem; }
.tutorial-frame { width: min(100%, 20rem); aspect-ratio: 16 / 9; margin: 14px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.tutorial-placeholder:not([hidden]) { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; font-size: .78rem; color: var(--muted); }
.tutorial-placeholder strong, .tutorial-steps strong { color: var(--ink); }
.tutorial-play { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 50%; background: var(--lime-soft); color: var(--forest); }
.tutorial-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.tutorial-steps { padding-inline-start: 1.5em; }
.tutorial-steps li + li { margin-top: 6px; }
.tutorial-steps li::marker { font-weight: 800; color: var(--forest); }
.prompt-header, .prompt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.prompt-header { justify-content: space-between; margin-bottom: 8px; }
.prompt-actions button { border: 1px solid transparent; cursor: pointer; line-height: 1.15; }
.prompt-actions button:hover:enabled { border-color: var(--forest); }
.prompt-actions button:active:enabled { background: var(--forest); color: var(--paper); }
.prompt-actions button:disabled { cursor: not-allowed; opacity: .5; }
.prompt-actions button:focus-visible, .codex-question button:focus-visible { outline: 2px solid var(--forest-2); }
.text-button { padding: 5px; border: 0; background: transparent; color: var(--forest-2); cursor: pointer; font-weight: 850; }
textarea { width: 100%; min-height: 420px; resize: vertical; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); color: var(--ink); font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.builder-footnote { margin: 10px 0 0; color: var(--muted); font-size: .72rem; }
.final-cta { text-align: center; }
.final-cta h2 { max-width: 980px; margin: 0 auto; }
.final-cta > p:last-child { max-width: 820px; margin: 26px auto 0; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 8vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

dialog { width: min(720px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 26px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 120px rgba(9,32,23,.35); }
dialog::backdrop { background: rgba(9, 25, 18, .68); backdrop-filter: blur(6px); }
dialog form { position: relative; padding: 34px; }
.agreement-dialog {
  --agreement-bg: #eef7ef; --agreement-panel: #f8fcf7; --agreement-ink: #10251a; --agreement-muted: #53665a;
  --agreement-line: rgba(26,91,60,.24); --agreement-accent: #2c7a4d; --agreement-accent-bright: #91d658;
  width: min(1180px, calc(100vw - 24px)); height: min(960px, calc(100dvh - 24px)); max-height: calc(100dvh - 24px);
  overflow: hidden; border: 1px solid color-mix(in srgb, var(--agreement-accent) 55%, transparent); border-radius: 28px;
  color: var(--agreement-ink); background: var(--agreement-bg); box-shadow: 0 34px 130px rgba(2,25,14,.52);
}
html[data-theme="dark"] .agreement-dialog {
  --agreement-bg: #071c12; --agreement-panel: #0c2619; --agreement-ink: #f2f7f1; --agreement-muted: #c0cec4;
  --agreement-line: rgba(137,213,158,.3); --agreement-accent: #7dce73; --agreement-accent-bright: #b5ef74;
}
.agreement-dialog::backdrop { background: rgba(2,17,10,.82); backdrop-filter: blur(9px); }
.agreement-dialog-shell { display: grid; grid-template-rows: auto minmax(150px,1fr) auto; height: 100%; min-height: 0; }
.agreement-dialog-header { position: relative; overflow: hidden; padding: 17px 34px 16px; border-bottom: 1px solid var(--agreement-line); background: radial-gradient(circle at 88% 5%, rgba(114,199,91,.26), transparent 24%), linear-gradient(145deg, color-mix(in srgb, var(--agreement-panel) 92%, #133d28), var(--agreement-bg)); }
.agreement-dialog-header::after { content: ""; position: absolute; z-index: 0; width: 330px; height: 210px; right: -90px; top: -95px; border: 44px solid rgba(139,211,105,.1); border-radius: 50%; transform: rotate(-14deg); }
.agreement-brand-row { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1px minmax(240px,1fr) auto; align-items: center; gap: 22px; padding-right: 150px; }
.agreement-brand { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.agreement-brand-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--agreement-accent-bright); background: linear-gradient(145deg,#1a6738,#0c3f25); box-shadow: inset 0 1px rgba(255,255,255,.14); font-size: 1.25rem; font-weight: 950; }
.agreement-brand strong, .agreement-brand small { display: block; }
.agreement-brand strong { font-size: 1.02rem; }
.agreement-brand small { color: var(--agreement-muted); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.agreement-brand-divider { align-self: stretch; background: var(--agreement-line); }
.agreement-brand-row h2 { position: relative; z-index: 1; color: var(--agreement-accent-bright); font-family: inherit; font-size: clamp(1.3rem,2.2vw,2.05rem); font-weight: 900; line-height: 1.03; letter-spacing: -.035em; }
.agreement-version { position: relative; z-index: 2; padding: 8px 14px; border: 1px solid var(--agreement-line); border-radius: 999px; color: var(--agreement-ink); background: color-mix(in srgb, var(--agreement-panel) 85%, transparent); font-size: .78rem; white-space: nowrap; }
.agreement-botanical { position: absolute; z-index: 1; right: 0; top: -24px; width: 155px; height: 100px; pointer-events: none; }
.agreement-botanical i { position: absolute; width: 74px; height: 34px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg,rgba(152,220,94,.65),rgba(23,90,47,.25)); transform: rotate(-26deg); }
.agreement-botanical i:nth-child(1) { right: 10px; top: 7px; }
.agreement-botanical i:nth-child(2) { right: 66px; top: 36px; transform: rotate(18deg); }
.agreement-botanical i:nth-child(3) { right: 20px; top: 57px; transform: rotate(-54deg); background: linear-gradient(135deg,rgba(218,110,190,.72),rgba(114,39,118,.28)); }
.agreement-introduction { position: relative; z-index: 2; margin-top: 17px; max-width: 720px; }
.agreement-introduction h3 { font-family: inherit; font-size: clamp(1.5rem,2.4vw,2.25rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.agreement-introduction p { margin: 4px 0 0; color: var(--agreement-muted); font-size: .95rem; line-height: 1.35; }
.agreement-capabilities { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 840px; margin-top: 13px; border: 1px solid var(--agreement-line); border-radius: 15px; background: color-mix(in srgb, var(--agreement-panel) 88%, transparent); }
.agreement-capability { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 15px; border-right: 1px solid var(--agreement-line); }
.agreement-capability:last-child { border-right: 0; }
.agreement-capability svg { flex: 0 0 auto; width: 29px; height: 29px; fill: none; stroke: var(--agreement-accent-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agreement-capability strong { display: block; font-size: .75rem; line-height: 1.13; }
.agreement-capability small { display: block; margin-top: 2px; color: var(--agreement-muted); font-size: .58rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.agreement-content { min-height: 0; padding: 22px 25px 48px; overflow-y: scroll; overscroll-behavior: contain; scrollbar-gutter: stable; scroll-padding-bottom: 34px; background: var(--agreement-bg); color: var(--agreement-ink); font: 400 .91rem/1.48 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.agreement-content::-webkit-scrollbar { width: 15px; }
.agreement-content::-webkit-scrollbar-track { background: color-mix(in srgb, var(--agreement-panel) 86%, transparent); border-left: 1px solid var(--agreement-line); }
.agreement-content::-webkit-scrollbar-thumb { border: 4px solid transparent; border-radius: 999px; background: color-mix(in srgb, var(--agreement-accent) 68%, var(--agreement-muted)); background-clip: padding-box; }
.agreement-content { scrollbar-color: color-mix(in srgb, var(--agreement-accent) 68%, var(--agreement-muted)) color-mix(in srgb, var(--agreement-panel) 86%, transparent); scrollbar-width: auto; }
.agreement-content:focus-visible { outline: 3px solid var(--agreement-accent); outline-offset: -3px; }
.agreement-content-fallback { white-space: pre-wrap; line-height: 1.72; }
.agreement-legal-document { width: min(100%,1040px); margin: 0 auto; }
.agreement-legal-preamble { margin-bottom: 18px; padding: 14px 17px; border: 1px solid var(--agreement-line); border-radius: 14px; background: color-mix(in srgb, var(--agreement-panel) 86%, transparent); }
.agreement-legal-preamble p { margin: 0; white-space: pre-line; color: var(--agreement-muted); font-size: .76rem; line-height: 1.45; }
.agreement-legal-preamble p:first-child { color: var(--agreement-ink); font-size: .9rem; font-weight: 900; }
.agreement-legal-section { padding: 0 8px 18px; }
.agreement-legal-section + .agreement-legal-section { padding-top: 16px; border-top: 1px solid var(--agreement-line); }
.agreement-legal-section > h3 { margin: 0 0 10px; color: var(--agreement-ink); font-family: inherit; font-size: 1.16rem; font-weight: 900; line-height: 1.22; letter-spacing: -.02em; }
.agreement-legal-section > h4 { margin: 15px 0 5px; color: var(--agreement-ink); font-family: inherit; font-size: .93rem; font-weight: 900; letter-spacing: 0; }
.agreement-legal-section > p { margin: 0 0 9px; }
.agreement-legal-list { margin: 7px 0 12px; padding-left: 24px; }
.agreement-legal-list li { margin: 3px 0; padding-left: 3px; }
.agreement-highlight { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 15px; margin: 10px 0 13px; padding: 13px 20px; border: 1px solid; border-radius: 16px; box-shadow: inset 0 1px rgba(255,255,255,.06); }
.agreement-highlight-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid currentColor; border-radius: 18px; font-size: 1.4rem; font-weight: 950; }
.agreement-highlight-badge { display: inline-flex; width: fit-content; padding: 3px 13px; border-radius: 999px; color: #102115; font-size: .67rem; font-weight: 950; letter-spacing: .035em; text-transform: uppercase; }
.agreement-highlight h4 { margin: 5px 0 1px; color: var(--agreement-ink); font-family: inherit; font-size: 1.1rem; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.agreement-highlight p { margin: 0; color: var(--agreement-ink); font-size: .83rem; line-height: 1.36; }
.agreement-highlight-green { color: #80d45f; border-color: color-mix(in srgb,#71cd59 82%,transparent); background: linear-gradient(100deg,rgba(47,137,61,.22),rgba(35,111,61,.09)); }
.agreement-highlight-amber { color: #f0b84b; border-color: color-mix(in srgb,#edaa36 86%,transparent); background: linear-gradient(100deg,rgba(187,119,16,.24),rgba(133,81,15,.1)); }
.agreement-highlight-blue { color: #70b9ea; border-color: color-mix(in srgb,#56a9de 82%,transparent); background: linear-gradient(100deg,rgba(36,116,175,.22),rgba(29,87,133,.09)); }
.agreement-highlight-green .agreement-highlight-badge { background: #a9eb79; }
.agreement-highlight-amber .agreement-highlight-badge { background: #f4c45f; }
.agreement-highlight-blue .agreement-highlight-badge { background: #8dcef2; }
.agreement-dialog-footer { display: block; padding: 13px 30px 16px; border-top: 1px solid var(--agreement-line); color: var(--agreement-ink); background: color-mix(in srgb, var(--agreement-panel) 96%, transparent); }
.agreement-dialog-footer .form-state { margin: 7px 0 0; }
.agreement-progress { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--agreement-line); color: var(--agreement-ink); font-size: .82rem; font-weight: 800; }
.agreement-progress span { margin-right: 6px; color: var(--agreement-accent-bright); font-size: 1.05rem; }
.agreement-footer-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; padding-top: 11px; }
.agreement-acknowledgment { min-width: 0; margin: 0; padding: 0; border: 0; }
.agreement-acknowledgment label { display: flex; gap: 12px; align-items: flex-start; color: var(--agreement-muted); font-size: .72rem; line-height: 1.4; }
.agreement-acknowledgment input { flex: 0 0 auto; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--agreement-accent); }
.agreement-acknowledgment input:disabled { cursor: not-allowed; opacity: .58; }
.agreement-actions { display: grid; gap: 7px; justify-items: stretch; min-width: 220px; margin: 0; }
.agreement-actions .primary { min-width: 220px; min-height: 46px; border-color: var(--agreement-accent); color: #102115; background: var(--agreement-accent-bright); }
.agreement-sign-out { justify-self: center; padding: 2px 8px; border: 0; border-bottom: 1px solid currentColor; color: var(--agreement-ink); background: transparent; cursor: pointer; font-size: .75rem; font-weight: 800; }
.agreement-sign-out span { color: var(--agreement-accent-bright); }
.dialog-close { position: absolute; right: 24px; top: 20px; border: 0; background: transparent; cursor: pointer; font-size: 2rem; color: var(--muted); }
.dialog-description { color: var(--muted); }
.dialog-price { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; padding: 18px; border-radius: 14px; background: var(--lime-soft); }
.dialog-price strong { font-size: 1.5rem; }
.dialog-details { margin: 0; }
.dialog-details div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.dialog-details dt { font-weight: 850; }
.dialog-details dd { margin: 0; color: var(--muted); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.bundle-switch-note { margin: 22px 0; padding: 18px; border-radius: 16px; background: var(--clay-soft); color: var(--clay); }
.bundle-switch-note p { margin: 7px 0 14px; }
.module-selector-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.module-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.module-option.selected { border-color: var(--forest); background: var(--lime-soft); box-shadow: inset 0 0 0 1px var(--forest); }
.module-option:disabled { cursor: not-allowed; opacity: .72; }
.module-option strong, .module-option small { display: block; }
.module-option small { margin-top: 4px; color: var(--muted); }
.module-selector-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.module-selector-summary div { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.module-selector-summary span, .module-selector-summary strong { display: block; }
.module-selector-summary span { color: var(--muted); font-size: .75rem; }
.module-selector-summary strong { margin-top: 5px; font-size: 1.45rem; }
.legal-warning strong, .legal-warning p { display: block; }
.legal-warning p { margin: 5px 0 0; }

.botanical-catalog-section { background: color-mix(in srgb, var(--surface) 92%, #dcebd7); }
.catalog-toolbar, .catalog-actions, .catalog-entry-search { display: flex; align-items: end; gap: .75rem; }
.catalog-toolbar { justify-content: space-between; margin: 1.25rem 0 .75rem; }
.catalog-toolbar label, .catalog-entry-search label:first-child { flex: 1; max-width: 34rem; }
.botanical-classification-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1rem; }
.botanical-classification-card, .catalog-loading-card { min-height: 220px; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 8px 24px rgba(16,57,43,.06); }
.catalog-loading-card { padding: 1.15rem; }
.botanical-classification-card { position: relative; overflow: hidden; color: inherit; }
.botanical-classification-select { display: flex; flex-direction: column; gap: .75rem; width: 100%; min-height: 216px; padding: 1.15rem; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.botanical-classification-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.botanical-classification-select:focus-visible, .botanical-family-info:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.botanical-classification-card.is-applied { border-color: #278059; background: color-mix(in srgb, var(--surface) 88%, #bfe7cf); }
.botanical-classification-card.is-pending { border-color: #d18b18; box-shadow: 0 0 0 3px rgba(209,139,24,.15); }
.botanical-classification-card header { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; padding-right: 2.35rem; }
.botanical-classification-card h3 { margin: 0; font-size: 1.18rem; }
.botanical-family-info { position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--ink); cursor: pointer; font: 800 .9rem/1 Georgia, serif; }
.botanical-family-info:hover { border-color: var(--accent); background: var(--lime-soft); }
.catalog-card-state, .catalog-review-pill { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: .28rem .58rem; font-size: .74rem; font-weight: 800; }
.catalog-card-state { background: var(--line); }
.is-applied .catalog-card-state { background: #c7ecd5; color: #155238; }
.is-pending .catalog-card-state { background: #ffe6b8; color: #774b05; }
.catalog-review-pill { background: #f3e8c7; color: #6e5310; }
.catalog-family-list { margin: 0; color: var(--muted); line-height: 1.55; }
.catalog-card-counts { margin-top: auto; display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; }
.catalog-browser { margin-top: 2rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: clip; }
.catalog-browser-summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.15rem 1.25rem; cursor: pointer; list-style: none; }
.catalog-browser-summary::-webkit-details-marker { display: none; }
.catalog-browser-summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 1.35rem; font-weight: 800; }
.catalog-browser[open] .catalog-browser-summary::after { content: "−"; }
.catalog-browser-summary > span:first-child { display: grid; gap: .3rem; }
.catalog-browser-summary > span:last-of-type { margin-left: auto; color: var(--muted); font-size: .86rem; }
.catalog-browser-content { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--line); }
.catalog-entry-search { margin: 1.25rem 0 1rem; }
.botanical-entry-results { overflow-x: auto; }
.catalog-entry-table { width: 100%; border-collapse: collapse; }
.catalog-entry-table th, .catalog-entry-table td { padding: .7rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.catalog-entry-table th { color: var(--muted); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.catalog-entry-table small { display: block; color: var(--muted); margin-top: .2rem; }
.catalog-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.catalog-pagination > div { display: flex; gap: .65rem; }
.catalog-pagination .form-state { margin: 0; }
.botanical-family-dialog-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem 1.5rem; max-height: min(55vh, 32rem); margin: 1.5rem 0 0; padding: 0; overflow-y: auto; list-style: none; }
.botanical-family-dialog-list li { padding: .7rem .8rem; border-bottom: 1px solid var(--line); color: var(--ink); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .card-grid.modules { grid-template-columns: repeat(2,1fr); }
  .card-grid.addons { grid-template-columns: repeat(2,1fr); }
  .builder-section { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2,1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .readiness-grid { grid-template-columns: repeat(2,1fr); }
  .account-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .term-grid { grid-template-columns: 1fr; }
  .auth-card { grid-template-columns: 1fr; gap: 30px; padding: 34px; }
  .agreement-brand-row { grid-template-columns: auto 1px minmax(190px,1fr) auto; gap: 15px; padding-right: 0; }
  .agreement-brand { min-width: 0; }
  .agreement-brand small { letter-spacing: .11em; }
  .agreement-botanical { display: none; }
  .agreement-capability { padding: 8px 10px; }
  .agreement-footer-controls { gap: 16px; }
}

@media (max-width: 720px) {
  .catalog-toolbar, .catalog-entry-search { align-items: stretch; flex-direction: column; }
  .catalog-toolbar label, .catalog-entry-search label:first-child { max-width: none; width: 100%; }
  .catalog-actions { width: 100%; }
  .catalog-actions .button { flex: 1; }
  .site-header { padding: 10px 16px; min-height: 74px; }
  .header-actions { gap: 6px; }
  .account-chip { display: none; }
  .proposal-pill { display: none; }
  .theme-selector button { padding: 6px 7px; font-size: .62rem; }
  .hero, .section { padding-left: 22px; padding-right: 22px; }
  .hero { padding-top: 60px; }
  .hero-visual { min-height: 350px; transform: scale(.8); margin: -35px -70px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 450px; height: 450px; }
  .section-heading, .checkout-heading { display: grid; grid-template-columns: 1fr; }
  .section-heading > p { margin-left: 0; }
  .featured-card { grid-template-columns: 1fr; padding: 30px; }
  .featured-price { justify-self: start; text-align: left; }
  .card-grid.modules, .card-grid.addons { grid-template-columns: 1fr; }
  .subheading-row { display: block; }
  .subheading-row p { margin-top: 8px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .checkout-line { grid-template-columns: 1fr auto; }
  .quantity-control { grid-column: 1; justify-self: start; }
  .line-price { grid-column: 2; grid-row: 1 / 3; }
  .capacity-grid, .legal-links, .branding-grid, .module-selector-options, .module-selector-summary { grid-template-columns: 1fr; }
  .catalog-browser-summary, .catalog-pagination { align-items: flex-start; flex-direction: column; }
  .catalog-browser-summary > span:last-of-type { margin-left: 0; }
  .botanical-family-dialog-list { grid-template-columns: 1fr; }
  .readiness-grid { grid-template-columns: 1fr; }
  .platform-control, .project-control { align-items: flex-start; flex-direction: column; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; }
  .builder-panel { padding: 20px; }
  .builder-topline { align-items: flex-start; }
  .color-field { grid-template-columns: 1fr 56px; }
  .dialog-details div { grid-template-columns: 1fr; gap: 4px; }
  .dialog-actions { flex-direction: column-reverse; }
  .agreement-dialog { width: calc(100vw - 8px); height: calc(100dvh - 8px); max-height: calc(100dvh - 8px); border-radius: 17px; }
  .agreement-dialog-shell { grid-template-rows: auto minmax(130px,1fr) auto; }
  .agreement-dialog-header { padding: 12px 14px 11px; }
  .agreement-brand-row { grid-template-areas: "brand version" "title title"; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; }
  .agreement-brand-divider { display: none; }
  .agreement-brand { grid-area: brand; gap: 8px; }
  .agreement-brand-mark { width: 38px; height: 38px; border-radius: 11px; font-size: .95rem; }
  .agreement-brand strong { font-size: .86rem; }
  .agreement-brand small { font-size: .6rem; }
  .agreement-brand-row h2 { grid-area: title; font-size: 1.16rem; line-height: 1.08; }
  .agreement-version { grid-area: version; justify-self: end; padding: 6px 9px; font-size: .68rem; }
  .agreement-introduction { margin-top: 10px; }
  .agreement-introduction h3 { font-size: 1.25rem; }
  .agreement-introduction p { font-size: .8rem; line-height: 1.3; }
  .agreement-capabilities { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 9px; }
  .agreement-capability { min-height: 47px; padding: 6px 9px; }
  .agreement-capability:nth-child(2) { border-right: 0; }
  .agreement-capability:nth-child(-n+2) { border-bottom: 1px solid var(--agreement-line); }
  .agreement-capability svg { width: 22px; height: 22px; }
  .agreement-capability strong { font-size: .69rem; }
  .agreement-capability small { font-size: .54rem; }
  .agreement-content { padding: 16px 10px 34px 14px; font-size: .9rem; }
  .agreement-legal-preamble { padding: 11px 12px; }
  .agreement-legal-section { padding-left: 2px; padding-right: 2px; }
  .agreement-legal-section > h3 { font-size: 1rem; }
  .agreement-highlight { grid-template-columns: 44px 1fr; gap: 10px; padding: 11px 12px; border-radius: 13px; }
  .agreement-highlight-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 1rem; }
  .agreement-highlight-badge { padding: 3px 8px; font-size: .59rem; }
  .agreement-highlight h4 { font-size: .98rem; }
  .agreement-highlight p { font-size: .8rem; }
  .agreement-dialog-footer { padding: 9px 13px 11px; }
  .agreement-progress { padding-bottom: 7px; font-size: .8rem; }
  .agreement-footer-controls { grid-template-columns: 1fr; gap: 9px; padding-top: 8px; }
  .agreement-acknowledgment label { font-size: .76rem; line-height: 1.35; }
  .agreement-acknowledgment input { width: 20px; height: 20px; }
  .agreement-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; min-width: 0; }
  .agreement-actions .primary { min-width: 0; min-height: 40px; grid-column: 1; }
  .agreement-sign-out { grid-column: 2; grid-row: 1; white-space: nowrap; }
  footer { flex-direction: column; }
}

@media (max-height: 760px) and (min-width: 721px) {
  .agreement-dialog-header { padding-top: 11px; padding-bottom: 10px; }
  .agreement-brand-mark { width: 42px; height: 42px; }
  .agreement-introduction { margin-top: 10px; }
  .agreement-introduction h3 { font-size: 1.45rem; }
  .agreement-introduction p { font-size: .78rem; }
  .agreement-capabilities { margin-top: 8px; }
  .agreement-capability { padding-top: 6px; padding-bottom: 6px; }
  .agreement-dialog-footer { padding-top: 9px; padding-bottom: 10px; }
}

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