/* DueHarbour — harbour chart edition. Prefix: hb- */
:root {
  --hb-abyss: #06121f;
  --hb-navy: #0a1f33;
  --hb-deep: #0f2a43;
  --hb-swell: #163a5a;
  --hb-line: rgba(169, 201, 222, .18);
  --hb-fog: #a9c9de;
  --hb-mist: #dbe9f2;
  --hb-foam: #f4f8fb;
  --hb-paper: #eaf2f7;
  --hb-paper-line: rgba(15, 42, 67, .09);
  --hb-ink: #0a1f33;
  --hb-ink-soft: #3c566d;
  --hb-signal: #ff6b2c;
  --hb-signal-soft: #ffb08a;
  --hb-signal-deep: #b13c0a;
  --hb-tide: #5cc0e6;
  --hb-radius: 14px;
  --hb-radius-lg: 22px;
  --hb-head: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --hb-body: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  --hb-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --hb-wrap: 1180px;
  --hb-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hb-navy);
  color: var(--hb-mist);
  font-family: var(--hb-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--hb-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--hb-signal); outline-offset: 3px; border-radius: 6px; }

.hb-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--hb-signal); color: var(--hb-ink); padding: .6rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.hb-skip:focus { top: 12px; }
.hb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hb-wrap { width: min(100% - 32px, var(--hb-wrap)); margin-inline: auto; }
.hb-mono { font-family: var(--hb-mono); }

/* ------- chart textures ------- */
.hb-chartgrid {
  background-image:
    linear-gradient(rgba(169, 201, 222, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 201, 222, .065) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hb-paper {
  background-color: var(--hb-paper);
  color: var(--hb-ink);
  background-image:
    linear-gradient(var(--hb-paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hb-paper-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ------- header ------- */
.hb-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 18, 31, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hb-line);
}
.hb-top__in { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.hb-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--hb-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; color: var(--hb-foam); }
.hb-brand img { width: 32px; height: 32px; border-radius: 8px; }
.hb-nav { display: flex; gap: .2rem; margin-left: auto; }
.hb-nav a { text-decoration: none; padding: .45rem .75rem; border-radius: 999px; font-size: .95rem; color: var(--hb-fog); transition: color .2s, background .2s; }
.hb-nav a:hover { color: var(--hb-foam); background: rgba(169, 201, 222, .1); }
.hb-top__cta { display: flex; gap: .5rem; align-items: center; }
.hb-menu-btn { display: none; background: none; border: 1px solid var(--hb-line); border-radius: 10px; padding: .4rem .6rem; cursor: pointer; color: var(--hb-foam); }
.hb-menu-btn svg { display: block; }

/* ------- buttons ------- */
.hb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .65rem 1.25rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--hb-ease), background .2s, box-shadow .2s, color .2s;
  font-size: 1rem; line-height: 1.2; text-align: center;
}
.hb-btn:hover { transform: translateY(-2px); }
.hb-btn--signal { background: var(--hb-signal); color: var(--hb-ink); box-shadow: 0 10px 30px -12px rgba(255, 107, 44, .8); }
.hb-btn--signal:hover { background: #ff8550; }
.hb-btn--ghost { border-color: rgba(169, 201, 222, .45); color: var(--hb-foam); background: transparent; }
.hb-btn--ghost:hover { background: rgba(169, 201, 222, .1); }
.hb-btn--ink { background: var(--hb-ink); color: var(--hb-foam); }
.hb-btn--ink:hover { background: var(--hb-swell); }
.hb-btn--sm { min-height: 38px; padding: .4rem .95rem; font-size: .92rem; }
.hb-btn svg { flex: none; }

/* ------- eyebrow / headings ------- */
.hb-eyebrow { font-family: var(--hb-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hb-signal); display: inline-flex; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.hb-eyebrow::before { content: ""; flex: none; width: 22px; height: 1.5px; background: currentColor; align-self: flex-start; margin-top: .62em; }
.hb-paper .hb-eyebrow { color: var(--hb-signal-deep); }
.hb-sechead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.hb-sechead h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 0; }
.hb-sechead p { margin: 0; color: var(--hb-fog); max-width: 42ch; }
.hb-paper .hb-sechead p { color: var(--hb-ink-soft); }
.hb-section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

/* ------- hero ------- */
.hb-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 0; background-color: var(--hb-navy); isolation: isolate; }
.hb-hero__iso { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hb-hero__glow { position: absolute; z-index: -3; inset: auto -10% -30% -10%; height: 70%; background: radial-gradient(60% 60% at 50% 100%, rgba(92, 192, 230, .16), transparent 70%); }
.hb-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 2rem 4.5rem; align-items: center; padding-bottom: 4rem; }
.hb-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); color: var(--hb-foam); margin-bottom: .35em; }
.hb-hero h1 em { font-style: normal; color: var(--hb-signal); display: block; }
.hb-hero__lead { font-size: 1.2rem; color: var(--hb-mist); max-width: 34ch; }
.hb-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hb-pricetag {
  display: inline-grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; align-items: center;
  border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: .8rem 1.1rem; background: rgba(6, 18, 31, .55);
}
.hb-pricetag strong { font-family: var(--hb-head); font-size: 1.6rem; color: var(--hb-foam); grid-row: span 2; }
.hb-pricetag strong small { font-size: .95rem; color: var(--hb-fog); font-weight: 500; }
.hb-pricetag span { font-size: .88rem; color: var(--hb-fog); line-height: 1.35; }
.hb-pricetag b { color: var(--hb-mist); font-weight: 600; }
.hb-coords { font-family: var(--hb-mono); font-size: .75rem; color: rgba(169, 201, 222, .65); letter-spacing: .08em; margin-top: 1.4rem; }

