/*! Neural Draft site kit — /_nd/kit.css
 *  A small design system for pages published with publish_site_page. Every colour, font and
 *  radius comes from the workspace brand through CSS variables set by the page layout:
 *  --nd-primary --nd-on-primary --nd-accent --nd-bg --nd-surface --nd-text --nd-muted --nd-link
 *  --nd-line --nd-radius --nd-font-head --nd-font-body --nd-width
 *  Page CSS loads after this file, so a page can override anything.
 *  Reference: site_info action design_kit.
 */

/* ---- tokens ------------------------------------------------------------------------------ */
:where(:root) {
  --nd-on-primary: #fff;
  --nd-accent: var(--nd-primary);
  --nd-primary-soft: color-mix(in srgb, var(--nd-primary) 9%, var(--nd-bg));
  --nd-primary-tint: color-mix(in srgb, var(--nd-primary) 16%, var(--nd-bg));
  --nd-sunken: color-mix(in srgb, var(--nd-text) 4%, var(--nd-bg));
  --nd-line: color-mix(in srgb, var(--nd-text) 12%, transparent);
  --nd-line-strong: color-mix(in srgb, var(--nd-text) 22%, transparent);
  --nd-dark-bg: color-mix(in srgb, var(--nd-primary) 22%, #0e0f12);
  --nd-dark-text: #f4f2ee;

  /* fluid type scale (≈ 1.2 at 360px → 1.28 at 1440px) */
  --nd-step--2: clamp(.78rem, .76rem + .08vw, .82rem);
  --nd-step--1: clamp(.86rem, .84rem + .1vw, .92rem);
  --nd-step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --nd-step-1: clamp(1.2rem, 1.13rem + .3vw, 1.38rem);
  --nd-step-2: clamp(1.44rem, 1.3rem + .6vw, 1.78rem);
  --nd-step-3: clamp(1.73rem, 1.48rem + 1.1vw, 2.35rem);
  --nd-step-4: clamp(2.07rem, 1.65rem + 1.9vw, 3.15rem);
  --nd-step-5: clamp(2.45rem, 1.8rem + 3vw, 4.3rem);
  --nd-step-6: clamp(2.9rem, 1.9rem + 4.6vw, 5.8rem);

  /* spacing (4px base) */
  --nd-space-3xs: 4px; --nd-space-2xs: 8px; --nd-space-xs: 12px; --nd-space-s: 16px;
  --nd-space-m: 24px; --nd-space-l: 32px; --nd-space-xl: 48px; --nd-space-2xl: 64px; --nd-space-3xl: 96px;
  --nd-section: clamp(64px, 5rem + 4vw, 136px);
  --nd-gutter: clamp(20px, 4vw, 40px);
  --nd-container: max(var(--nd-width, 1200px), 1200px);

  --nd-radius-s: min(var(--nd-radius, 10px), 8px);
  --nd-radius-m: var(--nd-radius, 10px);
  --nd-radius-l: calc(var(--nd-radius, 10px) * 1.6);
  --nd-radius-xl: calc(var(--nd-radius, 10px) * 2.4);
  --nd-shadow-s: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .05);
  --nd-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 28px -8px rgba(16, 24, 40, .14);
  --nd-shadow-l: 0 2px 4px rgba(16, 24, 40, .04), 0 24px 56px -12px rgba(16, 24, 40, .22);
  --nd-ease: cubic-bezier(.22, .61, .36, 1);
  --nd-dur: .22s;
}

/* ---- base ---------------------------------------------------------------------------------- */
html { scroll-padding-top: 88px; }
body { font-size: var(--nd-step-0); line-height: 1.65; }
:where(h1, h2, h3, h4) { text-wrap: balance; font-weight: 600; letter-spacing: -.015em; }
:where(h1) { font-size: var(--nd-step-5); line-height: 1.05; letter-spacing: -.025em; }
:where(h2) { font-size: var(--nd-step-4); line-height: 1.1; letter-spacing: -.02em; }
:where(h3) { font-size: var(--nd-step-1); line-height: 1.25; }
:where(h4) { font-size: var(--nd-step-0); line-height: 1.3; }
:where(p, li) { text-wrap: pretty; }
:where(img, picture, video) { display: block; max-width: 100%; height: auto; }
:where(picture img) { width: 100%; }
:where(a) { transition: color var(--nd-dur) var(--nd-ease); }
::selection { background: color-mix(in srgb, var(--nd-primary) 25%, transparent); }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--nd-primary); outline-offset: 3px; border-radius: 4px; }
.nd-page { overflow-x: clip; }

