/* ============================================================
   Squirrel Research — Shared Stylesheet
   Palette derived from NiDB squirrel logo
   ============================================================ */

:root {
  --brown-dark:   #4A2E1A;
  --brown:        #7B4F2E;
  --brown-mid:    #A0714F;
  --brown-light:  #C49A6C;
  --tan:          #E8D5BC;
  --cream:        #FAF7F4;
  --cream-dark:   #F0E8DE;
  --navy:         #2C3968;
  --navy-light:   #4A5FA0;
  --gold:         #C4962A;
  --gold-light:   #E8B84B;
  --text:         #2C1F14;
  --text-mid:     #5C4232;
  --text-light:   #8B6E5A;
  --border:       #DDD0C4;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 4px rgba(74,46,26,0.10);
  --shadow-md:    0 4px 16px rgba(74,46,26,0.13);
  --shadow-lg:    0 8px 32px rgba(74,46,26,0.16);
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--cream-dark); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 600px; margin: 0.75rem auto 0; font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}
.btn-primary:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a87d22;
  border-color: #a87d22;
  color: var(--white);
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brown-dark);
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo:hover { color: var(--brown); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brown);
  background: var(--cream);
}
.nav-links .btn { margin-left: 0.5rem; padding: 0.45rem 1.1rem; }
.nav-links .btn-primary { color: var(--white); }
.nav-links .btn-primary:hover { color: var(--white); background: var(--brown-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--brown-dark);
}
.nav-toggle svg { display: block; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 55%, var(--brown-mid) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--tan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero .subtitle p { color: rgba(255,255,255,0.82); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  min-width: 160px;
}
.hero-badge .badge-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.hero-badge .badge-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
}

/* ── Feature Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.6rem; color: var(--brown-dark); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--brown);
  box-shadow: var(--shadow-md), 0 0 0 2px var(--brown);
}
.pricing-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brown);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brown); margin-bottom: 0.5rem; }
.pricing-card h3 { font-size: 1.5rem; color: var(--brown-dark); margin-bottom: 0.35rem; }
.pricing-desc { font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.5rem; }
.price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.75rem; }
.price-amount { font-size: 2.75rem; font-weight: 800; color: var(--brown-dark); }
.price-period { font-size: 0.9rem; color: var(--text-light); }
.price-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.25rem; }
.feature-list { margin-bottom: 2rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.93rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { color: var(--brown); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.feature-list .dash  { color: var(--border); flex-shrink: 0; margin-top: 1px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 { margin-bottom: 0.5rem; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.82); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-actions   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Notice Box ── */
.notice {
  border-left: 4px solid var(--gold);
  background: #fff9ee;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
  color: var(--text-mid);
}
.notice strong { color: var(--brown-dark); }

/* ── Doc Links ── */
.doc-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.doc-link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.doc-link-card:hover {
  border-color: var(--brown-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.doc-link-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.doc-link-card h3 { font-size: 1rem; color: var(--brown-dark); margin-bottom: 0.3rem; }
.doc-link-card p  { font-size: 0.87rem; margin: 0; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 0.75rem; }
.contact-detail { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-detail-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Prose (privacy policy etc.) ── */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; color: var(--brown-dark);
  padding-bottom: 0.4rem; border-bottom: 2px solid var(--tan); }
.prose h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; color: var(--brown); }
.prose p  { margin-bottom: 1rem; font-size: 0.97rem; }
.prose ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.prose ul li { margin-bottom: 0.4rem; font-size: 0.97rem; color: var(--text-mid); }
.prose ol { margin: 0.75rem 0 1rem 1.5rem; list-style: decimal; }
.prose ol li { margin-bottom: 0.4rem; font-size: 0.97rem; color: var(--text-mid); }
.prose strong { color: var(--text); }
.prose a { color: var(--brown); text-decoration: underline; }
.prose .meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2rem; }
.prose .caps { font-size: 0.92rem; font-weight: 600; color: var(--text); line-height: 1.6; }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}
.page-header h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,0.8); margin: 0; font-size: 1.05rem; }
.breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.about-img-wrap img { max-width: 300px; margin: 0 auto; }
.value-list { margin-top: 1.5rem; }
.value-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.value-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brown);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ── Footer ── */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 0.75rem; line-height: 1.6; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); opacity: 0.9; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--tan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--tan); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-badge        { display: none; }
  .contact-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid        { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section           { padding: 3.5rem 0; }
  .nav-links         { display: none; flex-direction: column; position: absolute;
                       top: 68px; left: 0; right: 0; background: var(--white);
                       border-bottom: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem;
                       box-shadow: var(--shadow-md); gap: 0.1rem; }
  .nav-links.open    { display: flex; }
  .nav-links a       { padding: 0.65rem 0.5rem; }
  .nav-links .btn    { margin: 0.5rem 0 0; text-align: center; }
  .nav-toggle        { display: block; }
  .nav               { position: relative; }
  .form-row          { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }
  .cta-actions       { flex-direction: column; align-items: center; }
  .hero-actions      { flex-direction: column; }
  .footer-bottom     { flex-direction: column; text-align: center; }
}