/* lighthouse */
.hb-light { position: absolute; z-index: -1; left: calc((100% - 4.5rem) / 2.08 + 2.25rem - 32px); bottom: 4rem; width: 64px; pointer-events: none; }
.hb-light__tower { display: block; width: 100%; height: auto; }
.hb-light__beam {
  position: absolute; left: 50%; top: 13.5%; width: 1800px; height: 260px; margin: -130px 0 0 -900px;
  background:
    linear-gradient(90deg, rgba(255, 196, 140, .0) 0%, rgba(255, 196, 140, .28) 46%, rgba(255, 230, 200, .55) 50%, rgba(255, 196, 140, .28) 54%, rgba(255, 196, 140, 0) 100%);
  clip-path: polygon(0 20%, 50% 49%, 100% 20%, 100% 80%, 50% 51%, 0 80%);
  transform-origin: 50% 50%;
  animation: hb-sweep 16s linear infinite;
  mix-blend-mode: screen;
  opacity: .75;
}
.hb-light__lamp { position: absolute; left: 50%; top: 13.5%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #ffe6c7; box-shadow: 0 0 18px 8px rgba(255, 180, 110, .55), 0 0 60px 20px rgba(255, 107, 44, .25); }
@keyframes hb-sweep { to { transform: rotate(360deg); } }

/* tide table card */
.hb-tide {
  position: relative; background: linear-gradient(180deg, rgba(15, 42, 67, .96), rgba(10, 31, 51, .97));
  border: 1px solid rgba(169, 201, 222, .26); border-radius: var(--hb-radius-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 1.25rem; overflow: hidden;
}
.hb-tide__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.hb-tide__title { font-family: var(--hb-head); font-weight: 700; font-size: 1.25rem; color: var(--hb-foam); margin: 0; }
.hb-tide__meta { font-family: var(--hb-mono); font-size: .7rem; letter-spacing: .12em; color: var(--hb-fog); text-transform: uppercase; text-align: right; line-height: 1.5; }
.hb-tag { display: inline-block; font-family: var(--hb-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255, 107, 44, .6); color: var(--hb-signal-soft); padding: .15rem .45rem; border-radius: 4px; }
.hb-tide__wave { position: absolute; left: 0; right: 0; top: 56%; width: 100%; height: 80px; opacity: .35; pointer-events: none; }

.hb-cal { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.hb-cal__dow { font-family: var(--hb-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--hb-fog); text-align: center; padding: .2rem 0 .35rem; }
.hb-cal__day {
  position: relative; min-height: 64px; border-radius: 8px; padding: .3rem .35rem;
  background: rgba(169, 201, 222, .045); border: 1px solid rgba(169, 201, 222, .09);
  display: flex; flex-direction: column; gap: 2px; font-size: .7rem; transition: background .25s, border-color .25s, box-shadow .25s;
}
.hb-cal__num { font-family: var(--hb-mono); font-size: .74rem; color: rgba(219, 233, 242, .75); }
.hb-cal__day--has { background: rgba(255, 107, 44, .12); border-color: rgba(255, 107, 44, .5); }
.hb-cal__day--rem { box-shadow: inset 0 0 0 1.5px var(--hb-tide); background: rgba(92, 192, 230, .12); border-color: transparent; }
.hb-cal__day--rem .hb-cal__num { color: var(--hb-tide); font-weight: 600; }
.hb-ev { display: flex; align-items: center; gap: 3px; min-width: 0; color: var(--hb-foam); line-height: 1.15; }
.hb-ev svg { width: 13px; height: 18px; flex: none; }
.hb-ev__txt { display: flex; flex-direction: column; min-width: 0; }
.hb-ev__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: .66rem; }
.hb-ev__price { font-family: var(--hb-mono); font-size: .66rem; color: var(--hb-signal-soft); }
.hb-flag { display: flex; align-items: center; gap: 3px; font-family: var(--hb-mono); font-size: .6rem; color: var(--hb-tide); text-transform: uppercase; letter-spacing: .06em; }
.hb-flag svg { width: 10px; height: 12px; flex: none; }
.hb-cal__day--has .hb-flag span { display: none; }
.hb-cal__day { overflow: hidden; }
.hb-buoy-bob { animation: hb-bob 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes hb-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-2px) rotate(3deg); } }

