/* One stylesheet for the whole site. Theme: Harbour.
   Calm concrete ground, black ink, one deep harbour blue used as a fill. The only signature
   element is the measured bar. No gradients, shadows, cards-for-everything or capitals.
   Light and dark follow the visitor's device setting.
   Fonts: Bricolage Grotesque 800 and Schibsted Grotesk (SIL Open Font License), served from
   this folder. No outside requests. */

@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url("fonts/schibsted-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light dark;
  --ground: #F1F2F0;
  --surface: #FFFFFF;
  --ink: #16181A;
  --quiet: #454B50;
  --hair: #B4B8BC;
  --strong: #16181A;
  --edge: #6A7076;
  --blue: #0F4C81;        /* the fill: main button */
  --blue-press: #0A3A66;
  --on-blue: #FFFFFF;
  --btn-edge: #0F4C81;
  --tint: #0F4C81;        /* links, markers, progress fill, paid squares */
  --bad: #A8231B;
  --good: #1F7A46;
  --warn: #6B4200;
  --warn-bg: #FBEBC8;
  --display: "Bricolage", "Arial Black", system-ui, sans-serif;
  --font: "Schibsted", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
  --pad: 20px;
  --gap: 56px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17191B;
    --surface: #212427;
    --ink: #F1F2EE;
    --quiet: #B9BEC4;
    --hair: #454B52;
    --strong: #7A8189;
    --edge: #7A8189;
    --blue: #155A96;
    --blue-press: #1B68AB;
    --on-blue: #FFFFFF;
    --btn-edge: #8AC0F2;
    --tint: #8AC0F2;
    --bad: #FF9087;
    --good: #5BC58A;
    --warn: #F0B955;
    --warn-bg: #3A2E12;
  }
}

* { box-sizing: border-box; }
/* The hidden attribute always wins over a class's display rule (founding, sign-up open/closed, comparison). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.45 var(--font); }
img, svg { display: block; max-width: 100%; }
a { color: var(--tint); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
main p a, main li a, .faq a { padding: 8px 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
h3 { font-size: 1.0625rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }
.lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--quiet); max-width: 34em; }
.muted { color: var(--quiet); }
.small { font-size: 0.9375rem; }
.m0 { margin: 0; }
.mt { margin-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); color: var(--ink); padding: 12px 16px; z-index: 10; }

/* Header: the name on the left, two links on the right. */
.top { border-bottom: 1.5px solid var(--hair); }
.top .wrap { display: flex; align-items: stretch; justify-content: space-between; min-height: 64px; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.125rem/1 var(--display); letter-spacing: -0.02em; }
.mark img { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 4px; }
.nav a { display: flex; align-items: center; padding: 0 12px; min-height: 48px; color: var(--quiet); text-decoration: none; font-weight: 500; border-bottom: 4px solid transparent; border-top: 4px solid transparent; }
.nav a:last-child { margin-right: -12px; }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--tint); }

/* The one main action: a harbour-blue pill that says what happens. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 32px;
  background: var(--blue); color: var(--on-blue); border: 1.5px solid var(--btn-edge); border-radius: 999px;
  font: 700 1.0625rem/1.1 var(--font); text-decoration: none; text-align: center;
}
.btn:hover, .btn:active { background: var(--blue-press); }
/* A second button beside the main one: surface, strong line, 12px corners (one blue fill per screen). */
.btn.btn-2 { background: var(--surface); color: var(--ink); border-color: var(--strong); border-radius: 12px; min-height: 54px; font-weight: 600; }
.btn.btn-2:hover { background: var(--ground); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.cta-note { font-size: 0.9375rem; color: var(--quiet); margin: 0; }

/* Hero. Words on the left, one example job on the right, shown the way the app shows it. */
.hero { padding: 40px 0 48px; }
.hero h1 { max-width: 13em; }
.tag { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--quiet); margin-bottom: 14px; }

/* The example job with the measured bar. Clearly labelled as an example; no real customer. */
.job { margin: 40px 0 0; border-top: 1.5px solid var(--strong); padding-top: 18px; max-width: 460px; }
.job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.job-head b { font: 800 1.375rem/1.1 var(--display); letter-spacing: -0.02em; }
.bar { display: flex; height: 18px; border: 1.5px solid var(--strong); border-radius: 4px; overflow: hidden; background: var(--surface); }
.bar i { flex: 1; border-left: 1.5px solid var(--strong); }
.bar i:first-child { border-left: 0; }
.bar i.on { background: var(--tint); }
.bar i.on + i.on { border-left-color: var(--surface); }
.bar-cap { margin: 8px 0 10px; font-size: 0.9375rem; color: var(--quiet); }
.job li { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1.5px solid var(--hair); color: var(--quiet); }
.job li.done { color: var(--ink); }
.job .box { width: 16px; height: 16px; border: 1.5px solid var(--hair); border-radius: 3px; }
.job .done .box { width: 9px; height: 15px; margin: 0 4px 3px; border: solid var(--good); border-width: 0 2.5px 2.5px 0; border-radius: 0; transform: rotate(45deg); }
.job .when { color: var(--quiet); font-size: 0.9375rem; }

