/*
Theme Name: Tatacaro Codex
Author: tatacaro10
Description: PAYMAP payment solutions portfolio theme.
Version: 1.2.0
*/

/* Shared design system. Font face and fallbacks live in assets/fonts.css. */
:root {
    --blue: #1764e8;
    --blue-dark: #104cba;
    --navy: #182536;
    --text: #354253;
    --muted: #626f7e;
    --line: #dfe5ec;
    --pale: #f5f7fa;
    --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--text); background: #fff; font: 400 16px/1.8 var(--font-sans, "Pretendard", "Malgun Gothic", sans-serif); word-break: keep-all; overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 4.4vw, 64px); font-weight: 750; line-height: 1.22; }
h2 { font-size: clamp(32px, 3.1vw, 44px); font-weight: 700; }
h3 { font-size: 23px; font-weight: 650; }
em { font-style: normal; color: var(--blue); }
small { font-weight: 400; }
ul, ol { padding: 0; margin: 0; list-style: none; }
img, svg { max-width: 100%; }
img { height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 128px; }
.section-heading { margin-bottom: 54px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 24px; }
.eyebrow { color: var(--blue); font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.centered { text-align: center; }
.icon { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: #fff; z-index: 100; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 54px; padding: 13px 24px; background: var(--blue); color: #fff; border: 1px solid transparent; border-radius: 6px; font-weight: 600; font-size: 16px; line-height: 1.5; transition: background .2s; }
.button:hover { background: var(--blue-dark); }
.button-small { min-height: 44px; padding: 10px 19px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; color: var(--blue); font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Shared navigation; existing menu script controls is-open and aria-expanded. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #edf0f4; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; font-size: 29px; font-weight: 800; line-height: 1; letter-spacing: -.045em; color: var(--blue); white-space: nowrap; }
.brand-dot { color: #ef863e; }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.primary-nav > a:not(.button) { padding-block: 22px; }
.primary-nav > a:not(.button):hover, .primary-nav [aria-current] { color: var(--blue); }
.menu-toggle { display: none; }

/* A quiet opening, with one responsive product surface. */
.hero { background: #f7f9fc; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px; padding-block: 96px 104px; }
.hero-copy, .hero-art { min-width: 0; }
.hero-description { font-size: 18px; line-height: 1.8; color: var(--muted); margin-top: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; }
.hero-art { width: 100%; max-width: 450px; justify-self: end; }
.payment-preview { border: 1px solid #d6e0ee; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 50px #203c6210; }
.preview-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.preview-top strong { color: var(--blue); font-size: 19px; font-weight: 750; letter-spacing: -.03em; }
.preview-top > span, .ui-caption { font-size: 12px; color: var(--muted); }
.checkout-body { padding: 28px; }
.checkout-title { font-size: 21px; margin-top: 6px; font-weight: 600; }
.checkout-item { font-size: 13px; color: var(--muted); margin-top: 5px; }
.checkout-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 28px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.checkout-total > span { font-size: 14px; }
.checkout-total strong { font-size: 30px; color: var(--navy); font-weight: 700; line-height: 1.3; }
.checkout-total small { font-size: 15px; margin-left: 4px; }
.ui-label { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.payment-options { display: grid; gap: 8px; }
.payment-options > span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; border: 1px solid var(--line); border-radius: 4px; }
.payment-options .selected { border-color: var(--blue); color: var(--blue); background: #f6f9ff; }
.payment-options .selected > .icon:last-child { margin-left: auto; width: 20px; }
.checkout-summary { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); margin-block: 24px; }
.checkout-summary .icon { width: 17px; height: 17px; }
.mock-pay { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 14px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; }
.visual-caption { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 18px; }

/* Services read as columns, benefits as an editorial list. */
.service-grid, .partner-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.service-item, .partner-fit-card { border-top: 1px solid #cbd5e0; padding-top: 32px; min-width: 0; }
.service-item > .icon, .partner-fit-card > .icon { width: 36px; height: 36px; color: var(--blue); margin-bottom: 28px; }
.service-item h3, .partner-fit-card h3 { margin-bottom: 16px; }
.service-item p, .partner-fit-card p { color: var(--muted); font-size: 16px; }
.service-item .text-link { margin-top: 26px; font-size: 14px; }
.benefits { background: var(--pale); }
.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.editorial-grid .section-heading { margin-bottom: 0; }
.benefit-grid { min-width: 0; }
.benefit-card { display: flex; align-items: flex-start; gap: 24px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.benefit-card:first-child { padding-top: 0; }
.item-number { font-size: 13px; color: var(--blue); padding-top: 5px; font-variant-numeric: tabular-nums; }
.benefit-card h3 { font-size: 21px; margin-bottom: 10px; }
.benefit-card p { color: var(--muted); font-size: 15px; }

/* Product example: real HTML stays legible and reflows on small screens. */
.workspace-section { background: #fff; }
.workspace-visual { padding: 38px; background: #edf3fc; border-radius: var(--radius); }
.dashboard { border: 1px solid #d9e2ee; background: #fff; border-radius: 6px; overflow: hidden; }
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.dashboard-top > strong { color: var(--blue); font-size: 18px; font-weight: 750; }
.dashboard-top strong span { color: var(--muted); margin-left: 12px; font-size: 13px; font-weight: 400; }
.dashboard-layout { display: grid; grid-template-columns: 172px minmax(0, 1fr); }
.dashboard-sidebar { display: flex; flex-direction: column; gap: 7px; padding: 26px 14px; background: #fafbfd; border-right: 1px solid var(--line); }
.dashboard-sidebar > span { display: flex; align-items: center; gap: 10px; padding: 10px; font-size: 13px; color: var(--muted); }
.dashboard-sidebar .active { color: var(--blue); background: #eaf1fd; border-radius: 4px; font-weight: 600; }
.dashboard-sidebar .icon { width: 20px; height: 20px; }
.dashboard-content { padding: 28px; min-width: 0; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-heading h3 { font-size: 20px; }
.mock-filter { padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 20px; padding-block: 28px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.metric-grid dt { color: var(--muted); font-size: 12px; }
.metric-grid dd { margin: 7px 0 0; font-size: clamp(18px, 1.9vw, 26px); font-weight: 650; color: var(--navy); line-height: 1.4; font-variant-numeric: tabular-nums; }
.metric-grid small { font-size: 12px; margin-left: 3px; }
.chart-heading { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.chart-heading span { color: var(--muted); font-size: 12px; }
.sales-chart { display: flex; gap: 24px; height: 154px; padding-top: 20px; margin-bottom: 28px; background: repeating-linear-gradient(to top, transparent 0, transparent 43px, #edf0f4 43px, #edf0f4 44px); }
.sales-chart > div { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.chart-bar { display: block; width: min(100%, 42px); height: var(--bar-height); background: #a9c9fb; border-radius: 3px 3px 0 0; }
.sales-chart > div:last-child .chart-bar { background: var(--blue); }
.sales-chart small { font-size: 11px; color: var(--muted); height: 24px; flex-shrink: 0; background: #fff; width: 100%; text-align: center; }
.transaction-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.transaction-table caption { text-align: left; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.transaction-table caption span { color: var(--muted); font-size: 12px; margin-left: 10px; font-weight: 400; }
.transaction-table th, .transaction-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid #edf0f4; }
.transaction-table thead th { font-weight: 400; color: var(--muted); background: #f8fafc; }
.transaction-table tbody th { font-weight: 500; }
.transaction-table th:first-child { width: 29%; }
.transaction-table td:nth-last-child(2) { font-variant-numeric: tabular-nums; }
.transaction-status { display: inline-block; color: #1755ac; background: #eef4ff; border-radius: 3px; padding: 3px 7px; font-size: 11px; white-space: nowrap; }
.transaction-status.neutral { background: #f1f3f6; color: #5c6876; }
.workspace-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; text-align: center; }
.workspace-notes p { color: var(--muted); font-size: 14px; }
.workspace-notes strong { display: block; color: var(--navy); font-size: 18px; font-weight: 600; margin-bottom: 8px; }

/* Process and partner editorial visual. */
.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.process-grid li { border-top: 1px solid #bbcadd; padding-top: 24px; }
.step-number { display: block; font-size: 14px; color: var(--blue); font-weight: 600; margin-bottom: 24px; }
.process-grid h3 { font-size: 20px; margin-bottom: 14px; }
.process-grid p { font-size: 15px; color: var(--muted); }
.partner-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner-preview { background: #eaf1fc; padding: 40px; border-radius: var(--radius); }
.partner-preview-heading { display: flex; align-items: center; justify-content: space-between; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.partner-preview-heading .icon { width: 32px; height: 32px; }
.partner-statement { font-size: clamp(24px, 2.25vw, 31px); line-height: 1.65; letter-spacing: -.025em; margin-block: 64px; color: #59749b; }
.partner-statement strong { font-weight: 650; color: var(--blue); }
.partner-preview-bottom { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #c6d6ee; padding-top: 20px; font-size: 13px; color: #526888; }

/* Forms: retain all original field names, status classes and focus targets. */
.consultation { background: var(--pale); }
.consultation-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: start; }
.consultation-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 26px; }
.consultation-copy .text-link { margin-top: 30px; font-size: 14px; }
.consultation-copy .demo-note { font-size: 13px; line-height: 1.8; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); max-width: 350px; }
.consultation-panel { background: #fff; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.form-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.form-heading h3 { font-size: 23px; }
.form-heading > span { font-size: 12px; color: var(--muted); }
.form-heading b, .field label > span, .service-field legend > span, .privacy-consent b { color: #b34a24; font-weight: 500; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field, .service-field { margin: 0 0 22px; padding: 0; min-width: 0; border: 0; }
.field label, .service-field legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.field small { font-size: 12px; color: var(--muted); margin-left: 5px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; max-width: 100%; padding: 12px 13px; background: #fff; border: 1px solid #c9d2dd; border-radius: 4px; color: var(--navy); font-size: 16px; min-height: 48px; }
.field input::placeholder, .field textarea::placeholder { color: #737d89; font-size: 14px; opacity: 1; }
.field textarea { display: block; resize: vertical; min-height: 118px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid #d9e8ff; outline-offset: 1px; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.service-options label { position: relative; cursor: pointer; }
.service-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.service-options label > span { display: flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid #c9d2dd; border-radius: 4px; font-size: 14px; }
.service-options input:checked + span { color: var(--blue); background: #f3f7ff; border-color: var(--blue); font-weight: 600; }
.service-options input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.service-options label:hover > span { border-color: var(--blue); }
.privacy-consent { padding-top: 4px; margin-bottom: 26px; }
.privacy-consent > label { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; cursor: pointer; }
.privacy-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.privacy-consent details { font-size: 12px; color: var(--muted); margin-top: 8px; }
.privacy-consent summary { padding-block: 10px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.privacy-consent details p { padding: 16px; background: var(--pale); line-height: 1.9; }
.submit-button { width: 100%; justify-content: space-between; }
.form-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
.form-status { padding: 16px; font-size: 14px; margin-bottom: 24px; border: 1px solid; border-radius: 4px; }
.form-status.is-success { background: #eff9f4; color: #226046; border-color: #b0d7c4; }
.form-status.is-error { background: #fff4f0; color: #974321; border-color: #e7c0b1; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.input-unit { position: relative; }
.input-unit input { padding-right: 36px; }
.input-unit > span { position: absolute; right: 14px; top: 12px; font-size: 14px; color: var(--muted); }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 7px; }

/* Footer and standard WordPress content. */
.site-footer { padding-block: 60px 36px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; font-size: 13px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.footer-links a:hover { color: var(--blue); }
.footer-links .icon { transform: rotate(-90deg); width: 20px; height: 20px; }
.footer-company > strong { font-size: 14px; font-weight: 600; }
.footer-company > strong > span { margin-left: 12px; font-weight: 400; font-size: 12px; color: var(--muted); }
.company-details { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; color: var(--muted); margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-bottom small { font-size: 12px; }
.content-page { min-height: 60vh; padding-block: 80px; }
.content-page article { margin-bottom: 48px; }
.content-page h1 { margin-bottom: 24px; }
.content-page ul, .content-page ol { list-style: revert; padding-left: 24px; }
.content-page a { text-decoration: underline; }
.content-page iframe, .content-page video { max-width: 100%; }

/* Once-only entry. No JavaScript means below-fold content remains visible. */
@keyframes hero-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-copy { animation: hero-enter .6s cubic-bezier(.22,.61,.36,1) both; }
.hero-art { animation: hero-enter .65s cubic-bezier(.22,.61,.36,1) .08s both; }
.reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-pending.is-revealed { opacity: 1; transform: none; }
.reveal-immediate, .reveal-pending:focus-within { opacity: 1; transform: none; transition: none; }

/* Tablet: preserve the existing 961px navigation breakpoint. */
@media (max-width: 1100px) {
    .primary-nav { gap: 22px; font-size: 14px; }
    .hero-grid { gap: 40px; }
    .editorial-grid, .consultation-grid { gap: 48px; }
    .service-grid, .partner-fit-grid { gap: 30px; }
    .dashboard-layout { grid-template-columns: 145px minmax(0, 1fr); }
    .dashboard-sidebar { padding-inline: 8px; }
    .dashboard-content { padding: 24px; }
}
@media (max-width: 960px) {
    .container { width: calc(100% - 48px); }
    .header-inner { min-height: 76px; }
    .js .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
    .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
    .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; top: -6px; }
    .menu-icon::after { top: 6px; }
    .menu-toggle[aria-expanded=true] .menu-icon { background: transparent; }
    .menu-toggle[aria-expanded=true] .menu-icon::before { transform: rotate(45deg); top: 0; }
    .menu-toggle[aria-expanded=true] .menu-icon::after { transform: rotate(-45deg); top: 0; }
    .js .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 130px); overflow-y: auto; }
    .js .primary-nav.is-open { display: flex; }
    .js .primary-nav > a:not(.button) { padding: 14px 4px; border-bottom: 1px solid #edf0f4; }
    .js .primary-nav > .button { margin-top: 16px; }
    html:not(.js) .site-header { position: relative; top: 0; }
    html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 20px; }
    html:not(.js) .primary-nav { flex-wrap: wrap; gap: 12px 22px; }
    html:not(.js) .primary-nav > a:not(.button) { padding-block: 8px; }
    .section { padding-block: 96px; }
    .hero-grid { padding-block: 72px; gap: 30px; }
    h1 { font-size: 42px; }
    .hero-description { font-size: 16px; }
    .hero-actions { gap: 12px; }
    .hero-actions .button { padding-inline: 18px; }
    .hero-actions .text-link { font-size: 14px; }
    .checkout-body { padding: 22px; }
    .preview-top { padding: 18px 22px; }
    .service-grid, .partner-fit-grid { gap: 24px; }
    .service-item h3, .partner-fit-card h3 { font-size: 21px; }
    .service-item p, .partner-fit-card p { font-size: 15px; }
    .editorial-grid { grid-template-columns: 1fr; gap: 48px; }
    .benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 36px; }
    .benefit-card, .benefit-card:first-child { padding-block: 0 26px; }
    .workspace-visual { padding: 24px; }
    .dashboard-sidebar { display: none; }
    .dashboard-layout { grid-template-columns: minmax(0,1fr); }
    .metric-grid dd { font-size: 24px; }
    .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 36px; }
    .partner-process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .consultation-grid { grid-template-columns: 1fr; gap: 44px; }
    .consultation-copy .demo-note { max-width: 100%; }
    .consultation-panel { width: 100%; max-width: 700px; }
    .partner-preview { padding: 28px; }
    .partner-statement { font-size: 25px; margin-block: 48px; }
    .footer-top { align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 700px) {
    html { scroll-padding-top: 92px; }
    .container { width: calc(100% - 40px); }
    .section { padding-block: 76px; }
    .header-inner { min-height: 72px; }
    .brand { font-size: 27px; }
    h1 { font-size: clamp(38px, 8.5vw, 52px); }
    h2 { font-size: 32px; }
    .eyebrow { font-size: 13px; margin-bottom: 18px; }
    .section-heading { margin-bottom: 36px; }
    .section-heading > p:not(.eyebrow) { font-size: 15px; margin-top: 20px; }
    .hero-grid { grid-template-columns: minmax(0,1fr); gap: 44px; padding-block: 58px 52px; }
    .hero-description { margin-top: 24px; }
    .hero-actions { margin-top: 26px; gap: 12px 24px; }
    .hero-art { justify-self: center; max-width: 420px; }
    .checkout-body { padding: 24px; }
    .preview-top { padding: 18px 24px; }
    .checkout-total { padding-block: 22px; margin-bottom: 20px; }
    .checkout-title { font-size: 21px; }
    .service-grid, .partner-fit-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
    .service-item, .partner-fit-card { padding-top: 24px; }
    .service-item > .icon, .partner-fit-card > .icon { width: 30px; height: 30px; margin-bottom: 18px; }
    .service-item h3, .partner-fit-card h3 { font-size: 24px; margin-bottom: 12px; }
    .service-item .text-link { margin-top: 16px; }
    .editorial-grid { gap: 36px; }
    .benefit-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .benefit-card { gap: 18px; }
    .benefit-card h3 { font-size: 21px; }
    .workspace-visual { padding: 12px; }
    .dashboard-top { padding: 15px; gap: 8px; }
    .dashboard-top strong { font-size: 16px; }
    .dashboard-top strong span { display: none; }
    .dashboard-content { padding: 18px 12px; }
    .dashboard-heading { flex-wrap: wrap; }
    .dashboard-heading h3 { font-size: 18px; }
    .mock-filter { font-size: 11px; }
    .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 10px; padding-block: 22px; }
    .metric-grid > div:first-child { grid-column: 1 / -1; }
    .metric-grid dd { font-size: 19px; }
    .metric-grid > div:first-child dd { font-size: 28px; }
    .metric-grid dt, .metric-grid small { font-size: 12px; }
    .sales-chart { gap: 13px; height: 124px; }
    .transaction-date { display: none; }
    .transaction-table th, .transaction-table td { padding: 12px 3px; font-size: 12px; }
    .transaction-table th:first-child { width: 37%; }
    .transaction-status { font-size: 11px; padding: 3px 4px; }
    .workspace-notes { grid-template-columns: minmax(0,1fr); text-align: left; gap: 18px; margin-top: 32px; }
    .workspace-notes p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
    .workspace-notes strong { font-size: 16px; margin: 0; }
    .process-grid, .partner-process-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .process-grid li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px 16px; padding-top: 20px; }
    .step-number { grid-row: span 2; margin: 0; padding-top: 3px; }
    .process-grid h3 { margin: 0; }
    .process-grid p { grid-column: 2; font-size: 14px; }
    .partner-preview { padding: 28px; }
    .partner-statement { font-size: 26px; }
    .consultation-panel { padding: 24px 20px; }
    .form-heading h3 { font-size: 22px; }
    .form-heading > span { font-size: 11px; }
    .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
    .form-caption { font-size: 11px; }
    .site-footer { padding-block: 44px 30px; }
    .footer-top { flex-direction: column; gap: 22px; margin-bottom: 24px; }
    .footer-links { gap: 4px 20px; font-size: 12px; }
    .footer-company > strong > span { display: block; margin: 6px 0 0; }
    .company-details { flex-direction: column; gap: 4px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 11px; gap: 22px; }
    .footer-bottom small { font-size: 11px; }
    .reveal-pending { transform: translateY(20px); transition-delay: 0ms; }
    .reveal-pending.is-revealed { transform: none; }
}
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal-pending { opacity: 1 !important; transform: none !important; }
}
@media print {
    .site-header, .hero-actions, .submit-button { display: none; }
    .hero-copy, .hero-art, .reveal-pending { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
    .container { width: 100%; }
    .section { padding-block: 36px; }
    .hero-grid { padding-block: 30px; }
}
