/* Bluewake Labs site styles. No external requests: the font is self-hosted, there is no script. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #0A2540;
  --navy-2: #12355a;
  --mist: #EEF3F7;
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-dark: #1d4fc4;
  --orange: #F05A1A;
  --orange-dark: #d24a10;
  --ink: #13263B;
  --muted: #51657A;
  --line: #D6E0E9;
  --on-navy: #D8E4F0;
  --on-navy-muted: #9DB3C9;
  --flag-red: #D7262E;
  --flag-yellow: #F6C700;
  --flag-blue: #1E4FA8;
  --ok: #1D7A4B;
  --ok-soft: #E1F2E8;
  --soon: #7A5A06;
  --soon-soft: #FBF0D2;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 12px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-stretch: 118%;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-stretch: 112%; font-weight: 700; }

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--white); color: var(--navy);
  padding: 10px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 12px; }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-block: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-stretch: 120%; font-weight: 750; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-name span { color: var(--on-navy-muted); font-weight: 500; }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.nav a { color: var(--on-navy); text-decoration: none; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font: inherit; font-weight: 650; font-stretch: 108%; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; padding-block: 56px 72px; }
.hero-copy { max-width: 640px; display: grid; gap: 20px; }
.eyebrow {
  font-size: 0.8rem; font-weight: 650; font-stretch: 115%;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-muted);
}
.hero h1 { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--on-navy); max-width: 58ch; }
.hero .actions { margin-top: 6px; }
.hero-meta { font-size: 0.92rem; color: var(--on-navy-muted); }

.wake {
  position: absolute; z-index: 0; pointer-events: none;
  right: -40px; top: 50%; transform: translateY(-50%);
  width: min(760px, 70vw); height: auto; opacity: .9;
}
.wake .trail { stroke-dasharray: 1400; stroke-dashoffset: 0; animation: wake-draw 2.6s cubic-bezier(.2,.7,.2,1) .15s both; }
.wake .trail.t2 { animation-delay: .35s; }
.wake .trail.t3 { animation-delay: .55s; }
.wake .trail.t4 { animation-delay: .75s; }
@keyframes wake-draw { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .wake .trail { animation: none; }
  .btn { transition: none; }
}
@media (max-width: 760px) {
  .wake { width: 120vw; right: -45vw; top: auto; bottom: -10px; transform: none; opacity: .35; }
}

/* Sections */
.section { padding-block: 72px; }
.section-mist { background: var(--mist); }
.section-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 14px; align-content: start; min-width: 0;
}
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-flag { display: flex; align-items: center; gap: 12px; }
.flag { width: 44px; height: 30px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(10,37,64,.18); }
.flag-caption { font-size: 0.78rem; color: var(--muted); line-height: 1.35; }
.flag-caption b { font-weight: 650; color: var(--ink); }
.product h3 a { color: var(--ink); text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }
.product p { color: var(--muted); }
.product .more { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.product .more:hover { text-decoration: underline; }
.product .more svg { width: 16px; height: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 0.75rem; font-weight: 650; font-stretch: 110%;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-soon { background: var(--soon-soft); color: var(--soon); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }
.about-text { display: grid; gap: 16px; }
.about-text p { color: var(--ink); max-width: 62ch; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }
.facts .k { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }

/* Contact band */
.contact { background: var(--navy); color: var(--white); }
.contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 48px; }
.contact h2 { color: var(--white); }
.contact p { color: var(--on-navy); margin-top: 8px; }
.contact .wrap > * { min-width: 0; max-width: 100%; }
.contact .email { color: var(--white); font-size: clamp(1rem, 4.4vw, 1.2rem); font-weight: 650; font-stretch: 105%; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); border-top: 1px solid var(--navy-2); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* Product page */
.app-hero .wrap { display: grid; gap: 40px; }
.app-title { display: flex; align-items: center; gap: 14px; }
.app-title img { width: 56px; height: 56px; border-radius: 12px; }
.app-title span { font-stretch: 115%; font-weight: 700; font-size: 1.15rem; color: var(--on-navy); }
.shot {
  border-radius: 12px; overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 24px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
}
.shot-caption { font-size: 0.85rem; color: var(--on-navy-muted); margin-top: 10px; }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.way-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; }
.way-icon svg { width: 24px; height: 24px; }
.way p { color: var(--muted); }