.hb-tide__foot { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(169, 201, 222, .25); }
.hb-total__label { font-family: var(--hb-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-fog); }
.hb-total__value { font-family: var(--hb-head); font-size: 2.1rem; font-weight: 700; color: var(--hb-foam); line-height: 1; margin: .2rem 0; }
.hb-total__note { font-size: .74rem; color: var(--hb-fog); margin: 0; max-width: 24ch; line-height: 1.35; }
.hb-manifest { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.hb-manifest li { display: grid; grid-template-columns: 26px 1fr auto; gap: .55rem; align-items: center; font-size: .85rem; }
.hb-manifest i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 107, 44, .16); color: var(--hb-signal-soft); font-family: var(--hb-mono); font-size: .72rem; font-weight: 600; }
.hb-manifest small { display: block; font-family: var(--hb-mono); font-size: .7rem; color: var(--hb-fog); }
.hb-manifest b { font-family: var(--hb-mono); font-weight: 500; color: var(--hb-foam); }

.hb-strip { border-top: 1px solid var(--hb-line); background: var(--hb-abyss); position: relative; }
.hb-strip__in { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; justify-content: space-between; padding: 1rem 0; font-family: var(--hb-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-fog); }
.hb-strip__in span { display: inline-flex; gap: .6rem; align-items: center; }
.hb-strip__in span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hb-signal); box-shadow: 0 0 0 4px rgba(255, 107, 44, .18); }

