/* ==========================================================================
   Neskora — global stylesheet
   Mobile-first, responsive. Single dominant brand colour + one accent.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --brand:        #0d5c52;   /* deep teal — dominant brand */
  --brand-dark:   #0a4a42;
  --brand-soft:   #e6f1ef;
  --accent:       #e8743b;   /* warm amber-coral accent */
  --accent-dark:  #cf5e29;
  --ink:          #16201f;   /* near-black text */
  --muted:        #5b6b69;   /* secondary text */
  --line:         #e3e8e7;   /* hairlines / borders */
  --bg:           #ffffff;
  --bg-alt:       #f7faf9;   /* very light section bg */
  --bg-deep:      #0c2622;   /* dark footer */

  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 1px 2px rgba(16,32,30,.04), 0 8px 24px rgba(16,32,30,.06);
  --shadow-lg:    0 12px 40px rgba(16,32,30,.12);

  --maxw:         1120px;
  --gap:          clamp(1rem, 3vw, 2rem);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;            /* no horizontal scroll anywhere */
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }
p  { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section__head p { margin-top: .75rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .85rem;
}
.center { text-align: center; margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: .9rem 1.5rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(232,116,59,.3); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; min-height: 54px; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--brand); }
.nav__cta { display: flex; align-items: center; gap: .75rem; }

/* hamburger */
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-2px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(3rem, 9vw, 6.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(13,92,82,.07), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(232,116,59,.06), transparent 70%);
  z-index: -1;
}
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.9rem; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__note { margin-top: 1.4rem; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.hero__note svg { flex: none; color: var(--brand); }

/* hero visual card */
.hero__visual { display: grid; gap: 1rem; }
.inbox-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}
.inbox-card__bar { display: flex; gap: .4rem; margin-bottom: 1rem; }
.inbox-card__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.inbox-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem .25rem;
  border-bottom: 1px solid var(--line);
}
.inbox-row:last-child { border-bottom: 0; }
.inbox-row .tag {
  flex: none;
  font-size: .72rem; font-weight: 700;
  padding: .25rem .55rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
}
.inbox-row .tag--accent { background: #fdeadf; color: var(--accent-dark); }
.inbox-row b { font-size: .92rem; display: block; }
.inbox-row small { color: var(--muted); font-size: .82rem; }

/* ==========================================================================
   Generic grids / cards
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 3vw, 1.6rem); }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 1rem;
}

/* numbered steps */
.steps { counter-reset: step; }
.step__num {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* feature list with checks */
.checklist { list-style: none; padding: 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.checklist svg { flex: none; color: var(--brand); margin-top: 3px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input[type="email"],
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .85rem 1rem;
  min-height: 50px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13,92,82,.12);
}
.field textarea { min-height: 130px; resize: vertical; }

.checkbox-grid { display: grid; grid-template-columns: 1fr; gap: .65rem; }
.chip {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600; font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
}
.chip:hover { border-color: var(--brand); }
.chip input { width: 18px; height: 18px; accent-color: var(--brand); }
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }

.consent {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .92rem; color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }

.form-note { font-size: .85rem; color: var(--muted); }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-success {
  display: none;
  background: var(--brand-soft);
  border: 1px solid var(--brand);
  color: var(--brand-dark);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.form-success.show { display: block; }

/* ==========================================================================
   Legal / long-form content
   ========================================================================== */
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-head p { margin-top: .6rem; max-width: 60ch; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.6rem; margin-bottom: .8rem; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.prose h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; display: grid; gap: .5rem; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: .9rem; color: var(--muted); font-style: italic; }
.callout {
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.callout p { color: var(--brand-dark); margin: 0; }

/* contact info block */
.info-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.info-item { display: flex; gap: .9rem; align-items: flex-start; }
.info-item svg { flex: none; color: var(--brand); margin-top: 3px; }
.info-item b { display: block; color: var(--ink); }
.info-item span, .info-item a { color: var(--muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); margin: .75rem auto 1.75rem; max-width: 52ch; }

/* ==========================================================================
   Footer (identical on every page)
   ========================================================================== */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,.72);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  font-size: .95rem;
}
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: rgba(255,255,255,.6); margin-top: .75rem; max-width: 36ch; font-size: .92rem; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .9rem; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.6rem;
  display: grid; gap: .5rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer__legal .addr { color: rgba(255,255,255,.78); }

/* ==========================================================================
   Reveal-on-scroll animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive — tablet & up
   ========================================================================== */
@media (max-width: 860px) {
  .nav__links,
  .nav__cta .btn--show-desktop { display: none; }
  .nav__toggle { display: grid; place-items: center; }

  /* mobile menu panel */
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: .5rem 0;
  }
  .nav__links.is-open a {
    width: 100%;
    padding: .9rem clamp(1.1rem, 4vw, 2rem);
    border-bottom: 1px solid var(--line);
    min-height: 48px;
    display: flex; align-items: center;
  }
}

@media (min-width: 700px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 861px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
  .nav__toggle { display: none; }
}

@media (min-width: 1000px) {
  .subscribe-layout { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