/* Sections sit on the ground, divided by a hairline. */
/* Ledger: every section opens with a 1.5px ink rule, then a Bricolage heading. No full-width bands. */
.sec, .closer { padding: calc(var(--gap) / 2) 0 calc(var(--gap) / 2); }
.sec > .wrap::before, .closer > .wrap::before { content: ""; display: block; grid-column: 1 / -1; border-top: 1.5px solid var(--ink); margin-bottom: 24px; }
.closer { padding-bottom: var(--gap); }
.sec-head { margin-bottom: 24px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-head p { margin: 0; color: var(--quiet); max-width: 38em; }

/* Features: words beside a real screen from the app, then a pair of plain columns. */
.feat, .feat-pair { display: grid; gap: 24px; padding: 32px 0; border-top: 1.5px solid var(--hair); }
.feat-words h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-bottom: 10px; }
.feat-words p { color: var(--quiet); max-width: 32em; margin: 0; font-size: 1.0625rem; }
.feat-pair h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feat-pair p { color: var(--quiet); max-width: 34em; margin: 0; }
.feat-pair p + p { margin-top: 10px; }
.feat-pair > div + div { border-top: 1.5px solid var(--hair); padding-top: 24px; }
.feat:last-child { padding-bottom: 0; }
.sec-head + .feat, .sec-head + .feat-pair { border-top: 0; padding-top: 8px; }
.shot { margin: 0; max-width: 390px; }
.shot img { width: 100%; height: auto; border: 1.5px solid var(--strong); border-radius: 12px; background: var(--surface); }
.shot figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--quiet); }

.who { margin-top: 20px; border-top: 1.5px solid var(--hair); }
.who li { padding: 13px 0; border-bottom: 1.5px solid var(--hair); font-weight: 500; }

/* The honest "not yet" list. */
.notyet h3 { font-size: 1.25rem; margin-bottom: 6px; }
.notyet > p { color: var(--quiet); }
.notyet ul { border-top: 1.5px solid var(--hair); }
.notyet li { padding: 13px 0; border-bottom: 1.5px solid var(--hair); color: var(--quiet); }
.notyet li strong { color: var(--ink); }

.split { display: grid; gap: 40px; }
.split::before { margin-bottom: -16px !important; }

