/* ===== Brand palette ===== */
:root {
  --brand-navy:   #00395C;   /* primary navy */
  --brand-navy-600:#003455;  /* hover/depth */
  --brand-navy-700:#002F50;  /* darker navy */
  --brand-sky:    #7FB9E7;   /* accent */
  --brand-ice:    #F2F7FB;   /* soft section bg */

  --bg: #FAFCFE;
  --surface: #FFFFFF;
  --text: #17212B;
  --muted: #64748B;
  --line: #E6EFF7;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 8px 24px rgba(0, 57, 92, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 57, 92, 0.06);
  --container: 1120px;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 50% -240px, #EAF3FA 10%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-title { font-size: 22px; font-weight: 700; color: var(--brand-navy-700); margin: 0 0 18px; }

/* ===== Header ===== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0; z-index: 50;
  backdrop-filter: saturate(1.1) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 36px; height: 36px; }
.brand-logo.sm { width: 20px; height: 20px; }
.brand-logo.big { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; color: var(--brand-navy-700); letter-spacing: -0.01em; }
.brand-tag { font-size: 12px; color: var(--muted); }
.main-nav a {
  color: var(--muted); text-decoration: none; margin-left: 22px; position: relative; padding: 4px 0;
}
.main-nav a:hover { color: var(--brand-navy-700); }
.main-nav a::after {
  content:""; position: absolute; left:0; right:0; bottom:-6px; height:2px;
  background: linear-gradient(90deg,var(--brand-navy),transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero {
  padding: 86px 0 54px;
  background: linear-gradient(180deg,#FFFFFF 0%, #F6FAFE 55%, transparent 100%);
}
.grid-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
@media (max-width:900px){ .grid-hero { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--brand-navy);
  background: #EAF3FA; border: 1px solid var(--line);
  padding: 6px 10px; border-radius: 999px; margin-bottom: 14px;
}
.hero-title {
  font-size: 50px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-navy-700);
}
.hero-title .accent {
  display: block;
  font-size: 50px;
  font-weight: 800;
  color: #2563eb; /* strong blue accent */
}
.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 58ch;
  margin: 14px 0 22px;
}

/* Waitlist form */
.waitlist {
  display: flex;
  gap: 12px;
  margin: 18px 0 10px;
}
.input-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.input-wrap:focus-within {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(0,57,92,.10);
}
.input-icon { font-size: 16px; opacity: .7; }
input[type="email"] {
  border: 0; outline: 0; background: transparent; width: 100%;
  font-size: 16px; color: var(--text);
}
.btn {
  border: 1px solid transparent; border-radius: 14px; padding: 13px 18px;
  font-weight: 700; cursor: pointer; transition: .16s ease; box-shadow: var(--shadow-sm);
}
.btn-primary { background: var(--brand-navy); color: #fff; }
.btn-primary:hover { background: var(--brand-navy-600); }
.btn-outline { background: transparent; color: var(--brand-navy); border-color: var(--brand-navy-600); }
.btn-outline:hover { background: #EAF3FA; }

/* Mobile waitlist stacking */
@media (max-width: 640px) {
  .waitlist {
    flex-direction: column;
    align-items: stretch;
  }
  .waitlist input[type="email"] {
    font-size: 18px;
    padding: 16px 18px;
  }
  .waitlist .btn {
    width: 100%;
    font-size: 18px;
    padding: 16px 18px;
  }
}

/* chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 13px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-green { background: #7FD3B7; }
.dot-blue { background: #7FB9E7; }
.dot-gray { background: #A6B3C2; }

/* hero side card */
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 20px;
}
.card-head { font-weight: 700; margin-bottom: 12px; color: var(--brand-navy); }
.steps { margin: 0 0 10px 18px; padding: 0; color: var(--muted); line-height: 1.8; }
.card-foot { font-size: 12px; color: var(--muted); }

/* ===== Tiles & grids ===== */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width:1000px){ .grid-4{grid-template-columns:repeat(2,1fr)} }
@media (max-width:780px){ .grid-3,.grid-2,.grid-4{grid-template-columns:1fr} }

.tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.tile h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand-navy-700); }
.tile p { margin: 0; color: var(--muted); line-height: 1.65; }
.tile.simple { box-shadow: none; }

/* ===== Section styling ===== */
#how { background: linear-gradient(180deg, var(--brand-ice), #FFFFFF); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff; padding: 20px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-links a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.footer-links a:hover { color: var(--brand-navy-700); }

/* Messages */
.form-msg { margin-top: 6px; font-size: 14px; }
.form-msg.error { color: #B91C1C; }
.form-msg.success { color: #0F766E; }