/* ------- chart legend (features) ------- */
.hb-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hb-legend__item {
  background: var(--hb-foam); border: 1px solid rgba(15, 42, 67, .12); border-radius: var(--hb-radius-lg); padding: 1.5rem;
  position: relative; transition: transform .3s var(--hb-ease), box-shadow .3s;
}
.hb-legend__item:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(10, 31, 51, .45); }
.hb-legend__no { font-family: var(--hb-mono); font-size: .75rem; color: var(--hb-signal-deep); letter-spacing: .12em; }
.hb-legend__art { height: 130px; margin: .9rem 0 1.25rem; border-radius: 12px; background: var(--hb-navy); display: grid; place-items: center; overflow: hidden; }
.hb-legend__art svg { width: 100%; height: 100%; }
.hb-legend__item h3 { font-size: 1.4rem; }
.hb-legend__item p { color: var(--hb-ink-soft); margin: 0; }

/* ------- demo ------- */
.hb-demo { background: var(--hb-abyss); }
.hb-demo__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 1.5rem; align-items: start; }
.hb-log { background: var(--hb-deep); border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); padding: 1.4rem; }
.hb-log__head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.hb-log__head h3 { margin: 0; font-size: 1.25rem; color: var(--hb-foam); }
.hb-entry { border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: .9rem; margin-bottom: .75rem; background: rgba(6, 18, 31, .4); }
.hb-entry__top { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.hb-entry__top i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hb-signal); color: var(--hb-ink); font-family: var(--hb-mono); font-weight: 600; font-size: .8rem; flex: none; }
.hb-entry__name { font-weight: 600; color: var(--hb-foam); }
.hb-entry__date { margin-left: auto; font-family: var(--hb-mono); font-size: .75rem; color: var(--hb-fog); text-align: right; line-height: 1.3; }
.hb-entry__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.hb-field { display: grid; gap: .25rem; font-size: .78rem; font-family: var(--hb-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--hb-fog); }
.hb-field input, .hb-field select {
  min-height: 44px; width: 100%; padding: .45rem .7rem; border-radius: 10px; border: 1px solid rgba(169, 201, 222, .35);
  background: var(--hb-navy); color: var(--hb-foam); font-family: var(--hb-mono); font-size: 1rem; letter-spacing: 0; text-transform: none;
}
.hb-field input[aria-invalid="true"] { border-color: var(--hb-signal); }
.hb-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--hb-fog) 50%), linear-gradient(135deg, var(--hb-fog) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
.hb-field input:focus, .hb-field select:focus { border-color: var(--hb-signal); }
.hb-entry__calc { font-family: var(--hb-mono); font-size: .75rem; color: var(--hb-fog); margin-top: .55rem; }
.hb-entry__calc b { color: var(--hb-signal-soft); font-weight: 500; }

.hb-remind { border: 0; padding: 0; margin: 1.1rem 0 1rem; }
.hb-remind legend { font-family: var(--hb-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--hb-fog); margin-bottom: .5rem; }
.hb-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.hb-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hb-seg label { display: grid; place-items: center; min-height: 46px; border-radius: 10px; border: 1px solid rgba(169, 201, 222, .35); cursor: pointer; font-family: var(--hb-mono); font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.hb-seg input:checked + label { background: var(--hb-tide); color: var(--hb-ink); border-color: var(--hb-tide); font-weight: 600; }
.hb-seg input:focus-visible + label { outline: 3px solid var(--hb-signal); outline-offset: 2px; }

.hb-board { background: var(--hb-deep); border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); padding: 1.25rem; position: sticky; top: 84px; }
.hb-board__total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed rgba(169, 201, 222, .25); }
.hb-board__total .hb-total__value { font-size: clamp(2.2rem, 5vw, 3rem); transition: color .3s; }
.hb-board__total .hb-total__value.is-flash { color: var(--hb-signal); }
.hb-keys { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .78rem; color: var(--hb-fog); margin-top: .9rem; }
.hb-keys span { display: inline-flex; gap: .4rem; align-items: center; }
.hb-keys svg { width: 12px; height: 16px; }
.hb-demo__note { font-size: .82rem; color: var(--hb-fog); margin: .9rem 0 0; }

