/* DreamCanvas print-studio art direction: paper, ink, and one deliberate accent. */
:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --paper-deep: #e8e3d9;
  --paper-light: #fcfaf6;
  --ink: #252725;
  --ink-soft: #515552;
  --quiet: #7c807a;
  --line: #d5d1c8;
  --line-dark: rgba(245,242,235,.19);
  --pine: #282c29;
  --pine-2: #414844;
  --moss: #687368;
  --rust: #a64d35;
  --rust-dark: #8c3f2c;
  --ochre: #b99769;
  --sand: #e6e0d5;
  --white: #fffefa;
  --blue: #566b83;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}

html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
body::before, body::after { display: none !important; }
body > * { position: relative; z-index: auto; }
* { box-sizing: border-box; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(62,90,155,.55); outline-offset: 3px; }

/* Public homepage */
.landing-screen { overflow: hidden; min-height: 100vh; background: var(--paper); color: var(--ink); }
.brand-symbol, .boot-mark { border: 0; border-radius: 0; background: var(--rust); color: white; box-shadow: none; }
.landing-nav { position: relative; top: auto; min-height: 78px; gap: 30px; padding: 13px clamp(22px,6vw,92px); border-bottom: 1px solid var(--ink); background: var(--paper); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.landing-nav .brand-symbol { width: 34px; height: 34px; border: 0; border-radius: 0; background: var(--rust); color: var(--white); box-shadow: none; font-family: var(--serif); font-style: italic; }
.landing-nav .wordmark, .landing-nav .wordmark-light { color: var(--ink); }
.landing-nav .wordmark-name { font-family: var(--sans); font-size: 21px; font-weight: 750; letter-spacing: -.07em; }
.wordmark-period { color: var(--rust); }
.landing-nav-links { gap: clamp(15px,2.4vw,36px); }
.landing-nav-links a, .landing-signin { color: var(--ink-soft); font-size: 11px; font-weight: 550; }
.landing-nav-links a:hover, .landing-signin:hover { color: var(--rust); }
.landing-nav-cta, .button-primary { border: 1px solid var(--ink); border-radius: 1px; background: var(--ink); color: var(--white); box-shadow: none; }
.landing-nav-cta:hover:not(:disabled), .button-primary:hover:not(:disabled) { border-color: var(--rust); background: var(--rust); color: white; box-shadow: none; }
.landing-menu-button { color: var(--ink); }
.landing-menu-button span { color: var(--rust); }
.button, .button-light { border-radius: 1px; box-shadow: none; }
.landing-hero { max-width: none; min-height: 660px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,6vw,90px); padding: 62px clamp(26px,8.2vw,132px) 76px; background: #e9e3d7; }
.landing-hero::before { display: none; }
.landing-hero-copy { max-width: 650px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.landing-kicker, .landing-section-kicker { gap: 10px; color: #606a6c; font: 700 9px/1.5 var(--sans); letter-spacing: .12em; }
.landing-kicker-star { flex: 0 0 auto; white-space: nowrap; color: var(--rust); font: 700 10px var(--sans); }
.landing-hero h1 { margin: 25px 0 20px; color: var(--ink); font: 780 clamp(54px,7vw,88px)/.91 var(--sans); letter-spacing: -.075em; }
.landing-hero h1 em, .landing-section-heading h2 em, .models-heading h2 em, .pricing-copy h2 em, .technical-heading h2 em { color: var(--rust); font-style: normal; font-weight: 780; }
.landing-lede { max-width: 480px; color: #535e60; font: 16px/1.7 var(--sans); }
.landing-hero-actions { gap: 23px; }
.landing-main-cta { min-width: 225px; min-height: 52px; padding: 0 16px; }
.landing-secondary-link { color: var(--ink); font-size: 11px; font-weight: 600; }
.landing-secondary-link span { color: var(--rust); }
.landing-free-note { max-width: 410px; border-color: #c7c0b4; color: #697174; font-size: 10px; }
.landing-free-note .free-note-mark { color: var(--rust); }
.landing-free-note strong { color: var(--ink); }
.landing-art-area { height: 530px; }
.landing-art-area::before, .landing-art-area::after, .landing-orbit, .prompt-slip, .model-seal { display: none; }
.landing-art-card { width: min(84%,440px); padding: 12px 12px 0; border: 1px solid var(--ink); border-radius: 0; background: var(--paper-light); box-shadow: 9px 9px 0 var(--rust); transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.landing-art-topline { color: #616b6d; font: 700 8px var(--sans); letter-spacing: .12em; }
.landing-art-topline b { color: var(--rust); }
.landing-art-caption { color: var(--ink); }
.landing-art-caption small { color: #7a7770; }
.landing-art-mark { color: var(--rust); }
.hero-bottomline { color: #697274; }
.hero-bottomline::before, .hero-bottomline::after { background: #c5bfb3; }
.hero-bottom-arrow { color: var(--rust); }
.landing-intro { padding: 98px clamp(26px,8vw,126px) 104px; background: var(--paper-light); }
.landing-section-heading, .models-heading { max-width: 1120px; gap: 55px; margin-bottom: 45px; }
.landing-section-heading h2, .models-heading h2, .pricing-copy h2 { color: var(--ink); font: 760 clamp(40px,5vw,62px)/.96 var(--sans); letter-spacing: -.065em; }
.landing-section-heading p, .models-heading > p { color: #60696b; font: 15px/1.7 var(--sans); }
.landing-steps { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.landing-step { min-height: 255px; padding: 23px; border: 0; border-right: 1px solid var(--line); background: transparent; }
.landing-step:last-child { border-right: 0; }
.step-index { color: var(--rust); }
.step-illustration-prompt, .mini-medium { border-color: #cbc6bb; background: #f1ede4; }
.prompt-line { background: #9b9f92; }
.prompt-line.long { background: var(--blue); }
.prompt-cursor { color: var(--rust); }
.mini-medium b, .saved-caption b { color: var(--ink); }
.medium-art i { color: var(--rust); }
.medium-photo i { color: var(--blue); }
.saved-picture { background: var(--rust); }
.saved-picture i { border-color: #f4f0e7; background: var(--pine); }
.saved-caption, .mini-medium small { color: #737a76; }
.landing-step h3 { color: var(--ink); font: 700 20px var(--sans); letter-spacing: -.035em; }
.landing-step p { color: #636d6d; font-size: 11px; }
.landing-models { position: relative; padding: 100px clamp(26px,8vw,126px) 106px; background: var(--pine); color: var(--paper-light); }
.landing-models::before { display: none; }
.landing-models .landing-section-kicker { color: #c0c6bd; }
.models-heading h2 { color: var(--paper-light); }
.models-heading h2 em { color: var(--ochre); }
.models-heading > p { color: #c0c6bd; }
.model-cards { gap: 18px; }
.model-feature { padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 0; background: var(--paper-light); box-shadow: none; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.model-feature-art { border-radius: 0; }
.photo-horizon { background: #71867e; }
.photo-reflection { background: #d3bd8f; }
.photo-grain { display: none; }
.model-feature-info { color: var(--ink); }
.model-index { color: #6b7474; }
.model-feature-info h3 { color: var(--ink); font: 750 23px var(--sans); letter-spacing: -.045em; }
.model-feature-info p { color: #626b6b; font: 12px/1.55 var(--sans); }
.model-feature-info code { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 5px 0; background: none; color: #58666a; font: 8px var(--sans); }
.model-more { display: inline-flex; gap: 7px; margin-top: 12px; color: var(--rust-dark); font-size: 10px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.model-more span { font-size: 13px; text-decoration: none; }
.model-price { border-color: var(--line); }
.model-price strong { color: var(--rust); }
.model-price span { color: #697274; }
.landing-technical { padding: 100px clamp(26px,8vw,126px) 85px; }
.technical-heading h2 { color: var(--ink); font: 760 clamp(40px,5vw,62px)/.96 var(--sans); letter-spacing: -.065em; }
.technical-heading h2 em { color: var(--rust); }
.technical-heading > p { color: #60696b; font: 14px/1.7 var(--sans); }
.technical-grid { gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.technical-card { min-height: 310px; padding: 23px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.technical-card:nth-child(4) { border-right: 0; }
.technical-card-head { align-items: start; flex-direction: column; gap: 9px; }
.tech-icon { width: auto; height: auto; place-items: center start; border: 0; border-radius: 0; background: none; color: var(--rust); font-size: 18px; }
.technical-label { color: #626f71; font-size: 8px; }
.technical-card h3 { color: var(--ink); font: 720 21px var(--sans); letter-spacing: -.04em; }
.technical-card > p { color: #626d6e; font-size: 11px; }
.spec-list { border-color: var(--line); }
.spec-list div { border-color: #e0dbd1; }
.spec-list span { color: #737c7c; }
.spec-list b { color: var(--ink); font: 10px var(--sans); }
.tech-chips span { border: 1px solid var(--line); border-radius: 0; color: #586266; font-size: 8px; }
.technical-pipeline { background: #ebe5d9; }
.pipeline-node { border-color: #d3cdc0; border-radius: 0; background: var(--paper-light); }
.pipeline-node > span { color: var(--rust); }
.pipeline-node b { color: var(--ink); }
.pipeline-node small { color: #707879; font-size: 7px; }
.pipeline-steps > i { color: var(--rust); }
.queue-visual { border-color: var(--line); border-radius: 0; background: #eee9df; }
.queue-live-dot { background: #537860; box-shadow: none; }
.queue-visual small { color: #677575; }
.queue-visual b { color: var(--ink); }
.queue-pulse { color: var(--rust); }
.technical-footnote { border-color: var(--line); color: #606a6c; font-size: 10px; }
.technical-footnote > span:first-child, .technical-footnote a b { color: var(--rust); }
.technical-footnote a { color: var(--ink); }
.landing-pricing { padding: 100px clamp(26px,9vw,140px); background: var(--rust); color: white; }
.landing-pricing::before { display: none; }
.pricing-copy h2 { color: white; }
.pricing-copy h2 em { color: #f3d474; }
.pricing-copy > p { color: #fff0e6; font: 15px/1.7 var(--sans); }
.pricing-copy > small { color: #ffe0d5; }
.pricing-copy .landing-section-kicker { color: #ffe0d5; }
.pricing-cta { border: 1px solid white; background: white; color: var(--ink); }
.pricing-cta:hover:not(:disabled) { background: #f3d474; }
.pricing-details-link { display: flex; color: white; }
.credit-ledger { border: 1px solid var(--ink); border-radius: 0; background: var(--paper-light); box-shadow: 9px 9px 0 rgba(28,36,38,.22); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ledger-heading { border-color: var(--line); color: #647071; }
.ledger-heading span:last-child, .ledger-line > span b { color: var(--rust); }
.ledger-line { border-color: #e0dbd1; color: #596465; }
.ledger-line > strong { color: var(--ink); }
.ledger-line > strong small { color: #717a78; }
.ledger-foot { color: #687273; }
.ledger-foot b { color: var(--ink); }
.ledger-chain-mark { color: var(--rust); }
.ledger-stamp { right: -22px; bottom: -28px; border-color: var(--ink); border-radius: 0; background: var(--ochre); color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; transform: rotate(4deg); }
.landing-footer { min-height: 116px; flex-wrap: wrap; padding: 25px clamp(22px,6vw,92px); border-top: 1px solid var(--ink); background: var(--ink); color: #d2d4ca; backdrop-filter: none; -webkit-backdrop-filter: none; }
.landing-footer .brand-symbol { border: 0; border-radius: 0; background: var(--rust); color: white; box-shadow: none; }
.landing-footer .wordmark-name { color: white; font: 750 19px var(--sans); }
.landing-footer .wordmark-period { color: var(--ochre); }
.landing-footer > span, .landing-footer > small { color: #aab2ae; }
.landing-footer > button { color: #f0cd64; }
.footer-links { display: flex; flex-wrap: wrap; gap: 17px; }
.footer-links a { color: #e7e5dc; font-size: 10px; text-decoration: none; }
.footer-links a:hover { color: #f0cd64; }

/* Account and image studio surfaces inherit the same flat material palette. */
.auth-screen { background: var(--paper-light); }
.auth-art-panel { border-right: 1px solid var(--ink); background: var(--pine); color: var(--paper-light); }
.auth-artwork-wrap { border: 1px solid var(--ink); border-radius: 0; background: #e9e1d1; box-shadow: 8px 8px 0 var(--rust); transform: none; }
.artwork-stamp { border-radius: 0; background: var(--ochre); }
.auth-form-panel { background: var(--paper-light); }
.auth-form-wrap { border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.auth-form-wrap h1, .page-heading h1, .secondary-heading h1 { color: var(--ink); }
.auth-form-wrap h1 em, .page-heading h1 em, .secondary-heading h1 em, .payment-modal h2 em, .pricing-card h2 em, .payment-confirmed h3 em { color: var(--rust); }
.auth-lede { color: #596467; }
.auth-tabs { border-color: var(--line); }
.auth-tab { color: #687274; }
.auth-tab.is-active { color: var(--ink); border-color: var(--rust); }
.field-wrap { color: #4e5b5e; }
.field-wrap input, .field-wrap textarea { border-color: #c9c5ba; border-radius: 0; background: white; color: var(--ink); }
.field-wrap input:focus, .field-wrap textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(62,90,155,.12); }
.welcome-note { border-color: var(--line); border-radius: 0; background: #f0ece3; color: #5c686a; }
.welcome-note strong { color: var(--ink); }
.welcome-spark { color: var(--rust); }
.app-shell { background: var(--paper); }
.sidebar { border-right: 1px solid #33474c; background: var(--pine); color: var(--paper-light); }
.side-link { border-radius: 0; }
.side-link.is-active { background: var(--rust); color: white; }
.side-link.is-active::before { background: var(--ochre); }
.nav-icon, .nav-count, .sidebar-note-mark, .credit-mini-foot button { color: var(--ochre); }
.credit-card-mini { border-color: rgba(255,255,255,.24); border-radius: 0; background: rgba(0,0,0,.12); box-shadow: none; backdrop-filter: none; }
.credit-meter span, .wallet-balance-meter span { background: var(--ochre); }
.main-area { color: var(--ink); }
.topbar { border-color: var(--line); }
.crumbs strong, .top-credit-button strong { color: var(--ink); }
.top-credit-button { border-radius: 0; background: #ede8de; }
.composer-panel, .preview-panel { border-color: var(--line); border-radius: 0; background: var(--paper-light); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.prompt-wrap, .model-option, .select-field select, .network-option, .address-box, .copy-button { border-radius: 0; }
.model-option.is-selected { border-color: var(--rust); box-shadow: inset 3px 0 0 var(--rust); }
.preview-stage { border-radius: 0; }
.recent-card, .library-card, .wallet-balance-card, .pricing-card, .topup-history, .credits-footnote { border-color: var(--line); border-radius: 0; background: var(--paper-light); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.wallet-balance-card { background: var(--pine); color: white; }
.wallet-balance-card .wallet-card-top, .wallet-balance-card .wallet-balance-foot { color: #d5dbd7; }
.wallet-balance-card .wallet-big-balance { color: white; }
.payment-modal { border: 1px solid var(--ink); border-radius: 0; background: var(--paper-light); box-shadow: 8px 8px 0 rgba(28,36,38,.28); backdrop-filter: none; -webkit-backdrop-filter: none; }
.modal-backdrop { background: rgba(17,25,27,.72); backdrop-filter: none; }
.network-option.is-selected { border-color: var(--rust); box-shadow: inset 3px 0 0 var(--rust); }
.toast { border-radius: 0; box-shadow: 4px 4px 0 rgba(28,36,38,.16); }

/* Search landing pages */
.editorial-site { background: var(--paper); color: var(--ink); }
.editorial-header { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand nav account"; align-items: center; gap: 30px; padding: 12px clamp(20px,5.5vw,88px); border-bottom: 1px solid var(--ink); background: var(--paper); }
.editorial-brand { grid-area: brand; display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); font-size: 20px; font-weight: 760; letter-spacing: -.07em; text-decoration: none; }
.editorial-monogram { width: 32px; height: 32px; display: grid; place-items: center; background: var(--rust); color: white; font: italic 26px var(--serif); }
.brand-dot { color: var(--rust); }
.editorial-nav, .editorial-account { display: flex; align-items: center; gap: clamp(15px,2.6vw,38px); }
.editorial-nav { grid-area: nav; }
.editorial-nav a, .editorial-account > a:first-child { color: #566265; font-size: 11px; text-decoration: none; }
.editorial-nav a:hover, .editorial-account > a:first-child:hover, .editorial-footer a:hover { color: var(--rust); }
.editorial-nav .is-current { color: var(--ink); font-weight: 750; text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.editorial-account { grid-area: account; justify-content: flex-end; gap: 20px; }
.header-create { display: inline-flex; align-items: center; gap: 15px; padding: 12px 14px; background: var(--ink); color: white; font-size: 10px; font-weight: 650; text-decoration: none; }
.header-create:hover { background: var(--rust); }
.editorial-wrap { width: min(100% - 48px, 1220px); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 11px; padding: 19px 0; color: #6c7474; font-size: 10px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--rust); }
.breadcrumb span:nth-child(2) { color: var(--rust); }
.detail-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: clamp(32px,8vw,105px); align-items: center; padding: 38px 0 80px; }
.detail-copy { max-width: 605px; }
.overline { margin: 0; color: #687476; font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.overline span { margin-right: 9px; color: var(--rust); }
.detail-copy h1, .pricing-hero h1 { margin: 25px 0 18px; color: var(--ink); font-size: clamp(49px,6.2vw,80px); font-weight: 780; line-height: .95; letter-spacing: -.075em; }
.detail-lede { max-width: 540px; margin: 0; color: #586365; font-size: 15px; line-height: 1.75; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 27px; }
.editorial-button { min-height: 49px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 16px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 11px; font-weight: 650; text-decoration: none; }
.editorial-button:hover { border-color: var(--rust); background: var(--rust); }
.editorial-button span { font-size: 14px; }
.text-underlink { color: var(--ink); font-size: 10px; font-weight: 650; text-decoration-color: var(--rust); text-underline-offset: 4px; }
.small-fact { margin: 16px 0 0; color: #697374; font-size: 9px; }
.small-fact span { margin: 0 7px; color: var(--rust); }
.illustration-plate { min-width: 0; margin: 0; padding: 11px 11px 0; border: 1px solid var(--ink); background: var(--paper-light); box-shadow: 9px 9px 0 var(--rust); }
.plate-top, .illustration-plate figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6b7373; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.illustration-plate svg { display: block; width: 100%; height: auto; margin-top: 10px; }
.illustration-plate figcaption { min-height: 41px; color: var(--ink); letter-spacing: 0; }
.illustration-plate figcaption span:last-child { color: #777c78; font-size: 8px; font-weight: 500; text-align: right; }
.scene-board { margin: 0; border: 1px solid var(--ink); background: var(--paper-light); box-shadow: 9px 9px 0 var(--blue); }
.scene-board-header, .scene-board figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #677273; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.scene-board-image { position: relative; height: 230px; overflow: hidden; background: #d7d0c0; }
.scene-window { position: absolute; top: 18px; left: 21px; width: 33%; height: 58%; border: 7px solid #f4f0e7; background: #a8b8aa; }
.scene-window::before, .scene-window::after { position: absolute; background: var(--paper); content: ''; }
.scene-window::before { top: 0; bottom: 0; left: 50%; width: 6px; transform: translateX(-50%); }
.scene-window::after { top: 50%; right: 0; left: 0; height: 6px; transform: translateY(-50%); }
.scene-sun { position: absolute; top: 38px; right: 19%; width: 74px; height: 74px; border-radius: 50%; background: #e0b850; }
.scene-horizon { position: absolute; right: 0; bottom: 0; left: 0; height: 48%; background: #6c8177; }
.scene-shadow { position: absolute; right: 8%; bottom: 16%; width: 50%; height: 20%; background: #405952; clip-path: polygon(0 25%,100% 0,78% 100%,0 72%); }
.scene-table { position: absolute; right: 0; bottom: 17%; left: 28%; height: 10px; background: #88654a; transform: skewY(-6deg); }
.scene-still-life { position: absolute; right: 31%; bottom: 23%; width: 48px; height: 49px; border: 2px solid #1c2426; border-radius: 46% 46% 32% 32%; background: #e9e0ce; }
.scene-still-life::before { position: absolute; top: -9px; left: 19px; width: 8px; height: 8px; background: #586e57; content: ''; }
.scene-board-copy { padding: 16px 16px 12px; border-top: 1px solid var(--line); }
.scene-label { color: var(--rust); font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.scene-board-copy p { max-width: 380px; margin: 8px 0; color: var(--ink); font-size: 20px; font-weight: 720; line-height: 1.2; letter-spacing: -.045em; }
.scene-note { color: #757c79; font-size: 9px; }
.scene-board figcaption { border-top: 1px solid var(--line); color: var(--ink); letter-spacing: 0; }
.scene-board figcaption span:last-child { color: var(--rust); }
.section-rule { border-top: 1px solid var(--ink); }
.detail-intro, .prompt-workshop, .control-section, .pricing-faq { display: grid; grid-template-columns: minmax(220px,.78fr) minmax(0,1.22fr); gap: clamp(32px,8vw,115px); padding: 68px 0; }
.detail-intro h2, .workshop-heading h2, .control-heading h2, .pricing-faq h2, .cost-table-section h2 { margin: 15px 0 0; color: var(--ink); font-size: clamp(30px,4vw,45px); font-weight: 760; line-height: .99; letter-spacing: -.065em; }
.prose p { margin: 0 0 18px; color: #536063; font-size: 13px; line-height: 1.8; }
.prose p:last-child { margin-bottom: 0; }
.prompt-workshop { align-items: start; }
.workshop-heading > p:last-child, .control-heading > p:last-child, .cost-table-section > div:first-child > p:last-child { max-width: 360px; margin: 15px 0 0; color: #616c6e; font-size: 12px; line-height: 1.7; }
.prompt-example { padding: 24px; border: 1px solid var(--ink); background: #e8e2d6; }
.photo-prompt-example { background: #e4e7e1; }
.prompt-example-label { color: var(--rust); font-size: 8px; font-weight: 750; letter-spacing: .12em; }
.prompt-example > p { margin: 18px 0 24px; color: var(--ink); font: 600 clamp(18px,2.4vw,25px)/1.45 var(--serif); }
.prompt-breakdown { display: flex; flex-wrap: wrap; gap: 8px; }
.prompt-breakdown span { display: flex; flex-direction: column; gap: 4px; min-width: 110px; padding: 9px 10px; border-top: 1px solid #aaa99f; color: #606b6d; font-size: 9px; }
.prompt-breakdown b { color: var(--ink); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.control-section { align-items: start; }
.control-table { border-top: 1px solid var(--ink); }
.control-table > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 47px; border-bottom: 1px solid var(--line); color: #657071; font-size: 10px; }
.control-table b { color: var(--ink); font-size: 11px; text-align: right; }
.detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; background: var(--pine); color: white; }
.detail-cta .overline { color: #c8d0c7; }
.detail-cta h2 { max-width: 620px; margin: 14px 0 10px; color: white; font-size: clamp(29px,4vw,43px); font-weight: 760; line-height: .99; letter-spacing: -.06em; }
.detail-cta p:last-child { margin: 0; color: #d4d9d1; font-size: 11px; }
.button-light { flex: 0 0 auto; border: 1px solid white; background: white; color: var(--ink); }
.button-light:hover { border-color: var(--ochre); background: var(--ochre); }
.related-pages { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 70px; border-bottom: 1px solid var(--ink); }
.related-pages > a { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 20px 18px 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.related-pages > a + a { padding-left: 18px; border-left: 1px solid var(--line); }
.related-pages > a > span { grid-column: 1 / -1; color: #737c7b; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.related-pages b { color: var(--ink); font-size: 13px; }
.related-pages i { color: var(--rust); font-style: normal; }
.related-pages > a:hover b { color: var(--rust-dark); }
.editorial-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(20px,5.5vw,88px); border-top: 1px solid var(--ink); background: var(--ink); color: #e8e4d9; }
.editorial-footer .editorial-brand { color: white; }
.editorial-footer .brand-dot { color: var(--ochre); }
.editorial-footer > span { color: #b6bfbb; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.editorial-footer > div { display: flex; flex-wrap: wrap; gap: 18px; }
.editorial-footer > div a { color: #ece9df; font-size: 9px; text-decoration: none; }

/* Pricing page */
.pricing-hero { margin-top: 8px; padding: 56px clamp(24px,6vw,80px) 60px; background: var(--rust); color: white; }
.pricing-hero .overline { color: #ffe0d5; }
.pricing-hero h1 { max-width: 850px; margin: 18px 0; color: white; }
.pricing-hero .detail-lede { max-width: 590px; margin-bottom: 24px; color: #fff0e7; }
.pricing-hero .editorial-button { border-color: white; background: white; color: var(--ink); }
.pricing-hero .editorial-button:hover { border-color: var(--ochre); background: var(--ochre); }
.pricing-ledger-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0 0 62px; border-bottom: 1px solid var(--ink); }
.pricing-ledger-card { min-height: 288px; padding: 21px; border-right: 1px solid var(--line); background: var(--paper-light); }
.pricing-ledger-card:last-child { border-right: 0; }
.topup-ledger { background: #e8e2d6; }
.ledger-index { color: #697375; font-size: 8px; font-weight: 750; letter-spacing: .13em; }
.ledger-amount { display: flex; align-items: baseline; gap: 7px; margin: 24px 0 14px; color: var(--rust); font-size: 54px; font-weight: 780; line-height: .9; letter-spacing: -.08em; }
.ledger-amount small { color: var(--ink); font-size: 11px; font-weight: 650; letter-spacing: 0; }
.pricing-ledger-card h2 { margin: 0 0 9px; color: var(--ink); font-size: 19px; letter-spacing: -.04em; }
.pricing-ledger-card p { min-height: 56px; margin: 0; color: #606b6d; font-size: 11px; line-height: 1.65; }
.ledger-footer-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: #626d6e; font-size: 9px; line-height: 1.5; }
.cost-table-section { display: grid; grid-template-columns: minmax(220px,.78fr) minmax(0,1.22fr); gap: clamp(32px,8vw,115px); padding: 65px 0; }
.credit-cost-table { border-top: 1px solid var(--ink); }
.credit-cost-row { display: grid; grid-template-columns: 1fr 1.2fr 80px; align-items: center; gap: 18px; min-height: 52px; border-bottom: 1px solid var(--line); color: #596466; font-size: 11px; }
.credit-cost-row b { color: var(--ink); }
.credit-cost-row strong { color: var(--rust); font-size: 18px; text-align: right; }
.cost-table-head { min-height: 35px; color: #6f7979; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.payment-detail-band { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 48px; margin: 10px 0 0; padding: 38px; background: var(--pine); color: white; }
.payment-detail-band .overline { color: #d0d5cf; }
.payment-detail-band h2 { max-width: 570px; margin: 13px 0; font-size: clamp(30px,4vw,43px); line-height: .98; letter-spacing: -.06em; }
.payment-detail-band > div:first-child p:last-child { max-width: 610px; margin: 0; color: #d1d8d2; font-size: 11px; line-height: 1.8; }
.network-list > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.26); }
.network-list > div:first-child { border-top: 1px solid rgba(255,255,255,.26); }
.network-list > div span { grid-column: 1 / -1; color: #c0cbc4; font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.network-list > div b { font-size: 12px; }
.network-list > div small { align-self: center; color: #d0d6d0; font-size: 9px; }
.network-list > p { margin: 13px 0 0; color: #d0d6d0; font-size: 9px; line-height: 1.65; }
.pricing-faq { padding-bottom: 70px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 16px 30px 16px 0; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 4px; color: var(--rust); content: '+'; font-size: 19px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 670px; margin: 0; padding: 0 25px 17px 0; color: #5e696b; font-size: 11px; line-height: 1.7; }

@media (max-width: 900px) {
  .landing-hero { min-height: 600px; gap: 26px; padding-right: 5vw; padding-left: 5vw; }
  .landing-art-area { height: 460px; }
  .landing-art-card { width: min(88%,390px); }
  .technical-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technical-card:nth-child(2) { border-right: 0; }
  .technical-card:nth-child(3), .technical-card:nth-child(4) { border-top: 1px solid var(--line); }
  .editorial-header { gap: 18px; padding-right: 22px; padding-left: 22px; }
  .editorial-nav, .editorial-account { gap: 14px; }
}
@media (max-width: 760px) {
  .landing-nav { min-height: 0; flex-wrap: wrap; gap: 7px 12px; padding: 11px 18px 0; }
  .landing-nav .wordmark-name { font-size: 19px; }
  .landing-nav-links { order: 3; width: 100%; display: flex; justify-content: space-between; gap: 8px; padding: 10px 0 11px; border-top: 1px solid var(--line); }
  .landing-nav-links a { font-size: 9px; }
  .landing-nav-actions { margin-left: auto; }
  .landing-signin { display: none; }
  .landing-nav-cta { display: inline-flex; min-height: 35px; padding: 0 10px; font-size: 9px; }
  .landing-menu-button { display: none; }
  .landing-hero { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding: 49px 23px 65px; }
  .landing-hero h1 { max-width: 600px; font-size: clamp(50px,12vw,76px); }
  .landing-lede { max-width: 540px; font-size: 14px; }
  .landing-hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 21px; }
  .landing-main-cta { min-width: 215px; min-height: 47px; font-size: 10px; }
  .landing-free-note { margin-top: 18px; }
  .landing-art-area { width: min(100%,520px); height: 390px; justify-self: center; margin-top: 4px; }
  .landing-art-card { width: min(78%,350px); }
  .landing-intro, .landing-models, .landing-technical { padding: 70px 23px; }
  .landing-section-heading, .models-heading, .technical-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 30px; }
  .landing-section-heading h2, .models-heading h2, .pricing-copy h2, .technical-heading h2 { font-size: clamp(38px,10vw,53px); }
  .landing-steps { grid-template-columns: 1fr; }
  .landing-step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 17px 10px; }
  .landing-step:last-child { border-bottom: 0; }
  .step-illustration { max-width: 300px; }
  .model-cards { grid-template-columns: 1fr; gap: 13px; }
  .model-feature-art { height: 240px; }
  .technical-grid { grid-template-columns: 1fr; }
  .technical-card, .technical-card:nth-child(2), .technical-card:nth-child(3), .technical-card:nth-child(4) { min-height: 0; border-right: 0; border-top: 1px solid var(--line); padding: 20px 10px; }
  .technical-card:first-child { border-top: 0; }
  .technical-footnote { align-items: flex-start; flex-wrap: wrap; }
  .technical-footnote > span:nth-child(2) { flex-basis: calc(100% - 30px); }
  .technical-footnote a { margin-left: 28px; }
  .landing-pricing { grid-template-columns: 1fr; gap: 32px; padding: 68px 24px 75px; }
  .credit-ledger { width: calc(100% - 7px); }
  .landing-footer { align-items: flex-start; display: grid; grid-template-columns: 1fr auto; gap: 20px 13px; padding: 24px 20px; }
  .landing-footer > span { display: none; }
  .footer-links { grid-column: 1 / -1; gap: 11px 16px; }
  .landing-footer > button { justify-self: end; font-size: 10px; }
  .landing-footer > small { grid-column: 1 / -1; }
  .auth-screen { grid-template-columns: 1fr; }
  .auth-art-panel { display: none; }
  .auth-form-panel { min-height: 100vh; padding: 20px 22px; }
  .auth-form-wrap { margin: 35px auto; padding: 20px 0; }
  .mobile-wordmark { display: inline-flex; }
  .sidebar { background: var(--pine); }
  .editorial-header { grid-template-columns: 1fr auto; grid-template-areas: "brand account" "nav nav"; gap: 9px 12px; padding: 10px 17px 0; }
  .editorial-brand { font-size: 18px; }
  .editorial-monogram { width: 29px; height: 29px; font-size: 23px; }
  .editorial-account { gap: 12px; }
  .editorial-account > a:first-child { display: none; }
  .header-create { padding: 10px; font-size: 9px; }
  .editorial-nav { grid-column: 1 / -1; justify-content: space-between; gap: 8px; padding: 10px 0 11px; border-top: 1px solid var(--line); }
  .editorial-nav a { font-size: 9px; }
  .editorial-nav .is-current { text-underline-offset: 5px; }
  .editorial-wrap { width: min(100% - 34px, 1220px); }
  .breadcrumb { padding: 13px 0; }
  .detail-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 0 55px; }
  .detail-copy h1, .pricing-hero h1 { font-size: clamp(46px,12vw,68px); }
  .detail-lede { font-size: 14px; }
  .illustration-plate { width: min(100% - 9px, 540px); }
  .scene-board { width: min(100% - 9px, 540px); }
  .detail-intro, .prompt-workshop, .control-section, .pricing-faq, .cost-table-section { grid-template-columns: 1fr; gap: 22px; padding: 43px 0; }
  .detail-intro h2, .workshop-heading h2, .control-heading h2, .pricing-faq h2, .cost-table-section h2 { font-size: 37px; }
  .detail-cta { align-items: flex-start; flex-direction: column; padding: 25px 21px; }
  .related-pages { grid-template-columns: 1fr; margin-bottom: 48px; }
  .related-pages > a + a { padding-left: 0; border-left: 0; }
  .editorial-footer { align-items: flex-start; flex-direction: column; gap: 14px; padding: 22px 18px; }
  .editorial-footer > div { gap: 13px; }
  .pricing-hero { padding: 39px 22px; }
  .pricing-ledger-grid { grid-template-columns: 1fr; margin-bottom: 42px; }
  .pricing-ledger-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .pricing-ledger-card:last-child { border-bottom: 0; }
  .ledger-amount { margin: 17px 0 11px; font-size: 48px; }
  .pricing-ledger-card p { min-height: 0; }
  .payment-detail-band { grid-template-columns: 1fr; gap: 28px; padding: 25px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Editorial studio refresh: paper, dark ink, and a single persimmon accent. */
[hidden] { display: none !important; }
html, body { background: var(--paper); color: var(--ink); }
body { min-width: 320px; font-family: var(--sans); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.landing-screen, .editorial-site { background: var(--paper); color: var(--ink); }
.brand-symbol, .boot-mark { background: var(--rust); color: var(--white); }
.landing-nav { width: min(100%, 1512px); min-height: 75px; padding: 14px clamp(24px, 6vw, 92px); border-bottom-color: var(--line); }
.landing-nav .brand-symbol, .landing-footer .brand-symbol { width: 34px; height: 34px; background: var(--ink); color: var(--paper); font-family: var(--serif); }
.landing-nav .wordmark-name, .landing-footer .wordmark-name { color: var(--ink); font: 600 20px var(--serif); letter-spacing: -.055em; }
.wordmark-period { color: var(--rust); }
.landing-nav-links a, .landing-signin { color: #555b57; font-size: 11px; }
.landing-nav-links a:hover, .landing-signin:hover, .landing-secondary-link:hover, .model-more:hover { color: var(--rust); }
.landing-nav-cta, .button-primary { min-height: 42px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper-light); box-shadow: none; }
.landing-nav-cta:hover:not(:disabled), .button-primary:hover:not(:disabled) { border-color: var(--rust); background: var(--rust); color: white; box-shadow: none; transform: none; }
.button, .button-light, .header-create, .editorial-button { border-radius: 2px; box-shadow: none; }
.landing-menu-button { color: var(--ink); }
.landing-menu-button span { color: var(--rust); }
.landing-hero { max-width: 1512px; min-height: 650px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(35px,7vw,110px); padding: 66px clamp(28px,8vw,126px) 82px; background: #efebe2; }
.landing-hero::before { display: none; }
.landing-hero-copy { max-width: 620px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.landing-kicker, .landing-section-kicker { color: #666b66; font-size: 9px; letter-spacing: .12em; }
.landing-kicker-star { color: var(--rust); font-size: 10px; }
.landing-hero h1 { max-width: 650px; margin: 26px 0 21px; color: var(--ink); font: 400 clamp(56px,6.3vw,86px)/.98 var(--serif); letter-spacing: -.055em; }
.landing-hero h1 em, .landing-section-heading h2 em, .models-heading h2 em, .pricing-copy h2 em, .technical-heading h2 em, .gallery-heading h2 em { color: var(--rust); font-style: italic; font-weight: 400; }
.landing-lede { max-width: 460px; color: #565c58; font: 15px/1.75 var(--sans); }
.landing-hero-actions { gap: 24px; margin-top: 27px; }
.landing-main-cta { min-width: 204px; min-height: 49px; }
.landing-secondary-link { color: #383d39; font-size: 11px; }
.landing-secondary-link span { color: var(--rust); }
.landing-free-note { max-width: 430px; border-color: #d0c9bc; color: #68706a; }
.landing-free-note .free-note-mark { color: var(--rust); }
.landing-free-note strong { color: var(--ink); }
.landing-art-area { height: 490px; }
.landing-art-area::before, .landing-art-area::after, .landing-orbit, .prompt-slip, .model-seal { display: none; }
.landing-art-card { width: min(83%, 450px); padding: 11px 11px 0; border: 1px solid #cbc5ba; border-radius: 1px; background: var(--paper-light); box-shadow: 0 7px 22px rgba(40,38,31,.06); transform: none; backdrop-filter: none; }
.landing-sample-art { aspect-ratio: 1 / 1.02; object-fit: cover; }
.landing-art-topline { color: #71756f; font-size: 8px; }
.landing-art-topline b, .landing-art-mark { color: var(--rust); }
.landing-art-caption { color: var(--ink); }
.landing-art-caption small { color: #787a73; }
.hero-bottomline { color: #6a706a; }
.hero-bottomline::before, .hero-bottomline::after { background: #cfc9bd; }
.hero-bottom-arrow { color: var(--rust); }

.curated-gallery { max-width: 1512px; margin: 0 auto; padding: 90px clamp(28px,8vw,126px) 76px; background: var(--paper-light); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 35px; }
.gallery-heading h2 { margin: 13px 0 0; color: var(--ink); font: 400 clamp(38px,4.6vw,59px)/1.02 var(--serif); letter-spacing: -.045em; }
.gallery-heading > p { max-width: 325px; margin: 0 0 4px; color: #606762; font-size: 13px; line-height: 1.75; }
.gallery-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); align-items: start; gap: 28px 22px; }
.gallery-item { min-width: 0; margin: 0; }
.gallery-item-still-life { grid-column: span 5; }
.gallery-item-bookshop { grid-column: span 4; margin-top: 54px; }
.gallery-item-villa { grid-column: span 3; margin-top: 106px; }
.gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #e5dfd4; }
.gallery-item-bookshop img { aspect-ratio: 3 / 4; }
.gallery-item figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 13px; padding: 11px 0 0; border-top: 1px solid var(--line); }
.gallery-item figcaption span { color: #727771; font-size: 8px; letter-spacing: .1em; }
.gallery-item figcaption strong { color: var(--ink); font: 18px var(--serif); }
.gallery-credit { margin: 26px 0 0; color: #888b84; font-size: 9px; text-align: right; }

.landing-intro { padding: 87px clamp(28px,8vw,126px) 94px; background: var(--paper); }
.landing-section-heading, .models-heading, .technical-heading { max-width: 1120px; gap: 54px; margin: 0 auto 37px; }
.landing-section-heading h2, .models-heading h2, .pricing-copy h2, .technical-heading h2 { color: var(--ink); font: 400 clamp(40px,4.7vw,61px)/1.02 var(--serif); letter-spacing: -.045em; }
.landing-section-heading p, .models-heading > p, .technical-heading > p { color: #5d645e; font: 14px/1.75 var(--sans); }
.landing-steps { max-width: 1120px; gap: 0; margin: 0 auto; border-top: 1px solid #a9a89f; border-bottom: 1px solid #a9a89f; }
.landing-step { min-height: 235px; padding: 22px 20px; border: 0; border-right: 1px solid var(--line); background: transparent; }
.landing-step:last-child { border-right: 0; }
.step-index { color: var(--rust); }
.step-illustration-prompt, .mini-medium { border-color: var(--line); border-radius: 1px; background: #efebe2; }
.prompt-line.long { background: #707a71; }
.prompt-cursor, .medium-art i { color: var(--rust); }
.medium-photo i { color: #616b65; }
.saved-picture { background: var(--rust); }
.saved-picture i { border-color: var(--paper); background: var(--ink); }
.saved-caption, .mini-medium small { color: #737870; }
.landing-step h3 { color: var(--ink); font: 400 19px var(--serif); }
.landing-step p { color: #626963; font-size: 11px; line-height: 1.7; }

.landing-models { padding: 88px clamp(28px,8vw,126px) 92px; background: #ebe7de; color: var(--ink); }
.landing-models::before { display: none; }
.landing-models .landing-section-kicker { color: #686d67; }
.models-heading { margin-bottom: 35px; }
.models-heading h2 { color: var(--ink); }
.models-heading h2 em { color: var(--rust); }
.models-heading > p { color: #5f655f; }
.model-cards { max-width: 1120px; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 auto; border-top: 1px solid #a9a89f; border-bottom: 1px solid #a9a89f; }
.model-feature { padding: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); }
.model-feature:last-child { border-right: 0; }
.model-feature-art { display: none; }
.model-feature-info { min-height: 205px; align-items: start; padding: 23px 25px 25px 4px; color: var(--ink); }
.model-feature:last-child .model-feature-info { padding-left: 25px; }
.model-index { color: #737871; font-size: 8px; }
.model-feature-info h3 { color: var(--ink); font: 400 34px var(--serif); letter-spacing: -.035em; }
.model-feature-info p { max-width: 310px; color: #606660; font: 12px/1.7 var(--sans); }
.model-feature-info code { display: none; }
.model-more { color: var(--rust-dark); font-size: 10px; }
.model-price { align-self: stretch; min-width: 76px; margin-top: 0; border-color: var(--line); }
.model-price strong { color: var(--rust); font: 33px var(--serif); }
.model-price span { color: #767a73; }

.landing-technical { padding: 92px clamp(28px,8vw,126px) 72px; background: var(--paper-light); }
.technical-heading { margin-bottom: 32px; }
.technical-heading h2 em { color: var(--rust); }
.technical-heading > p { color: #5d645e; }
.technical-grid { max-width: 1120px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0 auto; border-top: 1px solid #a9a89f; border-bottom: 1px solid #a9a89f; }
.technical-card { min-height: 295px; padding: 20px 17px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; color: var(--ink); }
.technical-card:nth-child(4) { border-right: 0; }
.technical-card-head { align-items: start; flex-direction: column; gap: 8px; }
.tech-icon { width: auto; height: auto; border: 0; background: transparent; color: var(--rust); font-size: 18px; }
.technical-label { color: #69706a; font-size: 7px; }
.technical-card h3 { color: var(--ink); font: 400 20px var(--serif); }
.technical-card > p { color: #626963; font-size: 10px; line-height: 1.7; }
.spec-list, .spec-list div { border-color: var(--line); }
.spec-list span { color: #737871; }
.spec-list b { color: var(--ink); font-size: 9px; }
.tech-chips span { border: 1px solid var(--line); border-radius: 1px; color: #565e58; }
.technical-pipeline { background: #f1eee7; }
.pipeline-node { border-color: var(--line); border-radius: 1px; background: var(--paper-light); }
.pipeline-node > span, .pipeline-steps > i { color: var(--rust); }
.pipeline-node b, .queue-visual b { color: var(--ink); }
.pipeline-node small, .queue-visual small { color: #727871; }
.queue-visual { border-color: var(--line); border-radius: 1px; background: #f1eee7; }
.queue-live-dot { background: #586b5c; box-shadow: none; }
.queue-pulse { color: var(--rust); }
.technical-footnote { max-width: 1120px; border-color: var(--line); color: #606762; }
.technical-footnote > span:first-child, .technical-footnote a b { color: var(--rust); }
.technical-footnote a { color: var(--ink); }

.landing-pricing { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 8vw; padding: 90px clamp(28px,9vw,140px); background: #292c29; color: var(--paper-light); }
.landing-pricing::before { display: none; }
.pricing-copy h2 { color: var(--paper-light); }
.pricing-copy h2 em { color: #e4b49e; }
.pricing-copy > p { color: #d6d5ce; font: 14px/1.8 var(--sans); }
.pricing-copy > small, .pricing-copy .landing-section-kicker { color: #c1c2ba; }
.pricing-cta { border: 1px solid var(--paper-light); background: var(--paper-light); color: var(--ink); }
.pricing-cta:hover:not(:disabled) { border-color: #d9ad98; background: #d9ad98; }
.pricing-details-link { color: var(--paper-light); }
.credit-ledger { border: 1px solid #d4cec2; border-radius: 1px; background: var(--paper-light); box-shadow: 7px 7px 0 rgba(0,0,0,.13); }
.ledger-heading, .ledger-line { border-color: var(--line); color: #5c625e; }
.ledger-heading span:last-child, .ledger-line > span b, .ledger-chain-mark { color: var(--rust); }
.ledger-line > strong, .ledger-foot b { color: var(--ink); }
.ledger-line > strong small, .ledger-foot { color: #747972; }
.ledger-stamp { border-color: #b97961; border-radius: 50%; background: var(--paper); color: var(--rust-dark); backdrop-filter: none; transform: rotate(4deg); }
.landing-footer { min-height: 110px; border-top: 1px solid #464a45; background: #242725; color: #dadbd4; }
.landing-footer .brand-symbol { background: var(--paper); color: var(--ink); }
.landing-footer .wordmark-name { color: var(--paper-light); }
.landing-footer .wordmark-period { color: #ce8a70; }
.landing-footer > span, .landing-footer > small { color: #aeb2ab; }
.landing-footer > button { color: #e4b49e; }
.footer-links a { color: #e2e3dc; }
.footer-links a:hover { color: #e4b49e; }

.auth-screen { background: var(--paper-light); }
.auth-art-panel { border-color: #3d423d; background: #292c29; color: var(--paper-light); }
.auth-artwork-wrap { border-color: #ccc5b9; border-radius: 1px; background: #e9e1d1; box-shadow: 5px 5px 0 rgba(166,77,53,.65); transform: none; }
.artwork-stamp { border-radius: 1px; background: var(--paper); color: var(--ink); }
.auth-form-panel { background: var(--paper-light); }
.auth-form-wrap { border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.auth-form-wrap h1, .page-heading h1, .secondary-heading h1 { color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.auth-form-wrap h1 em, .page-heading h1 em, .secondary-heading h1 em, .payment-modal h2 em, .pricing-card h2 em, .payment-confirmed h3 em { color: var(--rust); }
.auth-lede { color: #5f655f; }
.auth-tabs { border-color: var(--line); }
.auth-tab { color: #696f69; }
.auth-tab.is-active { color: var(--ink); border-color: var(--rust); }
.field-wrap { color: #555d57; }
.field-wrap input, .field-wrap textarea { border-color: #d4cfc5; border-radius: 1px; background: white; color: var(--ink); }
.field-wrap input:focus, .field-wrap textarea:focus { border-color: var(--rust); box-shadow: 0 0 0 2px rgba(166,77,53,.1); }
.welcome-note { border-color: var(--line); border-radius: 1px; background: #f1eee7; color: #5c635d; }
.welcome-note strong { color: var(--ink); }
.welcome-spark { color: var(--rust); }

.app-shell { background: var(--paper); }
.sidebar { border-color: #3d423d; background: #292c29; color: var(--paper-light); }
.sidebar-label, .note-credit, .credit-mini-foot, .profile-meta span { color: #a9ada5; }
.sidebar-note p { color: #e4e2da; }
.side-link { border-radius: 1px; }
.side-link.is-active { background: rgba(245,242,235,.1); color: white; }
.side-link.is-active::before { background: #d09074; }
.nav-icon, .nav-count, .sidebar-note-mark, .credit-mini-foot button { color: #d2a18b; }
.credit-card-mini { border-color: rgba(245,242,235,.24); border-radius: 1px; background: rgba(245,242,235,.04); box-shadow: none; backdrop-filter: none; }
.credit-meter span, .wallet-balance-meter span { background: #d2a18b; }
.profile-meta strong { color: var(--paper-light); }
.main-area { color: var(--ink); }
.topbar { border-color: var(--line); }
.crumbs strong, .top-credit-button strong { color: var(--ink); }
.top-credit-button { border-color: var(--line); border-radius: 1px; background: #efebe3; }
.page-heading h1, .secondary-heading h1 { font-size: clamp(39px,4vw,55px); }
.page-heading > div > p, .secondary-heading > p { color: #686e68; font: 14px/1.55 var(--sans); }
.studio-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 22px; }
.composer-panel, .preview-panel { border-color: var(--line); border-radius: 1px; background: var(--paper-light); box-shadow: none; backdrop-filter: none; }
.panel-heading h2, .preview-topline h2, .recent-heading h2 { color: var(--ink); font: 400 22px var(--serif); }
.prompt-label { color: #535b55; }
.prompt-wrap, .model-option, .select-field select, .network-option, .address-box, .copy-button { border-radius: 1px; }
.prompt-wrap { border-color: #d4cfc5; background: #fffdfa; }
.prompt-wrap:focus-within { border-color: var(--rust); }
.prompt-wrap:focus-within { outline: 2px solid rgba(166,77,53,.55); outline-offset: 2px; }
.prompt-wrap textarea { color: #303632; font: 14px/1.6 var(--sans); }
.prompt-wrap textarea:focus-visible { outline: none; }
.model-option { border-color: #d5d0c7; background: #fbf9f4; }
.model-option.is-selected { border-color: var(--rust); background: #f6f0e9; box-shadow: inset 2px 0 0 var(--rust); }
.model-option-copy strong, .model-cost { color: var(--ink); }
.options-section, .toggle-row, .advanced-options, .generate-footer { border-color: var(--line); }
.select-field select, .negative-field textarea { border-color: #d4cfc5; background-color: #fffdfa; color: var(--ink); }
.toggle-copy strong { color: #4f5751; }
.switch input:checked + .switch-track { border-color: var(--rust); background: var(--rust); }
.switch input:checked + .switch-track::after { background: white; }
.switch input:focus-visible + .switch-track { outline-color: rgba(166,77,53,.3); }
.generation-cost strong { color: var(--ink); }
.cost-medallion { border-radius: 50%; background: #f0e8dd; color: var(--rust); }
.generate-button { min-height: 47px; }
.render-note { color: #70756f; }
.preview-panel { background: #f2efe8; }
.preview-stage { min-height: 320px; max-height: 620px; border-radius: 1px; background: #e3ded4; }
.preview-art { max-height: 620px; }
.preview-image { background: #e3ded4; }
.preview-stamp { border-radius: 1px; color: #454e48; }
.preview-progress { border-color: #d2cdc3; border-radius: 1px; background: rgba(252,250,246,.97); box-shadow: 0 4px 16px rgba(37,39,37,.08); }
.progress-ornament { animation: none; color: var(--rust); }
.preview-progress strong { color: var(--ink); }
.progress-track span { background: var(--rust); }
.preview-caption { border-color: var(--line); color: #555e57; }
.preview-caption i, .preview-dot { color: var(--rust); }
.preview-dot { background: var(--rust); }
.download-link { color: var(--rust-dark); text-decoration: underline; text-underline-offset: 3px; }
.preview-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 9px; }
.quiet-action { min-height: 37px; padding: 7px 0; border: 0; background: transparent; color: #4e5550; font-size: 10px; text-decoration: underline; text-decoration-color: #b8b8ae; text-underline-offset: 4px; cursor: pointer; }
.quiet-action:hover { color: var(--rust); }
.quiet-action span { color: var(--rust); }
.recent-section { padding-top: 37px; }
.recent-card, .library-card { position: relative; overflow: hidden; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; cursor: default; }
.history-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.history-open img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #e1dbcf; }
.history-open:hover img { opacity: .92; }
.recent-card-meta, .library-card-copy { display: block; padding: 10px 2px 9px; }
.recent-card-meta strong, .library-card-copy strong { color: var(--ink); font: 14px var(--serif); }
.recent-card-meta > span:last-child, .library-card-copy > span:last-child { display: block; margin-top: 5px; color: #747972; font-size: 8px; letter-spacing: .04em; }
.history-full-prompt { display: block; margin-top: 6px; color: #626963; font-size: 10px; line-height: 1.55; }
.history-reuse { display: inline-flex; align-items: center; gap: 6px; margin: 0 2px 10px; padding: 5px 0; border: 0; background: transparent; color: var(--rust-dark); font-size: 9px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.history-reuse span { text-decoration: none; }
.empty-recent, .empty-library, .empty-history { border-color: var(--line); color: #676e68; }
.secondary-view { color: var(--ink); }
.library-grid { gap: 22px 16px; }
.wallet-balance-card { border: 1px solid #303633; border-radius: 1px; background: #292c29; color: var(--paper-light); }
.wallet-balance-card .wallet-card-top, .wallet-balance-card .wallet-balance-foot { color: #c5c7bf; }
.wallet-big-balance { color: white; }
.pricing-card, .topup-history, .credits-footnote { border-color: var(--line); border-radius: 1px; background: var(--paper-light); box-shadow: none; backdrop-filter: none; }
.pricing-card h2 { color: var(--ink); font: 400 30px var(--serif); }
.pricing-card h2 em { color: var(--rust); }
.payment-modal { border: 1px solid var(--line); border-radius: 2px; background: var(--paper-light); box-shadow: 0 12px 50px rgba(30,32,29,.2); backdrop-filter: none; }
.modal-backdrop { background: rgba(32,34,31,.66); backdrop-filter: none; }
.network-option.is-selected { border-color: var(--rust); box-shadow: inset 2px 0 0 var(--rust); }
.payment-warning { border-radius: 1px; }
.toast { border-radius: 1px; box-shadow: 0 6px 20px rgba(37,39,37,.12); }

.image-detail-dialog { position: fixed; top: 50%; left: 50%; width: min(96vw, 1240px); max-width: 1240px; max-height: 94dvh; overflow: auto; margin: 0; padding: 20px; transform: translate(-50%,-50%); border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); box-shadow: 0 12px 50px rgba(30,32,29,.2); }
.image-detail-dialog::backdrop { background: rgba(32,34,31,.8); }
.image-detail-toolbar, .image-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.image-detail-toolbar { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.image-detail-toolbar > div > span { color: #70766f; font-size: 8px; letter-spacing: .1em; }
.image-detail-toolbar h2 { margin: 4px 0 0; font: 400 22px var(--serif); }
.image-detail-toolbar > button { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 24px; cursor: pointer; }
.image-detail-dialog > img { display: block; width: 100%; max-height: calc(94dvh - 175px); margin: 14px auto; object-fit: contain; background: #e8e3d9; }
.image-detail-footer { padding-top: 10px; border-top: 1px solid var(--line); }
.image-detail-footer p { max-width: 75%; margin: 0; color: #5d645e; font-size: 11px; line-height: 1.6; }

.editorial-site { overflow-x: hidden; }
.editorial-header { min-height: 74px; padding: 11px clamp(22px,5.5vw,88px); border-bottom-color: var(--line); background: var(--paper); }
.editorial-brand { color: var(--ink); font: 600 21px var(--serif); letter-spacing: -.05em; }
.editorial-monogram { background: var(--ink); color: var(--paper); }
.brand-dot { color: var(--rust); }
.editorial-nav a, .editorial-account > a:first-child { color: #565d57; }
.editorial-nav .is-current { color: var(--ink); text-decoration-color: var(--rust); }
.header-create { background: var(--ink); color: white; }
.header-create:hover { background: var(--rust); }
.detail-copy h1, .pricing-hero h1 { font: 400 clamp(46px,6vw,74px)/1 var(--serif); letter-spacing: -.045em; }
.detail-copy h1 em, .detail-hero h1 em { color: var(--rust); }
.detail-lede, .prose p { color: #555d57; line-height: 1.8; }
.illustration-plate, .scene-board { border: 1px solid var(--line); border-radius: 1px; box-shadow: 5px 5px 0 rgba(166,77,53,.5); }
.detail-cta, .payment-detail-band { background: #292c29; }
.pricing-hero { background: #292c29; color: var(--paper-light); }
.pricing-hero .overline { color: #d5d3ca; }
.pricing-hero h1 { color: var(--paper-light); }
.pricing-hero .detail-lede { color: #deddd5; }
.pricing-hero .editorial-button { border-color: var(--paper-light); background: var(--paper-light); color: var(--ink); }
.pricing-ledger-card, .pricing-ledger-card:nth-child(2) { background: var(--paper-light); }
.topup-ledger { background: #eeeae2; }
.ledger-amount { color: var(--rust); }
.payment-detail-band { border-radius: 1px; }
.editorial-footer { border-color: #3f433f; background: #242725; }
.editorial-footer .brand-dot { color: #d6a18b; }
.editorial-footer a:hover { color: #e4b49e; }

@media (max-width: 1160px) {
  .landing-hero { min-height: 0; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 32px; padding-right: 5vw; padding-left: 5vw; }
  .landing-art-area { height: 450px; }
  .landing-art-card { width: min(85%,390px); }
  .studio-layout { grid-template-columns: minmax(0,1fr); }
  .preview-panel { min-height: 460px; }
  .preview-stage { max-height: 550px; }
  .technical-card { padding-right: 13px; padding-left: 13px; }
}
@media (max-width: 900px) {
  .gallery-heading { align-items: start; flex-direction: column; gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px 14px; }
  .gallery-item-still-life { grid-column: span 6; }
  .gallery-item-bookshop { grid-column: span 3; margin-top: 35px; }
  .gallery-item-villa { grid-column: span 3; margin-top: 75px; }
  .technical-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technical-card:nth-child(2) { border-right: 0; }
  .technical-card:nth-child(3), .technical-card:nth-child(4) { border-top: 1px solid var(--line); }
  .model-feature-info { padding-right: 15px; }
  .model-feature:last-child .model-feature-info { padding-left: 15px; }
  .pricing-copy h2 { font-size: 49px; }
}
@media (max-width: 760px) {
  .landing-nav { min-height: 0; flex-wrap: wrap; gap: 7px 12px; padding: 11px 18px 0; }
  .landing-nav .brand-symbol { width: 30px; height: 30px; }
  .landing-nav .wordmark-name { font-size: 19px; }
  .landing-nav-links { order: 3; width: 100%; display: flex; justify-content: space-between; gap: 7px; padding: 10px 0 11px; border-top: 1px solid var(--line); }
  .landing-nav-links a { font-size: 9px; }
  .landing-nav-actions { margin-left: auto; }
  .landing-signin { display: none; }
  .landing-nav-cta { display: inline-flex; min-height: 35px; padding: 0 10px; font-size: 9px; }
  .landing-menu-button { display: none; }
  .landing-hero { grid-template-columns: 1fr; gap: 15px; padding: 43px 23px 65px; }
  .landing-hero h1 { max-width: 550px; margin: 20px 0 16px; font-size: clamp(49px,11.5vw,70px); }
  .landing-lede { max-width: 530px; font-size: 14px; }
  .landing-hero-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 16px; margin-top: 21px; }
  .landing-main-cta { min-width: 190px; min-height: 46px; font-size: 10px; }
  .landing-free-note { margin-top: 18px; font-size: 9px; }
  .landing-art-area { width: min(100%,500px); height: 365px; justify-self: center; margin-top: 9px; }
  .landing-art-card { width: min(83%,350px); }
  .hero-bottomline { right: 23px; bottom: 21px; left: 23px; gap: 8px; font-size: 6px; }
  .curated-gallery { padding: 65px 23px 59px; }
  .gallery-heading { gap: 10px; margin-bottom: 24px; }
  .gallery-heading h2 { font-size: clamp(36px,9vw,48px); }
  .gallery-heading > p { font-size: 12px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 13px; }
  .gallery-item-still-life { grid-column: span 2; }
  .gallery-item-bookshop, .gallery-item-villa { grid-column: span 1; margin-top: 0; }
  .gallery-item img, .gallery-item-bookshop img { aspect-ratio: 4 / 5; }
  .gallery-item figcaption { align-items: start; flex-direction: column; gap: 5px; padding-top: 9px; }
  .gallery-item figcaption strong { font-size: 15px; }
  .gallery-credit { text-align: left; }
  .landing-intro, .landing-models, .landing-technical { padding: 65px 23px; }
  .landing-section-heading, .models-heading, .technical-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 25px; }
  .landing-section-heading h2, .models-heading h2, .pricing-copy h2, .technical-heading h2 { margin-top: 12px; font-size: clamp(38px,10vw,51px); }
  .landing-section-heading p, .models-heading > p, .technical-heading > p { max-width: 500px; font-size: 12px; }
  .landing-steps { grid-template-columns: 1fr; }
  .landing-step { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 5px; }
  .landing-step:last-child { border-bottom: 0; }
  .step-illustration { max-width: 300px; height: 91px; }
  .landing-step h3 { margin-top: 15px; }
  .model-cards { grid-template-columns: 1fr; }
  .model-feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .model-feature:last-child { border-bottom: 0; }
  .model-feature-info, .model-feature:last-child .model-feature-info { min-height: 176px; padding: 20px 2px; }
  .model-feature-info h3 { font-size: 29px; }
  .model-feature-info p { max-width: 260px; font-size: 11px; }
  .technical-grid { grid-template-columns: 1fr; }
  .technical-card, .technical-card:nth-child(2), .technical-card:nth-child(3), .technical-card:nth-child(4) { min-height: 0; border-right: 0; border-top: 1px solid var(--line); padding: 19px 6px; }
  .technical-card:first-child { border-top: 0; }
  .technical-footnote { align-items: flex-start; flex-wrap: wrap; }
  .technical-footnote > span:nth-child(2) { flex-basis: calc(100% - 30px); }
  .technical-footnote a { margin-left: 28px; }
  .landing-pricing { grid-template-columns: 1fr; gap: 27px; padding: 65px 24px 73px; }
  .pricing-copy > p { font-size: 13px; }
  .credit-ledger { width: calc(100% - 7px); padding: 19px 17px 16px; }
  .ledger-stamp { right: -14px; bottom: -31px; width: 68px; height: 68px; }
  .landing-footer { display: grid; grid-template-columns: 1fr auto; gap: 18px 12px; padding: 24px 19px; }
  .landing-footer > span { display: none; }
  .footer-links { grid-column: 1 / -1; gap: 11px 15px; }
  .landing-footer > button { justify-self: end; font-size: 10px; }
  .landing-footer > small { grid-column: 1 / -1; }
  .auth-screen { display: flex; min-height: 100vh; flex-direction: column; }
  .auth-art-panel { display: none; }
  .auth-form-panel { min-height: 100vh; padding: 20px 23px; }
  .mobile-wordmark { display: inline-flex; }
  .auth-form-wrap { margin: 37px auto 30px; }
  .auth-form-wrap h1 { font-size: 46px; }
  .app-shell { display: block; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .sidebar { position: fixed; z-index: 10; inset: auto 0 0; width: 100%; height: calc(62px + env(safe-area-inset-bottom)); min-height: 0; flex-direction: row; justify-content: space-around; padding: 0 8px env(safe-area-inset-bottom); border-top: 1px solid #414640; }
  .sidebar-brand, .sidebar-label, .sidebar-divider, .sidebar-note, .sidebar-bottom { display: none; }
  .side-nav { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
  .side-link { height: 54px; min-height: 0; flex-direction: column; justify-content: center; gap: 3px; padding: 4px 3px; border-radius: 0; font-size: 8px; }
  .side-link.is-active::before { width: 28px; height: 2px; top: 0; left: 50%; margin: 0; transform: translateX(-50%); }
  .side-link .nav-icon { width: auto; height: 17px; font-size: 15px; }
  .side-count, .nav-count, .side-pill { display: none; }
  .main-area { padding: 0 16px 28px; }
  .topbar { height: 58px; }
  .topbar-actions { gap: 8px; }
  .queue-indicator { font-size: 0; }
  .queue-indicator strong { font-size: 8px; }
  .queue-dot { width: 7px; height: 7px; }
  .top-credit-button { min-height: 34px; gap: 5px; padding: 0 6px; }
  .top-credit-button strong { font-size: 14px; }
  .top-credit-button small { font-size: 7px; }
  .page-heading { padding: 27px 0 19px; }
  .heading-caption { display: none; }
  .page-heading h1 { max-width: 350px; margin-top: 13px; font-size: clamp(38px,10vw,48px); }
  .page-heading > div > p { font-size: 13px; }
  .studio-layout { gap: 12px; }
  .composer-panel { padding: 17px 14px 13px; }
  .panel-heading { margin-bottom: 16px; }
  .panel-heading h2 { font-size: 20px; }
  .prompt-label { align-items: flex-start; font-size: 7px; }
  .prompt-label > span { max-width: 55%; font-size: 8px; }
  .prompt-wrap textarea { min-height: 115px; font-size: 13px; }
  .model-options { gap: 7px; }
  .model-option { gap: 6px; min-height: 57px; padding: 6px; }
  .model-swatch { width: 26px; height: 32px; }
  .model-option-copy strong, .model-cost strong { font-size: 12px; }
  .options-grid { grid-template-columns: 1fr; }
  .select-field select { min-height: 43px; }
  .generate-footer { align-items: flex-end; gap: 8px; }
  .generation-cost { gap: 6px; }
  .generation-cost strong { font-size: 11px; }
  .generate-button { min-width: 126px; min-height: 44px; padding: 0 9px; font-size: 10px; }
  .render-note { align-items: flex-start; font-size: 8px; line-height: 1.5; }
  .preview-panel { min-height: 0; padding: 15px 12px 10px; }
  .preview-stage { min-height: 280px; max-height: 460px; }
  .preview-topline h2 { font-size: 17px; }
  .preview-caption { font-size: 10px; }
  .preview-caption span:last-child { font-size: 6px; }
  .preview-actions { flex-wrap: wrap; }
  .quiet-action { min-height: 40px; }
  .recent-section { padding-top: 27px; }
  .recent-heading h2 { font-size: 20px; }
  .recent-heading .text-link { font-size: 8px; }
  .recent-grid, .library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 9px; }
  .recent-card-meta, .library-card-copy { padding: 7px 1px; }
  .recent-card-meta strong, .library-card-copy strong { font-size: 12px; }
  .secondary-view { min-height: calc(100vh - 125px); padding-top: 27px; }
  .secondary-heading h1 { font-size: 40px; }
  .wallet-layout { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .wallet-balance-card { min-height: 290px; padding: 20px; }
  .pricing-card { min-height: 0; padding: 19px; }
  .pricing-card h2 { font-size: 26px; }
  .topup-row { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .topup-row > :nth-child(3) { justify-self: start; }
  .topup-row > :nth-child(4) { justify-self: end; }
  .image-detail-dialog { width: calc(100vw - 18px); max-height: 96dvh; padding: 12px; }
  .image-detail-dialog > img { max-height: calc(96dvh - 143px); }
  .image-detail-toolbar h2 { font-size: 19px; }
  .image-detail-footer { align-items: flex-start; flex-direction: column; gap: 9px; }
  .image-detail-footer p { max-width: 100%; }
  .editorial-header { grid-template-columns: 1fr auto; grid-template-areas: "brand account" "nav nav"; gap: 8px 12px; padding: 10px 17px 0; }
  .editorial-brand { font-size: 18px; }
  .editorial-monogram { width: 29px; height: 29px; font-size: 23px; }
  .editorial-account { gap: 12px; }
  .editorial-account > a:first-child { display: none; }
  .header-create { padding: 10px; font-size: 9px; }
  .editorial-nav { grid-column: 1 / -1; justify-content: space-between; gap: 8px; padding: 10px 0 11px; border-top: 1px solid var(--line); }
  .editorial-nav a { font-size: 9px; }
  .editorial-wrap { width: min(100% - 34px, 1220px); }
  .breadcrumb { padding: 13px 0; }
  .detail-hero { grid-template-columns: 1fr; gap: 27px; padding: 30px 0 55px; }
  .detail-copy h1, .pricing-hero h1 { font-size: clamp(44px,11vw,66px); }
  .detail-lede { font-size: 14px; }
  .illustration-plate, .scene-board { width: min(100% - 8px, 540px); }
  .detail-intro, .prompt-workshop, .control-section, .pricing-faq, .cost-table-section { grid-template-columns: 1fr; gap: 21px; padding: 42px 0; }
  .detail-intro h2, .workshop-heading h2, .control-heading h2, .pricing-faq h2, .cost-table-section h2 { font-size: 36px; }
  .detail-cta { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
  .related-pages { grid-template-columns: 1fr; margin-bottom: 45px; }
  .related-pages > a + a { padding-left: 0; border-left: 0; }
  .editorial-footer { align-items: flex-start; flex-direction: column; gap: 14px; padding: 22px 18px; }
  .editorial-footer > div { gap: 13px; }
  .pricing-hero { padding: 36px 21px; }
  .pricing-ledger-grid { grid-template-columns: 1fr; margin-bottom: 40px; }
  .pricing-ledger-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 19px; }
  .pricing-ledger-card:last-child { border-bottom: 0; }
  .ledger-amount { margin: 17px 0 11px; font-size: 47px; }
  .pricing-ledger-card p { min-height: 0; }
  .payment-detail-band { grid-template-columns: 1fr; gap: 25px; padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-view, .toast, .preview-progress .progress-ornament { animation: none !important; }
}

/* Keep technical specifications legible in the narrow editorial columns. */
.spec-list { margin-top: 16px; border-top: 1px solid var(--line); }
.spec-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-list > div > span { min-width: 0; font-size: 8px; letter-spacing: .08em; }
.spec-list > div > b { flex: 0 0 auto; color: var(--ink); font-size: 10px; font-weight: 600; text-align: right; white-space: nowrap; }
.tech-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.tech-chips > span { display: inline-flex; align-items: center; padding: 6px 8px; line-height: 1.2; }

/* Branded not-found page. */
.not-found-shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); color: var(--ink); }
.not-found-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(22px,6vw,92px); border-bottom: 1px solid var(--line); }
.not-found-header .editorial-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.not-found-status, .not-found-footer { color: #6b716b; font-size: 9px; font-weight: 650; letter-spacing: .12em; }
.not-found-main { width: min(100% - 52px, 1120px); margin: 0 auto; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(32px,8vw,110px); padding: clamp(72px,13vh,140px) 0; }
.not-found-number { margin: 0; padding: 0 0 25px; border-bottom: 1px solid var(--ink); color: var(--rust); font: 400 clamp(130px,22vw,260px)/.8 var(--serif); letter-spacing: -.09em; }
.not-found-copy .overline { margin: 0; }
.not-found-copy h1 { max-width: 610px; margin: 18px 0 16px; color: var(--ink); font: 400 clamp(42px,5.5vw,68px)/.99 var(--serif); letter-spacing: -.05em; }
.not-found-copy > p:last-of-type { max-width: 440px; margin: 0; color: #5e655f; font-size: 14px; line-height: 1.75; }
.not-found-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.not-found-actions .editorial-button { min-height: 48px; }
.not-found-footer { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(22px,6vw,92px); border-top: 1px solid var(--line); }
.not-found-footer a { color: inherit; text-decoration: none; }
.not-found-footer a:hover { color: var(--rust); }
@media (max-width: 760px) {
  .not-found-header { min-height: 68px; padding: 12px 18px; }
  .not-found-header .editorial-brand { font-size: 18px; }
  .not-found-status { font-size: 8px; }
  .not-found-main { width: min(100% - 40px, 560px); grid-template-columns: 1fr; gap: 32px; padding: 60px 0 72px; }
  .not-found-number { width: fit-content; padding-bottom: 15px; font-size: clamp(118px,36vw,190px); }
  .not-found-copy h1 { font-size: clamp(40px,11vw,56px); }
  .not-found-copy > p:last-of-type { font-size: 13px; }
  .not-found-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .not-found-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 17px 20px; font-size: 8px; }
}

/* Restore the actual layout primitives used by the technical overview. */
.technical-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.72fr); align-items: end; }
.technical-grid { display: grid; }
.technical-card { min-width: 0; }
.technical-card-head { display: flex; margin-bottom: 17px; }
.technical-card h3 { margin: 0 0 10px; line-height: 1.15; }
.technical-card > p { margin: 0 0 14px; }
.technical-card > p:last-child { margin-bottom: 0; }
.pipeline-steps { display: grid; grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr); align-items: stretch; gap: 4px; margin: 16px 0; }
.pipeline-node { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 7px; border: 1px solid var(--line); }
.pipeline-node > span { font-size: 8px; }
.pipeline-node b { font-size: 9px; }
.pipeline-node small { font-size: 7px; line-height: 1.4; }
.pipeline-steps > i { display: grid; place-items: center; align-self: center; font-size: 10px; font-style: normal; }
.queue-visual { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 11px 12px; border: 1px solid var(--line); }
.queue-live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.queue-visual > div { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 5px; }
.queue-visual small { font-size: 7px; letter-spacing: .1em; }
.queue-visual b { font-size: 9px; letter-spacing: .04em; }
.queue-pulse { flex: 0 0 auto; font-size: 15px; }
.technical-footnote { display: flex; align-items: center; gap: 12px; margin: 20px auto 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.6; }
.technical-footnote > span:first-child { flex: 0 0 auto; }
.technical-footnote > span:nth-child(2) { min-width: 0; flex: 1 1 auto; }
.technical-footnote a { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
@media (max-width: 760px) {
  .technical-heading { display: flex; }
  .technical-footnote { align-items: flex-start; flex-wrap: wrap; gap: 8px 10px; }
  .technical-footnote > span:nth-child(2) { flex: 1 1 calc(100% - 30px); }
  .technical-footnote a { margin-left: 28px; }
}
