:root {
    --paper: #f7f6f2;
    --surface: #ffffff;
    --surface-soft: #efeee9;
    --ink: #20201e;
    --muted: #706f69;
    --line: #deddd6;
    --accent: #df624f;
    --accent-dark: #b94737;
    --accent-soft: #fae5df;
    --danger: #c64040;
    --warning: #a66b18;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body { margin: 0; background: var(--paper) !important; color: var(--ink) !important; font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:active, .button-primary:active, .button-secondary:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid rgba(223, 98, 79, .28); outline-offset: 2px; }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: #c9c7bf; border-radius: 10px; }

/* Shared brand and controls */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-lockup > span:last-child { display: grid; line-height: 1.15; }
.brand-lockup strong { font-size: 15px; letter-spacing: -.03em; }
.brand-lockup small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.brand-lockup.compact small { display: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); }
.brand-mark span { width: 13px; height: 8px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg) translate(1px, -1px); }
.button-primary, .button-secondary, .button-quiet, .landing-login, .app-nav-button, .primary-cta, .secondary-cta {
    min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; padding: 0 17px;
    border: 1px solid transparent; white-space: nowrap; text-decoration: none; font-size: 13px; font-weight: 700; transition: .2s ease;
}
.button-primary, .primary-cta { background: var(--accent); color: white; box-shadow: 0 7px 18px rgba(176, 73, 57, .15); }
.button-primary:hover, .primary-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button-secondary, .secondary-cta, .landing-login, .app-nav-button { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-secondary:hover, .secondary-cta:hover, .landing-login:hover, .app-nav-button:hover { border-color: #bab8b0; background: #fbfaf7; }
.button-quiet { min-height: 36px; padding: 0 8px; background: transparent; color: var(--muted); }
.button-block { width: 100%; }
.mobile-wide { display: none; }

/* Landing */
.landing-page { background: var(--paper); color: var(--ink); overflow: hidden; }
.landing-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.landing-nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 68px; border-bottom: 1px solid rgba(222, 221, 214, .84); background: rgba(247, 246, 242, .9); backdrop-filter: blur(14px); }
.landing-nav-inner, .landing-footer .landing-container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing-links { display: flex; gap: 30px; }.landing-links a { color: var(--muted); font-size: 13px; text-decoration: none; }.landing-links a:hover { color: var(--ink); }
.landing-hero { min-height: 100dvh; display: flex; align-items: center; padding: 92px 0 42px; }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.hero-kicker { margin: 0 0 18px; color: var(--accent-dark); font-size: 12px; font-weight: 700; }
.hero-copy h1 { margin: 0; max-width: 590px; font-size: clamp(48px, 6vw, 76px); line-height: 1.04; letter-spacing: -.065em; font-weight: 720; }
.hero-copy h1 span { display: block; color: #929088; }
.hero-subtitle { max-width: 470px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-image-wrap { width: min(100%, 620px); margin-left: auto; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 55px rgba(77, 68, 57, .16); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.38); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 104px; padding: 24px; border-left: 1px solid var(--line); display: grid; align-content: center; gap: 6px; }
.proof-grid > div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong { font-size: 17px; }.proof-grid span { color: var(--muted); font-size: 11px; }
.landing-section { padding: 112px 0; }
.section-heading { max-width: 650px; margin-bottom: 44px; }
.section-heading h2, .workflow-intro h2, .privacy-copy h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading p, .workflow-intro > p, .privacy-copy > p, .final-cta p { max-width: 570px; margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.capability-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.capability-main, .capability-tile { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.capability-main { grid-row: span 2; min-height: 580px; display: grid; grid-template-rows: auto 1fr; }
.capability-copy, .capability-tile { padding: 34px; }.capability-grid h3 { margin: 0; font-size: 25px; letter-spacing: -.04em; }.capability-grid p { max-width: 460px; margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.compliance-demo { align-self: end; margin: 0 24px 24px; padding: 28px; border-radius: var(--radius); background: var(--surface-soft); color: #44433f; font-size: 20px; line-height: 1.9; }
.demo-red, .demo-yellow { margin: 0 2px; padding: 1px 4px; border-radius: 4px; }.demo-red { color: var(--danger); background: #f9dddd; border-bottom: 2px solid #dd7070; }.demo-yellow { color: #8c5b12; background: #f8ebc9; border-bottom: 2px solid #d9a94e; }
.demo-advice { display: flex; gap: 14px; margin-top: 25px; padding-top: 16px; border-top: 1px solid #d7d5cd; font-size: 12px; }.demo-advice b { color: var(--accent-dark); }.demo-advice span { color: var(--muted); }
.capability-tile { min-height: 282px; }.tile-copy { background: #f2e9e4; }.tile-video { position: relative; background: #e8efeb; }
.waveform { position: absolute; left: 34px; right: 34px; bottom: 32px; height: 46px; display: flex; align-items: center; gap: 8px; }.waveform i { display: block; flex: 1; height: 20%; border-radius: 8px; background: #6c8b7b; }.waveform i:nth-child(2),.waveform i:nth-child(7){height:60%}.waveform i:nth-child(3),.waveform i:nth-child(6){height:95%}.waveform i:nth-child(4){height:45%}.waveform i:nth-child(5){height:76%}
.workflow-section { background: #efeee9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }.workflow-intro { position: sticky; top: 112px; }.text-cta { margin-top: 26px; color: var(--accent-dark); font-size: 14px; font-weight: 700; }
.workflow-list { margin: 0; padding: 0; list-style: none; counter-reset: workflow; }.workflow-list li { counter-increment: workflow; position: relative; padding: 30px 20px 34px 68px; border-bottom: 1px solid var(--line); }.workflow-list li:first-child { border-top: 1px solid var(--line); }.workflow-list li::before { content: counter(workflow); position: absolute; left: 12px; top: 30px; color: var(--accent-dark); font-size: 13px; font-weight: 700; }.workflow-list span { font-size: 20px; font-weight: 700; }.workflow-list p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.privacy-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }.privacy-visual { min-height: 410px; display: grid; place-items: center; border-radius: var(--radius); background: #e8efeb; }.privacy-ring { width: 220px; height: 220px; display: grid; place-content: center; border: 1px solid #bdccc4; border-radius: 50%; text-align: center; }.privacy-ring strong { font-size: 62px; letter-spacing: -.07em; }.privacy-ring span { color: var(--muted); font-size: 12px; }.privacy-copy ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }.privacy-copy li { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: #55544f; font-size: 12px; }
.final-cta-section { padding: 0 0 90px; }.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 54px; border-radius: var(--radius); background: #292925; color: #f8f7f2; }.final-cta h2 { font-size: 38px; }.final-cta p { color: #b9b7ae; }.landing-footer { height: 86px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* Logged-in app and shared pages */
#app-shell, .app-page { min-height: 100dvh; background: var(--paper); color: var(--ink); }
#app-shell > header, .app-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line) !important; background: rgba(247,246,242,.92) !important; backdrop-filter: blur(14px); }
#app-shell > header > div, .app-header-inner { width: min(1180px, calc(100% - 32px)); height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 !important; }
.app-header-actions, .user-menu { display: flex; align-items: center; gap: 9px; }.user-menu { color: var(--muted); font-size: 11px; }
#app-shell main, .app-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 38px 0 72px !important; }.app-main-narrow { max-width: 880px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }.page-heading h1 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -.045em; }.page-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* Tailwind overrides for the input workspace */
#app-shell .text-gray-100, #app-shell .text-gray-200, #app-shell .text-gray-300 { color: var(--ink) !important; }
#app-shell .text-gray-400, #app-shell .text-gray-500 { color: var(--muted) !important; }
#app-shell .text-neon-blue { color: var(--accent-dark) !important; }
#app-shell .bg-dark-800, #app-shell .bg-dark-700 { background: var(--surface) !important; }
#app-shell .bg-dark-600 { background: var(--surface-soft) !important; }
#app-shell .border-dark-600, #app-shell .border-dark-500 { border-color: var(--line) !important; }
#app-shell .rounded-2xl { border-radius: var(--radius) !important; }
#app-shell #stage-input > div:first-child { align-items: end; margin-bottom: 22px !important; }
#app-shell #stage-input > div:first-child h2 { font-size: 32px; letter-spacing: -.045em; }
#app-shell #stage-input > div:nth-child(2) { gap: 18px !important; }
#input-video-panel, #input-text-panel, #app-shell #stage-input > div:nth-child(2) > div:last-child { box-shadow: 0 8px 22px rgba(65, 57, 48, .04); }
#upload-dropzone { min-height: 420px !important; border-color: #cac8c0 !important; background: #fbfaf7; }
#upload-dropzone:hover, #upload-dropzone.drag-over { border-color: var(--accent) !important; background: #fff7f4 !important; transform: none !important; }
#upload-dropzone video { background: #2b2b28 !important; }
.upload-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 25px; }
.setting-hint { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
#input-text { min-height: 420px; border-color: var(--line) !important; background: #fbfaf7 !important; color: var(--ink) !important; }
.mode-btn { min-height: 40px; border: 1px solid transparent; border-radius: 10px !important; color: var(--muted) !important; background: transparent !important; }
.mode-btn.active-mode { border-color: var(--line) !important; background: var(--surface) !important; color: var(--ink) !important; box-shadow: 0 4px 12px rgba(65, 57, 48, .07) !important; }
.tag-btn { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fbfaf7; color: #66645e; font-size: 12px; font-weight: 500; transition: .15s ease; }
.tag-btn:hover { border-color: #bdbab1; background: white; color: var(--ink); }.tag-btn.active { border-color: #e2a093 !important; background: var(--accent-soft) !important; color: var(--accent-dark) !important; }
#btn-generate { min-height: 48px; border-radius: 11px !important; background: var(--accent) !important; color: white !important; box-shadow: none; }
#upload-bar { background: var(--accent) !important; }

/* Result, detail, history */
.page-state { padding: 90px 0; color: var(--muted); text-align: center; }
.error-state { color: var(--danger); }
.empty-state { min-height: 130px; display: grid; place-content: center; justify-items: center; gap: 7px; color: var(--muted); text-align: center; }.empty-state strong { color: var(--ink); font-size: 14px; }.empty-state span { font-size: 11px; }.history-empty { min-height: 300px; border: 1px dashed #c9c6bd; border-radius: var(--radius); }.history-empty .button-primary { margin-top: 12px; }
.result-layout { display: grid; gap: 18px; }
.content-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 7px 20px rgba(65, 57, 48, .035); }
.panel-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--line); }.panel-header h2 { margin: 0; font-size: 15px; }.panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel-content { padding: 20px; }.result-primary-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }.copy-list { display: grid; gap: 12px; }
.copy-option { position: relative; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fbfaf7; }.copy-option:hover { border-color: #c4c1b8; }.copy-option p { color: #3c3b37 !important; font-size: 14px; line-height: 1.8; }.copy-option .text-neon-blue { color: var(--accent-dark) !important; }.copy-option button { color: var(--accent-dark) !important; font-weight: 700; }
.original-text { max-height: 420px; overflow-y: auto; color: #4b4a45; font-size: 14px; line-height: 1.9; }
.compliance-summary { display: grid; grid-template-columns: 1fr auto auto; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }.compliance-summary > div { min-width: 130px; padding: 17px 20px; background: var(--surface); display: grid; gap: 5px; }.compliance-summary span { color: var(--muted); font-size: 11px; }.compliance-summary strong { font-size: 18px; }.summary-label { color: var(--accent-dark) !important; }.risk-red { color: var(--danger); }.risk-yellow { color: var(--warning); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.metrics-grid > div { min-width: 0; padding: 14px !important; border: 1px solid var(--line); border-radius: 10px !important; background: transparent !important; }.metrics-grid p:first-child { color: var(--muted) !important; font-size: 10px; }.metrics-grid p:last-child { color: #55544f !important; font-size: 11px; }
.hashtag-tag { display: inline-block; margin: 0 5px 7px 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft) !important; color: #575650 !important; font-size: 12px; font-weight: 600; }
.issue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }.issue-card { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf7; }.issue-card p { color: var(--ink) !important; }.issue-card .text-gray-500, .issue-card .text-gray-600 { color: var(--muted) !important; }.issue-card .text-green-400 { color: #4c765f !important; }
.issue-level-badge { flex-shrink: 0; border-radius: 7px; padding: 4px 7px; font-size: 10px; font-weight: 700; }.issue-level-red { background: #f7dddd; color: var(--danger); }.issue-level-yellow { background: #f7ebcf; color: var(--warning); }
.regenerate-panel { overflow: visible; }.regenerate-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; padding: 20px; align-items: end; }.regenerate-grid label, .form-stack label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 600; }.regenerate-grid select { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fbfaf7; color: var(--ink); }
.history-list { display: grid; gap: 11px; }.history-item { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; padding: 18px !important; background: var(--surface) !important; box-shadow: 0 6px 18px rgba(65,57,48,.03); }.history-item:hover { border-color: #bdbab1 !important; transform: translateY(-1px); }.history-item h2 { color: var(--ink) !important; }.history-item p, .history-item span { color: var(--muted) !important; }.history-item a { text-decoration: none; }.history-item button { color: var(--danger) !important; }

/* Compliance and feedback */
.compliance-text { white-space: pre-wrap; word-break: break-word; }
.compliance-highlight-red, .compliance-highlight-yellow { position: relative; padding: 1px 3px; border-radius: 3px; cursor: help; }.compliance-highlight-red { color: var(--danger); background: #f7dddd; border-bottom: 2px solid #dc7777; }.compliance-highlight-yellow { color: #805310; background: #f7ebc9; border-bottom: 2px solid #d2a348; }
.compliance-tooltip { display: none; position: absolute; bottom: calc(100% + 7px); left: 50%; z-index: 100; width: 260px; padding: 12px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 10px; background: #292925; color: #f5f3ed; box-shadow: 0 12px 35px rgba(0,0,0,.18); font-size: 11px; line-height: 1.6; }.compliance-highlight-red:hover .compliance-tooltip,.compliance-highlight-yellow:hover .compliance-tooltip{display:block}.tooltip-label{font-weight:700}.tooltip-row{display:flex;gap:6px;margin-top:4px}.tooltip-key{flex-shrink:0;color:#aaa89f}.tooltip-value{word-break:break-all}
.auth-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(41,41,37,.45); backdrop-filter: blur(5px); }.auth-card { position: relative; width: 100%; max-width: 420px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 25px 70px rgba(65,57,48,.2); color: var(--ink); }.auth-card h2 { margin: 0; font-size: 22px; }.auth-card > p { margin: 7px 0 22px; color: var(--muted); font-size: 12px; }.auth-close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; color: var(--muted); font-size: 24px; }.form-stack { display: grid; gap: 16px; }.auth-input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fbfaf7; color: var(--ink); outline: none; }.auth-input:focus { border-color: var(--accent); }.input-action { display: grid; grid-template-columns: 1fr auto; gap: 8px; }.send-code-button { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: var(--surface-soft); color: var(--accent-dark); font-size: 12px; font-weight: 700; }
#auth-modal { background: rgba(41,41,37,.45) !important; backdrop-filter: blur(5px); }
#auth-modal .text-gray-100, #auth-modal .text-gray-300 { color: var(--ink) !important; }
#auth-modal .text-gray-400, #auth-modal .text-gray-500 { color: var(--muted) !important; }
#auth-loading { background: var(--paper) !important; }
.auth-loader { width: 52px; height: 4px; overflow: hidden; border-radius: 8px; background: #ddd9d0; position: relative; }.auth-loader::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left; animation: loading-bar 1.1s ease-in-out infinite; }.toast-container, #toast-container { position: fixed; z-index: 110; top: 76px; right: 16px; display: grid; gap: 8px; }.toast-enter { animation: toast-in .25s ease-out; }.toast-exit { animation: toast-out .2s ease-in; }@keyframes loading-bar{0%{transform:scaleX(.15);opacity:.45}50%{transform:scaleX(1);opacity:1}100%{transform:scaleX(.15);opacity:.45;transform-origin:right}}@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{to{opacity:0;transform:translateY(-8px)}}
#toast-container > div { border: 1px solid var(--line) !important; border-radius: 11px !important; background: var(--surface) !important; color: var(--ink) !important; box-shadow: 0 12px 30px rgba(65,57,48,.14) !important; backdrop-filter: none !important; }.toast-label { border-radius: 6px; padding: 3px 5px; background: var(--surface-soft); color: var(--muted); font-size: 9px; font-weight: 700; }.toast-label-success { background: #e2eee7; color: #46725b; }.toast-label-error { background: #f7dddd; color: var(--danger); }.toast-label-warning { background: #f7ebcf; color: var(--warning); }

@media (prefers-reduced-motion: no-preference) { .reveal-on-load { animation: rise .65s cubic-bezier(.16,1,.3,1) both; }.hero-visual.reveal-on-load { animation-delay: .08s; }@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}} }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto}*{animation:none!important;transition-duration:.01ms!important} }

@media (max-width: 900px) {
    .landing-links { display: none; }.landing-hero { min-height: auto; padding: 110px 0 60px; }.hero-grid,.workflow-grid,.privacy-layout { grid-template-columns: 1fr; gap: 45px; }.hero-copy h1 { font-size: clamp(44px,11vw,66px); }.hero-image-wrap { width: 100%; }.proof-grid { grid-template-columns: repeat(2,1fr); }.landing-section { padding: 86px 0; }.capability-grid { grid-template-columns: 1fr; }.capability-main { grid-row: auto; min-height: 520px; }.workflow-intro { position: static; }.privacy-copy ul { grid-template-columns: 1fr; }.final-cta { align-items: flex-start; flex-direction: column; }
    .result-primary-grid { grid-template-columns: 1fr; }.hashtag-panel { order: -1; }.issue-list { grid-template-columns: 1fr; }.regenerate-grid { grid-template-columns: 1fr 1fr; }.regenerate-grid .button-primary { min-height: 44px; }.metrics-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
    .landing-container { width: calc(100% - 32px); }.landing-nav { height: 60px; }.brand-lockup small { display: none; }.landing-login { min-height: 38px; padding: 0 12px; }.landing-hero { padding: 88px 0 46px; }.hero-grid { gap: 34px; }.hero-kicker { margin-bottom: 13px; font-size: 11px; }.hero-copy h1 { font-size: 42px; }.hero-subtitle { margin-top: 18px; font-size: 14px; }.hero-actions { align-items: stretch; flex-direction: column; margin-top: 24px; }.hero-actions > * { width: 100%; }.hero-image-wrap { aspect-ratio: 4 / 3; border-radius: var(--radius); }.proof-grid { grid-template-columns: 1fr 1fr; }.proof-grid > div { min-height: 90px; padding: 16px; border-bottom: 1px solid var(--line); }.proof-grid strong { font-size: 14px; }.proof-grid span { font-size: 10px; }.landing-section { padding: 70px 0; }.section-heading { margin-bottom: 30px; }.section-heading h2,.workflow-intro h2,.privacy-copy h2 { font-size: 34px; }.capability-copy,.capability-tile { padding: 24px; }.capability-main { min-height: 480px; }.compliance-demo { margin: 0 12px 12px; padding: 20px; font-size: 16px; }.capability-tile { min-height: 245px; }.workflow-list li { padding-left: 45px; }.workflow-list li::before { left: 5px; }.privacy-visual { min-height: 330px; }.privacy-ring { width: 180px; height: 180px; }.privacy-ring strong { font-size: 50px; }.final-cta-section { padding-bottom: 56px; }.final-cta { padding: 30px 24px; }.final-cta h2 { font-size: 31px; }.landing-footer .landing-container { align-items: flex-start; justify-content: center; flex-direction: column; gap: 5px; }
    #app-shell > header > div, .app-header-inner, #app-shell main, .app-main { width: calc(100% - 24px); }.app-header-actions .button-secondary, .app-header-actions .user-menu span, #app-shell #user-phone { display: none; }.app-header-actions { gap: 4px; }.app-header-actions .button-primary { min-height: 38px; padding: 0 12px; }.page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }.page-heading h1, #app-shell #stage-input > div:first-child h2 { font-size: 27px; }.mobile-wide { display: inline-flex; width: 100%; }.app-main, #app-shell main { padding-top: 24px !important; }.content-panel { border-radius: 12px; }.panel-header { min-height: 65px; padding: 14px; }.panel-content { padding: 14px; }.copy-option { padding: 14px; }
    #app-shell #stage-input > div:first-child { align-items: stretch; flex-direction: column; gap: 16px; }.mode-btn { flex: 1; }.mode-btn + .mode-btn { margin-left: 0 !important; }.mode-btn.parent {} #app-shell #stage-input > div:first-child > div:last-child { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 6px; }.mode-btn { width: 100%; }.mode-btn.active-mode { background: var(--surface) !important; }.setting-hint { margin-bottom: 16px; }
    #input-video-panel, #input-text-panel, #app-shell #stage-input > div:nth-child(2) > div:last-child { padding: 16px !important; }.upload-symbol { width: 52px; height: 52px; }.upload-symbol + div p:first-child { max-width: 220px; margin: 0 auto; }.upload-symbol + div p:nth-child(2) { max-width: 250px; margin: 7px auto 0; }.tag-btn { min-height: 38px; }.tag-btn.active { box-shadow: inset 0 0 0 1px #e2a093; } #btn-generate { position: sticky; bottom: 10px; z-index: 20; min-height: 52px; margin-top: 22px !important; box-shadow: 0 8px 24px rgba(176,73,57,.2); }
    #upload-dropzone, #input-text { min-height: 330px !important; }.compliance-summary { grid-template-columns: 1fr 1fr; }.compliance-summary > div { min-width: 0; padding: 14px; }.compliance-summary > div:first-child { grid-column: 1 / -1; }.compliance-summary strong { font-size: 16px; }.regenerate-grid { grid-template-columns: 1fr; padding: 14px; }.metrics-grid { grid-template-columns: 1fr 1fr; }.issue-card { display: grid; }.history-item { padding: 15px !important; }.history-item > div { gap: 10px; }.auth-overlay { align-items: flex-end; padding: 0; }.auth-card { max-width: none; border-radius: 16px 16px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }.toast-container,#toast-container { top: auto; right: 12px; bottom: 14px; left: 12px; }
    #auth-modal { align-items: flex-end !important; padding: 0 !important; }
    #auth-modal .auth-card { max-width: none; border-radius: 16px 16px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
    .compliance-tooltip { display: none !important; }
}
