/* ═══════════════════════════════════════════════════════════════
   Nectar site — shared styles (light theme)
   Tokens + component recreations from the Nectar Design System
   (Button, Input, logo) plus shared nav / footer / accordion,
   entrance + scroll-driven animations, and the responsive layer.
   ═══════════════════════════════════════════════════════════════ */

:root{
  --nectar-orange:#F68B2D; --nectar-navy:#102338; --nectar-navy-900:#060C13;
  --nectar-teal:#148BA5;
  --primary:#F68B2D; --primary-text:#102338; --secondary:#148BA5;
  --surface-card:#F6F7F9; --surface-input:#F6F7F9;
  --text-strong:#102338; --text-body:#3F4B57; --text-muted:#5E6870;
  --border:rgba(16,35,56,0.08); --border-strong:rgba(16,35,56,0.18);
  --success:#83D735; --error:#D64545;
  --mono:ui-monospace,Menlo,"SF Mono",monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:#FFFFFF;color:var(--text-body);
  font-family:'Poppins',system-ui,sans-serif;-webkit-font-smoothing:antialiased;
}
a{color:var(--secondary);text-decoration:none;transition:color .15s ease}
a:hover{color:var(--primary)}
h1,h2,h3,p{margin:0}
img,video{display:block}

.page{background:#FFFFFF}

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
/* entrance (above the fold) — stagger with inline animation-delay */
.enter{animation:fadeUp .7s cubic-bezier(.2,.7,.2,1) both}
.enter-fade{animation:fadeIn 1s ease both}
/* scroll-driven reveal; in browsers without animation-timeline it
   simply plays once on load, which is the design's own fallback */
.reveal{animation:fadeUp .9s cubic-bezier(.2,.7,.2,1) both;animation-timeline:view();animation-range:entry 0% entry 45%}
/* hover lift on cards */
.lift{transition:transform .16s ease,box-shadow .16s ease}
.lift:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(16,35,56,0.10)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none !important;transition:none !important}
}

/* ── Button ───────────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-weight:600;font-size:15px;line-height:1;
  padding:0 26px;height:48px;border-radius:999px;border:1px solid transparent;
  cursor:pointer;white-space:nowrap;
  transition:transform .12s ease,filter .12s ease,background .12s ease,border-color .12s ease,color .12s ease;
}
.btn:active{transform:scale(.97)}
.btn--primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}
.btn--primary:hover{filter:brightness(1.06);color:var(--primary-text)}
.btn--secondary{background:transparent;color:var(--text-strong);border-color:var(--border-strong)}
.btn--secondary:hover{border-color:var(--secondary);color:var(--text-strong)}
.btn--sm{height:36px;font-size:13px;padding:0 18px}

/* ── Input (light: borderless field, teal focus ring) ─────────── */
.input{
  width:100%;height:52px;padding:0 18px;border-radius:12px;
  background:var(--surface-input);border:none;
  color:var(--text-strong);font-family:inherit;font-size:15px;outline:none;
  transition:box-shadow .12s ease;
}
.input::placeholder{color:var(--text-muted)}
.input:focus{box-shadow:0 0 0 2px var(--secondary)}

/* contact-form fields share the same look */
.form-input{
  width:100%;padding:14px 18px;border-radius:12px;border:none;
  background:var(--surface-input);outline:none;
  font-family:inherit;font-size:14px;color:var(--text-strong);
  transition:box-shadow .12s ease;
}
.form-input::placeholder{color:var(--text-muted)}
.form-input:focus{box-shadow:0 0 0 2px var(--secondary)}
textarea.form-input{resize:vertical;line-height:1.6}
.field-label{font-size:13px;font-weight:600;color:var(--text-strong)}

/* ── Logo (brand lockup PNG) ──────────────────────────────────── */
.logo{display:inline-flex;align-items:center}
.logo img{height:72px;width:auto;display:block}
/* over the hero video the dark logo flips to white */
.logo--onvideo img{filter:invert(1);mix-blend-mode:screen}

/* ── Shared nav ───────────────────────────────────────────────── */
/* logo | links | CTA as three flex children; the logo's auto margin
   pushes links + CTA right, matching the old space-between look.
   The nav stays pinned to the top while scrolling. */
.site-nav{
  display:flex;align-items:center;gap:32px;padding:20px 48px;
  position:sticky;top:0;z-index:100;
  background:#FFFFFF;box-shadow:0 1px 0 rgba(16,35,56,0.06);
}
.site-nav .logo{margin-right:auto}

/* landing: nav floats transparently over the hero video, fixed to the
   viewport; once scrolled it becomes the same solid white bar */
