@font-face {
  font-family: Nunito;
  src: url("/assets/nunito194-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --white: #fffefa;
  --ink: #1d3129;
  --muted: #50665a;
  --forest: #164c3a;
  --forest-dark: #143b30;
  --mint: #e2efe5;
  --line: #cfdbcf;
  --light-text: #e2efe5;
  font: 1rem/1.6 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .14em; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #aa5a15; outline-offset: 3px; }
section[id], article[id], details[id] { scroll-margin-top: 5.75rem; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 1rem; top: .8rem; transform: translateY(-160%); background: var(--white); padding: .6rem 1rem; }
.skip:focus { transform: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: Nunito, system-ui, sans-serif; font-weight: 800; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.1vw, 4.65rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.34rem, 2.5vw, 1.75rem); letter-spacing: -.025em; }
h4, h5 { font-size: 1rem; line-height: 1.4; }
.top { position: sticky; top: 0; z-index: 2; background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner, .footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; min-height: 4rem; }
.top nav, .hero-actions, .demo-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.top nav a { display: grid; min-height: 44px; align-items: center; font-weight: 650; }
.brand { display: flex; align-items: center; gap: .55rem; font-size: 1.35rem; text-decoration: none; }
.brand img { flex: 0 0 36px; }
.hero { background: var(--forest-dark); color: var(--white); padding: clamp(2rem, 6vw, 5rem) 0; }
.hero-inner { display: grid; align-items: center; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.hero p { color: var(--light-text); font-size: clamp(1rem, 1.8vw, 1.22rem); margin-top: 1rem; max-width: 43ch; }
.hero-actions { margin-top: 1.5rem; gap: .65rem; }
.hero .button.primary { background: #d8efd1; color: var(--forest-dark); }
.hero .ghost { color: var(--white); border-color: #9cbeae; }
.hero .button:hover, .hero .button.primary:hover { background: #f1fae8; color: var(--forest-dark); }
.hero figcaption { color: var(--light-text); }
.hero .shot { border: 1px solid #6f9180; }
.section { padding-block: clamp(2.6rem, 5.5vw, 4.5rem); }
.intro { margin-top: .5rem; color: var(--muted); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .52rem .9rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 700; line-height: 1.25; text-decoration: none; text-align: center; }
.button.primary { background: var(--forest); color: var(--white); }
.button.primary:hover { background: var(--forest-dark); }
.button.secondary { background: var(--white); color: var(--forest); border-color: var(--line); }
.button.secondary:hover { background: var(--mint); }
.demo-nav { gap: .45rem; margin-block: 1.3rem .9rem; scroll-margin-top: 5rem; }
.demo-nav a { display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .42rem .85rem; text-decoration: none; border: 1px solid var(--line); background: var(--white); border-radius: .65rem; font-weight: 700; }
.demo-nav a:hover { background: var(--mint); }
.demo-nav a[aria-current="true"] { background: var(--forest); color: var(--white); border-color: var(--forest); }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 4vw, 2.75rem); padding: clamp(1rem, 3.2vw, 2.3rem); border: 1px solid var(--line); border-radius: 1.25rem; background: var(--white); }
.demo + .demo { margin-top: .9rem; }
.demo-intro p { margin-block: .7rem 1rem; }
.demo-intro figure { margin-bottom: .8rem; }
.shot { width: 100%; display: block; border: 1px solid var(--line); background: var(--white); border-radius: .7rem; overflow: hidden; padding: 0; cursor: zoom-in; }
.shot img { width: 100%; object-fit: cover; object-position: top; }
.demo-intro .shot img { aspect-ratio: 16 / 9; }
figcaption { margin-top: .38rem; font-size: .85rem; color: var(--muted); }
.simulator { position: relative; align-self: start; padding: clamp(.85rem, 3vw, 1.5rem); border-radius: .95rem; border: 1px solid var(--line); background: var(--mint); min-width: 0; }
.simulator h4 { margin-block: .7rem .45rem; font-size: 1.2rem; overflow-wrap: anywhere; }
.simulator h5 { margin-bottom: .35rem; }
.simulator input:not([type="checkbox"], [type="radio"]), select, .catalog-search input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #8da597; border-radius: .55rem; background: var(--white); color: var(--ink); padding: .4rem .65rem; }
label, legend { display: block; margin-bottom: .22rem; font-weight: 680; }
.form-line { display: flex; align-items: stretch; gap: .5rem; flex-wrap: wrap; }
.form-line input { flex: 1 1 10rem; }
.list-groups, .demo-calendar-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: .8rem; }
.list-groups section, .demo-calendar-results section { border-radius: .65rem; padding: .6rem; background: var(--white); }
.list-groups ul, .trip-links { padding: 0; margin: 0; list-style: none; }
.list-groups li label, .checks label { display: flex; gap: .5rem; min-height: 44px; align-items: center; margin: 0; overflow-wrap: anywhere; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--forest); width: 1.1rem; height: 1.1rem; flex: none; }
.list-groups li.empty { color: var(--muted); font-size: .9rem; }
.result { margin-block: .75rem .45rem; color: var(--forest-dark); overflow-wrap: anywhere; }
fieldset { margin: 0 0 .65rem; padding: 0; border: 0; min-inline-size: 0; }
.dates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
.dates label { position: relative; margin-bottom: 0; }
.dates input { position: absolute; opacity: 0; top: 50%; left: 50%; margin: 0; }
.dates span { display: grid; justify-items: center; min-height: 52px; border: 1px solid #8da597; border-radius: .58rem; background: var(--white); padding: .35rem 0; font-size: .83rem; cursor: pointer; }
.dates input:checked + span { background: var(--forest); color: var(--white); border-color: var(--forest); }
.dates input:focus-visible + span { outline: 3px solid #aa5a15; outline-offset: 2px; }
.dates strong { font-size: 1.05rem; }
#calendar-fields .button, #party-form .button { margin-top: .65rem; }
.demo-calendar-results p { overflow-wrap: anywhere; }
.mini-trip { display: flex; align-items: center; gap: .65rem; margin-bottom: .8rem; border-bottom: 1px solid #adc5b5; padding-bottom: .7rem; }
.mini-trip > span { font-size: 1.8rem; }
.mini-trip h4 { margin: 0; }
.mini-trip p { color: var(--muted); }
.checks { margin-top: .55rem; }
.trip-links { display: grid; gap: .4rem; }
.trip-links li { padding: .65rem; border-radius: .55rem; background: var(--white); }
.trip-links strong { display: block; }
.connections { background: #e9eee2; border-block: 1px solid var(--line); }
.flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.1rem; }
.flow-grid a { display: grid; gap: .32rem; align-content: start; text-decoration: none; padding: .9rem; border-radius: .85rem; border: 1px solid var(--line); background: var(--white); }
.flow-grid a:hover { border-color: var(--forest); }
.flow-grid a > span { font-size: 1.5rem; }
.flow-grid strong { line-height: 1.35; }
.flow-grid small { color: var(--muted); font-size: .89rem; }
.catalog-head { display: grid; grid-template-columns: 1fr minmax(16rem, .55fr); gap: 1rem; align-items: start; }
.catalog-search p { font-size: .88rem; color: var(--muted); min-height: 1.45em; margin-top: .2rem; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.5rem; margin-top: 1rem; }
.topic-group h3 { margin-bottom: .65rem; }
.topic-group details { background: var(--white); border: 1px solid var(--line); border-radius: .75rem; margin-bottom: .45rem; }
.topic-group summary { display: flex; gap: .55rem; align-items: center; min-height: 48px; padding: .6rem .75rem; font-weight: 720; line-height: 1.35; list-style: none; }
.topic-group summary::-webkit-details-marker { display: none; }
.topic-group summary::after { content: "+"; flex: none; margin-left: auto; font-size: 1.2rem; color: var(--forest); }
.topic-group details[open] > summary::after { content: "−"; }
.topic-group details > div { padding: .05rem .85rem .85rem; }
.topic-group details p + p, .topic-group li + li { margin-top: .4rem; }
.topic-group details :is(ul, ol) { margin-block: .35rem .65rem; padding-left: 1.5rem; }
.topic-group details div > a { display: inline-block; margin-top: .45rem; font-weight: 700; }
.footer { background: var(--forest-dark); padding-block: .65rem; }
.footer a { color: var(--white); }
dialog { padding: .65rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--white); max-width: min(94vw, 76rem); color: var(--ink); }
dialog::backdrop { background: #14251dc9; }
dialog form { display: flex; justify-content: flex-end; margin-bottom: .55rem; }
dialog img { max-height: 77vh; object-fit: contain; }

@media (max-width: 850px) {
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 1.5rem); }
  .hero-inner, .demo, .topics, .catalog-head { grid-template-columns: minmax(0, 1fr); }
  .top-inner { gap: .5rem; }
  .top nav { gap: .55rem; font-size: .88rem; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 30px; flex-basis: 30px; }
}
@media (max-width: 370px) {
  .list-groups, .demo-calendar-results, .flow-grid { grid-template-columns: minmax(0, 1fr); }
  .top nav { gap: .4rem; }
}
