:root {
    color-scheme: light;
    --paper: #f5f8f7;
    --white: #ffffff;
    --ink: #172a33;
    --muted: #465e67;
    --petrol: #164b54;
    --deep-petrol: #112e3b;
    --accent: #156561;
    --line: #d3dddf;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.06; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; }
h2 { font-size: clamp(2.6rem, 5vw, 4.65rem); }
h3 { font-size: 1.21rem; letter-spacing: -.018em; }
section[id] { scroll-margin-block-start: 1.5rem; }
:focus-visible { outline: 3px solid #27817d; outline-offset: 4px; }

.shell { width: min(100% - 5rem, 77rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 1; background: var(--white); padding: .6rem 1rem; }
.eyebrow { color: var(--accent); font-size: .79rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.top { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-row { min-height: 5rem; }
.brand { display: inline-flex; gap: .55rem; align-items: center; font-size: 1.46rem; font-weight: 750; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); margin-inline-start: -.51rem; }
.brand img { border-radius: .48rem; }
nav { display: flex; align-items: center; gap: clamp(1.05rem, 3vw, 2.45rem); }
nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .3em; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: .62rem 1.15rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-primary { background: var(--petrol); color: var(--white); }
.button-primary:hover { background: #1b626a; }
.button-quiet { border-color: var(--line); color: var(--petrol); background: transparent; }
.button-quiet:hover { background: #e6efee; border-color: #9eb9b8; }
.login { min-height: 2.6rem; padding: .44rem .9rem; font-size: .9rem; white-space: nowrap; }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 6vw, 5.4rem); align-items: center; padding-block: 4.2rem 4.6rem; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(3.2rem, 6.35vw, 6.3rem); margin-block: 1rem 1.45rem; }
.hero-highlight { display: block; color: var(--accent); }
.hero-lead { max-width: 35rem; color: var(--muted); font-size: clamp(1.05rem, 1.9vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.8rem 1.1rem; }
.hero-note { color: var(--muted); font-size: .9rem; }
.hero-visual { position: relative; min-width: 0; aspect-ratio: .94; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 37%; border-radius: 1rem; }
.hero-event {
    position: absolute;
    inset-inline: -1.35rem 1.4rem;
    bottom: 1.65rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .8rem;
    padding: .86rem;
    border: 1px solid #fff9;
    border-radius: .75rem;
    background: var(--white);
    box-shadow: 0 14px 32px #102e3b38;
}
.date-icon { position: relative; display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .55rem; color: var(--accent); background: #e0efed; }
.date-icon span { position: relative; width: 1.2rem; height: 1.06rem; border: 2px solid currentColor; border-radius: .22rem; }
.date-icon span::before { content: ''; position: absolute; inset: .22rem 0 auto; border-top: 2px solid currentColor; }
.event-description { min-width: 0; }
.event-description span { display: block; color: var(--muted); font-size: .84rem; }
.event-state { padding: .31rem .61rem; border-radius: .35rem; color: #355443; background: #e7efe6; font-size: .79rem; font-weight: 650; }

.how-band { background: #e9f0f1; border-block: 1px solid var(--line); }
.how { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(2.1rem, 6vw, 5.3rem); padding-block: 5.2rem; }
.how h2, .section-title h2 { margin-block: .6rem 1rem; }
.section-lead { max-width: 40rem; color: var(--muted); font-size: 1.12rem; }
.steps { margin-top: 1.5rem; }
.steps div { padding: .8rem 0 .76rem; border-top: 1px solid #c9d8da; }
.steps dt { color: var(--deep-petrol); font-weight: 700; }
.steps dd { color: var(--muted); margin-top: .16rem; }
.calendar { min-width: 0; padding: clamp(1rem, 3vw, 1.65rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: 0 19px 42px #18354216; }
.calendar-top { display: flex; align-items: end; justify-content: space-between; gap: .5rem; margin-bottom: 1.3rem; }
.sample-label, .calendar-range, .calendar figcaption { color: var(--muted); font-size: .82rem; }
.calendar h3 { margin-top: .38rem; font-size: 1.48rem; }
.calendar-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; align-items: stretch; }
.calendar-grid > strong { padding: .35rem .45rem; font-size: .88rem; }
.calendar-grid time { align-self: center; color: var(--muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.slot { display: grid; align-content: center; min-height: 3.65rem; padding: .42rem .58rem; border: 1px solid transparent; border-radius: .5rem; font-size: .91rem; line-height: 1.3; overflow-wrap: anywhere; }
.slot b { font-weight: 650; }
.slot small { color: var(--muted); font-size: .77rem; margin-top: .1rem; }
.slot.confirmed { background: #dcefeb; color: #184c48; }
.slot.pending { background: #e2ebf5; color: #294b68; }
.slot.blocked { background: #f2ebdd; color: #5d4b2f; }
.slot.open { border-color: var(--line); border-style: dashed; color: var(--muted); }
.calendar figcaption { margin-top: 1.05rem; }

.features { padding-block: 5rem 5.4rem; }
.section-title { max-width: 49rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 4vw, 3.25rem); margin-top: 2rem; }
.feature-grid article { padding-block: 1.45rem 1.3rem; border-top: 1px solid var(--line); }
.feature-grid h3 { color: var(--deep-petrol); margin-bottom: .5rem; }
.feature-grid p { color: var(--muted); }

.pricing-band { background: var(--deep-petrol); color: var(--white); }
.pricing { padding-block: 5.1rem 5.5rem; }
.pricing .eyebrow { color: #a5dbd2; }
.pricing .section-lead, .pricing-notice { color: #d8e6e9; }
.pricing-notice { margin-top: 1.4rem; font-size: .95rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.plan, .pricing-state { background: var(--white); border: 1px solid var(--line); border-radius: .85rem; padding: 1.5rem; color: var(--ink); }
.plan { display: flex; flex-direction: column; min-width: 0; }
.plan h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin-block: .7rem 1.1rem; }
.plan-price strong { font-family: var(--serif); font-weight: 400; font-size: 2.35rem; line-height: 1.13; color: var(--petrol); }
.plan-price span { color: var(--muted); }
.plan .button { align-self: start; }
.plan ul { list-style: none; padding: 1rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.plan li { position: relative; padding-inline-start: 1.15rem; overflow-wrap: anywhere; }
.plan li + li { margin-top: .6rem; }
.plan li::before { position: absolute; inset: .38em auto auto 0; content: ''; width: .44em; height: .65em; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan li small { display: block; color: var(--muted); }
.pricing-state { max-width: 36rem; margin-top: 1.9rem; }
.pricing-state p { margin-block: .5rem 1rem; color: var(--muted); }

.faq { display: grid; grid-template-columns: .78fr 1.22fr; gap: 3.5rem; padding-block: 5.2rem; }
.faq-items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding: 1.1rem 0; }
.faq summary::marker { color: var(--accent); }
.faq details p { padding: 0 .5rem 1.1rem 1.08rem; color: var(--muted); }
footer { border-top: 1px solid var(--line); }
.footer-row { min-height: 5.1rem; }
.footer-row > span { font-size: .9rem; color: var(--muted); }

@media (max-width: 60rem) {
    .shell { width: min(100% - 3rem, 77rem); }
    .hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
    .hero, .how { gap: 2.2rem; }
    .hero-event { inset-inline: .75rem; bottom: .75rem; }
    .hero-visual { aspect-ratio: .8; }
}
@media (max-width: 47rem) {
    .nav-wide { display: none; }
    .hero, .how, .faq { grid-template-columns: 1fr; }
    .hero, .how, .features, .pricing, .faq { padding-block: 3.5rem; }
    .hero-visual { max-width: 34rem; width: 100%; aspect-ratio: 1.13; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq { gap: 1.2rem; }
    .footer-row { flex-wrap: wrap; padding-block: 1.05rem; }
    .footer-row > span { order: 1; width: 100%; }
}
@media (max-width: 30rem) {
    .shell { width: calc(100% - 2rem); }
    .header-row { min-height: 4rem; gap: .65rem; }
    .brand { font-size: 1.25rem; gap: .35rem; }
    .brand img { width: 1.75rem; height: 1.75rem; }
    .brand span { margin-inline-start: -.29rem; }
    .login { font-size: .81rem; padding-inline: .58rem; }
    .hero { padding-top: 2.6rem; }
    .hero h1 { font-size: clamp(2.75rem, 11vw, 3.4rem); }
    .hero-visual { aspect-ratio: .98; }
    .hero-event { gap: .55rem; padding: .62rem; }
    .date-icon { display: none; }
    .hero-event { grid-template-columns: 1fr auto; }
    .event-description strong { font-size: .91rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .calendar-grid { gap: .32rem; }
    .slot { padding-inline: .35rem; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