/* ------- course (how it works) ------- */
.hb-course { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; counter-reset: wp; }
.hb-course::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; border-top: 2px dashed rgba(15, 42, 67, .35); }
.hb-course li { position: relative; padding-top: 4.2rem; }
.hb-course__wp { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--hb-navy); color: var(--hb-signal); display: grid; place-items: center; font-family: var(--hb-mono); font-size: .8rem; font-weight: 600; box-shadow: 0 0 0 6px var(--hb-paper), 0 0 0 7px rgba(15, 42, 67, .25); }
.hb-course h3 { font-size: 1.45rem; }
.hb-course p { color: var(--hb-ink-soft); max-width: 32ch; }
.hb-course__tag { font-family: var(--hb-mono); font-size: .72rem; letter-spacing: .12em; color: var(--hb-signal-deep); text-transform: uppercase; }

/* ------- pricing ------- */
.hb-pricing { position: relative; overflow: hidden; }
.hb-plans { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.25rem; align-items: stretch; }
.hb-plan { border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); padding: 1.75rem; background: rgba(15, 42, 67, .7); display: flex; flex-direction: column; }
.hb-plan--main { background: linear-gradient(160deg, #13385a, #0c2540 70%); border-color: rgba(255, 107, 44, .55); box-shadow: 0 40px 80px -50px rgba(255, 107, 44, .6); position: relative; }
.hb-plan__name { font-family: var(--hb-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hb-fog); display: flex; justify-content: space-between; gap: 1rem; }
.hb-plan__price { font-family: var(--hb-head); font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 700; color: var(--hb-foam); line-height: 1; margin: 1rem 0 .4rem; letter-spacing: -.03em; }
.hb-plan__price small { font-size: 1.1rem; font-weight: 500; color: var(--hb-fog); letter-spacing: 0; }
.hb-plan__terms { font-size: .92rem; color: var(--hb-mist); }
.hb-plan ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .55rem; }
.hb-plan li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; }
.hb-plan li svg { margin-top: .3rem; }
.hb-plan li.is-off { color: var(--hb-fog); }
.hb-plan__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hb-plan__small { font-size: .82rem; color: var(--hb-fog); margin: 1rem 0 0; }
.hb-plan__small a { color: var(--hb-mist); }
.hb-assure { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: var(--hb-radius); border: 1px dashed rgba(169, 201, 222, .35); color: var(--hb-mist); font-size: .95rem; }
.hb-assure svg { flex: none; margin-top: .15rem; }
.hb-assure p { margin: 0; }

/* ------- faq ------- */
.hb-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; }
.hb-faq h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.hb-faq__mail { font-family: var(--hb-mono); font-size: .95rem; color: var(--hb-signal-deep); font-weight: 500; }
.hb-qa { border-top: 1px solid rgba(15, 42, 67, .2); }
.hb-qa:last-child { border-bottom: 1px solid rgba(15, 42, 67, .2); }
.hb-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-family: var(--hb-head); font-weight: 600; font-size: 1.2rem; }
.hb-qa summary::-webkit-details-marker { display: none; }
.hb-qa summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--hb-ink); background: linear-gradient(var(--hb-ink), var(--hb-ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--hb-ink), var(--hb-ink)) center / 1.5px 10px no-repeat; transition: transform .25s var(--hb-ease), background-color .2s; }
.hb-qa[open] summary::after { transform: rotate(45deg); background-color: var(--hb-signal); border-color: var(--hb-signal); }
.hb-qa p { margin: 0 0 1.2rem; color: var(--hb-ink-soft); max-width: 60ch; }

