/* North Vault — hardware wallet company site
   Single shared stylesheet. Self-contained (system font stack, no external assets). */

:root {
  --navy: #0e2a47;
  --navy-2: #14385f;
  --teal: #14a38b;
  --teal-dark: #0e8270;
  --ink: #22303f;
  --muted: #5b6b7d;
  --line: #e3e9f0;
  --bg: #f7f9fb;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(14, 42, 71, 0.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- navigation ---------- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 18px; border-radius: 8px; font-weight: 600; font-size: 0.92rem;
}
.nav-cta:hover { background: var(--navy-2); text-decoration: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, #0b2238 0%, #123a5f 70%, #14456f 100%); color: var(--white); padding: 84px 0 72px; }
.hero h1 { font-size: 2.6rem; line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: #3fd0b4; }
.hero p { font-size: 1.08rem; color: #c9d9ea; max-width: 640px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 9px;
  font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-secondary:hover { border-color: var(--white); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); text-decoration: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(63, 208, 180, 0.14); color: #3fd0b4;
  border: 1px solid rgba(63, 208, 180, 0.35);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.section-tag {
  display: inline-block; color: var(--teal-dark); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
.section h2 { font-size: 1.9rem; color: var(--navy); font-weight: 800; margin-bottom: 14px; }
.section .lead { color: var(--muted); font-size: 1.05rem; max-width: 720px; margin-bottom: 40px; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: 2rem; font-weight: 800; color: var(--navy); }
.stat .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .price { color: var(--navy); font-weight: 800; font-size: 1.25rem; margin: 12px 0 4px; }
.card .note { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.card ul { list-style: none; margin: 12px 0 0; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink); font-size: 0.93rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }

/* feature list */
.feature { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.feature .icon {
  flex: 0 0 46px; height: 46px; border-radius: 10px; background: #e6f5f2;
  display: flex; align-items: center; justify-content: center; color: var(--teal-dark); font-size: 1.3rem; font-weight: 800;
}
.feature h4 { color: var(--navy); margin-bottom: 4px; font-size: 1.02rem; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* FAQ */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 1.4rem; font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, #0b2238 0%, #14385f 100%); color: var(--white); padding: 56px 0 48px; }
.page-hero h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #c9d9ea; max-width: 680px; }

/* breadcrumb-ish kicker */
.page-body { padding: 48px 0 64px; }
.page-body h2 { color: var(--navy); font-size: 1.5rem; margin: 34px 0 12px; font-weight: 800; }
.page-body h2:first-child { margin-top: 0; }
.page-body p { color: var(--ink); margin-bottom: 16px; }
.page-body ul, .page-body ol { margin: 0 0 16px 22px; color: var(--ink); }
.page-body li { margin-bottom: 8px; }
.legal { max-width: 860px; margin: 0 auto; }

/* timeline */
.timeline { border-left: 3px solid var(--line); padding-left: 28px; }
.timeline .item { position: relative; margin-bottom: 28px; }
.timeline .item::before {
  content: ""; position: absolute; left: -36px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--teal);
}
.timeline .year { color: var(--teal-dark); font-weight: 800; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 18px; }
.info-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.info-card p { color: var(--muted); font-size: 0.94rem; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fbfcfe;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.hp-field { position: absolute; left: -9999px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success svg { width: 54px; height: 54px; fill: none; stroke: var(--teal); stroke-width: 2; margin-bottom: 14px; }
.form-success h2 { color: var(--navy); margin-bottom: 8px; }
.form-error { color: #b3261e; font-size: 0.9rem; margin-top: 10px; }
.muted { color: var(--muted); font-size: 0.9rem; }

/* CTA band */
.cta-band { background: linear-gradient(160deg, #0b2238, #14385f); color: var(--white); padding: 56px 0; }
.cta-band h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; }
.cta-band p { color: #c9d9ea; margin-bottom: 22px; }

/* footer */
.footer { background: #0a1c2e; color: #9fb2c6; padding: 48px 0 28px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer h4 { color: var(--white); margin-bottom: 12px; font-size: 0.95rem; }
.footer a { color: #9fb2c6; display: block; margin-bottom: 8px; }
.footer a:hover { color: #3fd0b4; text-decoration: none; }
.footer .brand { font-size: 1.05rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer .brand img { width: 24px; height: 24px; }
.footer-bottom { border-top: 1px solid #1d3147; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7d92a8; font-size: 0.85rem; }

@media (max-width: 900px) {
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2rem; }
}
