/* Sailvane public site. Brand: Geist, near-black ink, soft grey paper, lime accent (#cdfb22). */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #111111;
  --soft: #55585e;
  --faint: #86868b;
  --line: #e4e4e2;
  --paper: #f6f6f5;
  --white: #ffffff;
  --night: #000000;
  --night-ink: #d2d2d7;
  --lime: #cdfb22;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Logo: the mark, with the wordmark tinted to the current text colour (as in the app). */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.logo img { width: 35px; height: 22px; }
.logo .word {
  display: inline-block; width: 90px; height: 19px; background: currentColor;
  -webkit-mask: url("/assets/brand/sailvane-wordmark.png") left center / contain no-repeat;
  mask: url("/assets/brand/sailvane-wordmark.png") left center / contain no-repeat;
}

/* Header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top nav a { color: var(--night-ink); text-decoration: none; font-size: 15px; margin-left: 24px; }
.top nav a:hover { color: #fff; }
.top.light { position: static; border-bottom: 1px solid var(--line); }
.top.light nav a { color: var(--soft); }
.top.light nav a:hover { color: var(--ink); }

/* Hero */
.hero { background: var(--night); color: #fff; padding: 168px 0 112px; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--night-ink); border: 1px solid #2a2a2a; border-radius: 999px; padding: 6px 14px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1 { font-weight: 450; font-size: clamp(40px, 7vw, 76px); line-height: 1.04; letter-spacing: -0.03em; margin: 28px auto 0; max-width: 14ch; }
.hero h1 span { color: var(--lime); }
.hero p { color: var(--night-ink); font-size: clamp(18px, 2.2vw, 21px); max-width: 38ch; margin: 24px auto 0; }
.cta { display: inline-block; margin-top: 36px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 13px 26px; border-radius: 999px; }
.cta:hover { background: var(--lime); }

/* Sections */
section.band { padding: 96px 0; }
section.band.grey { background: var(--paper); }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0; }
h2 { font-weight: 450; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0 0; max-width: 22ch; }
.lead { font-size: 19px; color: var(--soft); max-width: 60ch; margin: 18px 0 0; }
.grid { display: grid; gap: 20px; margin-top: 44px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.band.grey .card { border-color: transparent; }
.card h3 { font-weight: 500; font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--soft); font-size: 16px; }
.card li { margin-bottom: 6px; }
.status { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--soft); margin-bottom: 14px; }
.status.dev { background: #f6fdd9; color: #3d4a00; }
.note { margin-top: 28px; font-size: 15px; color: var(--soft); }

/* Contact */
.contact { text-align: center; }
.contact h2 { margin-left: auto; margin-right: auto; }
.contact .lead { margin-left: auto; margin-right: auto; }
.contact a.mail { display: inline-block; margin-top: 24px; font-size: 20px; text-decoration: none; border-bottom: 2px solid var(--lime); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-weight: 450; font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.legal .meta { color: var(--faint); font-size: 15px; margin: 12px 0 40px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; max-width: none; }
.legal h3 { font-weight: 500; font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: #2b2d31; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--paper); font-weight: 500; }
.legal .callout { background: var(--paper); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }

/* Footer */
footer { background: var(--night); color: var(--night-ink); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
footer nav a { color: var(--night-ink); text-decoration: none; margin-right: 24px; }
footer nav a:hover { color: #fff; }
footer .small { color: var(--faint); font-size: 14px; width: 100%; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 132px 0 80px; }
  section.band { padding: 72px 0; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .top nav a { margin-left: 16px; font-size: 14px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .legal th { display: none; }
  .legal td { border: 0; padding: 4px 0; }
}

.logo.on-dark { color: #fff; }
