:root {
  --primary: #5a6f64;
  --primary-hover: #4b685c;
  --secondary: #88a65e;
  --accent: #f4e3c3;
  --accent-hover: #e0ceac;
  --background: #fafaf5;
  --dark: #2f302f;
  --warm-blue: #4a6c75;
  --warm-blue-hover: #39535a;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--dark);
  line-height: 1.6;
}

.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-link img {
  height: 2.5rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.nav-current {
  color: var(--primary);
  font-weight: 600;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition:
    background 0.2s,
    transform 0.1s;
}

.btn-login:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.hero {
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero h1 .brand {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin: 0 0 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(90, 111, 100, 0.35);
  transition:
    background 0.2s,
    transform 0.1s,
    box-shadow 0.2s;
}

.hero-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 111, 100, 0.4);
}

.features {
  padding: 4rem 1.5rem 5rem;
  background: var(--background);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  margin: 0 0 0.5rem;
}

.features-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin: 0 0 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 25px rgba(90, 111, 100, 0.12);
  transform: translateY(-2px);
  border-color: rgba(90, 111, 100, 0.2);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 0.75rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.5rem;
}

.feature-card p {
  /* font-size: 0.9375rem; */
  color: var(--gray-600);
  margin: 0;
  line-height: 1.6;
}

.sms-callout {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sms-callout p {
  margin: 0 0 1rem;
  color: var(--gray-600);
  /* font-size: 0.9375rem; */
  line-height: 1.65;
}

.sms-callout p:last-child {
  margin-bottom: 0;
}

.sms-callout ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--gray-600);
  /* font-size: 0.9375rem; */
}

.sms-callout li {
  margin-bottom: 0.5rem;
}

.sms-callout a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sms-callout a:hover {
  color: var(--primary-hover);
}

.footer {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.975rem;
  color: var(--gray-600);
  margin: 0 0 0.5rem;
}

.footer-copy:last-child {
  margin-bottom: 0;
}

/* About (static marketing) */
.about-page {
  min-height: calc(100vh - 4rem);
  padding: 2rem 1.5rem 4rem;
  background-color: var(--background);
}

.about-layout {
  max-width: 1280px;
  margin: 0 auto;
}

.content-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-title {
  font-family: 'Montserrat', sans-serif;
  /* font-size: 1.75rem; */
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.page-subtitle {
  /* font-size: 0.95rem; */
  color: var(--gray-600);
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.card {
  background-color: var(--white);
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card-title {
  /* font-size: 1.1rem; */
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.75rem;
}

.card-content {
  /* font-size: 0.9rem; */
  color: var(--gray-700);
  line-height: 1.6;
}

.card-content p {
  margin: 0 0 0.75rem;
}

.card-content p:last-child {
  margin-bottom: 0;
}

.card-content ul {
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
}

.card-content li {
  margin-bottom: 0.5rem;
}

.card-content a {
  color: var(--primary);
  text-decoration: underline;
}

.card-content a:hover {
  color: var(--primary-hover);
}

.message-sample {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  /* font-size: 0.95rem; */
  background-color: var(--gray-100);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--primary);
  margin: 0.5rem 0 0.75rem;
}

/* Terms / privacy / SMS consent — match About page content width */
.terms-page {
  min-height: calc(100vh - 4rem);
  padding: 2rem 1.5rem 4rem;
  background: var(--background);
}

.terms-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.terms-article {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.terms-article h1 {
  font-family: 'Montserrat', sans-serif;
  /* font-size: 1.75rem; */
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.terms-lead {
  /* font-size: 0.95rem; */
  color: var(--gray-600);
  margin: 0 0 1.5rem;
}

.terms-section {
  margin-bottom: 1.5rem;
}

.terms-section:last-child {
  margin-bottom: 0;
}

.terms-section h2 {
  font-family: 'Montserrat', sans-serif;
  /* font-size: 1.05rem; */
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 0.5rem;
}

.terms-section p {
  margin-top: 0;
  /* font-size: 0.9375rem; */
  color: var(--gray-700);
  line-height: 1.65;
}

.terms-section a {
  color: var(--primary);
  font-weight: 500;
}

.terms-back {
  margin-top: 1.5rem;
  /* font-size: 0.9rem; */
}

.terms-back a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.terms-back a:hover {
  text-decoration: underline;
}

.terms-meta {
  /* font-size: 0.95rem; */
  color: var(--gray-600);
  margin: 0 0 1rem;
}

.terms-article code {
  /* font-size: 0.95em; */
  background: var(--gray-100);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

.terms-section .terms-list {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.35rem;
  /* font-size: 0.9375rem; */
  color: var(--gray-700);
  line-height: 1.65;
}

.terms-section .terms-list li {
  margin-bottom: 0.35rem;
}

.terms-section .terms-list:last-child {
  margin-bottom: 0;
}

/* Homepage ISV / SMS clarity strip */
.compliance-strip {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.compliance-strip .features-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.compliance-strip-links {
  text-align: center;
  margin: 1.25rem 0 0;
  /* font-size: 0.9375rem; */
  line-height: 1.6;
}

.compliance-strip-links a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.compliance-strip-links a:hover {
  color: var(--primary-hover);
}

/* Example-only SMS web opt-in (sms-consent page) */
.consent-mock {
  margin-top: 1rem;
}

.consent-mock-fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1.5rem;
  margin: 0;
  background: var(--gray-100);
}

.consent-mock-legend {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  /* font-size: 0.95rem; */
  color: var(--dark);
  padding: 0 0.35rem;
}

.consent-mock-disclosure {
  /* font-size: 0.875rem; */
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.consent-mock-disclosure a {
  color: var(--primary);
  font-weight: 500;
}

.consent-mock-field {
  margin-bottom: 1rem;
}

.consent-mock-field label {
  display: block;
  /* font-size: 0.8125rem; */
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.consent-mock-field input[type='tel'] {
  width: 100%;
  max-width: 280px;
  padding: 0.5rem 0.65rem;
  /* font-size: 0.9375rem; */
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: var(--white);
  font-family: inherit;
}

.consent-mock-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.consent-mock-checkbox input[type='checkbox'] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.consent-mock-checkbox label {
  /* font-size: 0.875rem; */
  color: var(--gray-700);
  line-height: 1.55;
}

.consent-mock-fineprint {
  /* font-size: 0.75rem; */   
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.consent-mock-fineprint a {
  color: var(--primary);
  font-weight: 500;
}

.consent-mock-submit {
  padding: 0.5rem 1rem;
  /* font-size: 0.875rem; */
  font-weight: 600;
  color: var(--gray-600);
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  cursor: not-allowed;
  font-family: inherit;
}