/* ---- layout -------------------------------------------------------------------------------- */
.nd-container, .nd-wrap { width: 100%; max-width: calc(var(--nd-container) + var(--nd-gutter) * 2); margin-inline: auto; padding-inline: var(--nd-gutter); }
.nd-container--narrow { max-width: calc(760px + var(--nd-gutter) * 2); }
.nd-container--wide { max-width: calc(1440px + var(--nd-gutter) * 2); }
.nd-narrow { max-width: calc(760px + var(--nd-gutter) * 2); }
.nd-stack { display: flex; flex-direction: column; gap: var(--nd-gap, var(--nd-space-s)); }
.nd-stack > * { margin: 0; }
.nd-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nd-gap, var(--nd-space-xs)); }
.nd-grid { display: grid; gap: var(--nd-gap, var(--nd-space-m)); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.nd-grid-2, .nd-grid-3, .nd-grid-4 { display: grid; gap: var(--nd-gap, var(--nd-space-m)); grid-template-columns: 1fr; }
@media (min-width: 640px) { .nd-grid-2, .nd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nd-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .nd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nd-split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .nd-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-split--wide-media { grid-template-columns: 1.25fr 1fr; }
  .nd-split--reverse > :first-child { order: 2; }
  .nd-split--top { align-items: start; }
}
.nd-center { text-align: center; margin-inline: auto; }
.nd-center .nd-actions, .nd-center.nd-actions, .nd-center .nd-cluster { justify-content: center; }
.nd-sticky { position: sticky; top: 96px; }

/* ---- sections ------------------------------------------------------------------------------ */
.nd-section { padding-block: var(--nd-section); position: relative; }
.nd-section--tight { padding-block: calc(var(--nd-section) * .6); }
.nd-section--flush-top { padding-top: 0; }
.nd-section--tint { background: var(--nd-primary-soft); }
.nd-section--sunken { background: var(--nd-sunken); }
.nd-section--surface { background: var(--nd-surface); }
.nd-section--dark, .nd-dark { background: var(--nd-dark-bg); color: var(--nd-dark-text); --nd-text: var(--nd-dark-text); --nd-muted: color-mix(in srgb, var(--nd-dark-text) 72%, transparent); --nd-line: rgba(255, 255, 255, .14); --nd-line-strong: rgba(255, 255, 255, .28); --nd-link: var(--nd-dark-text); }
.nd-section:not([class*="nd-section--"]) + .nd-section:not([class*="nd-section--"]) { padding-top: 0; }
.nd-section-head { display: flex; flex-direction: column; gap: var(--nd-space-xs); max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.nd-section-head > * { margin: 0; }
.nd-section-head.nd-center { align-items: center; }
.nd-section-head--split { max-width: none; }
@media (min-width: 900px) { .nd-section-head--split { flex-direction: row; justify-content: space-between; align-items: end; gap: var(--nd-space-xl); } .nd-section-head--split > :first-child { max-width: 640px; } }
.nd-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--nd-font-body); font-size: var(--nd-step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nd-primary); margin: 0 0 4px; }
.nd-dark .nd-eyebrow, .nd-section--dark .nd-eyebrow, .nd-hero--photo .nd-eyebrow { color: inherit; opacity: .85; }
.nd-lead { font-size: var(--nd-step-1); line-height: 1.55; color: var(--nd-muted); max-width: 62ch; }
.nd-muted { color: var(--nd-muted); }
.nd-small { font-size: var(--nd-step--1); }
.nd-display { font-size: var(--nd-step-6); line-height: 1; letter-spacing: -.03em; }
.nd-prose-width { max-width: 68ch; }
.nd-divider { border: 0; border-top: 1px solid var(--nd-line); margin: 0; }

