/* ─── Subrina Marketing Site — Design System ────────────────────────────────
   Fonts: Cormorant Garamond (display), DM Sans (UI), DM Mono (data)
   Palette: matches the Subrina app design tokens
──────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --s-midnight:   #0E1512;
  --s-forest:     #1C3D2C;
  --s-forest-mid: #2A5C3F;
  --s-sage:       #4A7C64;
  --s-gold:       #C8961A;
  --s-cream:      #F4EFE3;
  --s-page:       #F2EDE1;
  --s-parchment:  #E8E0CC;
  --s-border:     #D8D0BC;
  --s-smoke:      #A8A090;
  --s-ember:      #D4613A;
  --s-green-text: #6FC997;

  --site-max: 1120px;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--s-page);
  color: var(--s-midnight);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--s-midnight);
  display: flex;
  align-items: center;
  border-bottom: 0.5px solid var(--s-forest);
}

.nav-inner {
  max-width: var(--site-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--s-cream);
  letter-spacing: -0.01em;
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo span { color: var(--s-gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 32px;
  flex: 1;
}

.nav-link {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--s-smoke);
  padding: 7px 13px;
  border-radius: 20px;
  transition: color 0.12s, background 0.12s;
  text-transform: uppercase;
}

.nav-link:hover { color: var(--s-cream); background: var(--s-forest); }
.nav-link.active { color: var(--s-cream); background: var(--s-forest); }

.nav-cta {
  margin-left: auto;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: var(--s-gold);
  color: var(--s-midnight);
  font-weight: 500;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  cursor: pointer;
  transition: opacity 0.12s;
  text-transform: uppercase;
}

.nav-cta:hover { opacity: 0.85; color: var(--s-midnight); }

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--s-smoke);
  padding: 6px;
  margin-left: auto;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--s-midnight);
  border-bottom: 0.5px solid var(--s-forest);
  padding: 12px 0 20px;
  z-index: 99;
}

.nav-mobile-menu.open { display: block; }

.nav-mobile-menu a {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--s-smoke);
  padding: 11px 28px;
  border-left: 2px solid transparent;
  transition: color 0.12s, background 0.12s;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--s-cream);
  background: var(--s-forest);
  border-left-color: var(--s-gold);
}

.nav-mobile-menu .nav-cta {
  margin: 14px 28px 0;
  display: block;
  text-align: center;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--s-midnight);
  border-top: 0.5px solid var(--s-forest);
  padding: 52px 28px 32px;
}

.footer-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .nav-logo { font-size: 26px; margin-bottom: 12px; }

.footer-tagline {
  font-size: 14px;
  color: var(--s-smoke);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 20px;
}

.footer-legal {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--s-forest-mid);
  letter-spacing: 0.04em;
}

.footer-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--s-forest-mid);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--s-smoke);
  margin-bottom: 9px;
  transition: color 0.12s;
}

.footer-col a:hover { color: var(--s-cream); }

.footer-bottom {
  max-width: var(--site-max);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 0.5px solid var(--s-forest);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--s-forest-mid);
  letter-spacing: 0.04em;
}

/* ─── Sections wrapper ───────────────────────────────────────────────────── */
.section {
  padding: 80px 28px;
}

.section-sm { padding: 52px 28px; }

.container {
  max-width: var(--site-max);
  margin: 0 auto;
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s-sage);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--s-midnight);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--s-smoke);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--s-midnight);
  color: var(--s-cream);
  border: none;
  border-radius: 24px;
  padding: 13px 28px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.14s;
}

.btn-primary:hover { background: var(--s-forest); color: var(--s-cream); }

.btn-gold {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--s-gold);
  color: var(--s-midnight);
  font-weight: 500;
  border: none;
  border-radius: 24px;
  padding: 13px 28px;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.14s;
}

.btn-gold:hover { opacity: 0.85; color: var(--s-midnight); }

