/* northpolenetwork.app: same palette as Mission Control and the iPad home screen. */
:root {
  --navy:#16296B; --blue:#1F5FD1; --blue-2:#174BA8; --sky:#5B9BE0; --sky-soft:#E6F0FB; --green:#2E9445; --green-2:#26803B;
  --red:#D93838; --ink:#1B2240; --muted:#5D6785; --line:#E2E8F2; --soft:#F4F8FD;
  --shadow: 0 1px 2px rgba(22,41,107,.06), 0 12px 32px rgba(22,41,107,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 17px/1.6 Nunito, system-ui, sans-serif; background: #fff; }
h1, h2, h3 { font-family: Fredoka, sans-serif; font-weight: 600; color: var(--navy); margin: 0; line-height: 1.15; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- top bar ---- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226,232,242,.8); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.top img { height: 42px; display: block; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--muted); font-weight: 800; font-size: 15px; text-decoration: none; }
.top nav a:hover { color: var(--navy); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 700 16px Fredoka, sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--blue); color: #fff; } .btn.primary:hover { background: var(--blue-2); }
.btn.green { background: var(--green); color: #fff; } .btn.green:hover { background: var(--green-2); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line); } .btn.ghost:hover { background: var(--soft); }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; background: #EEF4FC url(/site/north-pole.jpg) center top / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, #fff); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--blue); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; }
.hero p.lead { font-size: 20px; color: #3E4867; margin: 20px 0 30px; max-width: 34em; font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The iPad home screen, drawn in CSS (no screenshots of anyone's family). */
.ipad { justify-self: center; width: min(420px, 100%); aspect-ratio: 3 / 4; border-radius: 34px; background: #1C2233; padding: 14px; box-shadow: 0 30px 70px rgba(22,41,107,.28); transform: rotate(2deg); }
.screen { height: 100%; border-radius: 22px; overflow: hidden; background: #F1F6FD url(/site/north-pole.jpg) center / cover; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; }
.screen .bar img { height: 26px; }
.screen .online { font-size: 11px; font-weight: 800; color: #1D6B30; background: #E3F4E6; border-radius: 999px; padding: 4px 9px; }
.screen .elf { display: flex; align-items: center; gap: 12px; }
.screen .face { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-soft); border: 4px solid #fff; box-shadow: 0 4px 12px rgba(22,41,107,.2); flex: none; display: flex; align-items: center; justify-content: center; font-size: 34px; line-height: 1; }
.screen .elf b { font: 600 19px/1.15 Fredoka, sans-serif; color: var(--navy); }
.screen .count { flex: 1; max-height: 210px; margin: auto 0; background: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 6px 18px rgba(22,41,107,.10); }
.screen .count .n { font: 700 72px/1 Fredoka, sans-serif; color: var(--red); }
.screen .count .t { font: 600 18px/1.15 Fredoka, sans-serif; color: var(--navy); }
.screen .actionbar { background: #fff; border-radius: 16px; padding: 10px 10px 10px 14px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 6px 18px rgba(22,41,107,.10); }
.screen .actionbar span { font-size: 13px; font-weight: 800; color: var(--navy); }
.screen .call { background: #43B45A; color: #fff; font: 700 14px Fredoka, sans-serif; border-radius: 999px; padding: 8px 16px; }

/* ---- sections ---- */
section { padding: 72px 0; }
.center { text-align: center; }
.kicker { color: var(--sky); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
section h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 6px; }
section .sub { color: var(--muted); font-size: 18px; max-width: 40em; margin: 12px auto 0; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--sky-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 21px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-weight: 600; }
.alt { background: linear-gradient(180deg, #F4F8FD, #fff); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin-top: 36px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--sky-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.feature .ico svg { width: 22px; height: 22px; }
.feature b { display: block; color: var(--navy); font-size: 18px; }
.feature span { color: var(--muted); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.trust span { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--navy); }

/* ---- invite form ---- */
.invite { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.invite .card { padding: 28px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 800; font-size: 14px; color: var(--navy); margin: 0 0 6px; }
.field { margin-bottom: 14px; }
input, textarea { width: 100%; font: inherit; font-size: 16px; color: inherit; padding: 11px 14px; border-radius: 12px; border: 1px solid #CFD8E6; background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,95,209,.15); }
textarea { resize: vertical; min-height: 96px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 24px; margin: 10px 0 0; font-weight: 800; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--red); }
.done { text-align: center; padding: 18px 0; }
.done h3 { font-size: 24px; margin-bottom: 6px; }

/* ---- long-form pages (privacy, support) ---- */
.page { max-width: 780px; margin: 0 auto; padding: 56px 24px 72px; }
.page h1 { font-size: 42px; margin-bottom: 8px; }
.page .updated { color: var(--muted); font-weight: 700; margin: 0 0 28px; }
.page h2 { font-size: 24px; margin: 34px 0 10px; }
.page h3 { font-size: 19px; margin: 22px 0 6px; }
.page p, .page li { color: #333A55; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page .box { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 22px 0; }
details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; background: #fff; }
details summary { cursor: pointer; font-weight: 800; color: var(--navy); font-size: 17px; }
details[open] summary { margin-bottom: 8px; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 15px; font-weight: 600; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap, .invite { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 40px; }
  .ipad { width: min(360px, 90%); }
  .steps, .features { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
