:root {
  --teal: #0a7e8c;
  --teal-dark: #066471;
  --teal-light: #e3f1f3;
  --navy: #0d1b2a;
  --navy-light: #1b2d40;
  --accent: #f2a65a;
  --surface: #f4f7f9;
  --card: #ffffff;
  --border: #e3e8ee;
  --text: #16212b;
  --text-2: #5c6b7a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}
a { color: var(--teal-dark); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { background: var(--navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav a { color: #c9d6e2; text-decoration: none; margin-left: 18px; font-size: .95rem; }
.top nav a:hover { color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 56px 0 64px; text-align: center; }
.hero img.logo { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 10px 40px rgba(10, 126, 140, .45); }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; margin: 24px 0 12px; }
.hero p.lead { color: #c9d6e2; font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; padding: 15px 28px; border-radius: 14px; }
.btn:hover { background: var(--teal-dark); }
.btn svg { width: 22px; height: 22px; }
.hero .meta { color: #8fa3b6; font-size: .88rem; margin-top: 12px; }
.ref-note { display: none; background: rgba(242, 166, 90, .15); color: #ffd9b0; border-radius: 10px; padding: 10px 14px; max-width: 460px; margin: 0 auto 22px; font-size: .95rem; }

/* Sections */
section { padding: 48px 0; }
h2.section { font-size: 1.5rem; margin: 0 0 20px; text-align: center; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--text-2); font-size: .95rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; margin-bottom: 12px; }
.icon svg { width: 22px; height: 22px; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 auto; max-width: 640px; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; }
ol.steps b { display: block; }
ol.steps span { color: var(--text-2); font-size: .95rem; }
.note { max-width: 640px; margin: 8px auto 0; color: var(--text-2); font-size: .9rem; text-align: center; }

/* Documents (privacy, terms, delete account) */
.doc { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 22px; margin: 32px auto; max-width: 760px; }
.doc h1 { font-size: 1.7rem; margin: 0 0 4px; }
.doc .date { color: var(--text-2); margin: 0 0 18px; font-size: .92rem; }
.doc h2 { font-size: 1.1rem; margin: 24px 0 6px; }
.doc p, .doc li { color: #2b3845; }

footer { background: var(--navy); color: #8fa3b6; font-size: .9rem; padding: 28px 0; text-align: center; }
footer a { color: #c9d6e2; margin: 0 8px; }

@media (max-width: 520px) {
  .top nav a { margin-left: 12px; font-size: .88rem; }
  .top nav a.hide-sm { display: none; }
  .hero { padding: 40px 0 48px; }
}
