:root {
  --cream: #f2ece0;
  --paper: #fbf7ef;
  --indigo: #26386b;
  --indigo-2: #172447;
  --amber: #e8a33d;
  --sage: #6fa98b;
  --rust: #a64f3c;
  --muted: #6e6b65;
  --line: rgba(38, 56, 107, .18);
  --shadow: 0 18px 50px rgba(38, 56, 107, .12);
  --radius: 22px;
  --sans: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --serif: "Gowun Batang", "AppleMyungjo", "Nanum Myeongjo", serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); color: var(--indigo-2); font-size: 18px; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; font-family: var(--sans); line-height: 1.65; background: radial-gradient(circle at 12% 8%, rgba(232,163,61,.12), transparent 30%), linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)), var(--cream); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .25; background-image: radial-gradient(rgba(38,56,107,.18) .55px, transparent .55px); background-size: 6px 6px; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid rgba(232,163,61,.62); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 30; background: var(--indigo); color: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 4; max-width: 1440px; margin: auto; padding: 24px 42px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; }
.wordmark-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--amber); box-shadow: 9px 4px 0 var(--sage); }
.top-nav { display: flex; gap: 28px; }
.top-nav a { text-decoration: none; font-size: .94rem; font-weight: 700; }
.page-shell { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 48px 42px 100px; }
.centered-shell { max-width: 760px; }
.stage-rail { position: relative; z-index: 2; max-width: 1196px; margin: 12px auto 0; padding: 0 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stage-item { min-height: 76px; padding: 12px 16px; border-top: 3px solid var(--line); display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; color: var(--muted); }
.stage-item > span { grid-row: span 2; display: grid; place-items: center; align-self: start; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; font-weight: 800; }
.stage-item strong { font-size: .95rem; }.stage-item small { font-size: .76rem; }
.stage-item.is-current { border-color: var(--amber); color: var(--indigo); }.stage-item.is-current > span { background: var(--amber); border-color: var(--amber); }.stage-item.is-done { border-color: var(--sage); color: var(--indigo); }.stage-item.is-done > span { background: var(--sage); color: white; border-color: var(--sage); }
h1, h2 { overflow-wrap: anywhere; word-break: keep-all; font-family: var(--serif); color: var(--indigo); line-height: 1.25; letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin: 0 0 22px; } h2 { font-size: 1.45rem; }
p { margin: 0 0 1em; }.eyebrow { color: var(--rust); font-weight: 800; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; }.lede { font-size: 1.12rem; color: #4c4a46; max-width: 680px; }
.hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; min-height: 680px; }.hero-copy { padding-bottom: 80px; }.hero-copy h1 { max-width: 720px; }.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }.trust-row span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.paper-card { position: relative; background: rgba(251,247,239,.94); border: 1px solid rgba(38,56,107,.12); border-radius: var(--radius); box-shadow: var(--shadow); }.paper-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(38,56,107,.055); border-radius: calc(var(--radius) - 6px); pointer-events: none; }
.intake-card { padding: 28px; }.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; background: rgba(38,56,107,.07); padding: 5px; border-radius: 14px; margin-bottom: 24px; }.mode-tab { min-height: 52px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 800; cursor: pointer; }.mode-tab.is-active { color: var(--indigo); background: var(--paper); box-shadow: 0 2px 10px rgba(38,56,107,.1); }.mode-panel { margin-bottom: 28px; }.chat-log { max-height: 290px; min-height: 180px; overflow: auto; padding: 8px 4px 18px; }.bubble { width: fit-content; max-width: 88%; padding: 13px 16px; border-radius: 16px; margin-bottom: 10px; font-size: .92rem; }.bubble-agent { background: rgba(111,169,139,.15); border-bottom-left-radius: 4px; }.bubble-user { margin-left: auto; background: var(--indigo); color: white; border-bottom-right-radius: 4px; }.chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; }.chat-compose label { grid-column: 1 / -1; }.chat-compose textarea { grid-row: 2 / span 2; }
label, .field-label { display: grid; gap: 7px; margin-bottom: 18px; font-size: .88rem; font-weight: 800; color: var(--indigo); }input, textarea, select { width: 100%; min-height: 54px; border: 1.5px solid rgba(38,56,107,.23); border-radius: 12px; padding: 12px 14px; color: var(--indigo-2); background: rgba(255,255,255,.72); }.field-help { font-size: .82rem; color: var(--muted); }.profile-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 12px 22px; border: 1px solid transparent; font-weight: 850; text-decoration: none; cursor: pointer; }.button:disabled { opacity: .55; cursor: not-allowed; }.button-primary { color: white; background: var(--indigo); box-shadow: 0 8px 22px rgba(38,56,107,.2); }.button-primary:hover { background: var(--indigo-2); }.button-secondary { color: var(--indigo); background: transparent; border-color: rgba(38,56,107,.35); }.button-danger { color: white; background: var(--rust); }.button-wide { width: 100%; }.text-button, .text-link { display: inline-block; background: none; border: 0; color: var(--indigo); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.content-header { max-width: 850px; margin-bottom: 38px; }.content-header h1 { font-size: clamp(2rem,4vw,3.5rem); }.editor-layout, .review-layout, .result-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(320px,.7fr); gap: 28px; align-items: start; }.editor-card { padding: 34px; }.profile-card, .generate-card { padding: 28px; position: sticky; top: 20px; }.title-input { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; }.title-input.compact { font-size: 1.25rem; }.essay-editor { font-family: var(--serif); font-size: 1.08rem; line-height: 1.9; resize: vertical; }.editor-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; margin-top: 8px; }.narrow-section { max-width: 860px; margin: auto; }.template-card { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 22px; border: 3px solid var(--amber); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); margin-bottom: 24px; cursor: pointer; }.template-card > input { position: absolute; opacity: 0; pointer-events: none; }.template-art { min-height: 290px; position: relative; overflow: hidden; background: var(--cream); border: 1px solid var(--line); }.template-art i { position: absolute; display: block; }.template-art i:nth-child(1) { width: 170px; height: 210px; background: var(--indigo); left: 45px; top: 65px; border-radius: 48% 48% 18% 18%; transform: rotate(-4deg); }.template-art i:nth-child(2) { width: 90px; height: 90px; background: var(--amber); border-radius: 50%; left: 130px; top: 30px; mix-blend-mode: multiply; }.template-art i:nth-child(3) { width: 200px; height: 16px; background: var(--sage); left: 28px; bottom: 30px; transform: rotate(3deg); }.template-copy { display: flex; flex-direction: column; justify-content: center; }.template-copy small { color: var(--rust); font-weight: 900; }.template-copy strong { font-family: var(--serif); font-size: 2rem; color: var(--indigo); }.template-copy span { color: var(--muted); margin: 12px 0; }.template-copy em { width: fit-content; font-style: normal; font-weight: 850; background: rgba(232,163,61,.25); padding: 7px 12px; border-radius: 999px; }
.triptych { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }.story-image { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 9px; box-shadow: 0 12px 30px rgba(38,56,107,.09); }.story-image:nth-child(2) { transform: translateY(18px); }.story-image img, .image-placeholder { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--cream); }.story-image figcaption { display: flex; gap: 8px; align-items: center; padding: 12px 4px 4px; font-family: var(--serif); font-weight: 700; }.story-image figcaption span { font-family: var(--sans); color: var(--rust); font-size: .7rem; }.approval-note, .gentle-notice { display: flex; gap: 12px; padding: 16px; margin-top: 30px; background: rgba(111,169,139,.14); border-radius: 14px; }.approval-note > span { font-weight: 900; color: var(--sage); }.approval-note p, .gentle-notice p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }.voice-card { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 16px; margin: 24px 0; border: 2px solid var(--sage); border-radius: 14px; }.voice-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; background: var(--sage); font-weight: 900; }.voice-card small, .voice-card strong { display: block; }.voice-card p { margin: 2px 0; color: var(--muted); font-size: .8rem; }.voice-card audio, .voice-card button { grid-column: 1 / -1; }.consent-row { grid-template-columns: 24px 1fr; align-items: start; font-weight: 600; }.consent-row input { min-height: auto; width: 22px; height: 22px; margin-top: 3px; }
.progress-card { text-align: center; padding: 56px; }.making-mark { height: 150px; position: relative; margin-bottom: 14px; }.making-mark span { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: breathe 3.6s ease-in-out infinite; }.making-mark span:nth-child(1) { width: 120px; height: 120px; left: calc(50% - 95px); top: 18px; background: var(--indigo); }.making-mark span:nth-child(2) { width: 86px; height: 86px; left: calc(50% - 5px); top: 0; background: var(--amber); animation-delay: -.9s; }.making-mark span:nth-child(3) { width: 92px; height: 92px; left: calc(50% - 5px); top: 60px; background: var(--sage); animation-delay: -1.8s; }.progress-card h1 { font-size: 2.7rem; }.progress-list { list-style: none; padding: 0; max-width: 460px; margin: 34px auto; text-align: left; }.progress-list li { position: relative; padding: 13px 10px 13px 44px; border-bottom: 1px solid var(--line); }.progress-list li::before { content: ""; position: absolute; left: 10px; top: 18px; width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 50%; }.progress-list li.is-done::before { background: var(--sage); border-color: var(--sage); }.progress-list li.is-active::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 6px rgba(232,163,61,.18); }
.auth-card { padding: 38px; }.auth-card h1 { font-size: 2.45rem; }.library-header, .admin-header { display: flex; justify-content: space-between; align-items: end; }.library-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }.library-card { overflow: hidden; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }.library-cover { min-height: 300px; padding: 26px; display: flex; flex-direction: column; justify-content: center; text-align: center; background: var(--cream); border-bottom: 1px solid var(--line); }.library-cover span { font-size: .65rem; letter-spacing: .14em; }.library-cover strong { font-family: var(--serif); color: var(--indigo); font-size: 1.55rem; margin: 44px 0 18px; }.library-cover small { color: var(--muted); }.library-body { padding: 20px; }.status-pill { display: inline-block; padding: 5px 9px; border-radius: 999px; background: rgba(38,56,107,.09); font-size: .68rem; font-weight: 850; }.status-problem { color: var(--rust); background: rgba(166,79,60,.12); }.status-notification_pending, .status-admin_review { background: rgba(232,163,61,.18); }.status-completed, .status-notified { background: rgba(111,169,139,.18); }.result-layout { align-items: center; }.video-frame { aspect-ratio: 9/16; max-height: 72vh; margin: auto; background: var(--indigo-2); border: 10px solid var(--paper); box-shadow: var(--shadow); }.video-frame video { width: 100%; height: 100%; object-fit: contain; }.video-placeholder { height: 100%; color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }.video-placeholder span { font-size: .65rem; letter-spacing: .14em; }.video-placeholder strong { font-family: var(--serif); font-size: 1.7rem; margin: 60px 0; }.result-copy .button { margin-top: 12px; }
.admin-header h1 { font-size: 3rem; }.capacity { text-align: right; }.capacity span, .capacity strong { display: block; }.capacity strong { font-size: 1.6rem; color: var(--indigo); }.admin-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 24px 0; }.admin-stats article { padding: 20px; border-top: 4px solid var(--amber); background: var(--paper); }.admin-stats span, .admin-stats strong { display: block; }.admin-stats strong { font-size: 2rem; color: var(--indigo); }.admin-list { display: grid; gap: 14px; }.admin-row { display: grid; grid-template-columns: 1.4fr .7fr 1.4fr; gap: 18px; align-items: center; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }.admin-main h2 { margin: 7px 0 2px; }.admin-main p { color: var(--muted); font-size: .82rem; }.cost-mini span, .cost-mini strong { display: block; }.usage-details { margin-top: 8px; color: var(--muted); font-size: .72rem; }.usage-details summary { cursor: pointer; font-weight: 800; color: var(--indigo); }.usage-details small { display: block; margin-top: 4px; }.admin-actions, .notification-box { display: grid; gap: 8px; }.admin-actions form { display: flex; gap: 8px; }.admin-actions input { min-width: 0; }.notification-box textarea { min-height: 132px; font-size: .78rem; }.problem-note { color: var(--rust); }.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 30px; border: 1px dashed var(--line); border-radius: var(--radius); }.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--indigo-2); color: white; padding: 12px 18px; border-radius: 10px; transition: .2s ease; }.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.landing-shell { max-width: 1440px; padding-top: 22px; }
.landing-hero { min-height: 720px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.7fr); gap: 84px; align-items: center; padding: 40px 0 100px; }.landing-hero > * { min-width: 0; }
.landing-copy h1 { max-width: 760px; font-size: clamp(3.2rem,7vw,6.4rem); line-height: 1.05; }.landing-copy .lede { max-width: 720px; font-size: 1.2rem; }
.landing-actions { display: flex; align-items: center; gap: 26px; margin: 36px 0; }.landing-actions .button { min-height: 60px; padding-inline: 30px; }
.landing-trust { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }.landing-trust span { display: flex; gap: 8px; align-items: center; }.landing-trust b { color: var(--rust); }
.hero-film { position: relative; width: min(100%,440px); justify-self: center; padding: 0; border: 10px solid var(--paper); background: var(--indigo); color: white; aspect-ratio: 9/16; overflow: hidden; box-shadow: 22px 28px 0 rgba(232,163,61,.18), var(--shadow); cursor: pointer; transform: rotate(2deg); }.hero-film img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }.hero-film:hover img { transform: scale(1.025); }.hero-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%,rgba(23,36,71,.86)); }
.film-play { position: absolute; z-index: 2; left: 28px; top: 28px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--indigo-2); font-size: 1.15rem; box-shadow: 0 8px 22px rgba(0,0,0,.18); }.film-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 30px; text-align: left; }.film-caption small,.film-caption strong { display: block; }.film-caption small { color: #f5c77e; letter-spacing: .15em; font-weight: 800; }.film-caption strong { margin-top: 7px; font-family: var(--serif); font-size: 1.7rem; }
.example-section { padding: 110px 0; border-top: 1px solid var(--line); scroll-margin-top: 20px; }.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(2.2rem,4vw,3.8rem); }.section-heading > p { max-width: 380px; color: var(--muted); }
.example-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }.example-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; min-height: 330px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 24px; color: inherit; background: rgba(251,247,239,.76); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }.example-card:hover { transform: translateY(-5px); border-color: var(--amber); box-shadow: var(--shadow); }
.example-poster { position: relative; display: block; overflow: hidden; border-radius: 14px; }.example-poster img { width: 100%; height: 100%; object-fit: cover; }.example-poster i { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--indigo); background: var(--paper); font-style: normal; box-shadow: 0 5px 16px rgba(0,0,0,.18); }.example-copy { align-self: center; display: flex; flex-direction: column; }.example-copy small { color: var(--rust); font-weight: 850; }.example-copy strong { margin: 10px 0; font-family: var(--serif); font-size: 1.7rem; color: var(--indigo); line-height: 1.25; }.example-copy > span { color: var(--muted); font-size: .88rem; }.example-copy em { margin-top: 24px; color: var(--indigo); font-style: normal; font-weight: 850; }
.landing-how { padding: 110px 0 30px; border-top: 1px solid var(--line); }.how-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }.how-grid li { min-height: 250px; padding: 28px; border-top: 4px solid var(--amber); background: rgba(251,247,239,.7); }.how-grid li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); color: white; font-weight: 900; }.how-grid strong { display: block; margin: 30px 0 8px; font-family: var(--serif); font-size: 1.35rem; color: var(--indigo); }.how-grid p { color: var(--muted); font-size: .88rem; }.landing-final { margin-top: 44px; padding: 38px; display: flex; align-items: center; justify-content: space-between; border-radius: 22px; background: var(--indigo); color: white; }.landing-final p { margin: 0; font-family: var(--serif); font-size: 1.7rem; }.landing-final .button { background: var(--amber); color: var(--indigo-2); }
.video-dialog { width: min(520px,50dvh,calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; overflow: visible; background: transparent; color: var(--indigo-2); }.video-dialog::backdrop,.confirm-dialog::backdrop { background: rgba(10,18,38,.78); backdrop-filter: blur(8px); }.dialog-video { width: 100%; aspect-ratio: 9/16; overflow: hidden; border-radius: 18px; background: #10172b; box-shadow: 0 30px 100px rgba(0,0,0,.48); }.dialog-video video { display: block; width: 100%; height: 100%; object-fit: contain; }.dialog-close { position: absolute; z-index: 3; right: 12px; top: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(251,247,239,.94); color: var(--indigo); font-size: 1.7rem; cursor: pointer; box-shadow: 0 5px 18px rgba(0,0,0,.2); }
.question-shell { max-width: 960px; }.question-page { min-height: 650px; display: flex; flex-direction: column; justify-content: center; }.question-page h1 { max-width: 800px; font-size: clamp(2.15rem,4.2vw,3.65rem); line-height: 1.2; }.back-link { width: fit-content; margin-bottom: 46px; color: var(--muted); text-decoration: none; font-weight: 750; }.answer-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 34px; }.answer-card { min-height: 300px; display: flex; flex-direction: column; padding: 30px; border: 2px solid var(--line); border-radius: 22px; background: rgba(251,247,239,.8); text-decoration: none; transition: .2s ease; }.answer-card:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: var(--shadow); }.answer-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: white; background: var(--indigo); font-weight: 900; }.answer-icon.alt { background: var(--rust); }.answer-card strong { margin: 34px 0 8px; font-family: var(--serif); font-size: 1.55rem; color: var(--indigo); }.answer-card p { color: var(--muted); font-size: .88rem; }.answer-card em { margin-top: auto; color: var(--indigo); font-style: normal; font-weight: 850; }
.conversation-card,.question-form { margin-top: 32px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(251,247,239,.88); box-shadow: var(--shadow); }.conversation-card .chat-log { max-height: 330px; }.conversation-card > .button { margin-top: 22px; }.conversation-card textarea { resize: vertical; }.profile-question { max-width: 860px; margin: auto; }.question-input { min-height: 74px; font-family: var(--serif); font-size: 1.55rem; padding-inline: 20px; }.question-form > .button { margin-top: 18px; min-height: 60px; }.choice-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }.choice-button { margin: 0; cursor: pointer; }.choice-button input { position: absolute; opacity: 0; }.choice-button span { min-height: 66px; display: grid; place-items: center; padding: 12px; border: 2px solid var(--line); border-radius: 14px; background: white; font-size: 1.05rem; }.choice-button input:checked + span { color: var(--indigo); border-color: var(--amber); background: rgba(232,163,61,.16); box-shadow: 0 0 0 3px rgba(232,163,61,.1); }.choice-button input:focus-visible + span { outline: 4px solid rgba(232,163,61,.62); }.privacy-line { margin-top: 18px; text-align: center; color: var(--muted); font-size: .78rem; }
.editor-shell { max-width: 980px; }.centered-heading { margin-inline: auto; text-align: center; }.single-editor { max-width: 900px; margin: auto; }.editor-continue { margin-top: 28px; }.voice-ready { grid-column: 1/-1; padding-top: 8px; color: var(--muted); font-size: .8rem; }.confirm-dialog { width: min(560px,calc(100% - 32px)); padding: 38px; border: 0; border-radius: 24px; text-align: center; color: var(--indigo-2); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.4); }.confirm-mark { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: rgba(232,163,61,.22); color: var(--rust); font-size: 1.6rem; font-weight: 900; }.confirm-dialog h2 { font-size: 2rem; }.confirm-dialog > p { color: var(--muted); }.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }.contact-question { max-width: 820px; margin: auto; }.contact-question .gentle-notice { margin-top: 20px; }
@keyframes breathe { 0%,100% { transform: scale(.94); opacity: .82; } 50% { transform: scale(1.05); opacity: 1; } }
@media (max-width: 900px) { .hero-grid, .editor-layout, .review-layout, .result-layout { grid-template-columns: 1fr; }.hero-copy { padding: 0; }.profile-card, .generate-card { position: static; }.library-grid { grid-template-columns: repeat(2,1fr); }.admin-row { grid-template-columns: 1fr; }.triptych { gap: 8px; }.story-image { padding: 5px; }.story-image figcaption { font-size: .74rem; }.template-card { grid-template-columns: 190px 1fr; }.top-nav { gap: 14px; } }
@media (max-width: 620px) { html { font-size: 17px; }.site-header { padding: 18px 20px; }.page-shell { padding: 32px 20px 72px; }.top-nav a:first-child { display: none; }.stage-rail { padding: 0 20px; gap: 4px; }.stage-item { display: flex; min-height: auto; padding: 8px 2px; align-items: center; justify-content: center; gap: 6px; }.stage-item > span { width: 26px; height: 26px; font-size: .75rem; }.stage-item small { display: none; }.stage-item strong { font-size: .75rem; }.hero-grid { min-height: auto; gap: 28px; }.hero-copy h1 { font-size: 2.55rem; }.intake-card, .editor-card, .profile-card, .generate-card, .auth-card, .progress-card { padding: 22px; }.chat-compose { display: block; }.chat-compose .button { width: 100%; margin-top: 8px; }.profile-grid { grid-template-columns: 1fr; }.template-card { grid-template-columns: 1fr; }.template-art { min-height: 220px; }.triptych { overflow-x: auto; grid-template-columns: repeat(3, minmax(190px, 1fr)); padding-bottom: 18px; }.story-image:nth-child(2) { transform: none; }.library-grid { grid-template-columns: 1fr; }.library-header, .admin-header { align-items: start; flex-direction: column; }.admin-stats { grid-template-columns: 1fr; }.result-copy { text-align: center; }.video-frame { max-height: none; width: min(100%, 380px); } }
@media (max-width: 900px) { .landing-hero { grid-template-columns: 1fr; gap: 54px; }.hero-film { width: min(75vw,420px); }.example-grid { grid-template-columns: 1fr; }.section-heading { align-items: start; flex-direction: column; }.how-grid { grid-template-columns: 1fr; }.how-grid li { min-height: auto; }.landing-final { gap: 24px; } }
@media (max-width: 620px) { .landing-hero { min-height: auto; padding: 28px 0 70px; }.landing-copy h1 { font-size: 2.7rem; }.landing-actions { align-items: stretch; flex-direction: column; }.landing-actions .button { width: 100%; }.landing-trust { flex-direction: column; gap: 8px; }.hero-film { width: min(84vw,350px); }.example-section,.landing-how { padding: 74px 0; }.example-card { grid-template-columns: 112px minmax(0,1fr); min-height: 235px; gap: 16px; }.example-copy strong { font-size: 1.25rem; }.example-copy > span { font-size: .76rem; }.example-copy em { margin-top: 12px; }.landing-final { align-items: stretch; flex-direction: column; }.answer-cards { grid-template-columns: 1fr; }.answer-card { min-height: 250px; }.question-page { min-height: 580px; }.question-page h1 { font-size: 2.25rem; }.conversation-card,.question-form { padding: 20px; }.choice-list { grid-template-columns: 1fr; }.dialog-actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
