:root {
  color-scheme: light;
  --paper: #f4f5ef;
  --card: #fffefa;
  --ink: #202923;
  --muted: #535f56;
  --green: #284b39;
  --line: #d9ded4;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #557d65; outline-offset: 5px; }

.wrap { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.site-header { min-height: 5.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; color: var(--green); font: 600 1.6rem/1 Georgia, serif; letter-spacing: -.065em; text-decoration: none; }
.brand-mark { width: 1.6rem; height: 1.6rem; border-radius: .43rem; position: relative; display: inline-block; background: var(--green); flex: none; }
.brand-mark::before { content: ""; width: .85rem; height: .78rem; border: 1px solid #f4f5ef; border-radius: .14rem; position: absolute; inset: .42rem .39rem; }
.brand-mark::after { content: ""; position: absolute; inset: .65rem .43rem auto; height: 1px; background: #f4f5ef; }
.section-link { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--green); }
.section-link:hover { text-decoration: underline; text-underline-offset: .26rem; }

.hero { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 2.4rem; padding-block: 4.55rem 4.25rem; }
.hero-copy h1 { font-size: clamp(3.45rem, 5.85vw, 6.25rem); line-height: 1.08; letter-spacing: -.085em; font-weight: 760; color: #243d30; }
.hero-copy p { margin-top: 1.5rem; max-width: 26rem; font-size: clamp(1rem, 1.65vw, 1.16rem); line-height: 1.75; color: var(--muted); word-break: keep-all; }
.downloads { margin-top: 2.15rem; display: flex; flex-direction: column; align-items: flex-start; gap: .74rem; }
.download-main { display: inline-flex; align-items: center; justify-content: center; padding: .94rem 1.33rem; min-height: 3.45rem; border: 1px solid var(--green); border-radius: .62rem; background: var(--green); color: #fff; text-decoration: none; font-weight: 690; cursor: pointer; }
a.download-main:hover, button.download-main:hover:not(:disabled) { background: #173a29; }
.download-main.is-disabled, .download-main:disabled { background: #dfE5da; border-color: #d0d9ca; color: #46574a; cursor: default; }
.download-secondary { padding: .2rem .2rem; margin-left: .14rem; color: var(--muted); font-size: .88rem; }
a.download-secondary { text-decoration-thickness: 1px; text-underline-offset: .2rem; }
a.download-secondary:hover { color: #253b2d; }

.product-preview { min-width: 0; position: relative; isolation: isolate; min-height: 28rem; padding: 2rem 2.1rem 2.2rem; background: #e5eae0; border-radius: 1.32rem; }
.preview-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(ellipse at 85% 94%, #bbcbbd 0, transparent 65%), radial-gradient(ellipse at 0 0, #f0f2e9 0, transparent 68%); }
.calendar-preview { min-width: 0; padding: 1.3rem 1.35rem 1.3rem; border: 1px solid #d9e0d5; border-radius: 1rem; background: var(--card); box-shadow: 0 18px 40px #334b351c; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.small-wordmark { color: var(--green); font: 600 1.23rem Georgia, serif; letter-spacing: -.05em; }
.preview-add { color: var(--green); background: #e9efe6; font-size: .875rem; padding: .36rem .55rem; border-radius: .37rem; white-space: nowrap; }
.preview-month { margin-block: .54rem .66rem; font: 500 clamp(3rem, 5vw, 4.4rem)/1 Georgia, serif; letter-spacing: -.07em; color: var(--green); }
.preview-month span { font: 650 .43em/1 system-ui, sans-serif; margin-left: .18em; }
.preview-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-size: .88rem; }
.preview-calendar > span { min-height: 1.8rem; color: var(--muted); }
.preview-calendar > div { min-height: 2.65rem; padding: .43rem .07rem .2rem; border-top: 1px solid #e5e8e0; overflow: hidden; }
.preview-calendar > div i { display: block; overflow: hidden; color: #354b3a; background: #e1ecde; border-radius: .18rem; margin-top: .15rem; padding: .14rem .18rem; white-space: nowrap; text-overflow: ellipsis; font-style: normal; font-size: .76rem; }
.preview-calendar .lilac { background: #eee7f3; color: #534566; }
.preview-calendar .apricot { background: #f2e2d6; color: #6a4835; }
.selected-day { background: #f1f5ec; }
.selected-day b { border-radius: 50%; padding: .16rem .27rem; background: var(--green); color: #fff; }
.routine-preview { position: relative; width: min(86%, 20.5rem); margin: -1.4rem -.5rem 0 auto; padding: 1rem 1.13rem; border: 1px solid #dce3d9; border-radius: .8rem; background: var(--card); box-shadow: 0 .7rem 1.9rem #334b3521; }
.routine-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--green); font-weight: 720; }
.routine-label span + span { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.routine-row { display: grid; grid-template-columns: 1.2rem 1fr auto; align-items: center; gap: .5rem; padding-top: .65rem; font-size: .88rem; }
.routine-row small { font-size: .8rem; color: var(--muted); }
.example-check, .example-timer { display: grid; place-items: center; width: 1.06rem; height: 1.06rem; border: 1px solid #6b8875; color: var(--green); border-radius: 50%; background: #e9efe6; font-size: .75rem; }
.example-timer::after { content: ""; width: .26rem; height: .29rem; border-left: 1px solid var(--green); border-bottom: 1px solid var(--green); transform: translate(.06rem,-.07rem); }
.example-progress { width: calc(100% - 1.7rem); height: .3rem; margin: .54rem 0 0 auto; border-radius: 1rem; background: #e3e9df; }
.example-progress span { width: 60%; height: 100%; display: block; border-radius: inherit; background: #5e8a6d; }
.product-preview figcaption { position: absolute; left: 2.1rem; bottom: .58rem; color: #53645a; font-size: .8rem; }

.features { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2.4rem; border-top: 1px solid var(--line); padding-block: 3.25rem 3.5rem; }
.features h2 { color: var(--green); font-size: clamp(2rem, 3.7vw, 3.15rem); font-weight: 730; line-height: 1.2; letter-spacing: -.07em; }
.feature-list article { display: grid; grid-template-columns: 2.3rem 1fr; gap: .8rem; align-items: start; padding: 1.2rem .2rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.feature-list article:first-child { padding-top: 0; }
.feature-list article:last-child { padding-bottom: 0; border: 0; }
.feature-mark { display: grid; place-items: center; width: 2.14rem; height: 2.14rem; color: var(--green); background: #e4ebe0; border-radius: .5rem; }
.feature-mark::after { content: ""; width: .91rem; height: .86rem; border: 1.5px solid currentColor; }
.calendar-mark::after { border-radius: .15rem; box-shadow: inset 0 .21rem #e4ebe0, inset 0 .29rem currentColor; }
.checklist-mark::after { width: .87rem; height: .51rem; border-width: 0 0 2px 2px; transform: translateY(-.08rem) rotate(-45deg); }
.chart-mark::after { border-width: 0 0 1px; background: linear-gradient(to top, currentColor 58%, transparent 58%) left bottom/.16rem 100% no-repeat, linear-gradient(to top, currentColor 78%, transparent 78%) center bottom/.16rem 100% no-repeat, linear-gradient(currentColor, currentColor) right bottom/.16rem 100% no-repeat; }
.feature-list h3 { font-size: 1.07rem; letter-spacing: -.035em; }
.feature-list p { margin-top: .28rem; color: var(--muted); line-height: 1.68; word-break: keep-all; }
.site-footer { border-top: 1px solid var(--line); min-height: 4rem; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .88rem; }

.recovery-card { width: min(100% - 2rem, 30rem); margin: 4.4rem auto; padding: clamp(1.35rem, 5vw, 2.3rem); background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem; }
.recovery-card h1 { color: var(--green); font-size: clamp(1.65rem, 5vw, 2.25rem); letter-spacing: -.055em; }
.recovery-card form { margin-top: 1.45rem; }
.recovery-card input, .recovery-card button { width: 100%; }
.recovery-card label { display: block; margin: 0 0 .4rem; font-weight: 650; }
.recovery-card input { margin-bottom: 1rem; padding: .75rem; color: var(--ink); background: #fff; border: 1px solid #9ea99e; border-radius: .5rem; }
.recovery-card p { margin-top: 1rem; line-height: 1.65; color: var(--muted); }
.recovery-card p:empty { display: none; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 3rem); }
  .hero, .features { gap: 1.5rem; }
  .hero { padding-block: 3.6rem; }
  .product-preview { min-height: auto; padding: 1.3rem 1.15rem 2.05rem; }
  .calendar-preview { padding: 1.1rem .75rem; }
  .product-preview figcaption { left: 1.15rem; }
  .routine-preview { margin-right: -.2rem; }
}

@media (max-width: 670px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 4.1rem; }
  .hero, .features { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.7rem 2.3rem; gap: 1.9rem; }
  .hero-copy h1 { font-size: clamp(2.85rem, 10.3vw, 4.4rem); }
  .hero-copy p { margin-top: 1.05rem; }
  .downloads { margin-top: 1.6rem; }
  .download-main { min-height: 3.15rem; }
  .product-preview { width: 100%; background-color: #e5eae0; }
  .features { gap: 1.65rem; padding-block: 2.35rem 2.65rem; }
  .recovery-card { margin-block: 2.1rem; }
}

@media (max-width: 360px) {
  .product-preview { padding-inline: .65rem; }
  .preview-header { flex-wrap: wrap; }
  .calendar-preview { padding-inline: .5rem; }
  .feature-list article { grid-template-columns: 2rem 1fr; gap: .65rem; }
  .feature-mark { width: 1.8rem; height: 1.8rem; }
}