.site-nav--overlay{
  position:fixed;top:0;left:0;right:0;
  background:transparent;box-shadow:none;
  transition:background .25s ease,box-shadow .25s ease;
}
.site-nav--overlay.is-scrolled{background:#FFFFFF;box-shadow:0 1px 0 rgba(16,35,56,0.08)}
.site-nav--overlay.is-scrolled .logo--onvideo img{filter:none;mix-blend-mode:normal}
.site-nav--overlay.is-scrolled .nav-links--onvideo,
.site-nav--overlay.is-scrolled .nav-links--onvideo a{color:#3F4B57}
.site-nav--overlay.is-scrolled .nav-links--onvideo a:hover{color:#102338}
.nav-links{display:flex;align-items:center;gap:32px;font-size:14px;color:var(--text-body)}
.nav-links a{color:var(--text-body)}
.nav-links a:hover{color:var(--text-strong)}
.nav-links .is-active{color:var(--text-strong)}
/* landing: nav sits over the dark video */
.nav-links--onvideo{color:#CED1D5}
.nav-links--onvideo a{color:#CED1D5}
.nav-links--onvideo a:hover{color:#FFFFFF}

/* ── Landing hero video block ─────────────────────────────────── */
.hero-video{
  position:relative;height:660px;overflow:hidden;
  background:#060C13;border-radius:0 0 40px 40px;
}

/* ── Hero video mute toggle ───────────────────────────────────── */
.mute-btn{
  position:absolute;right:48px;bottom:34px;width:44px;height:44px;
  border-radius:999px;border:1px solid rgba(206,209,213,0.35);
  background:rgba(6,12,19,0.55);backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;
  transition:border-color .12s ease;
}
.mute-btn:hover{border-color:#F68B2D}
.mute-btn i{font-size:20px;color:#FFFFFF}

/* ── Shared footer ────────────────────────────────────────────── */
.site-footer{
  padding:40px 48px 48px;border-top:1px solid var(--border);
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;color:var(--text-muted);
}
.site-footer .meta{display:flex;gap:24px}
.site-footer a{color:var(--text-muted)}

.eyebrow{font-size:12px;letter-spacing:0.08em;text-transform:uppercase}
.mono{font-family:var(--mono)}

/* ── "Choose. / Connect. / Climb On." — one word over each card ── */
.steps-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin:0 0 24px}

/* ── FAQ categories + accordion (light) ───────────────────────── */
.faq-cat{display:flex;flex-direction:column;gap:12px}
.faq-cat-title{
  font-family:Montserrat,system-ui,sans-serif;font-size:12px;letter-spacing:0.14em;
  color:var(--secondary);text-transform:uppercase;padding-top:6px;
}
.faq{background:var(--surface-card);border:none;border-radius:16px;overflow:hidden}
.faq>summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 26px;cursor:pointer;list-style:none;
  font-size:15.5px;font-weight:600;color:var(--text-strong);
}
.faq>summary::-webkit-details-marker{display:none}
.faq>summary .faq-icon{font-size:18px;color:var(--primary);flex-shrink:0}
.faq>summary .faq-icon.minus{display:none}
.faq[open]>summary .faq-icon.plus{display:none}
.faq[open]>summary .faq-icon.minus{display:inline}
.faq .faq-body{padding:0 26px 22px;font-size:14px;line-height:1.75;color:var(--text-body);max-width:760px;text-wrap:pretty}

/* ── FAQ search (light pill) ──────────────────────────────────── */
.faq-search{display:flex;flex-direction:column;gap:8px;max-width:520px}
.faq-search .field{
  position:relative;display:flex;align-items:center;gap:12px;
  padding:0 20px;border-radius:999px;background:var(--surface-card);
}
.faq-search .field>i{font-size:18px;color:var(--secondary);flex-shrink:0}
.faq-search input{
  flex:1;height:48px;border:none;outline:none;background:transparent;
  font-family:inherit;font-size:14px;color:var(--text-strong);
}
.faq-search input::placeholder{color:var(--text-muted)}
.faq-search .clear{
  display:none;align-items:center;justify-content:center;
  width:32px;height:32px;border:none;border-radius:999px;background:transparent;
  color:var(--text-muted);font-size:16px;cursor:pointer;flex-shrink:0;margin-right:-8px;
}
.faq-search .clear:hover{color:var(--text-strong)}
.faq-search.has-query .clear{display:inline-flex}
.faq-search .count{font-size:12.5px;color:var(--text-muted);padding-left:20px}
.faq-hidden{display:none !important}
.faq-empty{
  display:none;background:var(--surface-card);border-radius:16px;
  padding:28px 26px;color:var(--text-muted);font-size:14px;
}
.faq-empty.visible{display:block}
mark.faq-hit{background:rgba(246,139,45,0.28);color:inherit;border-radius:3px;padding:0 1px}

/* ═══════════════════════════════════════════════════════════════
   Responsive layer
   The pages carry the design's inline styles, so breakpoints
   override via attribute selectors + the shared classes above.
   ═══════════════════════════════════════════════════════════════ */

[style*="min-width:1080px"]{min-width:0 !important}
img,video{max-width:100%}

/* ── Tablet ≤900px ────────────────────────────────────────────── */
@media (max-width:900px){
  [style*="grid-template-columns:480px 1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:280px 1fr"],
  [style*="grid-template-columns:1fr 1.45fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr 1fr"]{grid-template-columns:1fr !important}
  [style*="grid-template-columns:1fr 1fr 1fr 1fr"]{grid-template-columns:1fr 1fr !important}
  [style*="grid-template-columns:1fr 1fr 1fr"]:not([style*="1fr 1fr 1fr 1fr"]){grid-template-columns:1fr 1fr !important}
  [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:repeat(2,1fr) !important}
  [style*="columns:3"]{columns:2 !important}
  [style*="margin-left:-120px"]{margin-left:0 !important}

  /* cards no longer sit 3-across, so the word-per-column mapping breaks:
     let the heading flow as one line again */
  .steps-row{display:flex;flex-wrap:wrap;gap:6px 14px}

  /* nav: keep the Contact Us pill on the logo row; links flow below */
  .site-nav{flex-wrap:wrap;row-gap:14px}
  .site-nav .nav-cta{order:2}
  .site-nav .nav-links{order:3;flex-basis:100%;flex-wrap:wrap;row-gap:10px;justify-content:flex-end}
}

/* ── Mobile ≤640px ────────────────────────────────────────────── */
@media (max-width:640px){
  /* gutters 48px → 20px (match "48px" only as a padding/margin box value,
     never inside font-size:48px etc.) */
  [style*=" 48px"],[style*="padding:48px"],[style*="margin:0 48px"],[style*="margin:40px 48px 0"]{
    padding-left:20px !important;padding-right:20px !important;
  }
  [style*="margin:0 48px"]{margin-left:20px !important;margin-right:20px !important}
  [style*="margin:40px 48px 0"]{margin-left:20px !important;margin-right:20px !important}
  /* the spec strip's gutter comes from its margin; don't pad the box itself */
  .spec-strip{padding-left:0 !important;padding-right:0 !important}
  .site-nav{padding:16px 20px}
  .site-footer{padding:32px 20px 40px;flex-direction:column;gap:16px;align-items:center;text-align:center}
  .site-footer .meta{flex-direction:column;gap:10px;align-items:center}
  /* deposit-footer bottom row (landing / omni): stack the © line,
     email, phone and Legal instead of squeezing them onto one line */
  [style*="gap:24px"][style*="margin-top:28px"]{flex-direction:column !important;gap:10px !important;align-items:center}
  .nav-links{gap:18px;flex-wrap:wrap}

  /* single column everywhere (double attribute selector so this
     outranks the tablet 3col→2col rule, which uses :not()) */
  [style*="display:grid"][style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr !important}
  [style*="grid-template-columns:repeat(3,1fr)"]{grid-template-columns:1fr !important}
  [style*="margin:72px 48px 8px"]{margin-left:20px !important;margin-right:20px !important}
  [style*="columns:3"]{columns:1 !important}
  [style*="display:flex"][style*="gap:56px"]{flex-wrap:wrap;gap:24px 32px !important}
  [style*="width:460px"]{width:100% !important;flex-wrap:wrap}
  [style*="width:460px"]>div[style*="flex:1"]{flex-basis:100% !important}
  .spec-strip{flex-direction:column}
  .spec-strip>div{border-right:none !important;border-bottom:1px solid var(--border)}
  .spec-strip>div:last-child{border-bottom:none}

  /* board photo goes full width */
  [style*="width:75%"]{width:100% !important}

  /* config diagrams: side views stack to full width here, so the
     front view follows — all three always share one display size */
  .cfg-diagram{width:100% !important}

  /* hero video + logo scale down */
  .hero-video{height:420px;border-radius:0 0 24px 24px}
  .logo img{height:52px}
  .mute-btn{right:20px;bottom:20px}

  /* app phone trio scales with viewport */
  [style*="gap:28px"]{gap:12px !important}
  [style*="width:360px"]{width:24vw !important}
  [style*="width:400px"]{width:28vw !important}
  [style*="width:236px"]{width:44% !important;left:4% !important}
  [style*="width:280px"]{width:52% !important;margin-left:30% !important}
  [style*="height:660px"]{height:480px !important}

  /* display / heading type */
  [style*="font-size:64px"]{font-size:36px !important}
  [style*="font-size:58px"]{font-size:34px !important}
  [style*="font-size:48px"]{font-size:30px !important}
  [style*="font-size:34px"]{font-size:25px !important}
  [style*="font-size:32px"]{font-size:25px !important}
  [style*="font-size:30px"]{font-size:24px !important}
  [style*="font-size:28px"]{font-size:22px !important}
  [style*="font-size:26px"]{font-size:21px !important}
}