/* ------- horizon CTA ------- */
.hb-horizon { position: relative; overflow: hidden; text-align: center; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(6rem, 12vw, 9rem); isolation: isolate; }
.hb-horizon h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); color: var(--hb-foam); max-width: 16ch; margin: 0 auto .6em; }
.hb-horizon h2 em { font-style: normal; color: var(--hb-signal); }
.hb-horizon__sea { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; z-index: -1; }
.hb-horizon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ------- footer ------- */
.hb-foot { background: var(--hb-abyss); border-top: 1px solid var(--hb-line); padding: 3.5rem 0 2rem; font-size: .92rem; color: var(--hb-fog); }
.hb-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.hb-foot h2 { font-family: var(--hb-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--hb-mist); margin-bottom: 1rem; }
.hb-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.hb-foot a { color: var(--hb-mist); text-decoration-color: rgba(169, 201, 222, .4); text-underline-offset: 3px; }
.hb-foot a:hover { color: var(--hb-signal); }
.hb-foot address { font-style: normal; line-height: 1.7; }
.hb-foot__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hb-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-family: var(--hb-mono); font-size: .74rem; letter-spacing: .06em; }

/* ------- legal pages ------- */
.hb-doc-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5rem) 0 2.5rem; border-bottom: 1px solid var(--hb-line); isolation: isolate; }
.hb-doc-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--hb-foam); margin-bottom: .3em; }
.hb-doc-hero p { color: var(--hb-fog); max-width: 60ch; margin: 0; }
.hb-doc-hero .hb-hero__iso { opacity: .8; }
.hb-stamp { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-family: var(--hb-mono); font-size: .78rem; color: var(--hb-fog); margin-top: 1.25rem; letter-spacing: .04em; }
.hb-stamp b { color: var(--hb-signal-soft); font-weight: 500; }
.hb-doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; padding: 3rem 0 5rem; }
.hb-toc { position: sticky; top: 88px; align-self: start; }
.hb-toc h2 { font-family: var(--hb-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--hb-signal-deep); }
.hb-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; counter-reset: toc; }
.hb-toc li { counter-increment: toc; }
.hb-toc a { display: grid; grid-template-columns: 2.2em 1fr; padding: .35rem .4rem; border-radius: 8px; text-decoration: none; color: var(--hb-ink-soft); font-size: .93rem; line-height: 1.35; }
.hb-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--hb-mono); font-size: .78rem; color: var(--hb-signal-deep); padding-top: .1rem; }
.hb-toc a:hover { background: rgba(15, 42, 67, .07); color: var(--hb-ink); }
.hb-prose { max-width: 70ch; }
.hb-prose section { padding: 1.6rem 0; border-top: 1px solid rgba(15, 42, 67, .14); scroll-margin-top: 90px; counter-increment: sec; }
.hb-prose { counter-reset: sec; }
.hb-prose section:first-child { border-top: 0; padding-top: 0; }
.hb-prose h2 { font-size: 1.55rem; display: flex; gap: .8rem; align-items: baseline; }
.hb-prose h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--hb-mono); font-size: .85rem; color: var(--hb-signal-deep); font-weight: 500; }
.hb-prose p, .hb-prose li { color: #22394e; }
.hb-prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.hb-prose li { margin-bottom: .35rem; }
.hb-prose a { color: var(--hb-signal-deep); font-weight: 600; text-underline-offset: 3px; }
.hb-card-mini { background: var(--hb-foam); border: 1px solid rgba(15, 42, 67, .14); border-radius: var(--hb-radius); padding: 1rem 1.2rem; margin: .5rem 0 1rem; }
.hb-card-mini dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; font-size: .95rem; }
.hb-card-mini dt { font-family: var(--hb-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-ink-soft); padding-top: .2rem; }
.hb-card-mini dd { margin: 0; color: var(--hb-ink); }

/* 404 */
.hb-lost { min-height: 70vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate; padding: 4rem 0; }
.hb-lost h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); color: var(--hb-foam); }
.hb-lost__code { font-family: var(--hb-mono); color: var(--hb-signal); letter-spacing: .2em; }
.hb-lost p { color: var(--hb-fog); max-width: 44ch; margin-inline: auto; }

