/* =========================================================
   ACORN INVESTMENT — DESIGN SYSTEM
   Inspired by Acorns' forest-green and lime-green aesthetic
   ========================================================= */

:root {
  /* Brand palette */
  --charcoal: #243329;
  --charcoal-2: #304c3a;
  --charcoal-3: #3d5b46;

  --white: #ffffff;
  --off-white: #f7f8f5;
  --grey-text: #a8b2a8;

  --accent: #80d64b;
  --success: #329c55;

  /* Extended design tokens */
  --page-bg: #f7f8f5;
  --surface: #ffffff;
  --surface-muted: #eff3ed;
  --surface-dark: #243329;

  --text-primary: #191d19;
  --text-secondary: #687368;
  --text-inverse: #ffffff;

  --border-color: #e2e8df;
  --border-dark: #405443;

  --accent-hover: #95e66a;
  --accent-soft: #e9f8df;

  --danger: #c74747;
  --danger-soft: #fdecec;

  --warning: #e8b93b;
  --warning-soft: #fff6d9;

  --info: #3478a8;
  --info-soft: #eaf4fb;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;

  /* Rounded corners */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(36, 51, 41, 0.05);
  --shadow-md: 0 8px 24px rgba(36, 51, 41, 0.08);
  --shadow-lg: 0 18px 48px rgba(36, 51, 41, 0.12);

  /* Transitions */
  --transition: 180ms ease;
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--page-bg);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--charcoal);
}

a {
  color: var(--charcoal-2);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--charcoal-3);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-secondary);
}

img {
  max-width: 100%;
}

hr {
  border-color: var(--border-color);
  opacity: 1;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.acorn-navbar {
  background: var(--charcoal);
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1000;
}

.acorn-navbar .container {
  gap: 20px;
}

.acorn-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.acorn-navbar .navbar-brand:hover {
  color: var(--accent);
}

.acorn-navbar .navbar-brand .fw-light {
  font-weight: 400 !important;
  color: #d2dbd0;
}

.acorn-navbar .navbar-nav {
  gap: 8px;
}

.acorn-navbar .nav-link {
  color: #c0cbc0;
  padding: 10px 15px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition:
    color var(--transition),
    background var(--transition);
}

.acorn-navbar .nav-link:hover,
.acorn-navbar .nav-link:focus {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.acorn-navbar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  box-shadow: none;
}

.acorn-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(128, 214, 75, 0.2);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  font-family: var(--font-family);
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 11px 23px;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.btn:focus-visible {
  outline: 3px solid rgba(128, 214, 75, 0.45);
  outline-offset: 3px;
}

.btn-acorn {
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid var(--charcoal);
  box-shadow: none;
}

.btn-acorn:hover {
  background: var(--charcoal-3);
  border-color: var(--charcoal-3);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-acorn:active {
  transform: translateY(0);
}

.btn-acorn-accent {
  background: var(--accent);
  color: var(--charcoal);
  border: 1px solid var(--accent);
  font-weight: 700;
}

.btn-acorn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(128, 214, 75, 0.2);
}

.btn-acorn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 10px 22px;
}

.btn-acorn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--charcoal);
}

.btn-outline-primary {
  color: var(--charcoal-2);
  border-color: var(--charcoal-2);
}

.btn-outline-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.btn-primary {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--charcoal-3);
  border-color: var(--charcoal-3);
}

.btn-success {
  background: var(--success);
  border-color: var(--success);
}

.btn-success:hover {
  background: #278448;
  border-color: #278448;
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
}


/* =========================================================
   HERO SECTIONS
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(64px, 9vw, 112px) 0;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
}

.hero p,
.hero p.lead {
  color: #c2cec1;
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
}

.hero .btn {
  margin-top: 12px;
}


/* =========================================================
   CARDS
   ========================================================= */

