/* Archipelago site — palette from the app */
:root {
  --sky-top: #0A3A8C;
  --sky: #1E6FD0;
  --water-deep: #0C4FA6;
  --water: #1E6FD0;
  --water-light: #2E9BE6;
  --island: #4FB05A;
  --island-dark: #2E8B3D;
  --island-light: #8FC95A;
  --sand: #E7D6A6;
  --gold: #F6C544;

  --bg: #EEF5FC;
  --card: #FFFFFF;
  --ink: #07275E;
  --muted: #45618F;
  --line: #C6D6EC;
  /* Text-safe green: readable on the page background and with white. */
  --accent: #1F7A2E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06162F;
    --card: #0B2347;
    --ink: #E6EEFB;
    --muted: #A3B7D6;
    --line: #27426B;
    --accent: #6FD37C;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.doc a, .card a { text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 18px; font-weight: 600; font-size: 14.5px; }
nav a:hover { color: var(--ink); text-decoration: none; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sky-top) 0%, var(--water) 55%, var(--water-light) 100%);
  color: #F4F9FF;
  border-radius: 28px;
  padding: 56px 40px;
  margin-top: 8px;
}
.hero::after {
  content: ""; position: absolute; right: -90px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--island-light) 0%, var(--island) 55%, transparent 72%);
  opacity: .7; pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero .icon { width: 108px; height: 108px; border-radius: 26px; box-shadow: 0 18px 50px rgba(0,0,0,.35); margin-bottom: 22px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 18px; color: rgba(244,249,255,.88); margin: 0 0 24px; max-width: 48ch; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: #3A2A00; font-weight: 800; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(246,197,68,.4); }
.cta:hover { background: #ffd666; text-decoration: none; }
.cta.soon { cursor: default; background: rgba(255,255,255,.16); color: #F4F9FF; box-shadow: none; }
.cta.soon:hover { background: rgba(255,255,255,.16); }

/* sections */
section { padding: 56px 0 8px; }
h2 { font-size: 28px; letter-spacing: -0.015em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; font-size: 17px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.card .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; font-size: 18px;
  background: color-mix(in srgb, var(--water-light) 22%, transparent); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* screenshot gallery */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 4px; }
.shot {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 10px;
  box-shadow: 0 12px 30px rgba(7,37,94,.12); margin: 0;
}
.shot img { border-radius: 14px; width: 100%; display: block; }
.shot figcaption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; padding: 12px 0 4px; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

.privacy-band {
  margin-top: 40px; border-radius: 22px; padding: 30px 32px;
  background: linear-gradient(135deg, var(--water) 0%, var(--sky-top) 100%); color: #F4F9FF;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.privacy-band h3 { margin: 0 0 6px; font-size: 20px; }
.privacy-band p { margin: 0; color: rgba(244,249,255,.84); max-width: 60ch; }
.privacy-band a { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* document pages */
.doc { padding-top: 24px; }
.doc h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 4px; }
.doc .date { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 19px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); }
.note {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; color: var(--muted);
}
.note strong { color: var(--ink); }

/* footer */
footer { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 14px; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .hero { padding: 40px 24px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .privacy-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  nav a { margin-left: 12px; font-size: 13.5px; }
  .grid { grid-template-columns: 1fr; }
}

/* contact page */
.cx { margin-top: 8px; border-radius: 28px; padding: 44px; color: #F4F9FF; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--sky-top) 0%, var(--water) 55%, var(--water-light) 100%);
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.cx::after { content:""; position:absolute; left:-110px; bottom:-150px; width:340px; height:340px; border-radius:50%;
  background: radial-gradient(circle at 50% 40%, var(--island-light) 0%, var(--island) 55%, transparent 72%); opacity:.55; pointer-events:none; }
.cx > * { position: relative; z-index: 1; }
.cx h1 { font-size: clamp(32px,4.4vw,46px); line-height:1.05; letter-spacing:-.02em; margin:0 0 12px; }
.cx h1 em { font-style: normal; color: var(--gold); }
.cx .lead { margin:0 0 22px; font-size:17px; color: rgba(244,249,255,.88); }
.cx ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.cx li { display:flex; gap:10px; align-items:center; font-weight:600; color: rgba(244,249,255,.92); }
.cx li span { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background: rgba(255,255,255,.16); }
.cf { background:#fff; color:#07275E; border-radius:22px; padding:24px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.cf h2 { margin:0 0 14px; font-size:19px; }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.chips label { cursor:pointer; }
.chips input { position:absolute; opacity:0; }
.chips span { display:inline-block; padding:8px 14px; border-radius:999px; font-weight:700; font-size:14px; color:#45618F; background:#EEF5FC; border:1.5px solid transparent; }
.chips input:checked + span { background:#fff; color:#07275E; border-color:#1E6FD0; box-shadow:0 0 0 3px rgba(30,111,208,.15); }
.cf textarea { width:100%; font:inherit; line-height:1.5; color:#07275E; background:#F5F9FE; border:1.5px solid #C6D6EC; border-radius:14px; padding:14px 16px; min-height:150px; resize:vertical; }
.cf textarea:focus { outline:none; border-color:#1E6FD0; background:#fff; box-shadow:0 0 0 4px rgba(30,111,208,.15); }
.cf button { width:100%; margin-top:14px; border:0; cursor:pointer; font:inherit; font-weight:800; font-size:16px; padding:15px; border-radius:14px; background:var(--gold); color:#3A2A00; box-shadow:0 10px 26px rgba(246,197,68,.45); }
.cf button:hover { background:#ffd666; }
.cf small { display:block; margin-top:12px; text-align:center; color:#45618F; font-size:13px; }
@media (max-width: 820px) { .cx { grid-template-columns:1fr; padding:28px 22px; gap:26px; } }
.fb-check { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; background: var(--island); }
