:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --ink: #202c25;
  --muted: #4f5d52;
  --green: #28533d;
  --sage: #e9eee2;
  --line: #d8dbcc;
  --serif: "Noto Serif KR", "AppleMyungjo", "Batang", Georgia, serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #b3652d; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -100px; padding: 8px 14px; background: white; z-index: 5; }
.skip:focus { top: 0; }
.shell { width: min(1140px, calc(100% - 96px)); margin-inline: auto; }
.masthead { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 850; white-space: nowrap; letter-spacing: -.07em; }
.brand-mark { display: inline-flex; align-items: end; gap: 2px; }
.brand-mark i { display: block; width: 6px; height: 15px; background: var(--green); border-radius: 2px; transform: rotate(13deg); }
.brand-mark i:nth-child(2) { height: 20px; background: #6e8864; }
.brand-mark i:nth-child(3) { height: 12px; background: #b77942; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 34px); font-size: 14px; font-weight: 700; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { border: 1px solid #8c9c8d; border-radius: 999px; padding: 8px 15px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr .96fr; gap: clamp(32px, 7vw, 94px); align-items: center; padding-block: clamp(45px, 5vw, 76px) clamp(65px, 9vw, 122px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .035em; }
.eyebrow > span, .tiny-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #739065; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.22; letter-spacing: -.075em; }
h1 { font-size: clamp(42px, 6.1vw, 80px); }
h2 { font-size: clamp(34px, 4.5vw, 59px); }
em { color: var(--green); font-style: normal; }
.intro, .section-intro { color: var(--muted); font-size: clamp(15px, 1.45vw, 17px); }
.intro { max-width: 420px; margin: 18px 0 0; }
.hero h1 + .intro { margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 10px 21px; border: 1px solid var(--green); border-radius: 6px; background: var(--green); color: #fff; font-size: 14px; font-weight: 750; cursor: pointer; text-align: center; }
.button:hover { background: #1c3f2d; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; margin-top: 27px; }
.hero-story-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--green); font-size: 14px; font-weight: 750; }
.hero-story-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-figure { margin: 0; padding: 20px 0 0; }
.notebook { position: relative; min-height: 334px; padding: 26px 30px 58px 44px; background: #fffdf6; border: 1px solid #d9d9cb; border-left: 7px solid #6a8262; border-radius: 4px 12px 12px 4px; box-shadow: 10px 15px 0 #dfe5d6, 18px 28px 45px #26371f16; transform: rotate(2.2deg); }
.paper-top { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #b6bfae; color: var(--muted); font-size: 12px; font-weight: 750; }
.paper-lines { padding-top: 10px; }
.paper-lines p { min-height: 53px; margin: 0; border-bottom: 1px solid #e1e2d8; font-family: var(--serif); font-size: clamp(21px, 2.7vw, 37px); letter-spacing: -.065em; }
mark { color: inherit; background: linear-gradient(transparent 63%, #dce8ca 63%, #dce8ca 90%, transparent 90%); }
.paper-blank > span { display: inline-block; height: 25px; width: 2px; margin-top: 14px; background: #6e8864; vertical-align: top; }
.note { position: absolute; right: -7px; bottom: 18px; padding: 8px 14px; background: #f1dfb3; color: #4d422a; font-size: 13px; font-weight: 700; transform: rotate(-6deg); box-shadow: 2px 4px 10px #40342016; }
.note span { margin-right: 4px; }
figcaption { margin-top: 34px; color: var(--muted); font-size: 13px; text-align: center; }
figcaption .tiny-dot { margin-right: 7px; }
.story { background: var(--sage); border-block: 1px solid #d6dfd2; }
.story-grid, .teacher-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px, 7vw, 96px); padding-block: clamp(52px, 8vw, 99px); }
.story-copy { font-size: 16px; }
.story-copy p { margin: 0 0 14px; }
.story-copy .story-question { border-left: 3px solid #7c996f; padding-left: 16px; margin: 23px 0 0; color: var(--green); font-family: var(--serif); font-weight: 700; font-size: 19px; }
.demo { padding-block: clamp(60px, 9vw, 111px); }
.section-intro { max-width: 620px; margin: 19px 0 26px; }
.demo-frame { border: 1px solid #b9c4b6; border-radius: 13px; overflow: hidden; background: #fffdf7; }
.demo-bar, .demo-actions, .record-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 21px; }
.demo-bar { background: #e6ecdf; color: var(--green); font-size: 14px; font-weight: 800; border-bottom: 1px solid #cad5c6; }
.demo-bar .tiny-dot { margin-right: 7px; }
.tag { padding: 2px 9px; border-radius: 100px; border: 1px solid #b6c5b3; background: #f9fbf5; color: #3d6148; font-size: 11px; font-weight: 750; white-space: nowrap; }
.demo-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
.demo-paper, .conversation { padding: 22px clamp(17px, 3vw, 33px); min-width: 0; }
.demo-paper { border-right: 1px solid #d8dfd2; }
.conversation { background: #f6f8f2; min-height: 335px; }
.panel-label { color: var(--green); font-size: 13px; font-weight: 800; margin: 0 0 15px; }
.coach-icon { font-size: 16px; margin-right: 4px; }
.written { min-height: 224px; background: repeating-linear-gradient(transparent 0 35px, #e4e4d9 35px 36px); font-family: var(--serif); font-size: clamp(17px, 2.1vw, 23px); line-height: 36px; letter-spacing: -.045em; }
.written p { margin: 0; }
.new-writing { color: var(--green); }
.bubble { margin: 0 0 10px; max-width: 92%; padding: 8px 12px; border-radius: 9px; font-size: 14px; line-height: 1.5; }
.bubble small { display: block; color: var(--muted); font-weight: 750; font-size: 11px; margin-bottom: 2px; }
.student { margin-left: auto; background: #ecece2; }
.coach { background: #e0ebda; }
.demo-prompt { margin: 0; padding: 10px 12px; border: 1px dashed #a7b6a6; border-radius: 9px; color: var(--muted); font-size: 14px; }
.demo-actions { background: #fffdf7; border-top: 1px solid #d8dfd2; }
#demo-status { color: var(--muted); font-size: 13px; }
.teacher { background: #edf0e6; border-block: 1px solid #d6dfd2; }
.teacher-grid { align-items: center; }
.teacher .section-intro { margin-bottom: 0; }
.record { background: #fffdf7; border: 1px solid #c3cec0; border-radius: 10px; }
.record-top { border-bottom: 1px solid #d8dfd2; color: var(--green); font-size: 15px; }
.record ol { margin: 0; padding: 9px 21px; list-style: none; }
.record li { display: grid; grid-template-columns: 86px 1fr; gap: 8px; padding: 12px 0; font-size: 14px; }
.record li + li { border-top: 1px solid #e7e9e0; }
.record li strong { color: var(--green); }
.closing { text-align: center; padding-block: 77px; }
.closing .eyebrow { justify-content: center; }
.closing .section-intro { margin: 20px auto 23px; }
.start-note { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 7px 20px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer .brand { color: var(--ink); font-size: 19px; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 54px); }
  .hero { gap: 28px; }
  .notebook { min-height: 295px; padding-inline: 22px; }
  .paper-top { font-size: 10px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 65px; }
  .brand { font-size: 20px; }
  nav a:not(.nav-cta) { display: none; }
  .hero, .story-grid, .teacher-grid, .demo-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 45px 56px; }
  .desktop-break { display: none; }
  .hero-figure { padding: 8px 14px 0 4px; }
  .notebook { min-height: 260px; }
  .paper-lines p { min-height: 43px; }
  .paper-blank > span { margin-top: 8px; }
  .demo-paper { border-right: none; border-bottom: 1px solid #d8dfd2; }
  .written { min-height: 108px; }
  .conversation { min-height: 280px; }
  .demo-actions .button { width: 100%; }
  .closing { padding-block: 60px; }
}
@media (max-width: 650px) and (max-height: 650px) {
  .hero { padding-top: 25px; }
  .hero h1 + .intro { margin-top: 18px; }
  .hero-actions { margin-top: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
