@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #17263d;
  --ink-soft: #52637b;
  --blue: #2858af;
  --blue-deep: #1e3d72;
  --blue-pale: #eaf1fc;
  --surface: #f6f8fb;
  --white: #fff;
  --line: #dfe6f0;
  --line-strong: #cdd8e8;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #739bed; outline-offset: 4px; border-radius: 4px; }
::selection { background: #d8e7ff; color: var(--ink); }
.site-shell { overflow: hidden; }

.site-header { width: min(100% - 64px, 1320px); height: 84px; margin: auto; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; font: 800 17px/1 var(--font-display); letter-spacing: -.055em; }
.brand-mark { width: 34px; height: 34px; display: inline-flex; justify-content: center; align-items: center; border-radius: 9px; background: var(--blue-deep); color: white; font: 800 21px/1 var(--font-display); letter-spacing: -.12em; padding-right: 4px; }
.brand-mark-dot { color: #94c4fa; margin-left: 1px; }
.brand-light { color: #708099; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; color: #475a74; font-size: 13px; font-weight: 600; }
.main-nav a:hover, .button-text:hover, .closing-link:hover { color: var(--blue); }
.header-status { display: inline-flex; align-items: center; gap: 8px; margin-left: 19px; padding: 8px 11px; border: 1px solid #cbdaf2; border-radius: 99px; background: #eff5ff; color: var(--blue-deep); font-size: 11px; font-weight: 700; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #6b93d7; }

.hero { width: min(100% - 64px, 1320px); min-height: 660px; margin: auto; display: grid; grid-template-columns: minmax(390px, .9fr) minmax(580px, 1.1fr); align-items: center; gap: 42px; padding: 70px 0 82px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 4px; }
.hero-intro { margin: 0 0 25px; color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.hero h1 { max-width: 645px; margin: 0; font: 800 clamp(43px, 4.4vw, 71px)/1.095 var(--font-display); letter-spacing: -.069em; }
.hero-description { max-width: 515px; margin: 28px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.72; letter-spacing: -.012em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 48px; font-size: 13px; font-weight: 700; }
.button-primary { padding: 0 19px 0 21px; border-radius: 8px; background: var(--blue-deep); color: white; box-shadow: 0 7px 16px rgba(26, 60, 111, .13); }
.button-primary:hover { background: #2b5598; }
.button-primary span { font-size: 18px; font-weight: 400; line-height: 1; }
.button-text { color: var(--ink); }
.button-text span { font-size: 17px; font-weight: 400; }
.hero-note { margin: 23px 0 0; color: #7a8799; font-size: 12px; line-height: 1.5; }

.preview-wrap { position: relative; width: 100%; padding: 12px 0 25px 13px; }
.preview-wrap::before { content: ''; position: absolute; z-index: 0; width: 530px; height: 530px; top: -31px; right: -45px; border: 1px solid #e6ecf5; border-radius: 50%; box-shadow: 0 0 0 64px rgba(226, 234, 246, .4), 0 0 0 128px rgba(226, 234, 246, .22); }
.preview-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; margin: 0 0 12px; color: #7386a0; font-size: 11px; font-weight: 700; }
.editor-window { position: relative; z-index: 1; overflow: hidden; width: 100%; height: 454px; border: 1px solid #c9d6e7; border-radius: 14px; background: #fff; box-shadow: 0 28px 80px rgba(34, 59, 96, .16), 0 7px 18px rgba(34, 59, 96, .06); }
.editor-titlebar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid #e5ebf3; background: #fff; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; display: block; border-radius: 50%; background: #cbd5e4; }
.editor-file { display: flex; align-items: center; gap: 7px; color: #53647b; font-size: 11px; font-weight: 700; }
.file-icon { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 19px; border-radius: 2px; background: #3166bd; color: white; font: 800 11px/1 var(--font-display); }
.editor-title-action { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 6px 9px; border: 1px solid #d9e4f4; border-radius: 5px; background: #f7faff; color: #31568b; font-size: 10px; font-weight: 700; }
.editor-title-action span { font-size: 13px; }
.editor-tabs { height: 31px; display: flex; align-items: end; gap: 20px; padding: 0 18px; border-bottom: 1px solid #e8edf5; color: #7f8ca0; font-size: 10px; font-weight: 700; }
.editor-tabs span { height: 100%; display: inline-flex; align-items: center; }
.editor-tabs .selected { color: var(--blue); border-bottom: 2px solid #4677c7; }
.editor-toolbar { height: 55px; display: flex; align-items: center; gap: 15px; padding: 0 18px; border-bottom: 1px solid #e5ebf3; box-shadow: 0 2px 4px rgba(35, 53, 78, .02); }
.toolbar-group { height: 27px; display: flex; align-items: center; gap: 7px; padding-right: 15px; border-right: 1px solid #e5ebf3; color: #55647a; font-size: 10px; }
.font-box, .size-box { display: inline-flex; justify-content: space-between; align-items: center; min-width: 73px; padding: 5px 6px; border: 1px solid #e5ebf3; border-radius: 3px; }
.size-box { min-width: 35px; }
.toolbar-group b { font-weight: 700; }
.font-box b, .size-box b { color: #9ba7b8; }
.format-group { gap: 15px; font-size: 13px; }
.format-group em { font-family: Georgia, serif; }
.style-group { gap: 13px; border: 0; color: #54719b; font-weight: 700; }
.style-group span:last-child { color: #273e5d; font-size: 13px; }
.editor-body { position: relative; height: 293px; display: flex; justify-content: center; padding: 16px 163px 0 17px; background: #eaf0f7; }
.document-page { width: min(100%, 335px); height: 355px; padding: 24px 34px; background: white; box-shadow: 0 3px 14px rgba(37, 62, 100, .11); font-family: Georgia, 'Times New Roman', serif; }
.doc-topline { width: 100%; height: 1px; margin-bottom: 18px; background: #cadaeb; }
.doc-kicker { margin: 0 0 7px; color: #4876ac; font: 700 6px/1.4 var(--font-body); letter-spacing: .13em; }
.document-page .doc-title { margin: 0; color: #263d60; font: 700 19px/1.2 Georgia, serif; letter-spacing: -.02em; }
.doc-lead { margin: 8px 0 0; color: #52637a; font-size: 8px; font-style: italic; }
.doc-rule { height: 2px; width: 24px; margin: 17px 0; background: #5375a5; }
.document-page .doc-section-title { margin: 0 0 7px; color: #395882; font: 700 10px/1.2 Georgia, serif; }
.document-page p:not(.doc-kicker):not(.doc-lead):not(.doc-title):not(.doc-section-title) { margin: 0 0 11px; color: #4f5c6f; font-size: 7.6px; line-height: 1.7; }
.document-page .doc-selection { background: #e9f1fd; outline: 2px solid #e9f1fd; }
.doc-cursor { width: 1px; height: 11px; margin-top: -7px; background: #2466c2; }
.ai-panel { position: absolute; right: 12px; top: 19px; bottom: 13px; width: 182px; display: flex; flex-direction: column; padding: 13px 11px 10px; border: 1px solid #d9e4f4; border-radius: 9px; background: #fff; box-shadow: 0 9px 23px rgba(47, 75, 113, .09); }
.ai-panel-header { display: flex; align-items: center; gap: 6px; padding-bottom: 11px; border-bottom: 1px solid #edf1f7; color: #2f537e; font-size: 10px; font-weight: 800; }
.sparkle { color: #467bd2; font-size: 14px; }
.ai-message { margin-top: 17px; padding: 10px; border-radius: 7px 7px 2px 7px; background: #edf4fe; color: #45617f; font-size: 8px; line-height: 1.55; }
.ai-suggestion { display: grid; gap: 5px; margin: 21px 4px auto; }
.suggestion-line { width: 85%; height: 5px; border-radius: 4px; background: #dce5f1; }
.suggestion-line.long { width: 100%; }
.suggestion-line.short { width: 55%; }
.ai-input { display: flex; justify-content: space-between; align-items: center; padding: 9px 7px; border: 1px solid #e2e9f3; border-radius: 6px; color: #a0acbc; font-size: 8px; }
.ai-input span { display: inline-flex; justify-content: center; align-items: center; width: 18px; height: 18px; border-radius: 4px; background: #2f5eaa; color: white; font-size: 11px; }
.editor-status { height: 31px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-top: 1px solid #e4eaf3; background: #fff; color: #8a99ac; font-size: 9px; }
.preview-caption { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 13px 0 0 2px; color: #71839b; font-size: 11px; }
.caption-line { width: 21px; height: 1px; background: #8ba1bf; }

.value-line { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100% - 64px, 1320px); margin: 0 auto; padding: 23px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.value-line p { display: flex; align-items: center; gap: 13px; margin: 0; padding-left: 26px; border-left: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.value-line p:first-child { padding-left: 0; border: 0; }
.value-line span { color: #7192c5; font-size: 11px; font-weight: 700; }

.section { width: min(100% - 64px, 1320px); margin: auto; }
.workflow { padding: 129px 0 136px; }
.section-heading { max-width: 660px; }
.section-context { margin: 0 0 22px; color: var(--blue); font-size: 13px; font-weight: 700; }
.section-heading h2 { margin: 0; font: 800 clamp(36px, 3.4vw, 52px)/1.17 var(--font-display); letter-spacing: -.062em; }
.section-heading > p:last-child { max-width: 550px; margin: 21px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; margin-top: 65px; }
.step { position: relative; min-height: 210px; padding: 25px 26px 27px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.step-index { position: absolute; right: 21px; top: 20px; color: #a3b3ca; font-size: 12px; font-weight: 700; }
.step-symbol { width: 49px; height: 49px; display: flex; align-items: center; justify-content: center; margin-bottom: 35px; border-radius: 9px; background: #eaf2fe; color: #3967ae; }
.step-symbol span { font: 500 29px/1 Georgia, serif; }
.symbol-edit { background: #ecf2f9; }
.symbol-ai { background: #edf2ff; }
.symbol-ai span { font-size: 27px; }
.symbol-download { background: #e9f1f8; }
.step h3 { margin: 0 0 8px; font: 800 17px/1.3 var(--font-display); letter-spacing: -.035em; }
.step p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.62; }

.uses { padding: 105px 0 122px; border-top: 1px solid var(--line); }
.uses-heading { max-width: 700px; }
.use-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 21px; margin-top: 58px; }
.use-card { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.use-visual { height: 216px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #edf3fa; }
.format-visual { display: flex; justify-content: center; padding-top: 23px; background: #eaf1fb; }
.format-paper { width: 235px; height: 233px; display: flex; flex-direction: column; align-items: start; padding: 22px 25px; background: white; box-shadow: 0 9px 22px rgba(56, 85, 126, .12); transform: rotate(-3deg); }
.format-heading { margin: 1px 0 10px; color: #355781; font: 700 13px/1.2 Georgia, serif; }
.format-heading.second { margin-top: 17px; }
.format-line { display: block; width: 100%; height: 5px; margin-bottom: 6px; border-radius: 3px; background: #e2e9f2; }
.format-line.short { width: 67%; }
.format-line.medium { width: 79%; }
.format-float { position: absolute; left: 52%; top: 95px; display: flex; justify-content: space-between; align-items: center; gap: 22px; min-width: 124px; padding: 10px 11px; border: 1px solid #d9e5f3; border-radius: 7px; background: white; box-shadow: 0 9px 18px rgba(50, 86, 131, .12); color: #48658a; font-size: 10px; font-weight: 700; }
.format-float span:last-child { color: #3974c3; }
.writing-visual { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 17px; padding: 29px; background: #eff4fb; }
.writing-original, .writing-revised { max-width: 260px; padding: 12px 15px; border: 1px solid #dde7f3; border-radius: 7px; background: white; color: #758399; font: 12px/1.5 Georgia, serif; }
.writing-arrow { margin: -11px 0 -12px 34px; color: #5981b8; font-size: 18px; }
.writing-revised { color: #2f527e; font-weight: 700; box-shadow: 0 5px 13px rgba(42, 73, 117, .06); }
.docx-visual { display: flex; align-items: center; justify-content: center; gap: 13px; background: #f1f5fa; }
.docx-file { width: 80px; height: 91px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid #ccd8e7; border-radius: 7px; background: white; box-shadow: 0 7px 16px rgba(43, 74, 109, .09); transform: rotate(-7deg); }
.docx-file span { display: flex; align-items: center; justify-content: center; width: 37px; height: 34px; border-radius: 4px; background: #3365b1; color: white; font: 800 20px/1 var(--font-display); }
.docx-file strong { color: #52719b; font-size: 9px; letter-spacing: .07em; }
.docx-file.end { transform: rotate(7deg); }
.docx-path { width: 44px; height: 1px; border-top: 2px dashed #9ab1cf; }
.use-content { padding: 27px 27px 32px; }
.use-content h3 { margin: 0 0 9px; font: 800 19px/1.3 var(--font-display); letter-spacing: -.04em; }
.use-content p { max-width: 360px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }

.questions { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding: 128px 0 143px; }
.questions-heading { max-width: 380px; }
.question-list { border-top: 1px solid var(--line-strong); }
.question { display: grid; grid-template-columns: .82fr 1.18fr; gap: 23px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.question h3 { margin: 0; font: 800 16px/1.4 var(--font-display); letter-spacing: -.035em; }
.question p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

.closing { background: #244778; color: white; }
.closing-inner { width: min(100% - 64px, 1320px); min-height: 260px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: auto; }
.closing-label { margin: 0 0 16px; color: #c2d7f4; font-size: 12px; font-weight: 700; }
.closing h2 { max-width: 740px; margin: 0; font: 800 clamp(33px, 3.3vw, 51px)/1.18 var(--font-display); letter-spacing: -.06em; }
.closing-link { display: inline-flex; align-items: center; gap: 20px; flex: none; padding: 13px 0; border-bottom: 1px solid #90afd8; color: white; font-size: 13px; font-weight: 700; }
.closing-link:hover { color: #dceaff; }
.closing-link span { font-size: 20px; font-weight: 400; }
.site-footer { width: min(100% - 64px, 1320px); margin: auto; padding: 33px 0 29px; }
.footer-main { display: flex; justify-content: space-between; gap: 20px; color: #6e7f96; font-size: 12px; }
.footer-brand { color: var(--ink); font: 800 15px/1.3 var(--font-display); letter-spacing: -.05em; }
.footer-brand span { color: #71829a; font-weight: 600; }
.site-footer p { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: #8896a8; font-size: 11px; line-height: 1.5; }

@media (max-width: 1160px) {
  .hero { grid-template-columns: 1fr 1.05fr; gap: 28px; }
  .hero h1 { font-size: clamp(42px, 4.6vw, 59px); }
  .editor-body { padding-right: 138px; }
  .ai-panel { width: 163px; }
  .document-page { padding-right: 23px; padding-left: 23px; }
  .steps { gap: 12px; }
  .step { padding-right: 17px; padding-left: 18px; }
  .use-grid { grid-template-columns: repeat(3, 1fr); }
  .questions { gap: 40px; }
}

@media (max-width: 900px) {
  .site-header, .hero, .value-line, .section, .closing-inner, .site-footer { width: min(100% - 40px, 700px); }
  .site-header { height: 76px; }
  .main-nav { display: none; }
  .header-status { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 55px; padding: 80px 0 67px; }
  .hero h1 { max-width: 700px; font-size: clamp(45px, 7vw, 67px); }
  .hero-description { max-width: 600px; }
  .preview-wrap { max-width: 660px; padding-left: 0; }
  .preview-wrap::before { right: 5px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 17px; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-card-featured { grid-column: 1 / -1; }
  .use-card-featured .use-visual { height: 250px; }
  .questions { grid-template-columns: 1fr; gap: 40px; }
  .questions-heading { max-width: 650px; }
}

@media (max-width: 600px) {
  .site-header, .hero, .value-line, .section, .closing-inner, .site-footer { width: calc(100% - 36px); }
  .site-header { height: 67px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 31px; height: 31px; font-size: 19px; }
  .header-status { padding: 7px 9px; font-size: 10px; }
  .hero { gap: 43px; padding: 67px 0 49px; }
  .hero-intro { margin-bottom: 20px; font-size: 12px; }
  .hero h1 { font-size: clamp(40px, 10.2vw, 55px); }
  .hero-description { margin-top: 23px; font-size: 15px; }
  .hero-actions { gap: 8px 20px; margin-top: 25px; }
  .button-primary { min-height: 45px; }
  .hero-note { max-width: 340px; }
  .preview-wrap { width: calc(100% + 18px); }
  .preview-wrap::before { width: 340px; height: 340px; top: 23px; right: -50px; box-shadow: 0 0 0 40px rgba(226, 234, 246, .3); }
  .preview-topline { padding-right: 16px; font-size: 9px; }
  .editor-window { height: 331px; border-radius: 9px; }
  .editor-titlebar { height: 38px; padding: 0 10px; }
  .editor-file { font-size: 9px; }
  .editor-title-action { font-size: 8px; }
  .editor-tabs { height: 27px; gap: 15px; padding-left: 12px; }
  .editor-toolbar { height: 47px; gap: 7px; padding: 0 10px; }
  .toolbar-group { gap: 4px; padding-right: 7px; }
  .font-box { min-width: 53px; }
  .size-box { min-width: 30px; }
  .format-group { gap: 8px; }
  .style-group { display: none; }
  .editor-body { height: 188px; padding: 11px 109px 0 10px; }
  .document-page { height: 260px; padding: 18px 13px; }
  .document-page .doc-title { font-size: 13px; }
  .document-page p:not(.doc-kicker):not(.doc-lead):not(.doc-title):not(.doc-section-title) { font-size: 5px; }
  .document-page .doc-section-title { font-size: 8px; }
  .ai-panel { top: 12px; right: 6px; bottom: 7px; width: 124px; padding: 9px 6px 7px; }
  .ai-panel-header { padding-bottom: 7px; font-size: 8px; }
  .ai-message { margin-top: 11px; padding: 7px; font-size: 6px; }
  .ai-suggestion { margin-top: 13px; }
  .ai-input { padding: 5px; font-size: 6px; }
  .ai-input span { width: 14px; height: 14px; }
  .editor-status { height: 30px; }
  .preview-caption { font-size: 9px; }
  .value-line { display: flex; flex-direction: column; gap: 15px; padding: 20px 0; }
  .value-line p { padding: 0; border: 0; font-size: 12px; }
  .value-line span { min-width: 22px; }
  .workflow { padding: 85px 0 92px; }
  .section-context { margin-bottom: 16px; font-size: 12px; }
  .section-heading h2 { font-size: clamp(33px, 8vw, 43px); }
  .section-heading > p:last-child { margin-top: 17px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 11px; margin-top: 41px; }
  .step { min-height: 0; padding: 20px 20px 21px 77px; }
  .step-symbol { position: absolute; top: 20px; left: 18px; width: 43px; height: 43px; margin: 0; }
  .step-symbol span { font-size: 25px; }
  .step-index { top: 15px; right: 17px; }
  .step h3 { padding-right: 24px; font-size: 15px; }
  .step p { font-size: 12px; }
  .uses { padding: 82px 0 89px; }
  .use-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 40px; }
  .use-card-featured { grid-column: auto; }
  .use-card-featured .use-visual, .use-visual { height: 190px; }
  .use-content { padding: 23px 22px 26px; }
  .use-content h3 { font-size: 17px; }
  .questions { padding: 86px 0 96px; }
  .question { grid-template-columns: 1fr; gap: 7px; padding: 20px 0; }
  .question h3 { font-size: 15px; }
  .question p { font-size: 13px; }
  .closing-inner { min-height: 272px; flex-direction: column; align-items: start; justify-content: center; gap: 17px; }
  .closing h2 { font-size: 36px; }
  .site-footer { padding-top: 28px; }
  .footer-main { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The homepage opens as the tool workspace. The document illustration follows it. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.header-action { display: inline-flex; align-items: center; gap: 12px; flex: none; margin-left: 17px; padding: 10px 14px; border: 1px solid #cbd8eb; border-radius: 7px; background: #fff; color: var(--blue-deep); font-size: 12px; font-weight: 700; }
.header-action:hover { border-color: #8baad8; background: #f0f5fc; }
.header-action span { font-size: 15px; font-weight: 400; }
.hero { width: min(100% - 48px, 1320px); min-height: calc(100svh - 84px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 88px 0 114px; text-align: center; }
.hero-copy { width: min(100%, 900px); padding: 0; }
.hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(48px, 5.8vw, 82px); line-height: 1.09; }
.hero-description { max-width: 710px; margin: 24px auto 0; font-size: 17px; line-height: 1.7; }
.prompt-form { width: min(100%, 740px); display: flex; flex-direction: column; margin: 41px auto 0; padding: 18px 18px 13px; border: 1px solid #bbcee7; border-radius: 16px; background: white; box-shadow: 0 21px 55px rgba(41, 79, 130, .12), 0 3px 12px rgba(41, 79, 130, .05); text-align: left; }
.prompt-form:focus-within { border-color: #6e97d4; box-shadow: 0 21px 55px rgba(41, 79, 130, .13), 0 0 0 3px rgba(85, 133, 204, .13); }
.prompt-form textarea { width: 100%; min-height: 82px; max-height: 260px; resize: vertical; padding: 1px 3px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 16px/1.55 var(--font-body); }
.prompt-form textarea::placeholder { color: #8596ad; opacity: 1; }
.prompt-form-bottom { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.prompt-hint { padding: 0 3px 6px; color: #8292a6; font-size: 11px; }
.prompt-send { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; flex: none; border: 0; border-radius: 9px; background: var(--blue-deep); color: white; cursor: pointer; }
.prompt-send:hover { background: #2f5fa5; }
.prompt-send:focus-visible, .prompt-examples button:focus-visible { outline: 3px solid #739bed; outline-offset: 3px; }
.prompt-send span { font: 500 26px/1 var(--font-body); transform: translateY(-2px); }
.prompt-examples { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; width: min(100%, 850px); margin: 17px auto 0; }
.prompt-examples > span { margin-right: 4px; color: #7e8fa5; font-size: 11px; font-weight: 700; }
.prompt-examples button { padding: 8px 11px; border: 1px solid #d8e3f2; border-radius: 6px; background: #f7faff; color: #47658d; font: 600 11px/1.2 var(--font-body); cursor: pointer; }
.prompt-examples button:hover { border-color: #a8c0e2; background: #eef5ff; }
.prompt-log { width: min(100%, 740px); margin: 30px auto -13px; text-align: left; }
.prompt-log[hidden] { display: none; }
.sent-request { max-width: min(90%, 540px); margin: 0 0 10px auto; padding: 12px 16px; border: 1px solid #d1e0f4; border-radius: 13px 13px 4px 13px; background: #eaf2ff; color: #24466f; }
.sent-request-label { display: block; margin-bottom: 5px; color: #6687b2; font-size: 10px; font-weight: 700; }
.sent-request p { margin: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.preview-section { padding: 85px 0 94px; background: #eaf0f8; }
.preview-section .preview-wrap { width: min(100% - 64px, 850px); margin: auto; padding: 0 0 18px; }
.preview-section .preview-wrap::before { width: 640px; height: 640px; top: -95px; right: 80px; border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 70px rgba(255,255,255,.13), 0 0 0 140px rgba(255,255,255,.08); }
.preview-section .editor-window { height: 494px; }
.preview-section .editor-body { height: 333px; }
.preview-section .document-page { width: 440px; height: 420px; padding: 29px 40px; }
.preview-section .ai-panel { width: 219px; }
.preview-section .preview-caption { justify-content: center; }

@media (max-width: 900px) {
  .hero { width: min(100% - 40px, 740px); min-height: calc(100svh - 76px); padding: 75px 0 90px; }
  .hero h1 { font-size: clamp(45px, 8vw, 69px); }
  .preview-section .preview-wrap { width: min(100% - 40px, 700px); }
  .preview-section .editor-window { height: 454px; }
  .preview-section .editor-body { height: 293px; }
  .preview-section .document-page { width: 335px; height: 355px; padding: 24px 34px; }
  .preview-section .ai-panel { width: 182px; }
}

@media (max-width: 600px) {
  .site-header { gap: 9px; }
  .header-action { gap: 5px; margin-left: auto; padding: 8px 9px; font-size: 10px; }
  .header-action span { font-size: 13px; }
  .hero { width: calc(100% - 36px); min-height: calc(100svh - 67px); padding: 71px 0 85px; }
  .hero h1 { font-size: clamp(39px, 9.3vw, 54px); }
  .hero-description { margin-top: 20px; font-size: 14px; }
  .prompt-form { margin-top: 32px; padding: 14px 13px 10px; border-radius: 13px; }
  .prompt-form textarea { min-height: 90px; font-size: 14px; }
  .prompt-hint { font-size: 10px; }
  .prompt-send { width: 36px; height: 36px; }
  .prompt-examples { justify-content: start; gap: 7px; margin-top: 15px; }
  .prompt-examples > span { width: 100%; margin-bottom: 1px; text-align: left; }
  .prompt-examples button { padding: 7px 8px; font-size: 10px; }
  .preview-section { padding: 61px 0 70px; }
  .preview-section .preview-wrap { width: calc(100% - 36px); }
  .preview-section .preview-wrap::before { width: 350px; height: 350px; top: -13px; right: -40px; }
  .preview-section .editor-window { height: 331px; }
  .preview-section .editor-body { height: 188px; }
  .preview-section .document-page { height: 260px; padding: 18px 13px; }
  .preview-section .ai-panel { width: 124px; }
}