.card,
.card-acorn {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card {
  transition:
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.card:hover {
  border-color: #d3dfcf;
  box-shadow: var(--shadow-md);
}

.card-acorn {
  padding: 28px;
  height: 100%;
}

.card-acorn h3 {
  font-weight: 700;
  margin-bottom: 12px;
}

.card-acorn p {
  color: var(--text-secondary);
}

.card-acorn .roi {
  color: var(--success);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.card-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 22px;
  font-weight: 600;
}

.card-body {
  padding: 24px;
}

.card-footer {
  background: var(--surface-muted);
  border-top: 1px solid var(--border-color);
  padding: 16px 22px;
}


/* =========================================================
   DASHBOARD STAT TILES
   ========================================================= */

.stat-tile {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.stat-tile .label {
  display: block;
  color: #c0cec0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

.stat-tile .value {
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.3;
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.stat-tile.accent {
  background: var(--accent);
  color: var(--charcoal);
}

.stat-tile.accent .label {
  color: #34452d;
}

.stat-tile.accent .value {
  color: var(--charcoal);
}


/* =========================================================
   FORMS AND AUTHENTICATION
   ========================================================= */

.auth-wrap {
  width: calc(100% - 32px);
  max-width: 460px;
  margin: 64px auto;
  padding: clamp(24px, 5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.auth-wrap h1,
.auth-wrap h2 {
  margin-bottom: 12px;
}

.form-label {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  min-height: 48px;
  background-color: var(--white);
  color: var(--text-primary);
  border: 1px solid #d9e0d6;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-family: var(--font-family);
  font-size: 0.94rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-control::placeholder {
  color: #9aa39a;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--white);
  color: var(--text-primary);
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(128, 214, 75, 0.16);
}

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

.form-check-input {
  border-color: #b8c4b5;
}

.form-check-input:checked {
  background-color: var(--charcoal-2);
  border-color: var(--charcoal-2);
}

.form-check-input:focus {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(128, 214, 75, 0.16);
}

.form-text {
  color: var(--text-secondary);
}

.input-group-text {
  background: var(--surface-muted);
  color: var(--text-secondary);
  border-color: var(--border-color);
  border-radius: var(--radius-md);
}


/* =========================================================
   TABLES
   ========================================================= */

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-primary);
  --bs-table-border-color: var(--border-color);

  vertical-align: middle;
  margin-bottom: 0;
}

.table thead th {
  padding: 15px 18px;
  background: #eef3eb;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.table tbody td {
  padding: 16px 18px;
  border-color: var(--border-color);
}

.table tbody tr {
  transition: background var(--transition);
}

.table tbody tr:hover > * {
  --bs-table-bg: #f5f8f2;
  color: var(--text-primary);
}

.table-acorn thead th {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--border-dark);
}

.table-responsive {
  border-radius: var(--radius-lg);
}


/* =========================================================
   BADGES AND STATUS INDICATORS
   ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-status-pending {
  background: var(--warning-soft);
  color: #785900;
}

.badge-status-confirmed {
  background: #e5f6e9;
  color: #23763d;
}

.badge-status-rejected {
  background: var(--danger-soft);
  color: #a52f2f;
}

.badge-status-approved {
  background: #e5f6e9;
  color: #23763d;
}

.badge-status-active {
  background: var(--accent-soft);
  color: #315a24;
}


/* =========================================================
   ALERTS AND NOTIFICATIONS
   ========================================================= */

.alert {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 15px 18px;
  font-size: 0.92rem;
}

.alert-success {
  color: #236d3b;
  background: #e9f7ec;
  border-color: #ccebd3;
}

.alert-danger {
  color: #9c2f2f;
  background: #fdf0f0;
  border-color: #f5d1d1;
}

.alert-warning {
  color: #755600;
  background: #fff7df;
  border-color: #f1e1a7;
}

.alert-info {
  color: #285b7e;
  background: #edf7fd;
  border-color: #d0e8f7;
}

.btn-close:focus {
  box-shadow: 0 0 0 3px rgba(128, 214, 75, 0.2);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
  gap: 5px;
}

.page-link {
  color: var(--charcoal-2);
  border-color: var(--border-color);
  border-radius: var(--radius-sm);
  margin: 0 2px;
}

.page-link:hover {
  color: var(--charcoal);
  background: var(--accent-soft);
  border-color: #cde8bd;
}

.page-item.active .page-link {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.page-item.disabled .page-link {
  color: #a4aca2;
  background: #f1f3ef;
}


/* =========================================================
   DROPDOWNS
   ========================================================= */

.dropdown-menu {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-md);
}

.dropdown-item {
  padding: 10px 13px;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--surface-muted);
  color: var(--charcoal);
}

.dropdown-divider {
  border-color: var(--border-color);
}


/* =========================================================
   MODALS
   ========================================================= */

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 22px 26px;
  border-bottom-color: var(--border-color);
}

.modal-title {
  font-weight: 700;
}

.modal-body {
  padding: 26px;
}

.modal-footer {
  padding: 18px 26px;
  background: var(--surface-muted);
  border-top-color: var(--border-color);
}


/* =========================================================
   PROGRESS BARS
   ========================================================= */

.progress {
  height: 9px;
  background: #e8eee5;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar {
  background: var(--success);
  border-radius: var(--radius-pill);
}


/* =========================================================
   LIST GROUPS
   ========================================================= */

.list-group {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.list-group-item {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-color);
  padding: 15px 18px;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
  background: var(--surface-muted);
  color: var(--charcoal);
}


/* =========================================================
   FOOTER
   ========================================================= */

.acorn-footer {
  background: var(--charcoal);
  color: #b5c1b4;
  padding: 36px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.acorn-footer .container {
  line-height: 1.8;
}

.acorn-footer a {
  color: #d4ded2;
}

.acorn-footer a:hover {
  color: var(--accent);
}


/* =========================================================
   UTILITY CLASSES
   ========================================================= */

.text-acorn {
  color: var(--charcoal) !important;
}

.text-accent {
  color: #4b8d2d !important;
}

.text-muted {
  color: var(--text-secondary) !important;
}

.bg-acorn {
  background: var(--charcoal) !important;
  color: var(--white) !important;
}

.bg-acorn-accent {
  background: var(--accent) !important;
  color: var(--charcoal) !important;
}

.bg-acorn-soft {
  background: var(--surface-muted) !important;
}

.border-acorn {
  border-color: var(--border-color) !important;
}

.rounded-acorn {
  border-radius: var(--radius-lg) !important;
}

.shadow-acorn {
  box-shadow: var(--shadow-md) !important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(128, 214, 75, 0.65);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 991.98px) {
  .acorn-navbar {
    padding: 12px 0;
  }

  .acorn-navbar .navbar-collapse {
    padding-top: 16px;
  }

  .acorn-navbar .navbar-nav {
    align-items: stretch !important;
    gap: 5px;
  }

  .acorn-navbar .nav-link {
    padding: 12px 14px;
  }

  .acorn-navbar .btn-acorn-outline {
    display: inline-flex;
    justify-content: center;
    margin: 8px 0 0 !important;
  }

  .hero {
    padding: 64px 0;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 14px;
  }

  .auth-wrap {
    margin: 32px auto;
    padding: 25px 20px;
    border-radius: var(--radius-lg);
  }

  .card-acorn {
    padding: 22px;
  }

  .card-body {
    padding: 20px;
  }

  .stat-tile {
    padding: 21px;
  }

  .table thead th,
  .table tbody td {
    padding: 12px;
  }

  .hero {
    padding: 52px 0;
  }

  .acorn-footer {
    padding: 28px 0 !important;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .acorn-navbar .navbar-brand {
    font-size: 1.05rem;
  }

  .btn {
    padding: 10px 18px;
  }

  .stat-tile .value {
    font-size: 1.6rem;
  }
}

/* =========================================================
   HOMEPAGE — ACORNS-INSPIRED VISUAL DESIGN
   ========================================================= */

/* Announcement banner */

.announcement-bar {
  background: var(--accent);
  color: var(--charcoal);
  padding: 12px 16px;
  text-align: center;
}

.announcement-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.announcement-bar p {
  color: var(--charcoal);
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.announcement-dot,
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--charcoal);
  border-radius: 50%;
  flex-shrink: 0;
}


/* Brand strip */

.press-strip {
  background: #18231b;
  color: white;
  padding: 34px 0;
}

.press-label {
  color: #a8b7a6;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  margin-bottom: 23px;
}

.press-brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.press-brand {
  color: #dce4d9;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.press-brand-primary {
  color: white;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.press-divider {
  height: 22px;
  width: 1px;
  background: #536153;
}


/* Hero */

.home-hero {
  background: var(--off-white);
  padding: clamp(65px, 9vw, 120px) 0;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #527447;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 25px;
}

.hero-eyebrow-dot {
  background: #69bd42;
}

.home-hero h1 {
  color: #19271c;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.99;
  margin-bottom: 26px;
}

.home-hero h1 span {
  color: #68b83e;
}

.hero-description {
  max-width: 570px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: #647064;
  line-height: 1.9;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.home-hero .btn-acorn-accent {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 16px 26px;
  min-height: 58px;
  box-shadow: 0 8px 22px rgba(128, 214, 75, 0.2);
}

.button-arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.hero-login-link {
  color: #687368;
  font-size: 0.9rem;
}

.hero-login-link strong {
  color: #263c2a;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: #687368;
  font-size: 0.8rem;
}

.hero-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e2f3d9;
  color: #43822e;
  font-weight: 700;
}


/* Hero investment preview */

.growth-preview {
  position: relative;
  overflow: hidden;
  background: #243b2c;
  color: white;
  border: 1px solid #38523e;
  border-radius: 30px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 25px 70px rgba(25, 48, 31, 0.18);
}

.growth-preview::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(128, 214, 75, 0.1);
  filter: blur(10px);
  pointer-events: none;
}

.growth-preview-top,
.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.preview-label {
  display: block;
  color: #a9bea7;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.growth-preview-top h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0;
}

.preview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  background: #3b5840;
  color: var(--accent);
  border-radius: 14px;
  font-size: 1.5rem;
}

.preview-balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 38px;
}

.preview-balance span {
  color: #afc0ac;
  font-size: 0.83rem;
}

.preview-balance strong {
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.045em;
  line-height: 1.3;
}


/* Decorative growth bars */

.growth-chart {
  height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  margin-top: 30px;
  padding-top: 20px;
  border-bottom: 1px solid #526b52;
  background-image: linear-gradient(
    to bottom,
    transparent 24%,
    rgba(255,255,255,0.06) 25%,
    transparent 26%,
    transparent 49%,
    rgba(255,255,255,0.06) 50%,
    transparent 51%,
    transparent 74%,
    rgba(255,255,255,0.06) 75%,
    transparent 76%
  );
}

.chart-bar {
  flex: 1;
  min-width: 4px;
  height: var(--bar-height);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(
    to top,
    #4c8b37,
    #8ce253
  );
  opacity: 0.95;
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  color: #a7b7a4;
  font-size: 0.72rem;
  margin-top: 12px;
}

.preview-divider {
  height: 1px;
  background: #405b43;
  margin: 24px 0;
}

.preview-footer > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-footer > div > span {
  color: #afc0ac;
  font-size: 0.77rem;
}

.preview-footer strong {
  color: white;
  font-size: 0.94rem;
}

.preview-footer-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 39px;
  height: 39px;
  background: var(--accent);
  color: var(--charcoal);
  border-radius: 50%;
  font-size: 1.25rem;
}

.preview-disclaimer {
  color: #a7b7a4;
  font-size: 0.65rem;
  line-height: 1.6;
  margin: 23px 0 0;
}


/* Investment plans section */

.investment-section {
  background: #f0f3ed;
  padding: clamp(70px, 9vw, 110px) 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 54px;
}

.section-eyebrow {
  display: inline-block;
  color: #62864e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-heading h2 {
  color: #25372a;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.section-heading p {
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
  color: #707b70;
}


/* Investment cards */

.investment-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  background: white;
  border: 1px solid #e0e8dc;
  border-radius: 23px;
  box-shadow: 0 4px 16px rgba(36, 51, 41, 0.035);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.investment-card:hover {
  transform: translateY(-5px);
  border-color: #c8dfbd;
  box-shadow: 0 18px 38px rgba(36, 51, 41, 0.09);
}

.investment-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.plan-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 47px;
  height: 47px;
  background: #e9f6e2;
  color: #4f8c35;
  border-radius: 15px;
  font-size: 1.5rem;
}

