:root {
  color-scheme: light;
  --ink: #21322c;
  --muted: #5f6b62;
  --paper: #f8f7f0;
  --white: #fffefa;
  --line: #dfe4d9;
  --lime: #d8ec9c;
  --mint: #e7f1df;
  --coral: #f3c4ab;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid #517b27; outline-offset: 4px; }
[id] { scroll-margin-top: 90px; }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.section-pad { padding-block: 110px; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-150%); padding: 12px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 24px; letter-spacing: -.07em; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--lime); font-size: 24px; font-weight: 400; letter-spacing: 0; }
.brand-dot { color: #8aaf4a; }
.site-nav { display: flex; gap: clamp(20px, 4vw, 48px); align-items: center; font-size: 13px; font-weight: 700; }
.site-nav a { padding-block: 10px; transition: color .2s ease; }
.site-nav a:hover, .text-link:hover { color: #537b32; }

.hero { overflow: hidden; background: var(--paper); }
.hero-grid { min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 70px 85px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { margin: 0 0 24px; color: #507342; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { display: block; width: 25px; height: 1px; background: #507342; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.065em; line-height: 1.13; }
h1 { max-width: 650px; font-size: clamp(52px, 5.8vw, 84px); margin-bottom: 26px; }
h1 span { position: relative; color: #719841; }
h1 span::after { content: ""; position: absolute; height: 9px; border-radius: 50%; background: var(--lime); left: 3px; right: 3px; bottom: -7px; transform: rotate(-2deg); }
.hero-lead { max-width: 520px; font-size: 16px; line-height: 1.9; color: var(--muted); margin-bottom: 33px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 55px; padding: 13px 20px; border-radius: 9px; font-weight: 800; font-size: 13px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #385148; }
.button span { font-size: 20px; line-height: 1; font-weight: 500; }
.text-link { font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; transition: color .2s ease; }
.text-link span { font-size: 19px; font-weight: 500; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 52px; font-size: 12px; font-weight: 700; color: var(--muted); }
.note-star { color: #82a14e; font-size: 20px; }
.hero-visual { position: relative; min-height: 475px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: #e8efd7; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -2; }
.hero-visual::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 1px solid #d6e2c9; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -2; }
.visual-decoration { position: absolute; z-index: -1; }
.decoration-one { width: 90px; height: 90px; background: var(--coral); border-radius: 50%; top: 16px; right: 8%; }
.decoration-two { width: 58px; height: 58px; border: 12px solid #afcd78; border-radius: 50%; bottom: 13px; left: 6%; }
.prompt-window { width: min(100%, 475px); border-radius: 16px; background: var(--white); box-shadow: 0 25px 65px #3e5d3524, 0 3px 10px #1b31221c; overflow: hidden; transform: rotate(-3deg); }
.window-top { height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 0 20px; color: #7b8479; font-size: 11px; font-weight: 700; }
.window-top > span:last-child { font-size: 18px; color: var(--ink); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e1e6dc; }
.window-dots i:first-child { background: var(--coral); }
.window-body { padding: 38px 37px 34px; }
.window-label { display: block; color: #739546; font-size: 10px; letter-spacing: .15em; font-weight: 800; margin-bottom: 25px; }
.window-body p { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.65; letter-spacing: -.035em; font-weight: 700; margin-bottom: 35px; }
.window-body mark { background: var(--lime); color: inherit; border-radius: 3px; padding-inline: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.window-tag { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #dce7ce; border-radius: 100px; padding: 8px 12px; color: #597447; background: #f2f8ea; font-size: 10px; font-weight: 800; }
.window-tag span { font-size: 14px; }
.floating-label { position: absolute; right: -5px; bottom: 20px; background: var(--ink); color: white; padding: 15px 19px; border-radius: 8px; font-size: 12px; font-weight: 800; transform: rotate(5deg); box-shadow: 0 12px 25px #192e2433; }
.floating-label span { color: var(--lime); margin-right: 8px; font-size: 17px; }

.intro-section { background: var(--white); border-block: 1px solid var(--line); }
.intro-grid, .closing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 145px); }
h2 { font-size: clamp(36px, 4vw, 55px); margin-bottom: 0; }
.intro-text { padding-top: 31px; }
.intro-text p, .closing-text p { color: var(--muted); font-size: 16px; line-height: 1.95; margin-bottom: 18px; }
.intro-text strong { color: var(--ink); }
.intro-text p:last-child, .closing-text p:last-of-type { margin-bottom: 0; }

.formula-section { background: #f0f4e8; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading > p { width: min(100%, 340px); color: var(--muted); line-height: 1.8; font-size: 14px; margin-bottom: 4px; }
.formula-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.formula-card { background: var(--white); border: 1px solid #e6e9df; border-radius: 11px; padding: 24px; min-height: 285px; display: flex; flex-direction: column; }
.card-number { display: flex; align-items: center; justify-content: space-between; color: #779358; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.card-number span { font-size: 17px; font-weight: 400; }
.card-icon { margin: 27px 0 16px; font-size: 32px; line-height: 1; font-weight: 400; }
.formula-card h3 { font-size: 18px; letter-spacing: -.04em; margin-bottom: 8px; }
.formula-card p { color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 20px; }
.card-example { margin-top: auto; align-self: start; background: #f1f5e9; border-radius: 5px; padding: 8px 10px; color: #54703d; font-size: 11px; font-weight: 700; line-height: 1.4; }
.formula-summary { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 17px 22px; border: 1px dashed #adc78b; border-radius: 10px; }
.summary-icon { color: #6f9a40; font-size: 24px; }
.formula-summary p { margin: 0; font-size: 13px; line-height: 1.6; color: #496442; }

.lessons-section { background: var(--paper); }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lesson-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.lesson-number, .demo-label { color: #648641; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.lesson-card h3 { margin: 22px 0 12px; font-size: 20px; letter-spacing: -.04em; }
.lesson-card > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.lesson-example { margin-top: auto; padding: 18px; border-radius: 8px; background: #f0f5e8; }
.lesson-example span { display: block; margin-bottom: 10px; color: #54783d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.lesson-example p { margin: 0; font-size: 12px; line-height: 1.7; font-weight: 600; }

.examples-section { background: var(--white); }
.example-list { border-top: 1px solid var(--line); }
.example-row { display: grid; grid-template-columns: 190px 1fr; gap: 40px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.example-topic { display: flex; flex-direction: column; align-items: start; }
.topic-icon { display: grid; place-items: center; width: 36px; height: 36px; background: var(--mint); color: #507342; border-radius: 9px; font-size: 21px; margin-bottom: 13px; }
.example-topic h3 { margin-bottom: 3px; font-size: 16px; letter-spacing: -.03em; }
.example-topic p { margin: 0; color: #7c877b; font-size: 11px; }
.example-content { display: grid; grid-template-columns: minmax(0, .8fr) 22px minmax(0, 1.25fr); align-items: center; gap: 28px; }
.example-before, .example-after { min-height: 125px; padding: 19px 22px; border-radius: 8px; }
.example-before { background: #f7f6f2; }
.example-after { background: #edf5e6; }
.example-label { display: inline-block; color: #778077; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; margin-bottom: 13px; }
.example-after .example-label { color: #537a3e; }
.example-before p, .example-after p { font-size: 13px; line-height: 1.7; font-weight: 600; margin: 0; }
.example-before p { color: #798078; }
.example-arrow { color: #679543; font-size: 23px; text-align: center; }
.templates { margin-top: 70px; padding: 32px; border-radius: 12px; background: #f2f5e9; }
.templates-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.templates-heading h3 { font-size: 20px; letter-spacing: -.04em; margin: 0; }
.templates-heading p { color: var(--muted); font-size: 12px; margin: 0; }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.template-grid p { min-width: 0; margin: 0; padding: 20px; border-radius: 8px; background: var(--white); font-size: 13px; font-weight: 600; line-height: 1.8; }
.template-tip { margin: 21px 0 0; color: #536849; font-size: 12px; line-height: 1.7; }

.options-section { background: #e9f1de; }
.options-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(35px, 7vw, 105px); align-items: start; }
.options-lead { max-width: 570px; margin: 24px 0 30px; color: #4f624b; font-size: 14px; line-height: 1.9; }
.options-lead strong { color: var(--ink); }
.options-lead code { padding: 2px 5px; border-radius: 4px; background: #d6e4c9; font-size: .95em; }
.option-list { border-top: 1px solid #cbddbf; }
.option-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-bottom: 1px solid #cbddbf; padding: 16px 0; }
.option-list span { font-size: 12px; font-weight: 800; }
.option-list p { margin: 0; color: #566b51; font-size: 12px; line-height: 1.7; }
.options-demo { margin-top: 9px; padding: 34px; border-radius: 13px; background: var(--white); box-shadow: 0 16px 35px #3d67301a; }
.options-demo > p { margin: 26px 0 0; font-size: 15px; font-weight: 600; line-height: 1.8; }
.options-demo > p + p { margin-top: 12px; padding-left: 16px; border-left: 3px solid var(--lime); }
.options-demo strong { color: #527738; }
.demo-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }

.practice-section { background: var(--ink); color: var(--white); }
.practice-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 125px); align-items: start; }
.practice-copy { padding-top: 33px; }
.practice-copy .section-kicker { color: var(--lime); }
.practice-copy h2 { max-width: 420px; margin-bottom: 22px; }
.practice-copy > p:not(.section-kicker) { max-width: 425px; color: #c4d0c4; font-size: 14px; line-height: 1.9; }
.practice-tip { display: flex; gap: 14px; margin-top: 64px; padding-top: 25px; border-top: 1px solid #476055; }
.practice-tip > span { color: var(--lime); font-size: 24px; line-height: 1; }
.practice-tip p { color: #c4d0c4; font-size: 12px; line-height: 1.8; margin: 0; }
.practice-tip strong { color: var(--white); }
.builder-card { background: var(--white); color: var(--ink); border-radius: 13px; padding: 30px; box-shadow: 0 20px 45px #0e211947; }
.builder-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 23px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: #678747; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.builder-top span:last-child { font-size: 23px; line-height: 1; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 9px; }
.required { color: #a84629; }
.field input, .field select { display: block; width: 100%; min-height: 48px; border: 1px solid #d8e0d3; border-radius: 7px; padding: 11px 14px; background: #fcfdf9; color: var(--ink); font-size: 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input::placeholder { color: #919b91; }
.field input:focus, .field select:focus { border-color: #69984a; box-shadow: 0 0 0 3px #dbeacb; }
.field input[aria-invalid="true"] { border-color: #af4d35; }
.field-hint { display: block; margin-top: 7px; color: #7c887b; font-size: 10px; }
.options-fieldset { margin: 3px 0 17px; padding: 17px 0 0; border: 0; border-top: 1px solid var(--line); }
.options-fieldset legend { padding-right: 10px; font-size: 12px; font-weight: 800; }
.select-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.checkbox-label { display: flex; align-items: start; gap: 9px; font-size: 12px; font-weight: 700; line-height: 1.6; cursor: pointer; }
.checkbox-label input { width: 17px; height: 17px; flex: none; margin: 1px 0 0; accent-color: #527b35; cursor: pointer; }
.button-accent { width: 100%; margin-top: 7px; background: var(--lime); color: var(--ink); }
.button-accent:hover { background: #c8e27b; }
.result { margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); }
.result[hidden] { display: none; }
.result-heading { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.result-heading span { color: #638b47; font-size: 18px; }
.result textarea { display: block; width: 100%; resize: vertical; min-height: 105px; border: 1px solid #cdddbf; border-radius: 7px; padding: 13px 14px; background: #f3f8ec; color: var(--ink); font-size: 13px; line-height: 1.7; }
.copy-button { margin-top: 13px; padding: 0; border: 0; background: none; color: #456f37; font-size: 12px; font-weight: 800; }
.copy-button:hover { text-decoration: underline; }
.copy-button span { padding-left: 5px; }
.form-status { min-height: 0; margin: 10px 0 0; color: #476e3c; font-size: 12px; font-weight: 700; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.error { color: #a84629; }

.closing-section { background: var(--lime); }
.closing-section .section-kicker { color: #567632; }
.closing-text { padding-top: 30px; }
.closing-text p { color: #42563a; }
.closing-text .text-link { margin-top: 27px; }
.site-footer { background: var(--paper); }
.footer-inner { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 20px; }
.footer-brand .brand-mark { width: 29px; height: 29px; font-size: 20px; }
.footer-inner > span:last-child { font-size: 11px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero-grid { gap: 10px; }
  .hero-visual::before { width: 350px; height: 350px; }
  .hero-visual::after { width: 410px; height: 410px; }
  .formula-grid { grid-template-columns: repeat(2, 1fr); }
  .formula-card { min-height: 250px; }
  .lesson-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-card:last-child { grid-column: 1 / -1; }
  .example-row { grid-template-columns: 145px 1fr; gap: 20px; }
  .example-content { gap: 12px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 36px, 540px); }
  .section-pad { padding-block: 75px; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 30px; height: 30px; font-size: 20px; }
  .site-nav { gap: 14px; font-size: 11px; }
  .site-nav a:first-child { display: none; }
  .hero-grid, .intro-grid, .closing-grid, .options-grid, .practice-grid { grid-template-columns: 1fr; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-card:last-child { grid-column: auto; }
  .hero-grid { padding-block: 64px 62px; gap: 33px; }
  h1 { font-size: clamp(48px, 10vw, 72px); }
  .hero-lead { font-size: 14px; }
  .hero-note { margin-top: 35px; }
  .hero-visual { min-height: 440px; }
  .hero-visual::before { width: 360px; height: 360px; }
  .hero-visual::after { width: 420px; height: 420px; }
  .floating-label { right: 0; bottom: 17px; }
  .intro-grid, .closing-grid { gap: 17px; }
  .intro-text, .closing-text { padding-top: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 19px; margin-bottom: 30px; }
  .section-heading > p { width: 100%; }
  .example-row { grid-template-columns: 1fr; gap: 18px; }
  .example-topic { flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
  .example-topic h3, .example-topic p { margin: 0; }
  .example-topic p { margin-left: auto; }
  .topic-icon { margin: 0; }
  .templates { margin-top: 50px; padding: 24px; }
  .templates-heading { display: block; }
  .templates-heading h3 { margin-bottom: 8px; }
  .template-grid { grid-template-columns: 1fr; }
  .practice-grid { gap: 30px; }
  .practice-copy { padding-top: 0; }
  .practice-tip { margin-top: 28px; }
}

@media (max-width: 480px) {
  .site-nav { gap: 10px; font-size: 10px; }
  .site-nav a:nth-child(2) { display: none; }
  .options-demo { padding: 24px; }
  .select-grid { grid-template-columns: 1fr; gap: 0; }
  h2 { font-size: 36px; }
  .hero-visual { min-height: 350px; }
  .hero-visual::before { width: 270px; height: 270px; }
  .hero-visual::after { width: 315px; height: 315px; }
  .prompt-window { width: calc(100% - 16px); }
  .window-body { padding: 25px 23px 22px; }
  .window-body p { font-size: 17px; margin-bottom: 23px; }
  .floating-label { right: -4px; bottom: -4px; padding: 10px 12px; font-size: 10px; }
  .decoration-one { width: 60px; height: 60px; }
  .decoration-two { width: 40px; height: 40px; border-width: 8px; }
  .formula-grid { gap: 9px; }
  .formula-card { padding: 17px; min-height: 265px; }
  .formula-card h3 { font-size: 16px; }
  .formula-card p, .card-example { font-size: 10px; }
  .card-icon { margin-top: 23px; }
  .example-content { grid-template-columns: 1fr; gap: 8px; }
  .example-before, .example-after { min-height: 0; }
  .example-arrow { transform: rotate(90deg); font-size: 19px; line-height: 1; }
  .builder-card { padding: 22px; }
  .footer-inner { flex-direction: column; justify-content: center; align-items: start; gap: 7px; padding-block: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
