/* ===========================================================
   AnchorPoint Systems — site styles
   Palette: deep navy #0b2545 · teal accent #33c4b3 · ink/greys
   =========================================================== */
:root {
  --navy: #0b2545;
  --navy-2: #102e4f;
  --teal: #33c4b3;
  --teal-dk: #1ba596;
  --ink: #14202e;
  --slate: #4a5a6a;
  --muted: #76889a;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 37, 69, 0.12);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.96rem; letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #04231f; box-shadow: 0 8px 22px rgba(51, 196, 179, 0.35); }
.btn-primary:hover { background: var(--teal-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.section .btn-ghost { color: var(--navy); border-color: var(--line); }
.section .btn-ghost:hover { background: var(--bg-alt); }

/* ── Header / nav ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-sys { color: var(--teal-dk); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--slate); transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-links .nav-cta {
  background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 999px;
}
.nav-links .nav-cta:hover { background: var(--navy-2); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(51,196,179,0.18), transparent 60%),
    linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
  padding: 80px 0 90px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--teal-dk); background: rgba(51,196,179,0.12);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--navy); font-weight: 800; margin-bottom: 20px;
}
.accent { color: var(--teal-dk); }
.lede { font-size: 1.12rem; color: var(--slate); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 22px; color: var(--slate); font-weight: 600; font-size: 0.92rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(51,196,179,0.25);
}

/* Hero art */
.hero-art { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }
.orb-1 { width: 220px; height: 220px; background: rgba(51,196,179,0.45); top: 0; right: 20px; }
.orb-2 { width: 160px; height: 160px; background: rgba(11,37,69,0.18); bottom: 10px; left: 10px; }
.glass-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8); border-radius: 24px;
  box-shadow: var(--shadow-md); padding: 36px 32px; text-align: center;
}
.anchor-big { width: 110px; height: 110px; margin: 0 auto 14px; }
.glass-tag { font-weight: 700; color: var(--navy); letter-spacing: 0.01em; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dk); margin-bottom: 14px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; max-width: 760px; }
.section-intro { font-size: 1.08rem; color: var(--slate); max-width: 680px; margin-top: 18px; }

/* ── Cards ───────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(51,196,179,0.4); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(51,196,179,0.12); color: var(--teal-dk); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 0.96rem; }

/* ── Restora ─────────────────────────────────────────────── */
.restora-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.restora-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
.restora-head { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal-dk); margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.restora-note { margin-top: 30px; font-weight: 600; color: var(--navy); background: rgba(51,196,179,0.1); display: inline-block; padding: 10px 18px; border-radius: 999px; }
.restora-note a { color: var(--teal-dk); }
.restora-note a:hover { color: var(--navy); }

/* Reversed product layout (art on the left) */
.restora-grid.reverse .restora-art { order: -1; }

/* ── Phone frame (shared) ───────────────────────────────────
   Each product fills the screen with its OWN layout + brand. */
.restora-art { display: flex; justify-content: center; }
.phone {
  position: relative; width: 270px; height: 540px;
  border-radius: 42px; padding: 14px; box-shadow: var(--shadow-md);
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; border-radius: 0 0 16px 16px; z-index: 4; }
.phone-screen { height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; }

/* ===========================================================
   Restora — calm recovery dashboard
   blue #2B5CE6 · green #0F7B6C · cream #F7F5F0 · ink #1A1814
   =========================================================== */