.btn-outline {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--s-cream);
  border: 0.5px solid rgba(255,255,255,0.25);
  border-radius: 24px;
  padding: 13px 28px;
  cursor: pointer;
  display: inline-block;
  transition: border-color 0.14s, background 0.14s;
}

.btn-outline:hover { border-color: var(--s-cream); background: rgba(255,255,255,0.06); color: var(--s-cream); }

.btn-outline-dark {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--s-midnight);
  border: 0.5px solid var(--s-border);
  border-radius: 24px;
  padding: 12px 26px;
  cursor: pointer;
  display: inline-block;
  transition: border-color 0.14s;
}

.btn-outline-dark:hover { border-color: var(--s-midnight); color: var(--s-midnight); }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 0.5px solid var(--s-border);
  border-radius: 12px;
  padding: 28px 24px;
}

.card-dark {
  background: var(--s-midnight);
  border: 0.5px solid var(--s-forest);
  border-radius: 12px;
  padding: 28px 24px;
}

/* ─── Badge / pill ───────────────────────────────────────────────────────── */
.pill {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.pill-green { background: #1C3D2C; color: var(--s-green-text); }
.pill-gold  { background: #2D1C0E; color: var(--s-gold); }

/* ─── Feature grid ───────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.feature-card {
  background: #fff;
  border: 0.5px solid var(--s-border);
  border-radius: 12px;
  padding: 28px 24px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--s-midnight);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg { width: 20px; height: 20px; color: var(--s-gold); }

.feature-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--s-midnight);
  margin-bottom: 9px;
}

.feature-body {
  font-size: 14px;
  color: var(--s-smoke);
  line-height: 1.7;
}

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
  align-items: start;
}

.pricing-card {
  background: var(--s-page);
  border: 0.5px solid var(--s-border);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
}

.pricing-card.featured {
  background: var(--s-midnight);
  border-color: var(--s-forest);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--s-gold);
  color: var(--s-midnight);
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--s-midnight);
  margin-bottom: 6px;
}

.pricing-card.featured .pricing-name { color: var(--s-cream); }

.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--s-midnight);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card.featured .pricing-price { color: var(--s-cream); }

.pricing-cycle {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--s-smoke);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-cycle { color: var(--s-sage); }

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--s-smoke);
  padding: 7px 0;
  border-bottom: 0.5px solid var(--s-border);
  display: flex;
  align-items: center;
  gap: 9px;
}

.pricing-card.featured .pricing-features li {
  color: var(--s-sage);
  border-color: var(--s-forest);
}

.pricing-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--s-sage);
  flex-shrink: 0;
}

.pricing-card.featured .pricing-features li::before { background: var(--s-green-text); }

/* ─── Testimonial ────────────────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.testimonial-card {
  background: #fff;
  border: 0.5px solid var(--s-border);
  border-radius: 12px;
  padding: 28px 24px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--s-midnight);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--s-smoke);
  letter-spacing: 0.04em;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--s-midnight);
  margin-bottom: 3px;
}

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.blog-card {
  background: #fff;
  border: 0.5px solid var(--s-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.14s;
}

.blog-card:hover { box-shadow: 0 4px 24px rgba(14,21,18,0.08); }

.blog-card-img {
  height: 180px;
  background: var(--s-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-body { padding: 22px 22px 24px; }

.blog-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s-smoke);
  margin-bottom: 10px;
}

.blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--s-midnight);
  line-height: 1.25;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--s-smoke);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-read-more {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--s-sage);
  transition: color 0.12s;
}

.blog-read-more:hover { color: var(--s-midnight); }

/* ─── Article prose ──────────────────────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--s-midnight);
  margin: 48px 0 16px;
  line-height: 1.2;
}

.prose h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--s-midnight);
  margin: 32px 0 12px;
}

.prose p {
  font-size: 17px;
  color: #2C2C28;
  line-height: 1.8;
  margin-bottom: 22px;
}

.prose ul, .prose ol {
  padding-left: 22px;
  margin-bottom: 22px;
}

.prose li {
  font-size: 17px;
  color: #2C2C28;
  line-height: 1.8;
  margin-bottom: 8px;
}

.prose blockquote {
  border-left: 3px solid var(--s-gold);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--s-smoke);
  font-size: 17px;
  line-height: 1.7;
}

/* ─── Hero (dark) ────────────────────────────────────────────────────────── */
.hero {
  background: var(--s-midnight);
  padding: 96px 28px 80px;
  text-align: center;
}

.hero .display {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--s-cream);
  margin-bottom: 24px;
}

.hero .display span { color: var(--s-gold); }

.hero-sub {
  font-size: 19px;
  color: var(--s-smoke);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--s-forest-mid);
  letter-spacing: 0.06em;
  margin-top: 18px;
  text-transform: uppercase;
}

/* ─── Stat bar ───────────────────────────────────────────────────────────── */
.stat-bar {
  background: var(--s-forest);
  padding: 24px 28px;
}

.stat-bar-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--s-cream);
  line-height: 1;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s-sage);
  margin-top: 5px;
}