/* Price sheet. A ruled table, not cards. */
.sheet { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; padding: 18px 12px 18px 0; border-bottom: 1.5px solid var(--hair); vertical-align: baseline; font-weight: 400; }
.sheet thead th { font-size: 0.9375rem; font-weight: 500; color: var(--quiet); padding-top: 12px; padding-bottom: 12px; }
.sheet .plan { font: 800 1.375rem/1.15 var(--display); letter-spacing: -0.02em; display: block; }
.sheet .who-line { color: var(--quiet); }
.sheet .price { font: 800 1.5rem/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet .per { font-size: 0.9375rem; color: var(--quiet); }
.sheet .yr { white-space: nowrap; }
@media (min-width: 700px) { .sheet .yr { font-variant-numeric: tabular-nums; } }
.sheet td.r, .sheet th.r { text-align: right; padding-right: 0; }
@media (max-width: 699px) {
  .sheet thead { display: none; }
  .sheet, .sheet tbody, .sheet tr, .sheet td, .sheet th { display: block; width: 100%; }
  .sheet tr { padding: 18px 0; border-bottom: 1.5px solid var(--hair); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
  .sheet th, .sheet td { border: 0; padding: 0; }
  .sheet th[scope="row"] { grid-column: 1; }
  .sheet td.m { grid-column: 2; grid-row: 1; text-align: right; }
  .sheet td.y { grid-column: 1 / -1; text-align: left; color: var(--quiet); }
  .sheet td.y::before { content: "or paid yearly: "; }
}


.terms { border-top: 1.5px solid var(--hair); }
.terms li { padding: 14px 0; border-bottom: 1.5px solid var(--hair); font-weight: 500; }

/* Stamp: the one badge. 2px corners, 1.5px ink outline, sentence case, colour only in the 6px square. */
.stamp { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px; border: 1.5px solid var(--ink); border-radius: 2px; font: 600 0.875rem/1.2 var(--font); color: var(--ink); white-space: nowrap; }
.stamp::before { content: ""; width: 6px; height: 6px; background: var(--warn); flex: none; }
.job-head .stamp::before { background: var(--tint); }

/* The 14 days, in three plain steps. */
.trial { margin: 40px 0 0; max-width: 720px; }
.trial h3 { font-size: 1.25rem; margin-bottom: 8px; }
.trial-steps { display: grid; margin-top: 12px; }
.trial-steps li { padding: 12px 0; border-bottom: 1.5px solid var(--hair); color: var(--quiet); }
.trial-steps b { display: block; color: var(--ink); font-weight: 700; }


/* Questions. */
.faq { border-top: 1.5px solid var(--edge); max-width: 46em; }
.faq details { border-bottom: 1.5px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 58px; padding: 12px 44px 12px 0; font-weight: 600; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-54%); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq details > div { padding: 0 0 18px; color: var(--quiet); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Plain pages (privacy, terms, contact). */
.plain { padding: 48px 0 72px; min-height: 55vh; }
.plain .box { max-width: 38em; }
.plain h1 { font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem); }
.big-link { font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }
.big-link a { display: inline-block; padding: 10px 0; }

/* Closing call to action: same ground, just the words and the button. */
.closer h2 { max-width: 18em; }
.closer p { color: var(--quiet); max-width: 38em; }

.foot { padding: 24px 0 40px; font-size: 0.9375rem; color: var(--quiet); border-top: 1.5px solid var(--hair); }
.foot .wrap { display: grid; gap: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 700px) {
  :root { --pad: 32px; --gap: 80px; }
  .hero { padding: 72px 0 80px; }
  .split { grid-template-columns: 1fr 1fr; gap: 24px 64px; }
  .split::before { margin-bottom: 0 !important; }
  .feat-pair { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feat-pair > div + div { border-top: 0; padding-top: 0; }
  .trial-steps { grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
}
@media (min-width: 1000px) {
  .hero .wrap.has-job { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; }
  .job { margin-top: 0; justify-self: end; width: 100%; }
}
@media (min-width: 860px) {
  .feat { grid-template-columns: 1fr 390px; gap: 64px; align-items: center; }
  .feat.flip { grid-template-columns: 390px 1fr; }
  .feat.flip .shot { order: -1; }
}
@media (max-width: 479px) {
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* Shown only while site.config.js still has a placeholder (brand.js). */
.notready { background: #b3261e; color: #fff; font-weight: 600; font-size: 0.9375rem; padding: 10px var(--pad); text-align: center; }

/* Founding price: one ruled strip above the price sheet (a stamp and a sentence), not a banner. */
.found-strip { display: grid; gap: 10px; padding: 0 0 18px; border-bottom: 1.5px solid var(--hair); margin-bottom: 8px; }
.found-strip p { max-width: 44em; }
.found-strip .stamp { justify-self: start; }
.found-strip .stamp::before, [data-founding] > .stamp::before { background: var(--tint); }
/* The three prices on the home page: a ledger, figures right. */
.pricelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 400; }
.pricelist b { font: 800 1.375rem/1.15 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pricelist small { font: 400 0.9375rem/1.2 var(--font); color: var(--quiet); letter-spacing: 0; }
/* What others charge: a plain ruled table; on a phone each app becomes its own short block. */
.cmp { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1.5px solid var(--hair); vertical-align: top; font-weight: 400; }
.cmp thead th { font-weight: 500; color: var(--quiet); }
.cmp tbody th { font-weight: 700; white-space: nowrap; }
.cmp td { color: var(--quiet); }
.cmp td b { color: var(--ink); font: 800 1.125rem/1.2 var(--display); letter-spacing: -0.01em; }
.cmp tr.us th, .cmp tr.us td { border-bottom: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); color: var(--ink); }
.cmp-honest { max-width: 44em; }
@media (max-width: 699px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { padding: 14px 0; border-bottom: 1.5px solid var(--hair); }
  .cmp tr.us { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
  .cmp th, .cmp td, .cmp tr.us th, .cmp tr.us td { border: 0; padding: 2px 0; }
  .cmp td:nth-of-type(1)::before { content: "Just you: "; color: var(--quiet); }
  .cmp td:nth-of-type(2)::before { content: "Crew of 5: "; color: var(--quiet); }
  .cmp td:empty { display: none; }
}
/* Legal pages: numbered plain clauses. */
.legal { max-width: 44em; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.legal ol.clauses { padding-left: 1.4em; display: grid; gap: 14px; }
.legal ol.clauses > li::marker { font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin-top: 8px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1.5px solid var(--hair); vertical-align: top; }
.plain h2 { font-size: 1.375rem; margin: 32px 0 8px; }