.chat { display: grid; gap: 10px; margin-top: 6px; font-size: 0.92rem; }
.bubble { padding: 10px 14px; border-radius: 14px; max-width: 92%; line-height: 1.45; }
.bubble.you { background: var(--blue); color: var(--white); justify-self: end; border-bottom-right-radius: 4px; }
.bubble.ai { background: var(--mist); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble ul { margin: 6px 0 6px; padding-left: 18px; }
.bubble .size { color: var(--muted); font-variant-numeric: tabular-nums; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.feature p { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-text { display: grid; gap: 16px; }
.split-text p { color: var(--muted); }
.steps { margin: 0; padding-left: 1.3rem; display: grid; gap: 8px; color: var(--ink); }
.figure-pair { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: end; }
@media (max-width: 520px) { .figure-pair { grid-template-columns: 1fr; } }
.figure-pair img { border-radius: 10px; border: 1px solid var(--line); background: var(--white); }

.privacy-band { background: var(--navy); color: var(--white); }
.privacy-band .wrap { padding-block: 56px; display: grid; gap: 14px; }
.privacy-band .wrap > * { max-width: 760px; }
.privacy-band h2 { color: var(--white); }
.privacy-band p { color: var(--on-navy); }
.privacy-band a { color: var(--white); }

.price {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px; display: grid; gap: 18px; max-width: 560px;
}
.price-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.amount { font-size: 3rem; font-weight: 750; font-stretch: 120%; line-height: 1; color: var(--navy); }
.amount small { font-size: 1rem; font-weight: 500; font-stretch: 100%; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; }
.note { font-size: 0.92rem; color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; font-stretch: 105%; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); display: grid; gap: 10px; }

.download { display: grid; gap: 14px; }
.download > * { max-width: 680px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }

/* Legal pages */
.doc { padding-block: 56px 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 6px; }
.doc .date { color: var(--muted); margin-bottom: 24px; }
.doc h2 { font-size: 1.35rem; font-stretch: 112%; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin: 6px 0; }
.doc code { font-size: 0.9em; background: var(--mist); padding: 1px 6px; border-radius: 5px; }
.summary-box { background: var(--mist); border-left: 4px solid var(--blue); border-radius: 8px; padding: 18px 20px; margin: 8px 0 8px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* 404 */
.lost { padding-block: 96px; }
.lost .wrap { display: grid; gap: 18px; }
.lost p { color: var(--muted); }

/* 404 harbor game */
.lost-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; max-width: var(--wrap) !important; }
@media (max-width: 900px) { .lost-grid { grid-template-columns: 1fr; gap: 36px; } }
.lost-text { display: grid; gap: 18px; }
.harbor { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 14px; min-width: 0; }
.harbor[hidden] { display: none; }
.harbor-head h2 { font-size: 1.35rem; font-stretch: 112%; }
.harbor-head p { color: var(--muted); margin-top: 4px; }
.harbor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.berth {
  position: relative; aspect-ratio: 1 / 1; min-width: 0; padding: 6px;
  border-radius: 10px; border: 2px solid #C4D6E6; cursor: pointer;
  background: linear-gradient(180deg, #DCEAF6 0%, #C9DDEE 100%);
  display: grid; place-items: center; font: inherit;
}
.berth:hover { border-color: var(--blue); }
.berth.selected { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 90, 26, .25); }
.berth img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.berth .lv {
  position: absolute; left: 5px; top: 4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--navy); color: var(--white);
  font-size: 0.72rem; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums;
}
.berth.pop img { animation: berth-pop .35s ease-out; }
@keyframes berth-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.harbor-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.harbor-bar .btn { min-height: 44px; padding: 10px 18px; }
.harbor-bar .btn:disabled { opacity: .5; cursor: not-allowed; }
.harbor-status { min-height: 1.6em; color: var(--ink); font-size: 0.95rem; }
.harbor-meta { color: var(--muted); font-size: 0.92rem; }
.harbor-meta b { color: var(--ink); font-weight: 650; }
.harbor-unlock { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.harbor-unlock[hidden] { display: none; }
.harbor-unlock img { width: 96px; height: 80px; object-fit: contain; }
.u-level { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ok); }
.u-name { font-weight: 700; font-stretch: 110%; font-size: 1.05rem; }
.u-fact { color: var(--muted); font-size: 0.9rem; line-height: 1.45; margin-top: 2px; }
.harbor-promo { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { .berth.pop img { animation: none; } }