/* ─── CTA strip ──────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--s-midnight);
  padding: 64px 28px;
  text-align: center;
}

.cta-strip .display {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--s-cream);
  margin-bottom: 20px;
}

.cta-strip .display span { color: var(--s-gold); }

.cta-strip p {
  font-size: 17px;
  color: var(--s-smoke);
  margin-bottom: 32px;
}

/* ─── Page hero (inner pages) ────────────────────────────────────────────── */
.page-hero {
  background: var(--s-midnight);
  padding: 64px 28px 52px;
}

.page-hero-inner {
  max-width: var(--site-max);
  margin: 0 auto;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  color: var(--s-cream);
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-title span { color: var(--s-gold); }

.page-hero-sub {
  font-size: 17px;
  color: var(--s-smoke);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── Contact form ───────────────────────────────────────────────────────── */
.contact-form {
  background: #fff;
  border: 0.5px solid var(--s-border);
  border-radius: 14px;
  padding: 36px 40px;
  max-width: 600px;
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--s-smoke);
  display: block;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--s-midnight);
  background: var(--s-page);
  border: 0.5px solid var(--s-border);
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.12s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--s-sage); background: #fff; }

.form-textarea { resize: vertical; min-height: 120px; }

/* ─── Compliance / legal ─────────────────────────────────────────────────── */
.compliance-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--s-border);
}

.compliance-icon {
  width: 44px;
  height: 44px;
  background: var(--s-midnight);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-icon svg { width: 20px; height: 20px; color: var(--s-gold); }

.compliance-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--s-midnight);
  margin-bottom: 7px;
}

.compliance-body {
  font-size: 14px;
  color: var(--s-smoke);
  line-height: 1.7;
}

/* ─── Team ───────────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.team-card {
  background: #fff;
  border: 0.5px solid var(--s-border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--s-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--s-gold);
}

.team-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--s-midnight);
  margin-bottom: 4px;
}

.team-role {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--s-smoke);
  text-transform: uppercase;
}

/* ─── FAQ accordion ──────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 0.5px solid var(--s-border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--s-midnight);
  text-align: left;
  gap: 16px;
}

.faq-q svg { width: 18px; height: 18px; color: var(--s-smoke); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-a { max-height: 400px; }

.faq-a p {
  font-size: 15px;
  color: var(--s-smoke);
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 0.5px solid var(--s-border);
}

/* ─── Utility ────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--s-gold); }
.text-smoke { color: var(--s-smoke); }
.text-cream { color: var(--s-cream); }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .blog-grid,
  .team-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .feature-grid,
  .pricing-grid,
  .testimonial-grid,
  .blog-grid,
  .team-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }

  .hero { padding: 64px 20px 52px; }
  .section { padding: 52px 20px; }
  .contact-form { padding: 24px 20px; }
  .stat-bar-inner { gap: 20px; }
}