/* ------- modal ------- */
.hb-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.hb-modal[hidden] { display: none; }
.hb-modal__scrim { position: absolute; inset: 0; background: rgba(3, 10, 18, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: hb-fade .2s ease; }
.hb-modal__box {
  position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--hb-foam); color: var(--hb-ink); border-radius: var(--hb-radius-lg); padding: 1.6rem;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); animation: hb-rise .3s var(--hb-ease);
}
.hb-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(15, 42, 67, .2); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--hb-ink); }
.hb-modal__close:hover { background: rgba(15, 42, 67, .07); }
.hb-modal h2 { font-size: 1.6rem; margin-right: 2.5rem; }
.hb-receipt { border: 1px dashed rgba(15, 42, 67, .3); border-radius: var(--hb-radius); padding: 1rem; margin: 1rem 0; }
.hb-receipt__row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .94rem; }
.hb-receipt__row span:first-child { color: var(--hb-ink-soft); }
.hb-receipt__row--total { border-top: 1px solid rgba(15, 42, 67, .2); margin-top: .4rem; padding-top: .7rem; font-weight: 700; font-size: 1.05rem; }
.hb-receipt__row--total span:last-child { font-family: var(--hb-mono); }
.hb-modal ul { padding-left: 1.1rem; margin: .5rem 0 1rem; font-size: .93rem; color: #22394e; }
.hb-modal__fine { font-size: .82rem; color: var(--hb-ink-soft); }
.hb-modal__fine a { color: var(--hb-signal-deep); font-weight: 600; }
.hb-modal .hb-btn { width: 100%; margin-top: .5rem; }
@keyframes hb-fade { from { opacity: 0; } }
@keyframes hb-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* ------- reveal ------- */
.hb-js .hb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--hb-ease), transform .7s var(--hb-ease); }
.hb-js .hb-reveal.is-in { opacity: 1; transform: none; }

/* ------- responsive ------- */
@media (max-width: 980px) {
  .hb-hero__grid, .hb-demo__grid, .hb-plans, .hb-faq, .hb-sechead { grid-template-columns: minmax(0, 1fr); }
  .hb-board { position: static; }
  .hb-legend { grid-template-columns: minmax(0, 1fr); }
  .hb-light { left: auto; right: 0; bottom: auto; top: -8px; width: 46px; opacity: .9; }
  .hb-doc { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hb-toc { position: static; background: var(--hb-foam); border: 1px solid rgba(15, 42, 67, .12); border-radius: var(--hb-radius); padding: 1rem; }
  .hb-foot__grid { grid-template-columns: 1fr 1fr; }
  .hb-foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hb-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: .75rem 16px 1rem; background: var(--hb-abyss); border-bottom: 1px solid var(--hb-line); }
  .hb-nav.is-open { display: flex; }
  .hb-nav a { padding: .75rem .5rem; font-size: 1.05rem; }
  .hb-menu-btn { display: inline-flex; margin-left: auto; }
  .hb-top__cta .hb-btn--ghost { display: none; }
  .hb-course { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hb-course::before { left: 27px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed rgba(15, 42, 67, .35); }
  .hb-course li { padding: 0 0 0 76px; min-height: 56px; }
  .hb-tide { padding: .9rem; }
  .hb-cal { gap: 3px; }
  .hb-cal__day { min-height: 54px; padding: .2rem; }
  .hb-ev__name { display: none; }
  .hb-ev { flex-direction: column; align-items: flex-start; }
  .hb-ev__price { font-size: .58rem; }
  .hb-flag span { display: none; }
  .hb-tide__foot { grid-template-columns: minmax(0, 1fr); }
  .hb-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .hb-entry__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hb-pricetag { grid-template-columns: minmax(0, 1fr); }
  .hb-pricetag strong { grid-row: auto; }
}
@media (max-width: 400px) {
  .hb-hero__actions .hb-btn { width: 100%; }
  .hb-cal__dow { font-size: .58rem; letter-spacing: 0; }
  .hb-cal__num { font-size: .66rem; }
  .hb-ev svg { width: 11px; height: 15px; }
  .hb-entry__top { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hb-light__beam { animation: none; transform: rotate(-14deg); }
  .hb-buoy-bob { animation: none; }
  .hb-js .hb-reveal { opacity: 1; transform: none; }
}