/* ---- buttons ------------------------------------------------------------------------------- */
.nd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 1.4em; border-radius: var(--nd-radius-m); border: 1.5px solid var(--nd-primary); background: var(--nd-primary); color: var(--nd-on-primary); font: 600 var(--nd-step-0)/1.1 var(--nd-font-body); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--nd-dur) var(--nd-ease), box-shadow var(--nd-dur) var(--nd-ease), background-color var(--nd-dur) var(--nd-ease), color var(--nd-dur) var(--nd-ease); box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.nd-btn:hover { filter: none; transform: translateY(-1px); box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--nd-primary) 55%, transparent); background: color-mix(in srgb, var(--nd-primary) 88%, #000); border-color: color-mix(in srgb, var(--nd-primary) 88%, #000); color: var(--nd-on-primary); }
.nd-btn:active { transform: translateY(0); }
.nd-btn--secondary, .nd-btn-ghost { background: transparent; color: var(--nd-text); border-color: var(--nd-line-strong); box-shadow: none; }
.nd-btn--secondary:hover, .nd-btn-ghost:hover { background: color-mix(in srgb, var(--nd-text) 5%, transparent); border-color: var(--nd-text); color: var(--nd-text); box-shadow: none; }
.nd-btn--ghost { background: transparent; border-color: transparent; color: var(--nd-text); box-shadow: none; padding-inline: .6em; }
.nd-btn--ghost:hover { background: color-mix(in srgb, var(--nd-text) 6%, transparent); color: var(--nd-text); border-color: transparent; box-shadow: none; }
.nd-btn--light { background: #fff; border-color: #fff; color: #111; }
.nd-btn--light:hover { background: #f1f1f1; border-color: #f1f1f1; color: #111; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.nd-btn--outline-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.nd-btn--outline-light:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; box-shadow: none; }
.nd-btn--lg { min-height: 56px; padding-inline: 1.7em; font-size: var(--nd-step-1); border-radius: var(--nd-radius-l); }
.nd-btn--sm { min-height: 40px; padding-inline: 1em; font-size: var(--nd-step--1); }
.nd-btn--block { width: 100%; }
.nd-btn svg { width: 1.1em; height: 1.1em; flex: none; }
.nd-link { min-height: 44px; font-weight: 600; color: var(--nd-text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--nd-line-strong); padding-bottom: 2px; }
.nd-link:hover { border-color: var(--nd-primary); color: var(--nd-primary); }
.nd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--nd-space-l); }
@media (max-width: 479px) { .nd-actions > .nd-btn { flex: 1 1 100%; } }

/* ---- header (default header and custom _header pages) -------------------------------------- */
.nd-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--nd-header-bg-solid, var(--nd-bg)) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--nd-line); }
.nd-header .nd-wrap { min-height: 72px; gap: 28px; }
.nd-brand { font-size: var(--nd-step-1); letter-spacing: -.01em; min-height: 44px; }
.nd-brand img { max-height: 40px; }
.nd-nav { gap: 6px 26px; }
.nd-nav a { font-size: var(--nd-step--1); font-weight: 500; opacity: .78; text-decoration: none; padding: 6px 0; }
.nd-nav a:hover, .nd-nav a[aria-current] { opacity: 1; text-decoration: none; }
.nd-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--nd-primary); }
.nd-nav a.nd-btn { opacity: 1; padding: 0 1.1em; min-height: 42px; color: var(--nd-on-primary); box-shadow: none; }
.nd-langs { gap: 2px; padding: 3px; border: 1px solid var(--nd-line); border-radius: 999px; font-size: var(--nd-step--2); letter-spacing: .06em; }
.nd-langs a { padding: 5px 9px; border-radius: 999px; opacity: .7; text-decoration: none; color: inherit; border: 0; }
.nd-langs a[aria-current] { opacity: 1; background: var(--nd-text); color: var(--nd-bg); border: 0; font-weight: 600; }
@media (max-width: 760px) {
  .nd-header .nd-wrap { min-height: 64px; }
  .nd-menu summary { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nd-line-strong); font-weight: 600; font-size: var(--nd-step--1); }
  .nd-header .nd-nav { padding: 8px 0 20px; gap: 4px; }
  .nd-header .nd-nav a { font-size: var(--nd-step-1); padding: 10px 0; width: 100%; border-bottom: 1px solid var(--nd-line); }
  .nd-header .nd-nav a.nd-btn { justify-content: center; margin-top: 12px; border-bottom: 0; color: var(--nd-on-primary); }
  .nd-header .nd-nav .nd-langs { margin-top: 12px; }
  .nd-header .nd-nav .nd-langs a { width: auto; border-bottom: 0; font-size: var(--nd-step--1); padding: 8px 12px; }
}
/* a header that floats over a photo hero (add class nd-header--overlay on a custom _header) */
.nd-header--overlay { position: absolute; inset: 0 0 auto 0; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---- hero ---------------------------------------------------------------------------------- */
.nd-hero { padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 96px); position: relative; }
.nd-hero h1 { margin: 0 0 .3em; }
.nd-hero .nd-lead { margin: 0; }
.nd-hero--photo { min-height: min(92svh, 920px); display: flex; align-items: flex-end; color: #fff; padding-block: clamp(120px, 18vh, 200px) clamp(40px, 7vw, 96px); isolation: isolate; overflow: hidden; }
.nd-hero--photo > picture, .nd-hero--photo > img, .nd-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.nd-hero--photo > picture img, .nd-hero--photo > img, .nd-hero__bg img, img.nd-hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: var(--nd-focus, 50% 50%); }
.nd-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 16, .62) 0%, rgba(10, 12, 16, .34) 42%, rgba(10, 12, 16, 0) 72%), linear-gradient(180deg, rgba(10, 12, 16, .35) 0%, rgba(10, 12, 16, 0) 24%, rgba(10, 12, 16, .1) 55%, rgba(10, 12, 16, .7) 100%); }
.nd-hero--photo.nd-hero--center::after { background: linear-gradient(180deg, rgba(10, 12, 16, .4) 0%, rgba(10, 12, 16, .3) 45%, rgba(10, 12, 16, .7) 100%); }
@media (max-width: 759px) { .nd-hero--photo::after { background: linear-gradient(180deg, rgba(10, 12, 16, .4) 0%, rgba(10, 12, 16, .2) 30%, rgba(10, 12, 16, .55) 60%, rgba(10, 12, 16, .82) 100%); } }
.nd-hero--photo h1, .nd-hero--photo .nd-lead { color: #fff; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.nd-hero--photo .nd-lead, .nd-hero.nd-hero--photo p.nd-lead { color: rgba(255, 255, 255, .92); }
.nd-hero p.nd-lead { font-size: var(--nd-step-1); }
.nd-hero--photo .nd-hero__inner { max-width: 820px; }
.nd-hero--center { text-align: center; }
.nd-hero--center .nd-hero__inner, .nd-hero--center .nd-lead { margin-inline: auto; }
.nd-hero--center .nd-actions { justify-content: center; }
.nd-hero--split .nd-hero__media { border-radius: var(--nd-radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--nd-shadow-l); }
.nd-hero--split .nd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .nd-hero--split .nd-hero__media { aspect-ratio: 4 / 3; } }
.nd-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--nd-space-l); font-size: var(--nd-step--1); }
.nd-hero__meta > * { display: inline-flex; align-items: center; gap: 8px; }
.nd-hero--photo .nd-hero__meta { color: rgba(255, 255, 255, .88); }

