:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Noto Sans Thai", sans-serif;
  color: #192a24;
  background: #f8f9f5;
  --green: #255a49;
  --muted: #526458;
  --line: #dfe7df;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
a { color: var(--green); text-underline-offset: .18em; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.wrap { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
header, footer { background: #fff; }
header { border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 760; }
.brand small { color: var(--muted); font-weight: 550; font-size: .88rem; }
.mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .6rem; background: var(--green); }
.mark i { width: 1rem; height: .9rem; border: 1.5px solid white; border-radius: .16rem; position: relative; }
.mark i::before { content: ""; position: absolute; inset: .18rem 0 auto; border-top: 1px solid white; }
.mark i::after { content: ""; position: absolute; width: .29rem; height: .15rem; border: solid white; border-width: 0 0 1px 1px; transform: rotate(-45deg); left: .27rem; top: .37rem; }
nav { display: flex; gap: .45rem 1rem; flex-wrap: wrap; font-size: .9rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
main { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero { display: grid; align-items: center; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 6vw, 5rem); }
.kicker { color: var(--green); font-weight: 700; margin: 0 0 .45rem; }
h1, h2 { line-height: 1.22; }
h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); margin: 0 0 .7rem; letter-spacing: -.035em; }
h2 { font-size: 1.45rem; margin: 0 0 .6rem; }
.intro { color: var(--muted); font-size: 1.12rem; max-width: 34rem; }
.button { display: inline-flex; background: var(--green); color: white; border-radius: .6rem; padding: .55rem .9rem; text-decoration: none; font-weight: 650; }
.calendar { align-self: center; border: 1px solid var(--line); background: white; border-radius: 1rem; padding: 1.05rem 1.2rem; }
.calendar-top { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.calendar-top span { color: var(--muted); font-size: .9rem; }
.calendar ul { margin: .7rem 0 0; padding: 0; list-style: none; }
.calendar li { display: grid; grid-template-columns: 3.4rem 1fr; align-items: start; gap: .5rem; margin-bottom: .5rem; }
.calendar time { color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .4rem; }
.appointment { display: grid; border-left: 3px solid #4e8465; background: #edf4ed; border-radius: .35rem; padding: .4rem .6rem; }
.appointment.work { border-color: #bb7835; background: #f8eee0; }
.appointment span { color: var(--muted); font-size: .9rem; }
.feature { max-width: 42rem; border-top: 1px solid var(--line); margin-top: 3.2rem; padding-top: 1.5rem; }
.prose { max-width: 45rem; margin-inline: auto; }
.prose h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.prose h2 { margin-top: 1.75rem; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose li + li { margin-top: .45rem; }
@media (max-width: 44rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}
