:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --ink: #152d27;
  --muted: #4b5c54;
  --pine: #184937;
  --line: #d7dfd4;
  --heading: Georgia, 'Times New Roman', serif;
  --text: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--text); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #bf6d29; outline-offset: 5px; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
.wrap { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; top: 0; left: 1rem; z-index: 2; background: white; padding: .65rem 1rem; transform: translateY(-120%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.3rem; font-weight: 750; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand > span:last-child { color: var(--pine); }
.brand-mark { display: inline-grid; width: 1.45em; height: 1.45em; grid-template-columns: 1fr 1fr; gap: 2px; flex: none; margin-right: .2em; }
.brand-mark i { background: var(--pine); border-radius: 2px; }
.brand-mark i:nth-child(1) { border-radius: 65% 3px 3px 3px; }
.brand-mark i:nth-child(2) { background: #7f9d80; border-radius: 3px 65% 3px 3px; }
.brand-mark i:nth-child(3) { background: #7f9d80; border-radius: 3px 3px 3px 65%; }
.brand-mark i:nth-child(4) { border-radius: 3px 3px 65% 3px; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); font-size: .9rem; }
.site-header a:not(.brand), .footer a { text-decoration: none; }
.site-header a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.login { border: 1px solid #b9c8b9; border-radius: .45rem; padding: .5rem .85rem; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.login span { margin-left: .3rem; }

.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: center; gap: clamp(2rem, 5.5vw, 5rem); padding-block: clamp(4rem, 8vw, 8rem); }
.eyebrow { color: var(--pine); font-size: .68rem; line-height: 1.5; font-weight: 800; letter-spacing: .13em; }
h1, h2 { font-family: var(--heading); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
h1 { max-width: 9.5ch; font-size: clamp(3.6rem, 7vw, 6.6rem); margin-block: 1rem 1.25rem; }
h1 em { color: var(--pine); }
h2 { font-size: clamp(2.55rem, 5vw, 4.25rem); }
.lede { max-width: 37ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.13rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.35rem; margin-top: 1.85rem; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .78rem 1rem; border-radius: .45rem; font-size: .92rem; font-weight: 750; text-decoration: none; }
.button-primary { background: var(--pine); color: white; }
.button-primary:hover { background: #0d3527; }
.text-link { color: var(--pine); font-weight: 730; font-size: .88rem; text-underline-offset: .25em; }

.product-figure { padding: clamp(.65rem, 2vw, 1.45rem); border: 1px solid #cbd7c7; border-radius: 1.15rem; background: #e6ecdf; min-width: 0; }
.calendar { overflow: hidden; border-radius: .7rem; background: #fff; border: 1px solid #d7e0d3; box-shadow: 0 .7rem 1.6rem #26433115; font-size: .75rem; }
.calendar-top, .calendar-title, .calendar-footer { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.calendar-top { padding: .7rem .85rem; border-bottom: 1px solid #e4e9e2; background: #f9fbf7; }
.calendar-brand { display: flex; align-items: center; font-weight: 800; }
.calendar-label { color: var(--muted); font-size: .65rem; }
.calendar-body { padding: 1rem .85rem 0; }
.calendar-title { margin-bottom: .9rem; }
.calendar-title > div > span { color: var(--muted); font-size: .59rem; font-weight: 700; letter-spacing: .12em; }
.calendar-title strong { display: block; font-size: clamp(.82rem, 1.5vw, 1.12rem); line-height: 1.25; }
.calendar-range { padding: .15rem .45rem; border: 1px solid var(--line); border-radius: .3rem; font-size: .63rem; white-space: nowrap; }
.calendar-grid { border: 1px solid var(--line); border-radius: .4rem; overflow: hidden; }
.calendar-dates { display: grid; grid-template-columns: minmax(5.25rem, 23%) repeat(7, minmax(0, 1fr)); background: #f6f8f3; }
.calendar-dates span { padding: .32rem 0; color: var(--muted); font-size: clamp(.52rem, 1vw, .65rem); text-align: center; }
.calendar-dates span:first-child { text-align: left; padding-left: .4rem; align-self: center; font-weight: 700; }
.calendar-dates b { display: block; color: var(--ink); font-size: .75rem; }
.calendar-row { display: grid; grid-template-columns: minmax(5.25rem, 23%) 1fr; border-top: 1px solid #e2e8df; }
.property { display: flex; align-items: center; padding: .25rem .4rem; font-size: clamp(.58rem, 1vw, .72rem); font-weight: 750; line-height: 1.2; }
.track { min-height: 2.45rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; background: repeating-linear-gradient(to right, #e6ebe4 0 1px, transparent 1px calc(100% / 7)); }
.booking { margin-inline: .15rem; padding: .2rem .28rem; border-radius: .22rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 750; font-size: clamp(.49rem, .95vw, .68rem); color: #194a38; background: #daebdf; }
.booking-one { grid-column: 1 / 4; }
.booking-two { grid-column: 5 / 8; background: #e0eaf1; color: #274a65; }
.booking-three { grid-column: 2 / 4; background: #f4e9cc; color: #65491d; }
.booking-four { grid-column: 5 / 8; }
.booking-five { grid-column: 3 / 7; }
.calendar-footer { justify-content: flex-start; flex-wrap: wrap; gap: .35rem .7rem; color: var(--muted); padding: .75rem .9rem; font-size: .62rem; }
.calendar-footer i { display: inline-block; width: .48rem; height: .48rem; border-radius: 50%; margin-right: .13rem; background: #568f69; }
.calendar-footer span:nth-child(2) i { background: #a67c32; }
.calendar-footer span:nth-child(3) i { background: #547d9a; }
figcaption { text-align: center; margin-top: .65rem; color: var(--muted); font-size: .69rem; }

.product-section { background: #eef1e8; border-block: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-intro h2, .widget-section h2 { margin-top: .65rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); margin-top: 2rem; }
.features article { border-top: 1px solid #bdc9ba; padding-top: 1.05rem; }
.feature-icon { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; border-radius: .38rem; background: #dce7d9; color: var(--pine); font-weight: 800; }
.features h3 { margin-top: .65rem; font-size: 1.02rem; line-height: 1.3; }
.features p { margin-top: .3rem; color: var(--muted); font-size: .91rem; }

.widget-section { display: grid; grid-template-columns: 1fr minmax(0, .9fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3.5rem, 8vw, 6.75rem); }
.widget-section h2 { max-width: 14ch; }
.widget-section h2 + p { margin-top: 1rem; max-width: 43ch; color: var(--muted); }
.widget-preview { background: #fff; border: 1px solid var(--line); border-radius: .9rem; padding: clamp(1rem, 4vw, 2rem); box-shadow: 0 .75rem 2.5rem #2337250c; }
.widget-heading { margin-block: .35rem .85rem; font: 500 clamp(1.25rem, 2.5vw, 1.85rem)/1.2 var(--heading); }
.widget-preview dl { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: .45rem; }
.widget-preview dl div { padding: .45rem .55rem; }
.widget-preview dl div + div { border-left: 1px solid var(--line); }
.widget-preview dt { font-size: .65rem; color: var(--muted); }
.widget-preview dd { font-weight: 750; font-size: .82rem; }
.sample-button { display: flex; justify-content: space-between; margin-top: .8rem; background: #e9efe6; border-radius: .4rem; padding: .42rem .65rem; color: var(--pine); font-weight: 700; font-size: .8rem; }

.demo-section { background: #163c30; color: white; }
.demo-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem); }
.demo-inner h2 { max-width: 19ch; }
.demo-inner p { margin-top: .8rem; color: #dce9e0; }
.demo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; flex: none; }
.button-light { background: #e3efdb; color: #17382b; }
.button-light:hover { background: white; }
.demo-actions > span { font-size: .82rem; color: #dce9e0; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.3rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 850px) {
  .wrap { width: min(1200px, calc(100% - 3rem)); }
  .hero { grid-template-columns: 1fr; }
  h1 { max-width: 13ch; }
  .product-figure { width: min(100%, 610px); }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; gap: .5rem 1rem; flex-wrap: wrap; padding-block: .65rem; }
  .site-header nav { order: 1; width: 100%; }
  .hero { padding-block: 3rem; }
  .hero-actions { gap: .65rem .9rem; }
  .calendar-body { padding-inline: .45rem; }
  .widget-section { grid-template-columns: 1fr; }
  .demo-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  h1 { font-size: 3rem; }
  .calendar-dates, .calendar-row { grid-template-columns: 4.6rem repeat(7, minmax(0, 1fr)); }
  .calendar-row .track { grid-column: 2 / -1; }
}
