:root {
  color-scheme: light;
  --ink: #172d24;
  --paper: #f5f6ef;
  --copy: #46564d;
  --lime: #d7f3b0;
  --line: #d8dfd3;
  --serif: Georgia, "Nanum Myeongjo", "Batang", serif;
  font: 1rem/1.65 "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: #fcfcf8;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #37714d; outline-offset: 4px; }
.skip { position: absolute; transform: translateY(-150%); }
.skip:focus { top: .5rem; left: .5rem; padding: .5rem; background: white; z-index: 1; transform: none; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.7rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; font: bold 1.5rem/1 var(--serif); text-decoration: none; }
.mark { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--lime); background: var(--ink); border-radius: .4rem; font-size: 1.6rem; }
.nav nav { display: flex; gap: clamp(.85rem, 2.5vw, 2.5rem); }
.nav nav a, .nav-action { text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav nav a:hover, .footer a:hover { text-decoration: underline; }
.nav-action { border: 1px solid var(--line); padding: .55rem .95rem; border-radius: .3rem; }
.nav-action:hover { background: var(--paper); }
.account-links { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.25rem); white-space: nowrap; }
.account-links a { font-size: .9rem; font-weight: 650; text-underline-offset: .2em; }
.hero { background: var(--ink); color: #f7f8ed; }
.hero-inner { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(2rem,4vw,4.8rem); padding-block: clamp(3.5rem,8vw,7.5rem); }
.eyebrow { font-weight: 750; font-size: .88rem; letter-spacing: .07em; color: #3a6246; }
.hero .eyebrow { color: var(--lime); display: flex; align-items: center; gap: .6rem; }
.hero .eyebrow span { width: 1.4rem; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--serif); line-height: 1.19; letter-spacing: -.05em; text-wrap: balance; }
h1 { margin-top: 1rem; font-size: clamp(2.65rem,5.25vw,5.2rem); }
h1 em { font-style: normal; color: var(--lime); }
.lead { margin-top: 1.4rem; color: #d5e0d6; max-width: 24rem; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .55rem 1rem; border-radius: .35rem; text-decoration: none; font-weight: 750; font-size: .94rem; }
.primary { background: var(--lime); color: var(--ink); }
.primary:hover { background: #c6e7a0; }
.hero a:focus-visible { outline-color: #e8f7cf; }
.text-link { font-size: .94rem; text-underline-offset: .22em; }
.hero-note { margin-top: 1.2rem; color: #bdcfc2; font-size: .86rem; }
.demo { min-width: 0; overflow: hidden; border: 1px solid #6c8374; border-radius: .75rem; background: #fdfcf3; color: var(--ink); box-shadow: 0 1.25rem 3rem #0d1d1760; }
.demo-top, .demo-foot { display: flex; gap: .65rem; min-height: 3.25rem; align-items: center; padding: .5rem .85rem; }
.demo-top { background: #e9eee2; border-bottom: 1px solid #d5dfcf; }
.demo-icon { color: #3a6246; }
.demo-top small { margin-left: auto; font-size: .75rem; color: var(--copy); }
.demo-body { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); min-height: 15rem; }
.script { background: #23382e; color: #f6f7ed; padding: 1rem .75rem; border-right: 1px solid #c6d1c3; }
.pane-title { font-size: .88rem; font-weight: 750; }
.script .pane-title { color: #cfedb0; }
.script pre { margin: 1.15rem 0 .6rem; font: clamp(.64rem, 1.05vw, .9rem)/2.05 "SFMono-Regular", Consolas, monospace; }
.script pre span { color: #adbeae; }
.script-help { font-size: .75rem; color: #cbd9ce; }
.sheet { position: relative; min-width: 0; padding: 1rem .65rem .5rem; }
.sheet .pane-title { color: #45634e; }
.sheet-title { margin: .55rem 0 0; text-align: center; font: bold 1.2rem/1.3 var(--serif); }
.sheet canvas { display: block; width: 100%; height: auto; }
.demo-foot { border-top: 1px solid #dddeda; font-size: .8rem; color: var(--copy); }
.demo-foot > span { margin-left: auto; }
.demo button { border: 1px solid #d0dcc9; border-radius: .35rem; font: inherit; font-weight: 750; color: var(--ink); background: #e4efd7; padding: .38rem .6rem; cursor: pointer; }
.demo button:hover { background: #d6e8c1; }
#play-icon { margin-right: .4rem; }
.workflow, .library { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(1.65rem,5.7vw,5rem); align-items: start; padding-block: clamp(3rem,7.5vw,6.2rem); }
h2 { margin-top: .5rem; font-size: clamp(2rem,3.8vw,3.75rem); }
h3 { font-size: 1.2rem; line-height: 1.4; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 1.15rem; padding-block: .9rem; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps p, .plans article p, .library p:not(.eyebrow) { color: var(--copy); margin-top: .35rem; }
.steps code { color: var(--ink); }
.plans { background: var(--paper); padding-block: clamp(3rem,7vw,5.75rem); }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.plans article { border: 1px solid var(--line); padding: clamp(1.15rem, 3vw, 2rem); border-radius: .5rem; background: #fcfcf8; }
.plans .tier-label { margin-top: 0; margin-bottom: .35rem; color: #3a6246; font-weight: 750; }
.plans ul { padding-inline-start: 1.2rem; margin: .9rem 0 1.25rem; }
.plans li::marker { color: #4c7757; }
.plans .availability { font-size: .88rem; }
.library { align-items: center; }
.library p:not(.eyebrow) { margin-top: 1rem; max-width: 34rem; }
.library-visual { display: grid; place-items: center; min-height: 15rem; background: #dce8d9; border-radius: .5rem; overflow: hidden; }
.library-card { position: relative; aspect-ratio: 1.42; width: min(70%, 15rem); background: #fcfcf6; border: 1px solid #aebdae; border-radius: .25rem; box-shadow: 1rem 1rem 0 #afc4ae; transform: rotate(-6deg); padding: 1rem; }
.library-card span { font: bold .8rem var(--serif); letter-spacing: .13em; }
.library-card strong { position: absolute; left: 1.15rem; top: 28%; font: 4.5rem var(--serif); background: #fcfcf6; padding-inline: .5rem; }
.library-card i { display: block; margin-top: .42rem; height: 1px; background: #91a28e; }
.library-card i:first-of-type { margin-top: 1.4rem; }
.closing { background: #e3eedb; padding-block: clamp(2.25rem,6vw,4rem); }
.closing .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.closing h2 { margin: 0; }
.closing .primary { color: #f7f8ed; background: var(--ink); }
.closing .primary:hover { background: #284939; }
.footer { min-height: 5rem; display:flex; flex-wrap: wrap; align-items:center; gap: .6rem 1.25rem; padding-block: 1rem; }
.footer p { color: var(--copy); font-size: .88rem; }
.footer > a:last-child { margin-left:auto; font-size: .88rem; }
@media (max-width: 58rem) {
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .demo { max-width: 38rem; }
  .script pre { font-size: .85rem; }
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .nav { min-height: 4.05rem; }
  .nav nav { display: none; }
  .nav-action { font-size: .84rem; padding: .45rem .6rem; white-space: nowrap; }
  .workflow, .library, .plans-grid { grid-template-columns: minmax(0,1fr); }
  .demo-body { min-height: auto; }
  .script pre { font-size: clamp(.61rem, 2.45vw, .83rem); }
}