/* ---- media --------------------------------------------------------------------------------- */
.nd-media { position: relative; overflow: hidden; border-radius: var(--nd-radius-l); background: var(--nd-sunken); }
.nd-media img, .nd-media picture { width: 100%; height: 100%; object-fit: cover; }
.nd-ratio-1x1 { aspect-ratio: 1; } .nd-ratio-4x3 { aspect-ratio: 4 / 3; } .nd-ratio-3x2 { aspect-ratio: 3 / 2; } .nd-ratio-16x9 { aspect-ratio: 16 / 9; } .nd-ratio-3x4 { aspect-ratio: 3 / 4; } .nd-ratio-4x5 { aspect-ratio: 4 / 5; } .nd-ratio-21x9 { aspect-ratio: 21 / 9; }
.nd-media figcaption, .nd-caption { font-size: var(--nd-step--2); color: var(--nd-muted); margin-top: 8px; }
.nd-media .nd-tag { position: absolute; left: 14px; top: 14px; }
.nd-mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 22vw, 230px); }
.nd-mosaic > * { border-radius: var(--nd-radius-m); overflow: hidden; margin: 0; background: var(--nd-sunken); }
.nd-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nd-ease); }
.nd-mosaic > *:hover img { transform: scale(1.03); }
.nd-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 760px) { .nd-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nd-mosaic > :first-child { grid-column: span 2; grid-row: span 2; } }
.nd-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: var(--nd-space-s); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.nd-scroller > * { scroll-snap-align: start; }
@media (min-width: 960px) { .nd-scroller--grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }

