/* ===================================================================
   Seraph — Shared Stylesheet
   All pages link to this file. index.html also carries page-specific
   inline overrides for the hero / modal / landing sections.
   =================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --g50:  #F0FDF4;
  --g100: #DBFDE6;
  --g200: #BAF8CE;
  --g300: #84F1A9;
  --g400: #47E17C;
  --g500: #1FC85A;
  --g600: #13A646;
  --g700: #13823A;
  --g800: #146732;
  --g900: #13542B;
  --g950: #042F15;

  --bg:      #F7FBF8;
  --surface: #FFFFFF;
  --s2:      #F0FDF4;
  --border:  #D1FAE5;
  --border2: #BAF8CE;

  --text:  oklch(18% 0.008 145);
  --text2: oklch(42% 0.008 145);
  --text3: oklch(58% 0.006 145);

  --sh-sm: 0 1px 2px  rgba(4,47,21,.05);
  --sh-md: 0 4px 16px rgba(4,47,21,.08);
  --sh-lg: 0 12px 48px rgba(4,47,21,.12);
  --sh-xl: 0 24px 80px rgba(4,47,21,.16);

  --ease: cubic-bezier(0.16,1,0.3,1);
  --r: 10px;
}

/* ---------- CUSTOM SCROLLBAR (brand palette) ---------- */
::-webkit-scrollbar              { width: 8px; height: 8px; }
::-webkit-scrollbar-track        { background: var(--g950); }
::-webkit-scrollbar-thumb        { background: var(--g600); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover  { background: var(--g500); }
/* Firefox */
*                                { scrollbar-width: thin; scrollbar-color: var(--g600) var(--g950); }

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a      { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 80px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  z-index: 100; box-shadow: none;
  transition: box-shadow 250ms var(--ease);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 11px; cursor: pointer; text-decoration: none; }
.logotype  { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logotype .a { color: #13542B; }
.logotype .b { color: #13A646; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text2);
  transition: color 150ms var(--ease);
}
.nav-links a:hover { color: var(--g700); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text2);
  padding: 10px 14px; border-radius: 8px;
  transition: color 150ms var(--ease), background 150ms var(--ease);
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover  { color: var(--g700); background: var(--s2); }
.btn-primary {
  background: var(--g600); color: #fff; border: none; cursor: pointer;
  font-weight: 700; border-radius: 8px;
  transition: all 200ms var(--ease);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-cta { height: 44px; padding: 0 18px; font-size: 14px; }
.nav-cta:hover { background: var(--g700); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(19,166,70,.3); }
.btn-primary:focus-visible,
.btn-ghost:focus-visible { outline: 2px solid var(--g500); outline-offset: 2px; }

/* ---------- NAV DROPDOWN ---------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; padding: 8px 0; }
.nav-dropdown > a::after { content: "▼"; font-size: 10px; opacity: 0.6; transition: transform 200ms var(--ease); }
.nav-submenu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: #fff; border: 1px solid var(--border2); border-radius: 8px;
  min-width: 180px; padding: 8px 0; box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms var(--ease);
  z-index: 1001;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown:hover .nav-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-submenu a {
  display: block; padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: var(--text2); transition: background 150ms var(--ease), color 150ms var(--ease);
  white-space: nowrap;
}
.nav-submenu a:hover { background: var(--s2); color: var(--g700); }
.nav-submenu a:first-child { border-radius: 6px 6px 0 0; }
.nav-submenu a:last-child { border-radius: 0 0 6px 6px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--g950); color: var(--g100); padding: 64px 0 40px; }
.footer-cols {
  display: flex; gap: 40px; max-width: 1080px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 40px;
}
.footer-c1  { flex: 0 0 35%; max-width: 35%; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logotype { color: #fff; }
.footer-tag  { font-size: 13px; color: var(--g300); margin-top: 10px; }
.footer-copy { font-size: 12px; color: rgba(186,248,206,.5); margin-top: 24px; }
.footer-c2   { flex: 1; display: flex; gap: 32px; flex-wrap: nowrap; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #fff; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px; font-weight: 600; color: var(--g300);
  margin-bottom: 10px; transition: color 150ms var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-c3 { flex: 0 0 20%; max-width: 20%; text-align: right; }
.footer-c3 .label { font-size: 13px; font-weight: 700; color: var(--g300); margin-bottom: 16px; }
.footer-mini-cta {
  background: var(--g600); color: #fff; border: none; cursor: pointer;
  font-weight: 700; font-size: 12px; padding: 10px 20px; border-radius: 8px;
  transition: all 200ms var(--ease); min-height: 40px;
}
.footer-mini-cta:hover { background: var(--g700); transform: translateY(-1px); }
.footer-social { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--g300);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  transition: color 150ms var(--ease), background 150ms var(--ease),
              border-color 150ms var(--ease), transform 150ms var(--ease),
              box-shadow 150ms var(--ease);
}
.footer-social a:hover {
  color: #fff;
  background: var(--g700);
  border-color: var(--g500);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(19,166,70,.35);
}

/* Footer bottom legal bar */
.footer-legal {
  max-width: 1080px; margin: 28px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a {
  font-size: 12px; color: rgba(186,248,206,.45);
  transition: color 150ms var(--ease);
}
.footer-legal-links a:hover { color: var(--g300); }
.footer-legal-copy { font-size: 12px; color: rgba(186,248,206,.35); }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ---------- SECTION SHARED ---------- */
.section { padding: 100px 0; }
.bg-bg      { background: var(--bg); }
.bg-surface { background: var(--surface); }
.sec-head   { text-align: center; max-width: 640px; margin: 0 auto; }
.pill {
  display: inline-block; background: var(--s2); border: 1px solid var(--border2);
  color: var(--g700); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.sec-head h2 {
  font-size: 40px; font-weight: 800; letter-spacing: -0.02em;
  margin-top: 16px; color: var(--text); line-height: 1.12;
}
.sec-head p {
  font-size: 17px; font-weight: 400; color: var(--text2);
  max-width: 560px; margin: 12px auto 0; line-height: 1.6;
}

/* ---------- INNER PAGE HERO ---------- */
.page-hero {
  background: linear-gradient(155deg, #042F15 0%, #146732 55%, #13823A 100%);
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.page-hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: var(--g300); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.page-hero h1 {
  font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
  color: #fff; margin-top: 20px; position: relative; z-index: 1;
}
.page-hero p {
  font-size: 18px; color: var(--g100); margin-top: 16px; max-width: 600px;
  margin-left: auto; margin-right: auto; line-height: 1.65; position: relative; z-index: 1;
}

/* ---------- PROSE (legal, blog) ---------- */
.prose-wrap { max-width: 820px; margin: 0 auto; padding: 80px 24px 100px; }
.prose-wrap h2 {
  font-size: 26px; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em; margin: 52px 0 16px;
}
.prose-wrap h3 {
  font-size: 19px; font-weight: 700; color: var(--text);
  margin: 32px 0 10px;
}
.prose-wrap p   { color: var(--text2); line-height: 1.75; margin-bottom: 16px; }
.prose-wrap ul, .prose-wrap ol {
  color: var(--text2); line-height: 1.75; padding-left: 24px; margin-bottom: 16px;
}
.prose-wrap li  { margin-bottom: 8px; }
.prose-wrap a   { color: var(--g600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose-wrap a:hover { color: var(--g700); }
.prose-wrap hr  { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.prose-meta     { font-size: 13px; color: var(--text3); margin-bottom: 48px; }
.last-updated   { display: inline-block; background: var(--s2); border: 1px solid var(--border2); color: var(--g700); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 32px; }

/* ---------- CARDS GRID (blog index, sitemap) ---------- */
.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  max-width: 1080px; margin: 56px auto 0;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--border2); }
.card-img   { width: 100%; height: 200px; object-fit: cover; background: var(--s2); }
.card-img-placeholder {
  width: 100%; height: 200px; background: linear-gradient(135deg, var(--g100) 0%, var(--g200) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--g500);
}
.card-body  { padding: 24px; }
.card-tag   {
  display: inline-block; background: var(--g100); color: var(--g700);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.card h3    { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.3; }
.card p     { font-size: 14px; color: var(--text2); line-height: 1.6; margin-top: 8px; }
.card-foot  { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.card-date  { font-size: 12px; color: var(--text3); font-weight: 600; }
.card-link  {
  font-size: 13px; font-weight: 700; color: var(--g600);
  display: flex; align-items: center; gap: 4px;
  transition: color 150ms var(--ease), gap 150ms var(--ease);
}
.card-link:hover { color: var(--g700); gap: 8px; }

/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 960px; margin: 0 auto; padding: 80px 24px 100px; }
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.contact-info p  { font-size: 16px; color: var(--text2); line-height: 1.7; margin-top: 12px; }
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item    { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon    {
  width: 44px; height: 44px; background: var(--s2); border: 1px solid var(--border2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--g600); flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.contact-item-text span   { font-size: 13px; color: var(--text2); }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 40px;
  box-shadow: var(--sh-md);
}
.form-field        { margin-bottom: 20px; }
.form-field label  {
  display: block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--text3); margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; border: 1.5px solid var(--border2); border-radius: 10px;
  padding: 12px 16px; font-size: 15px; font-family: inherit; outline: none;
  color: var(--text); background: #fff;
  transition: border 150ms var(--ease), box-shadow 150ms var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--g500); box-shadow: 0 0 0 3px rgba(19,166,70,.12); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text3); }
.btn-submit {
  width: 100%; height: 52px; background: var(--g600); color: #fff; border: none; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all 200ms var(--ease);
}
.btn-submit:hover { background: var(--g700); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(19,166,70,.3); }

/* ---------- PARTNER FORM ---------- */
.partner-wrap { max-width: 720px; margin: 0 auto; padding: 80px 24px 100px; }
.partner-wrap h2 { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 12px; }
.partner-wrap p  { font-size: 16px; color: var(--text2); line-height: 1.7; margin-bottom: 36px; }
.partner-form    { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 40px; box-shadow: var(--sh-md); }

/* ---------- ABOUT PAGE ---------- */
.about-hero { padding: 140px 0 80px; background: linear-gradient(155deg, #042F15 0%, #146732 55%, #13823A 100%); text-align: center; position: relative; overflow: hidden; }
.about-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.about-hero .eyebrow { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: var(--g300); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.about-hero h1 { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-top: 20px; position: relative; z-index: 1; }
.about-hero p  { font-size: 18px; color: var(--g100); margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.65; position: relative; z-index: 1; }
.values-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.value-card    { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-top: 16px; }
.value-card p  { font-size: 14px; color: var(--text2); line-height: 1.65; margin-top: 8px; }
.team-grid     { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 56px; }
.team-card     { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; text-align: center; }
.team-avatar   { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; }
.team-card h4  { font-size: 15px; font-weight: 700; }
.team-card span { font-size: 13px; color: var(--text3); }

/* ---------- SITEMAP PAGE ---------- */
.sitemap-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; max-width: 960px; margin: 64px auto 0; padding: 0 24px 100px; }
.sitemap-col h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); margin-bottom: 16px; }
.sitemap-col a  { display: block; font-size: 15px; font-weight: 600; color: var(--text2); margin-bottom: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); transition: color 150ms var(--ease); }
.sitemap-col a:hover { color: var(--g600); }

/* ---------- SCROLL TO TOP ---------- */
#scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--g600); color: #fff; border: none;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(19,166,70,.35);
  opacity: 0; transform: translateY(16px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease), background 200ms var(--ease);
  z-index: 99;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover   { background: var(--g700); box-shadow: 0 8px 24px rgba(19,166,70,.45); }
#scroll-top:focus-visible { outline: 2px solid var(--g300); outline-offset: 3px; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb      { font-size: 13px; color: var(--text3); margin-bottom: 8px; }
.breadcrumb a    { color: var(--g600); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }

/* ---------- ALERT / NOTICE BOXES ---------- */
.notice {
  background: var(--s2); border: 1px solid var(--border2); border-radius: 10px;
  padding: 16px 20px; font-size: 14px; color: var(--g800); margin: 20px 0;
}

/* ---------- FEATURE GRID (shared across landing + inner pages) ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  max-width: 1080px; margin: 56px auto 0;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--border2); }
.feature-card.highlight { background: var(--s2); border-color: var(--border2); position: relative; overflow: hidden; }
.feat-badge {
  position: absolute; top: 16px; right: 16px; background: var(--g600); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.feat-icon { color: var(--g600); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-top: 20px; color: var(--text); }
.feature-card p  { font-size: 14px; color: var(--text2); line-height: 1.6; margin-top: 8px; }
.tag {
  display: inline-block; margin-top: 20px; background: var(--g100); color: var(--g700);
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 8px;
}
.tag-row { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tag-row .tag { margin-top: 0; }

/* ---------- DARK CTA SECTION (about, landing) ---------- */
.dark-cta {
  background: linear-gradient(155deg, #042F15 0%, #13542B 60%, #146732 100%);
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
}
.dark-cta .hero-glow { left: 50%; top: 0; transform: translateX(-50%); right: auto; }
.dark-cta-inner { position: relative; z-index: 2; }
.eyebrow-dark {
  display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: var(--g300); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.dark-cta h2 {
  font-size: 48px; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; margin-top: 16px; line-height: 1.1;
}
.dark-cta .sub {
  font-size: 20px; color: var(--g100); margin-top: 16px;
  max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.cta-pills { margin: 40px auto; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-pill {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: var(--g100); padding: 10px 20px; border-radius: 20px; font-size: 14px; font-weight: 600;
}
.btn-white {
  background: #fff; color: var(--g800); padding: 16px 36px; border-radius: 10px;
  font-size: 17px; font-weight: 700; border: none; cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,.2); transition: all 200ms var(--ease);
  margin-top: 40px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.btn-white:focus-visible { outline: 2px solid var(--g300); outline-offset: 3px; }
.cta-note { font-size: 13px; color: rgba(186,248,206,.6); margin-top: 18px; }

/* ---------- RESPONSIVE ---------- */
@media(max-width: 960px) {
  .footer-cols { flex-wrap: wrap; }
  .footer-c1, .footer-c3 { flex: 0 0 100%; max-width: 100%; text-align: left; }
  .footer-social { justify-content: flex-start; }
  .footer-c3 { margin-top: 24px; }
  .contact-grid  { grid-template-columns: 1fr; }
  .feature-grid  { grid-template-columns: repeat(2,1fr); }
  .cards-grid    { grid-template-columns: repeat(2,1fr); }
  .values-grid   { grid-template-columns: repeat(2,1fr); }
  .team-grid     { grid-template-columns: repeat(2,1fr); }
  .sitemap-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-legal  { flex-direction: column; align-items: flex-start; }
}
@media(max-width: 768px) {
  .nav-links     { display: none; }
  .sec-head h2   { font-size: 32px; }
  .page-hero h1  { font-size: 36px; }
  .about-hero h1 { font-size: 36px; }
}
@media(max-width: 560px) {
  .feature-grid  { grid-template-columns: 1fr; }
  .cards-grid    { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: repeat(2,1fr); }
  .sitemap-grid  { grid-template-columns: 1fr; }
  #scroll-top    { bottom: 20px; right: 20px; }
  .footer-legal-links { gap: 12px; }
}
@media(max-width: 480px) {
  .container { padding: 0 18px; }
  .section   { padding: 72px 0; }
  .prose-wrap { padding: 48px 18px 72px; }
  .partner-wrap { padding: 48px 18px 72px; }
}

/* ---------- PROSE + SIDEBAR LAYOUT ---------- */
.prose-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.prose-layout .prose-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}
.prose-sidebar {
  position: sticky;
  top: 112px; /* nav (80px) + 32px gap */
}
.prose-sidebar__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 12px;
}
.prose-sidebar a {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transition: color 200ms;
  text-decoration: none;
}
.prose-sidebar a:last-child { border-bottom: none; }
.prose-sidebar a:hover { color: var(--g600); }
@media (max-width: 860px) {
  .prose-layout { grid-template-columns: 1fr; padding: 48px 18px 72px; }
  .prose-sidebar { display: none; }
  .prose-layout .prose-wrap { padding: 0; }
}
