/* ============================================
   SUMMIT TOOLS — Main Stylesheet
   summittools.ai
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --white:    #F8F7F4;
  --charcoal: #1E2228;
  --green:    #56745A;
  --green-light: #EAF0EB;
  --blue:     #4F8EF7;
  --blue-light: #EBF2FE;
  --sand:     #C8B89D;
  --border:   rgba(30,34,40,0.10);
  --border-med: rgba(30,34,40,0.18);
  --text-muted: #7A8390;
  --radius:   10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(30,34,40,0.07);
  --shadow-md: 0 4px 16px rgba(30,34,40,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 60px;
  display: flex;
  align-items: center;
}
#main-nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 32px;
  height: 26px;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-summit {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--charcoal);
}
.nav-logo-tools {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--charcoal);
  background: rgba(30,34,40,0.06);
}
.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 7px;
  transition: background 0.15s !important;
}
.nav-cta:hover {
  background: #2d3440 !important;
  color: var(--white) !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 20px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  padding: 130px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.1;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: #2d3440; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-med);
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-secondary:hover { border-color: var(--charcoal); background: rgba(30,34,40,0.04); transform: translateY(-1px); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ── SECTION COMMON ── */
.section { padding: 80px 0; }
.section-alt { background: #F2F1EE; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CALCULATOR HUB CARDS ── */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  display: block;
}
.calc-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.calc-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.calc-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
}
.calc-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.calc-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.calc-card-arrow {
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── CALCULATOR PAGE ── */
.calc-page {
  padding: 100px 0 80px;
  min-height: 100vh;
}
.calc-page-header {
  margin-bottom: 36px;
}
.calc-breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.calc-breadcrumb a { color: var(--green); }
.calc-page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.calc-page-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.calc-inputs {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.calc-inputs h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.calc-result {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  position: sticky;
  top: 80px;
}
.calc-result h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.result-value {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.result-unit {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.result-breakdown {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.result-row-label { color: rgba(255,255,255,0.5); }
.result-row-val { font-weight: 600; color: #fff; }

/* Form fields */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.field input:focus, .field select:focus {
  border-color: var(--green);
}
.field-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.calc-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.calc-btn:hover { background: #456050; }

/* ── DISCLAIMER ── */
.disclaimer {
  background: #FFF8EC;
  border: 1px solid #F0D89A;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.78rem;
  color: #7A6020;
  line-height: 1.5;
  margin-top: 20px;
}
.disclaimer strong { font-weight: 600; }

/* ── AI TOOLS PAGE ── */
.ai-hero {
  background: var(--charcoal);
  padding: 100px 0 70px;
  text-align: center;
}
.ai-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.ai-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ai-tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.ai-tool-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.ai-tool-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.ai-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  margin-bottom: 14px;
  -webkit-appearance: none;
  cursor: pointer;
}
.ai-select:focus { border-color: var(--green); }
.ai-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--white);
  resize: vertical;
  min-height: 160px;
  outline: none;
  line-height: 1.6;
  transition: border-color 0.15s;
}
.ai-textarea:focus { border-color: var(--green); }
.ai-output {
  background: #F2F1EE;
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--charcoal);
  white-space: pre-wrap;
  min-height: 120px;
  margin-top: 16px;
  border: 1px solid var(--border);
}
.ai-output.loading {
  color: var(--text-muted);
  font-style: italic;
}
.ai-copy-btn {
  margin-top: 10px;
  background: transparent;
  border: 1.5px solid var(--border-med);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s, background 0.15s;
}
.ai-copy-btn:hover { border-color: var(--charcoal); background: rgba(30,34,40,0.04); }
.ai-copy-btn.visible { display: inline-flex; }

/* ── FEATURE REQUESTS ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.feature-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.feature-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-form > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.feature-list-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.feature-vote-btn {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--border-med);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: border-color 0.15s, background 0.15s;
}
.feature-vote-btn:hover { border-color: var(--green); background: var(--green-light); }
.feature-vote-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal);
}
.feature-item-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.feature-item-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── ABOUT ── */
.about-hero {
  padding: 110px 0 70px;
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}
.about-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-visual {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-stat {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 20px;
}
.about-stat:last-child { border-bottom: none; padding-bottom: 0; }
.about-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.about-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.spg-link-card {
  background: var(--green-light);
  border: 1px solid rgba(86,116,90,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  transition: box-shadow 0.15s;
  margin-top: 24px;
}
.spg-link-card:hover { box-shadow: var(--shadow-md); }
.spg-link-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.spg-link-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}

/* ── CHATBOT ── */
#chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--charcoal);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(30,34,40,0.25);
  z-index: 200;
  transition: transform 0.15s, background 0.15s;
}
#chat-toggle:hover { transform: scale(1.06); background: #2d3440; }
#chat-toggle svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
#chat-window {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 340px;
  max-height: 500px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(30,34,40,0.18);
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#chat-window.open { display: flex; }
.chat-header {
  background: var(--charcoal);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-header-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #56C278;
}
.chat-header h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}
.chat-header p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}
.chat-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.5;
}
.chat-msg.bot {
  background: #F2F1EE;
  color: var(--charcoal);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--charcoal);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}
.chat-input-row input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border-med);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  outline: none;
  background: var(--white);
  color: var(--charcoal);
}
.chat-input-row input:focus { border-color: var(--green); }
.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--charcoal);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.chat-send:hover { background: #2d3440; }
.chat-send svg { width: 16px; height: 16px; stroke: #fff; fill: none; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
}

/* ── TERMS ── */
.terms-content {
  max-width: 720px;
  padding: 60px 0 80px;
}
.terms-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0 10px;
}
.terms-content p, .terms-content li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}
.terms-content ul { padding-left: 20px; }

/* ── FADE IN ── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 24px; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  #chat-window { width: calc(100vw - 32px); right: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .calc-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