/* ---- cards --------------------------------------------------------------------------------- */
.nd-card { background: var(--nd-surface); color: var(--nd-text); border: 1px solid var(--nd-line); border-radius: var(--nd-radius-l); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; transition: transform var(--nd-dur) var(--nd-ease), box-shadow var(--nd-dur) var(--nd-ease), border-color var(--nd-dur) var(--nd-ease); }
.nd-card > * { margin: 0; }
.nd-card p { color: var(--nd-muted); }
.nd-card--flat { background: transparent; border-color: transparent; padding: 0; }
.nd-card--soft { background: var(--nd-primary-soft); border-color: transparent; }
.nd-card--raised { box-shadow: var(--nd-shadow); border-color: transparent; }
.nd-card--media { padding: 0; overflow: hidden; }
.nd-card--media > .nd-media, .nd-card--media > img, .nd-card--media > picture { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.nd-card__body { padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nd-card__body > * { margin: 0; }
.nd-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
a.nd-card, .nd-card--link { text-decoration: none; color: inherit; }
a.nd-card:hover, .nd-card--link:hover { transform: translateY(-3px); box-shadow: var(--nd-shadow); border-color: transparent; }
.nd-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: var(--nd-step--2); font-weight: 600; letter-spacing: .02em; background: var(--nd-primary-soft); color: var(--nd-text); width: fit-content; }
.nd-tag--solid { background: var(--nd-surface); box-shadow: var(--nd-shadow-s); }
.nd-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--nd-step--1); color: var(--nd-muted); list-style: none; padding: 0; margin: 0; }
.nd-specs li { display: inline-flex; align-items: center; gap: 6px; }
.nd-specs svg { width: 18px; height: 18px; color: var(--nd-text); opacity: .7; }

/* ---- features / icons / lists -------------------------------------------------------------- */
.nd-feature { display: flex; flex-direction: column; gap: 10px; }
.nd-feature > * { margin: 0; }
.nd-feature p { color: var(--nd-muted); }
.nd-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--nd-primary-soft); color: var(--nd-primary); flex: none; }
.nd-icon svg { width: 24px; height: 24px; }
.nd-dark .nd-icon, .nd-section--dark .nd-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.nd-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px 28px; }
@media (min-width: 640px) { .nd-checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nd-checklist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nd-checklist li { position: relative; padding-left: 32px; line-height: 1.5; }
.nd-checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--nd-primary-tint); }
.nd-checklist li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--nd-primary); border-bottom: 2px solid var(--nd-primary); transform: rotate(-45deg); }
.nd-steps { counter-reset: nd-step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--nd-space-m); }
@media (min-width: 900px) { .nd-steps { grid-template-columns: repeat(var(--nd-cols, 3), minmax(0, 1fr)); } }
.nd-steps > li { counter-increment: nd-step; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--nd-line-strong); }
.nd-steps > li::before { content: counter(nd-step, decimal-leading-zero); font: 600 var(--nd-step--1)/1 var(--nd-font-body); color: var(--nd-primary); letter-spacing: .08em; }
.nd-steps > li > * { margin: 0; }

/* ---- proof without invented testimonials -------------------------------------------------- */
.nd-facts { display: grid; gap: 1px; background: var(--nd-line); border: 1px solid var(--nd-line); border-radius: var(--nd-radius-l); overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .nd-facts { grid-template-columns: repeat(var(--nd-cols, 4), minmax(0, 1fr)); } }
.nd-facts > * { background: var(--nd-surface); padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 4px; margin: 0; }
.nd-facts strong, .nd-fact__value { font: 600 var(--nd-step-3)/1.05 var(--nd-font-head); letter-spacing: -.02em; color: var(--nd-text); }
.nd-facts span, .nd-fact__label { font-size: var(--nd-step--1); color: var(--nd-muted); }
.nd-dark .nd-facts > *, .nd-section--dark .nd-facts > * { background: rgba(255, 255, 255, .04); }
.nd-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.nd-badges li, .nd-badge-item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--nd-line-strong); font-size: var(--nd-step--1); font-weight: 500; }
.nd-quote { margin: 0; font: 400 var(--nd-step-2)/1.35 var(--nd-font-head); letter-spacing: -.01em; }
.nd-quote footer, .nd-quote cite { display: block; margin-top: 14px; font: 500 var(--nd-step--1)/1.4 var(--nd-font-body); color: var(--nd-muted); font-style: normal; }