.plan-number {
  color: #7a8977;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.investment-card h3 {
  color: #233529;
  font-size: 1.4rem;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.plan-description {
  color: #727d71;
  font-size: 0.9rem;
  line-height: 1.8;
  min-height: 50px;
}

.plan-divider {
  height: 1px;
  background: #e8ede5;
  margin: 24px 0;
}

.plan-details {
  display: grid;
  gap: 17px;
}

.plan-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.plan-detail span {
  color: #788277;
  font-size: 0.82rem;
}

.plan-detail strong {
  color: #25362a;
  font-size: 0.92rem;
  text-align: right;
}

.plan-roi {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #eff8e9;
  border-radius: 15px;
  padding: 19px;
  margin: 25px 0;
}

.plan-roi > span {
  color: #62775a;
  font-size: 0.75rem;
}

.plan-roi > strong {
  color: #3d7b2a;
  font-size: 1.9rem;
  letter-spacing: -0.045em;
}

.plan-roi small {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  background: #243b2c;
  color: white;
  border: 1px solid #243b2c;
  padding: 14px 18px;
}

.btn-plan:hover {
  background: #385640;
  color: white;
  border-color: #385640;
}

.btn-plan span {
  font-size: 1.2rem;
}

.plan-disclaimer {
  color: #899287;
  font-size: 0.68rem;
  line-height: 1.65;
  margin: 17px 0 0;
}

.empty-plans {
  padding: 55px 24px;
  background: white;
  border: 1px solid #e0e8dc;
  border-radius: 22px;
  text-align: center;
}

.empty-plans-icon {
  font-size: 2rem;
  color: #60964a;
  margin-bottom: 15px;
}

.empty-plans h3 {
  color: #25372a;
}

.empty-plans p {
  margin: 0;
}


/* Clarity section */

.clarity-section {
  padding: clamp(75px, 10vw, 120px) 0;
  background: #fff;
}

.clarity-section h2 {
  color: #25372a;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}

.clarity-section h2 span {
  color: #70bd45;
}

.clarity-description {
  max-width: 490px;
  color: #6d786d;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.clarity-section .btn-acorn-accent {
  padding: 14px 23px;
}

.clarity-feature-list {
  padding: 10px 28px;
  background: #f7f9f5;
  border: 1px solid #e4eae0;
  border-radius: 24px;
}

.clarity-feature {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 24px 0;
  border-bottom: 1px solid #e2e9de;
}

.clarity-feature:last-child {
  border-bottom: none;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  background: #e6f4de;
  color: #4e8138;
  border-radius: 13px;
  font-size: 0.76rem;
  font-weight: 700;
}

.clarity-feature h3 {
  font-size: 0.99rem;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.clarity-feature p {
  color: #778176;
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
}

.feature-check {
  margin-left: auto;
  color: #4c9a35;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* Closing section */

.closing-section {
  padding: clamp(65px, 9vw, 100px) 0;
  background: #243b2c;
  color: white;
}

.closing-eyebrow {
  display: inline-block;
  color: #b2db9a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}

.closing-section h2 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.closing-section p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #c1d0bf;
  line-height: 1.8;
}

.btn-closing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 25px;
  background: #80d64b;
  color: #243329;
  border: 1px solid #80d64b;
}

.btn-closing:hover {
  background: #95e66a;
  border-color: #95e66a;
  color: #243329;
}


/* Responsive homepage */

@media (max-width: 991.98px) {
  .home-hero {
    padding: 70px 0;
  }

  .growth-preview {
    max-width: 580px;
    margin: 0 auto;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .investment-card {
    padding: 25px;
  }
}

@media (max-width: 767.98px) {
  .announcement-bar {
    padding: 12px 10px;
  }

  .announcement-bar p {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    line-height: 1.6;
  }

  .press-strip {
    padding: 28px 0;
  }

  .press-brand-row {
    gap: 14px;
  }

  .press-brand {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .press-brand-primary {
    font-size: 1rem;
  }

  .press-divider {
    height: 17px;
  }

  .home-hero {
    padding: 58px 0;
  }

  .home-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-hero .btn-acorn-accent {
    width: 100%;
  }

  .growth-preview {
    border-radius: 23px;
  }

  .growth-chart {
    height: 150px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .investment-section {
    padding: 65px 0;
  }

  .investment-card {
    padding: 25px;
  }

  .plan-description {
    min-height: auto;
  }

  .clarity-section {
    padding: 70px 0;
  }

  .clarity-feature-list {
    padding: 8px 19px;
  }

  .clarity-feature {
    gap: 12px;
  }

  .feature-icon {
    width: 37px;
    height: 37px;
  }

  .closing-section {
    padding: 65px 0;
  }

  .btn-closing {
    width: 100%;
    max-width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .investment-card,
  .btn-plan {
    transition: none;
  }
}

/* =========================================
   ACORN BRAND
   ========================================= */

.acorn-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.acorn-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50% 50% 45% 45%;

    background: #80d64b;
    color: #243329;

    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.acorn-brand-name {
    color: #243329;
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.acorn-navbar .navbar-brand {
    color: #243329;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #ffffff;
    color: #626b61;
    padding: 65px 0 25px;
    border-top: 1px solid #e9ede7;
}


/* Footer top */

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #789e50;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1.5px;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-brand:hover {
    color: #527d35;
}

.footer-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-navigation a {
    color: #626b61;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-navigation a:hover {
    color: #568b35;
}


/* Divider */

.footer-divider {
    width: 100%;
    height: 1px;
    background: #e5e9e2;
    margin-bottom: 35px;
}


/* Legal information */

.footer-legal {
    max-width: 1100px;
}

.footer-legal h2 {
    color: #4b574a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-legal p {
    color: #858c82;
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 18px;
}


/* Bottom footer */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    border-top: 1px solid #e5e9e2;
    margin-top: 35px;
    padding-top: 24px;

    color: #858c82;
    font-size: 12px;
}

.footer-tagline {
    color: #62894b;
    font-weight: 600;
}


/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 991.98px) {

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .footer-navigation {
        justify-content: flex-start;
        gap: 20px;
    }

}

@media (max-width: 575.98px) {

    .site-footer {
        padding-top: 45px;
    }

    .footer-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 20px;
    }

    .footer-navigation a {
        font-size: 13px;
    }

    .footer-legal p {
        font-size: 12px;
        line-height: 1.85;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

}

/* Acorn logo */

.acorn-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.acorn-logo-svg {
    display: block;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
}

.acorn-brand-name {
    color: #729C4D;
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 1;
}

.footer-brand {
    color: #729C4D;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1.5px;
}

.acorn-brand:hover .acorn-brand-name,
.footer-brand:hover {
    color: #548A3B;
}

.footer-brand .acorn-logo-svg {
    width: 42px;
    height: 42px;
}


/* =========================================
   ACORN INVESTMENT — WHITE NAVBAR
   ========================================= */

.acorn-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e8ece7;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Logo */
.acorn-navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: auto;
}

/* Logo image */
.acorn-navbar .acorn-logo {
    width: 150px;
    height: 55px;
    object-fit: contain;
    object-position: left center;
}

/* Admin and Logout links */
.acorn-navbar .nav-link {
    color: #303b32 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px !important;
    transition: color 0.2s ease;
}

.acorn-navbar .nav-link:hover {
    color: #78b83f !important;
}

/* Navbar toggler for mobile */
.acorn-navbar .navbar-toggler {
    border-color: #dce3da;
}

.acorn-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(120, 184, 63, 0.25);
}

/* Mobile navigation menu */
@media (max-width: 991.98px) {
    .acorn-navbar .navbar-collapse {
        padding-top: 15px;
    }

    .acorn-navbar .nav-link {
        padding: 12px 0 !important;
    }
}

/* Footer image logo */
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-footer .footer-logo {
    display: block;
    width: 150px;
    height: 55px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    background: transparent;
}

/* =========================================
   ACORN NAVBAR FIX
   ========================================= */

.acorn-navbar {
    background: #ffffff;
    min-height: 78px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0eb;
    box-shadow: 0 2px 10px rgba(25, 48, 32, 0.04);
}

.acorn-navbar .container {
    display: flex;
    align-items: center;
}

.acorn-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: auto;
}

.acorn-logo {
    display: block;
    width: 145px;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

/* Desktop navigation text */
.acorn-navbar .navbar-nav .nav-link {
    color: #1f3025;
    font-weight: 600;
}

.acorn-navbar .navbar-nav .nav-link:hover {
    color: #65b83c;
}

/* Mobile navigation actions */
.mobile-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    margin-right: 10px;
}

.mobile-login-btn,
.mobile-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}


/* Compact mobile header */
@media (max-width: 991.98px) {

    .acorn-navbar {
        min-height: 0 !important;
        padding: 10px 0 !important;
    }

    .acorn-navbar .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .acorn-brand {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .acorn-logo {
        width: 90px !important;
        height: 42px !important;
        max-height: 42px !important;
        object-fit: contain !important;
    }

    .mobile-nav-actions {
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 0 0 auto !important;
    }

    .mobile-login-btn,
    .mobile-start-btn {
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        border-radius: 7px !important;
        white-space: nowrap !important;
    }

    /* Remove the hamburger menu */
    .acorn-navbar .navbar-toggler {
        display: none !important;
    }

    /* Keep the collapsed desktop navigation hidden */
    .acorn-navbar .navbar-collapse {
        display: none !important;
    }
}