.phone-restora, .phone-restora .phone-notch { background: #16223d; }
.rx-screen { background: #F7F5F0; padding: 42px 15px 16px; gap: 11px; }

.rx-top { display: flex; align-items: center; justify-content: space-between; }
.rx-greet { display: flex; flex-direction: column; line-height: 1.2; }
.rx-hi { font-size: 0.72rem; color: #8a8780; font-weight: 600; }
.rx-name { font-size: 1.12rem; font-weight: 800; color: #1A1814; }
.rx-avatar { width: 36px; height: 36px; border-radius: 50%; background: #2B5CE6; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; }

.rx-ring-card { background: #fff; border-radius: 18px; padding: 15px; display: flex; align-items: center; gap: 14px; box-shadow: 0 6px 18px rgba(26,24,20,0.06); }
.rx-ring-wrap { position: relative; width: 90px; height: 90px; flex: none; }
.rx-ring { width: 90px; height: 90px; transform: rotate(-90deg); }
.rx-ring-bg { fill: none; stroke: #EBF0FD; stroke-width: 12; }
.rx-ring-fg { fill: none; stroke: #2B5CE6; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 26; }
.rx-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rx-ring-pct { font-size: 1.2rem; font-weight: 800; color: #1A1814; line-height: 1; }
.rx-ring-cap { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8a8780; font-weight: 700; }
.rx-ring-meta { display: flex; flex-direction: column; gap: 3px; }
.rx-meta-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8a8780; font-weight: 700; }
.rx-meta-sub { font-size: 0.9rem; font-weight: 700; color: #1A1814; line-height: 1.25; }
.rx-streak { margin-top: 5px; font-size: 0.68rem; font-weight: 700; color: #0F7B6C; background: #E3F5F2; padding: 3px 9px; border-radius: 999px; align-self: flex-start; }

.rx-pain { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 6px 18px rgba(26,24,20,0.06); }
.rx-pain-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.rx-pain-lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8a8780; font-weight: 700; }
.rx-pain-tag { font-size: 0.7rem; font-weight: 700; color: #0F7B6C; }
.rx-bars { display: flex; align-items: flex-end; gap: 7px; height: 42px; }
.rx-bars i { flex: 1; background: #EBF0FD; border-radius: 5px 5px 0 0; min-height: 6px; }
.rx-bars i.on { background: #0F7B6C; }

.rx-ex-head { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8a8780; font-weight: 700; margin-top: 2px; }
.rx-ex { background: #fff; border-radius: 14px; padding: 9px 11px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 12px rgba(26,24,20,0.05); }
.rx-ex-ic { width: 32px; height: 32px; border-radius: 9px; background: #EBF0FD; color: #2B5CE6; display: grid; place-items: center; flex: none; }
.rx-ex-ic svg { width: 20px; height: 20px; }
.rx-ex-txt { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.rx-ex-txt strong { font-size: 0.84rem; color: #1A1814; }
.rx-ex-txt small { font-size: 0.7rem; color: #8a8780; }
.rx-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d8d3ca; flex: none; display: grid; place-items: center; font-size: 0.72rem; color: #fff; font-weight: 800; }
.rx-check.on { background: #0F7B6C; border-color: #0F7B6C; }

/* ===========================================================
   NorthPoint Delivery — live order tracking
   steel-blue #2C5F7C · navy #1A4458 · amber #F5A623 · cream #FBF5EB
   =========================================================== */
.phone-np, .phone-np .phone-notch { background: #1A4458; }
.np-screen { background: #FBF5EB; }

.np-map { position: relative; height: 218px; flex: none; }
.np-map-svg { width: 100%; height: 100%; display: block; }
.np-route { stroke: #F5A623; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1 9; }
.np-pin { stroke: #fff; stroke-width: 3; }
.np-store { fill: #1A4458; }
.np-home { fill: #F5A623; }
.np-car { position: absolute; top: 96px; left: 49%; transform: translate(-50%, -50%); font-size: 1.45rem; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.28)); }
.np-eta { position: absolute; left: 14px; bottom: 14px; background: rgba(26,68,88,0.94); color: #fff; border-radius: 14px; padding: 8px 14px; box-shadow: 0 8px 20px rgba(26,68,88,0.3); }
.np-eta-min { display: block; font-size: 1.1rem; font-weight: 800; }
.np-eta-lbl { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.8); }

.np-body { padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 20px; }
.np-steps { display: flex; justify-content: space-between; position: relative; }
.np-steps::before { content: ""; position: absolute; top: 6px; left: 14px; right: 14px; height: 3px; background: #E5DECE; border-radius: 999px; }
.np-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; }
.np-step i { width: 15px; height: 15px; border-radius: 50%; background: #E5DECE; z-index: 1; border: 3px solid #FBF5EB; box-sizing: content-box; }
.np-step span { font-size: 0.58rem; font-weight: 700; color: #9a9387; text-align: center; }
.np-step.done i { background: #2C5F7C; }
.np-step.done span { color: #2C5F7C; }
.np-step.active i { background: #F5A623; box-shadow: 0 0 0 4px rgba(245,166,35,0.25); }
.np-step.active span { color: #1A2330; }

.np-driver { background: #fff; border-radius: 16px; padding: 12px; display: flex; align-items: center; gap: 12px; box-shadow: 0 6px 18px rgba(26,35,48,0.08); }
.np-driver-av { width: 42px; height: 42px; border-radius: 50%; background: #2C5F7C; color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.np-driver-info { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.np-driver-info strong { font-size: 0.9rem; color: #1A2330; }
.np-driver-info small { font-size: 0.7rem; color: #5A6878; }
.np-driver-act { display: flex; gap: 8px; }
.np-cbtn { width: 34px; height: 34px; border-radius: 50%; background: #FBF5EB; display: grid; place-items: center; font-size: 0.85rem; }

/* ── Values ──────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.section-alt .value { background: #fff; }
.value-num { font-size: 1.6rem; font-weight: 800; color: var(--teal); display: block; margin-bottom: 12px; }
.value h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.12rem; }
.value p { color: var(--slate); font-size: 0.96rem; }

/* ── About ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.about-grid .section-intro { margin-top: 18px; }
.about-facts { display: grid; gap: 14px; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.fact-k { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.fact-v { color: var(--navy); font-weight: 700; text-align: right; font-size: 0.95rem; }

/* ── Contact ─────────────────────────────────────────────── */
.contact { background: linear-gradient(135deg, var(--navy) 0%, #0e3158 60%, #114a7a 100%); color: #fff; text-align: center; }
.contact .section-title { color: #fff; margin: 0 auto; }
.contact .section-intro { color: rgba(255,255,255,0.82); margin: 18px auto 0; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.contact-meta { margin-top: 26px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.brand-footer { color: #fff; font-size: 1.05rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.copyright { width: 100%; font-size: 0.85rem; color: rgba(255,255,255,0.45); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; margin-top: 4px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-grid, .restora-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; min-height: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform 0.35s var(--ease); pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { text-align: center; margin-top: 12px; border-bottom: none; }
  .nav-toggle { display: flex; }
  .restora-cols { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