/* ---- pricing ------------------------------------------------------------------------------- */
.nd-price-card { position: relative; }
.nd-price-card--featured { border-color: var(--nd-primary); box-shadow: 0 0 0 1px var(--nd-primary), var(--nd-shadow); }
.nd-price { font: 600 var(--nd-step-4)/1 var(--nd-font-head); letter-spacing: -.02em; color: var(--nd-text); }
.nd-price small { font: 500 var(--nd-step--1)/1 var(--nd-font-body); color: var(--nd-muted); letter-spacing: 0; margin-left: 4px; }
.nd-price-list { list-style: none; padding: 0; margin: 0; }
.nd-price-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--nd-line); }
.nd-price-list li::after { content: none; }
.nd-price-list .nd-price-list__name { font-weight: 600; }
.nd-price-list .nd-price-list__dots { flex: 1; border-bottom: 1px dotted var(--nd-line-strong); transform: translateY(-4px); }
.nd-price-list .nd-price-list__amount { font-weight: 600; white-space: nowrap; }

/* ---- FAQ (details/summary, no JavaScript) -------------------------------------------------- */
.nd-faq { border-top: 1px solid var(--nd-line); }
.nd-faq details { border-bottom: 1px solid var(--nd-line); }
.nd-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 var(--nd-step-1)/1.35 var(--nd-font-head); letter-spacing: -.01em; min-height: 44px; }
.nd-faq summary::-webkit-details-marker { display: none; }
.nd-faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--nd-line-strong); background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform var(--nd-dur) var(--nd-ease), background-color var(--nd-dur); }
.nd-faq details[open] summary::after { transform: rotate(45deg); }
.nd-faq summary:hover::after { background-color: color-mix(in srgb, var(--nd-text) 6%, transparent); }
.nd-faq details > :not(summary) { margin: 0 0 22px; max-width: 70ch; color: var(--nd-muted); }

/* ---- call to action band ------------------------------------------------------------------- */
.nd-cta { border-radius: var(--nd-radius-xl); padding: clamp(36px, 6vw, 80px); background: var(--nd-dark-bg); color: var(--nd-dark-text); display: grid; gap: var(--nd-space-m); position: relative; overflow: hidden; isolation: isolate; --nd-text: var(--nd-dark-text); --nd-muted: color-mix(in srgb, var(--nd-dark-text) 74%, transparent); --nd-line: rgba(255, 255, 255, .16); --nd-line-strong: rgba(255, 255, 255, .3); }
.nd-cta > * { margin: 0; }
.nd-cta h2 { color: inherit; max-width: 18ch; }
.nd-cta .nd-lead { color: var(--nd-muted); }
.nd-cta--primary { background: var(--nd-primary); color: var(--nd-on-primary); --nd-text: var(--nd-on-primary); --nd-muted: color-mix(in srgb, var(--nd-on-primary) 80%, transparent); }
.nd-cta--primary .nd-btn { background: var(--nd-on-primary); color: var(--nd-primary); border-color: var(--nd-on-primary); }
.nd-cta--soft { background: var(--nd-primary-soft); color: var(--nd-text); --nd-text: inherit; --nd-muted: inherit; }
.nd-cta__bg { position: absolute; inset: 0; z-index: -1; }
.nd-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
@media (min-width: 900px) { .nd-cta--row { grid-template-columns: 1fr auto; align-items: end; } }

