:root {
  color-scheme: light;
  --paper: #fbfcf7;
  --tint: #e4f2e5;
  --leaf: #24493a;
  --ink: #182c22;
  --muted: #516353;
  --border: #c1d3c4;
  --accent: #f2efa9;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #226149; outline-offset: 4px;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
main h1, main h2, .c-cards h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; letter-spacing: -.055em;
}
main h1 { font-size: clamp(3.2rem, 6.4vw, 6.8rem); line-height: .99; }
main h1 em { color: #437359; font-weight: inherit; }
main h2 { font-size: clamp(2rem, 4.5vw, 4.2rem); }
main p { max-width: 64ch; color: var(--muted); }
[hidden] { display: none !important; }
.c-wrap { width: min(1220px, calc(100% - clamp(36px, 9vw, 150px))); margin-inline: auto; }
.c-demo { background: #233f32; color: #edf7ee; font-size: .875rem; }
.c-demo .c-wrap, .c-header, .c-header nav, .c-title, .c-footer .c-wrap, .c-footer nav, .c-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 23px;
}
.c-demo .c-wrap, .c-header, .c-title, .c-footer .c-wrap { justify-content: space-between; }
.c-demo .c-wrap { padding-block: 6px; }
.c-demo a, .c-header a, .c-footer a, .c-button, .c-cards a { text-decoration: none; }
.c-demo a:hover, .c-footer a:hover { text-decoration: underline; }
.c-header { padding-block: 18px; border-bottom: 1px solid var(--border); }
.c-logo { display: inline-flex; align-items: center; gap: 7px; font-size: 1.65rem; font-weight: 760; letter-spacing: -.07em; line-height: 1; }
.c-star { font-size: 1.9rem; line-height: 1; color: #3c8057; }
.c-header nav a { color: var(--muted); font-size: .96rem; }
.c-header nav a:hover, .c-header nav a[aria-current] { color: var(--leaf); text-decoration: underline; text-underline-offset: .28em; }
.c-header nav a:last-child { padding: 6px 15px; border: 1px solid var(--border); border-radius: 2em; }
.c-hero, .c-editorial, .c-calculator-layout, .c-process, .c-book-layout { display: grid; align-items: center; gap: clamp(28px, 6vw, 90px); }
.c-hero { grid-template-columns: 1fr .94fr; padding-block: clamp(32px,6vw,85px); }
.c-overline { margin-bottom: 18px; font-size: .875rem; font-weight: 650; color: var(--leaf); letter-spacing: .07em; text-transform: uppercase; }
.c-hero-copy > p:not(.c-overline), .c-intro > p:last-child { margin-top: 22px; font-size: clamp(1.05rem,1.7vw,1.25rem); max-width: 43ch; }
.c-actions { margin-top: 28px; }
.c-button {
  display: inline-flex; width: fit-content; align-items: center; justify-content: center; min-height: 46px;
  padding: 10px 21px; border-radius: 100px; background: var(--leaf); color: #fff; font-weight: 600;
}
.c-button:hover { background: #173526; }
.c-text { text-decoration-thickness: 1px; text-underline-offset: .27em; }
.c-text:hover { color: #30664a; }
.c-hero-photos { position: relative; padding: 0 0 8% 8%; }
.c-big, .c-small, .c-process img { display: block; object-fit: cover; background: var(--tint); }
.c-big { width: 100%; aspect-ratio: 1.19; border-radius: 120px 18px 94px 18px; }
.c-small { position: absolute; width: 34%; aspect-ratio: 1.1; left: 0; bottom: 0; border: clamp(4px,.7vw,9px) solid var(--paper); border-radius: 23px; }
.c-reveal { background: #203e32; color: #f7fff7; }
.c-reveal-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); align-items: center; gap: clamp(24px,5vw,75px); padding-block: clamp(46px,7vw,100px); }
.c-reveal .c-overline { color: #cdeabb; }
.c-reveal h2 { font-size: clamp(2.3rem,4.7vw,5.2rem); line-height: 1; }
.c-reveal h2 em { color: #d8efa6; font-weight: 400; }
.c-reveal-copy > p:not(.c-overline) { color: #e1eee0; margin-top: 20px; max-width: 40ch; }
.c-reveal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.c-reveal-actions button { min-height: 44px; border: 1px solid #e3f1d9; border-radius: 100px; padding: 9px 17px; background: #d8efa6; color: #203e32; font-family: inherit; font-size: 1rem; font-weight: 650; line-height: 1.3; cursor: pointer; }
.c-reveal-actions button + button { background: transparent; color: #f7fff7; }
.c-reveal-actions button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.c-reveal-copy .c-reveal-status { min-height: 1.5em; margin-top: 12px; color: #cdeabb; font-size: .9rem; }
.c-reveal-frame { position: relative; overflow: hidden; aspect-ratio: 1.45; min-height: 310px; border-radius: 90px 12px 90px 12px; background: #cbd9c5; box-shadow: 18px 18px 0 #355b45; }
.c-reveal-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-reveal-frame canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.c-reveal-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; border: 1px solid #f7fff7; border-radius: 30px; background: #203e32dd; color: #fff; padding: 10px 16px; font-weight: 650; white-space: nowrap; transition: opacity .2s; }
.c-reveal-hint.is-hidden { opacity: 0; }
.c-mint { background: var(--tint); }
.c-block { padding-block: clamp(40px,6.2vw,82px); }
.c-title { align-items: baseline; }
.c-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2vw,25px); margin-top: 28px; }
.c-cards article {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(20px,2.2vw,32px);
  background: var(--paper); border: 1px solid var(--border); border-radius: 18px;
}
.c-cards h3 { font-size: clamp(1.65rem,2.7vw,2.55rem); }
.c-cards a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 12px; margin-top: auto; border-top: 1px solid var(--border); padding-top: 14px; color: var(--leaf); }
.c-cards a:hover { text-decoration: underline; }
.c-cards b { white-space: nowrap; }
.c-editorial { grid-template-columns: .85fr 1.15fr; align-items: start; }
.c-editorial p + a { display: inline-block; margin-top: 16px; }
.c-editorial p + p, .c-editorial h2 + p { margin-top: 12px; }
.c-intro { padding-block: clamp(38px,6vw,85px); }
.c-services ul { padding-left: 19px; }
.c-services li + li { margin-top: 8px; }
.c-faq details { border-bottom: 1px solid var(--border); }
.c-faq details:first-of-type { border-top: 1px solid var(--border); }
.c-faq summary { cursor: pointer; font-size: 1.08rem; padding-block: 13px; font-weight: 650; }
.c-faq details p { margin-bottom: 16px; }
.c-calculator-layout, .c-book-layout { grid-template-columns: 1.2fr .8fr; align-items: start; border-top: 1px solid var(--border); }
.c-calculator fieldset { border: none; margin: 0; min-width: 0; padding: 0; }
.c-calculator fieldset + fieldset { margin-top: 29px; }
.c-calculator legend { font-size: 1.28rem; font-weight: 650; margin-bottom: 13px; }
.c-fields { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 10px; }
.c-fields label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); }
.c-fields select, .c-fields input {
  width: 100%; font: inherit; color: var(--ink); background: white; padding: 10px; border: 1px solid var(--border); border-radius: 7px;
}
.c-addons label, .c-total-box dl div { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--border); }
.c-addons label { cursor: pointer; }
.c-addons input { accent-color: var(--leaf); width: 18px; height: 18px; }
.c-addons b, .c-total-box dd { margin-left: auto; white-space: nowrap; }
.c-total-box, .c-book-aside { padding: clamp(22px,3.4vw,40px); border-radius: 24px; background: var(--tint); }
.c-total-box h2, .c-book-aside h2 { font-size: 2rem; }
.c-total-box dl { margin-top: 18px; }
.c-total-box output { display: block; margin: 15px 0; font-size: clamp(1.5rem,3vw,2.4rem); font-weight: 600; letter-spacing: -.04em; }
.c-process { grid-template-columns: .85fr 1.15fr; }
.c-process img { width: 100%; aspect-ratio: .96; border-radius: 70px 15px 70px 15px; }
.c-process ol { padding-left: 1.5em; }
.c-process li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.c-process li::marker { font-weight: 650; }
.c-process li h2 { font-size: 1.75rem; padding-bottom: 5px; }
.c-book-aside p { margin: 12px 0; }
.c-book-main { min-width: 0; }
.c-carry { background: var(--accent); border-radius: 7px; padding: 10px 15px; margin-bottom: 14px; color: var(--ink); }
.c-footer { background: #233f32; color: #edf7ee; font-size: .9rem; }
.c-footer .c-wrap { padding-block: 22px; }
.c-footer p { font-weight: 650; }
.c-footer p span { color: #add0ac; margin: 0 3px; }
@media(max-width:780px) {
  .c-reveal-grid { grid-template-columns: 1fr; }
  .c-reveal-frame { min-height: 290px; }
  .c-hero { grid-template-columns: 1fr .8fr; gap: 18px; }
  .c-big { aspect-ratio: .77; border-radius: 60px 10px 55px 10px; }
  .c-cards { grid-template-columns: 1fr; }
  .c-editorial, .c-process, .c-book-layout, .c-calculator-layout { grid-template-columns: 1fr; }
  .c-process img { max-height: 300px; aspect-ratio: 2; }
}
@media(max-width:580px) {
  .c-reveal-frame { aspect-ratio: .95; min-height: 0; border-radius: 55px 9px 55px 9px; box-shadow: 8px 8px 0 #355b45; }
  .c-reveal-actions button { flex: 1 1 150px; }
  .c-hero { grid-template-columns: 1fr; }
  .c-big { aspect-ratio: 1.67; }
  .c-small { width: 30%; aspect-ratio: 1.22; }
  .c-header { gap: 10px; padding-block: 12px; }
  .c-header nav { gap: 6px 13px; }
  .c-header nav a:last-child { padding: 3px 10px; }
  .c-header nav a { font-size: .9rem; }
  .c-hero-copy > p:not(.c-overline) { margin-top: 14px; }
  .c-actions { margin-top: 17px; }
  .c-fields { grid-template-columns: 1fr; }
}
