/* Slipway product site. System fonts only: no web fonts, no scripts, no cookies.
   Colors come from the app icon: the navy sky, the blue sea and the amber hull. */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f6fc;
  --text: #0e1a33;
  --muted: #4b5875;
  --line: #dde5f2;
  --accent: #2457c5;
  --accent-hover: #1a4296;
  --accent-ink: #ffffff;
  --accent-soft: #e7eefc;
  --amber: #f5b335;
  --hero-1: #2a5bc4;
  --hero-2: #0f2558;
  --on-hero: #ffffff;
  --on-hero-muted: #c8d6f2;
  --footer-bg: #0f2558;
  --shadow: 0 1px 2px rgba(14, 26, 51, 0.06), 0 12px 32px rgba(14, 26, 51, 0.12);
  --radius: 14px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1222;
    --bg-soft: #111b31;
    --text: #e8eefb;
    --muted: #a8b6d3;
    --line: #23304c;
    --accent: #7ea8ff;
    --accent-hover: #a8c3ff;
    --accent-ink: #0b1222;
    --accent-soft: #16264a;
    --hero-1: #1d468f;
    --hero-2: #0a1838;
    --footer-bg: #070e1d;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); letter-spacing: -0.025em; font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--bg); padding: 8px 12px; z-index: 10; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 66px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; gap: 4px 26px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.97rem; font-weight: 500; padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }

/* Sections */
section { padding: 88px 0; }
.section-intro { color: var(--muted); max-width: 640px; font-size: 1.1rem; margin-bottom: 36px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700; margin-bottom: 18px; }
.lead { font-size: 1.22rem; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 11px; font-weight: 650; text-decoration: none; text-align: center;
  background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--accent);
  font-size: 1rem; line-height: 1.2;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.button.is-soon {
  background: var(--bg-soft); border-color: var(--line); color: var(--muted); cursor: default;
  flex-wrap: wrap; white-space: nowrap; row-gap: 6px;
}
.button small {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.downloads { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: the navy of the icon, with the screenshot reaching down into the page below. */
.hero {
  padding: 76px 0 0;
  color: var(--on-hero);
  background:
    linear-gradient(var(--bg), var(--bg)) bottom / 100% clamp(70px, 13vw, 190px) no-repeat,
    radial-gradient(1100px 520px at 85% -10%, rgba(47, 134, 224, 0.55), transparent 70%),
    linear-gradient(180deg, var(--hero-1), var(--hero-2));
}
.hero .eyebrow { color: var(--amber); }
.hero h1 { max-width: 17ch; color: var(--on-hero); }
.hero .lead { color: var(--on-hero-muted); max-width: 660px; margin-bottom: 30px; }
.hero .button.is-soon { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.32); color: var(--on-hero); }
.hero .button small { background: var(--amber); color: #0f2558; }
.hero-shot { margin-top: 56px; }

/* Screenshots in a window frame */
.shot { margin: 0; }
.window { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #f6f6f5; box-shadow: var(--shadow); }
.hero .window { border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 30px 80px rgba(5, 15, 40, 0.45); }
.window-bar { display: flex; gap: 7px; padding: 10px 14px; background: #ecebea; border-bottom: 1px solid #dcdad8; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }
.window img { width: 100%; }
.shot .slot {
  aspect-ratio: 1280 / 820; display: grid; place-content: center; text-align: center; gap: 6px;
  border: 2px dashed var(--muted); color: var(--muted); padding: 20px; font-size: 0.95rem; background: var(--bg-soft);
}
.shot figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

/* Who it's for */
.who { padding-top: 64px; }
.moments { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.moments li { background: var(--bg-soft); border-radius: var(--radius); padding: 22px 24px; border-left: 4px solid var(--amber); font-size: 1.04rem; }
.moments strong { color: var(--text); }

/* Features */
.features-section { background: var(--bg-soft); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; transform: rotate(19.5deg); }
.feature p { color: var(--muted); margin: 0; font-size: 0.99rem; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 64px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--amber); color: #0f2558; font-weight: 800; margin-bottom: 14px;
}
.step-text h3 { font-size: 1.45rem; letter-spacing: -0.02em; }
.step-text p { color: var(--muted); font-size: 1.06rem; }

/* Price band */
.price-band { padding: 0 0 88px; }
.price-band-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--hero-1), var(--hero-2)); color: var(--on-hero);
  border-radius: 20px; padding: 40px 44px;
}
.price-band h2 { color: var(--on-hero); margin-bottom: 8px; }
.price-band p { color: var(--on-hero-muted); margin: 0; max-width: 560px; }
.price-band .button { background: var(--amber); border-color: var(--amber); color: #0f2558; }
.price-band .button:hover { background: #ffc552; border-color: #ffc552; }

/* FAQ */
.faq-section { background: var(--bg-soft); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Pricing page */
.page-head { padding: 72px 0 8px; }
.page-head .lead { color: var(--muted); }
.pricing { padding-top: 32px; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); background: var(--bg); position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--hero-1), #2f86e0 60%, var(--amber)); }
.plan-head h2 { font-size: 1.3rem; margin-bottom: 6px; }
.price { font-size: clamp(2.8rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 8px 0 10px; }
.price span { font-size: 1.05rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { color: var(--muted); font-size: 0.95rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px; }
h2.sub { font-size: 1.5rem; margin: 64px 0 20px; }
.terms-list { display: grid; grid-template-columns: 170px 1fr; gap: 0; margin: 0; }
.terms-list dt, .terms-list dd { padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.terms-list dt { font-weight: 650; padding-right: 20px; }
.terms-list dd { color: var(--muted); }

/* Policy and support pages */
.doc { padding: 72px 0 96px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2.2em; letter-spacing: -0.01em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.4em; }
.updated { color: var(--muted); font-size: 0.95rem; }
.summary-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 8px; }
.summary-box h2 { margin-top: 0; font-size: 1.05rem; }
.summary-box ul { margin: 0; }
.contact-card { background: var(--accent-soft); border-radius: var(--radius); padding: 22px 26px; font-size: 1.12rem; }
.contact-card a { font-weight: 650; }

/* A decision Dean still has to make. The build lists these, and the site can't go live while any remain. */
mark.decide {
  display: block; background: #fff3b0; color: #3b2a00; border: 2px dashed #d97706;
  border-radius: 10px; padding: 12px 16px; font-weight: 600;
}

/* Footer */
.site-footer { background: var(--footer-bg); color: #c8d6f2; padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand .brand { color: #ffffff; }
.footer-brand .brand img { width: 28px; height: 28px; }
.footer-brand p { margin: 12px 0 0; max-width: 340px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(200, 214, 242, 0.18); }
.footer-legal p { margin: 0 0 6px; font-size: 0.88rem; color: #9fb0d6; }

/* Smaller screens */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .step:nth-child(even) .step-text { order: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 40px; }
  .moments, .features { grid-template-columns: 1fr; }
  .price-band-row { padding: 30px 24px; }
  .plan { padding: 28px 22px; }
  .terms-list { grid-template-columns: 1fr; }
  .terms-list dd { border-top: 0; padding-top: 0; }
  .downloads .button, .plan-actions .button { width: 100%; }
  .window-bar { padding: 7px 10px; }
  .window-bar span { width: 8px; height: 8px; }
}