/* ---- site footer (custom _footer page) ----------------------------------------------------- */
.nd-site-footer { padding-block: clamp(56px, 7vw, 96px) 32px; border-top: 1px solid var(--nd-line); background: var(--nd-surface); }
.nd-site-footer.nd-dark { border-top: 0; background: var(--nd-dark-bg); }
.nd-site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .nd-site-footer__grid { grid-template-columns: 1.6fr repeat(var(--nd-cols, 3), minmax(0, 1fr)); } }
.nd-site-footer h4, .nd-site-footer .nd-footer-title { font: 600 var(--nd-step--1)/1.3 var(--nd-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--nd-muted); margin: 0 0 14px; }
.nd-site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.nd-site-footer li { min-height: 36px; display: flex; align-items: center; }
.nd-site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.nd-site-footer a { color: inherit; text-decoration: none; opacity: .9; }
.nd-site-footer a:hover { opacity: 1; text-decoration: underline; }
.nd-site-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--nd-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--nd-step--1); color: var(--nd-muted); }
.nd-footer { margin-top: 0; }
.nd-site-footer + .nd-footer { border-top: 0; background: var(--nd-surface); }
.nd-site-footer.nd-dark + .nd-footer { background: var(--nd-dark-bg); color: color-mix(in srgb, var(--nd-dark-text) 70%, transparent); border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---- ND blocks rendered on the server ------------------------------------------------------ */
.nd-gallery { display: grid; gap: 10px; }
.nd-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--nd-radius-m); background: var(--nd-sunken); }
.nd-gallery--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: clamp(120px, 22vw, 230px); }
.nd-gallery--mosaic img { aspect-ratio: auto; height: 100%; }
.nd-gallery--mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 760px) { .nd-gallery--mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .nd-gallery:not(.nd-gallery--mosaic) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.nd-gallery figure { margin: 0; }
.nd-map iframe { display: block; width: 100%; border: 1px solid var(--nd-line); border-radius: var(--nd-radius-l); filter: saturate(.85); }
.nd-socials a { min-height: 40px; align-items: center; transition: background-color var(--nd-dur); }
.nd-socials a:hover { background: color-mix(in srgb, var(--nd-text) 6%, transparent); }
.nd-post-card { padding: 0; }
.nd-post-card img { aspect-ratio: 16 / 10; }
.nd-post-card h3 { font-size: var(--nd-step-1); }
nd-booking, nd-form, nd-newsletter, nd-blog-feed { display: block; }
nd-booking:empty, nd-form:empty { min-height: 320px; border-radius: var(--nd-radius-l); background: linear-gradient(90deg, var(--nd-sunken), color-mix(in srgb, var(--nd-text) 2%, var(--nd-bg)), var(--nd-sunken)) 0 0 / 200% 100%; animation: nd-shimmer 1.4s linear infinite; }
@keyframes nd-shimmer { to { background-position: -200% 0; } }

/* ---- built-in pages (book, contact, subscribe, auto home) --------------------------------- */
.nd-page-head { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.nd-page-head h1 { font-size: var(--nd-step-4); margin: 0 0 .3em; }
.nd-panel { background: var(--nd-surface); border: 1px solid var(--nd-line); border-radius: var(--nd-radius-xl); padding: clamp(20px, 3vw, 36px); box-shadow: var(--nd-shadow); }
.nd-info-list { display: grid; gap: 18px; margin: 0; }
.nd-info-list > div { display: grid; gap: 2px; }
.nd-info-list dt { font-size: var(--nd-step--2); letter-spacing: .1em; text-transform: uppercase; color: var(--nd-muted); font-weight: 600; }
.nd-info-list dd { margin: 0; white-space: pre-line; font-weight: 500; }
.nd-info-list a { color: inherit; }
.nd-auto-hero { background: radial-gradient(1200px 500px at 85% -10%, var(--nd-primary-tint), transparent 60%), radial-gradient(800px 400px at -10% 110%, var(--nd-primary-soft), transparent 60%); border-bottom: 1px solid var(--nd-line); }

/* ---- motion -------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .nd-reveal, .nd-reveal-children > * { animation: nd-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
  }
  .nd-hero .nd-hero__inner, .nd-hero--split > .nd-container > * { animation: nd-rise .8s var(--nd-ease) both; }
  .nd-hero--split > .nd-container > :nth-child(2) { animation-delay: .12s; }
}
@keyframes nd-reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes nd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---- utilities ----------------------------------------------------------------------------- */
.nd-mt-0 { margin-top: 0 !important; } .nd-mb-0 { margin-bottom: 0 !important; }
.nd-mt-s { margin-top: var(--nd-space-s); } .nd-mt-m { margin-top: var(--nd-space-m); } .nd-mt-l { margin-top: var(--nd-space-l); } .nd-mt-xl { margin-top: var(--nd-space-xl); }
.nd-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nd-hide-mobile { display: none; } @media (min-width: 760px) { .nd-hide-mobile { display: revert; } .nd-hide-desktop { display: none; } }
.nd-rounded { border-radius: var(--nd-radius-l); overflow: hidden; }
.nd-shadow { box-shadow: var(--nd-shadow); }
.nd-surface { background: var(--nd-surface); }
.nd-full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.nd-illustrative { font-size: var(--nd-step--2); color: var(--nd-muted); }
