/* ============================================================
   MyDeposit — Design System
   Same color palette & typography as PropertyManagementApp/Kipinn
   ============================================================ */

/* :root {
  --ink: #142C2B;
  --ink-soft: #1E2E2C;
  --paper: #F5F4EF;
  --paper-dim: #EBE8DF;
  --gold: #D9A441;
  --gold-deep: #B8822B;
  --teal: #2F6F63;
  --charcoal: #1E211F;
  --line: rgba(20, 44, 43, 0.14);
  --white: #FFFFFF;
  --radius: 14px;
  --max: 1180px;
} */
:root {
  /* Primary */
  --ink: #5D1F2D;
  /* Deep Burgundy */
  --ink-soft: #7A3244;
  /* Lighter Burgundy */

  /* Backgrounds */
  --paper: #F9F5EC;
  /* Parchment */
  --paper-dim: #F2EBDD;
  /* Slightly darker parchment */

  /* Accent */
  --gold: #D4A78D;
  /* Soft Bronze / Rose Gold */
  --gold-deep: #B88469;
  /* Deeper Bronze */

  /* Secondary */
  --teal: #8E5A5A;
  /* Muted Wine Brown */
  --charcoal: #32282A;
  /* Warm Charcoal */

  /* Borders */
  --line: rgba(93, 31, 45, 0.14);

  /* Base */
  --white: #FFFFFF;

  /* Layout */
  --radius: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px;
}

section {
  padding: 96px 0;
  scroll-margin-top: 90px;
}

@media(max-width:720px) {
  section {
    padding: 64px 0;
  }

  .eyebrow {
    font-size: 0.8rem;
  }
}

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  font-weight: 600;
  font-size: 0.95rem;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

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

/* ---------- Crest Logo ---------- */
.brand-mark {
  width: 42px;
  height: 36px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath d='M100 15 L170 45 V115 C170 165 140 200 100 225 C60 200 30 165 30 115 V45 Z' fill='%235D1F2D' stroke='%235D1F2D' stroke-width='9'/%3E%3Cpath d='M65 110 L100 75 L135 110' stroke='%23F9F5EC' stroke-width='9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M65 110 V145' stroke='%23F9F5EC' stroke-width='9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M135 110 V145' stroke='%23F9F5EC' stroke-width='9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  flex-shrink: 0;
}

.brand-mark .roof,
.brand-mark .tower {
  display: none;
}

footer .brand-mark {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'%3E%3Cpath d='M100 15 L170 45 V115 C170 165 140 200 100 225 C60 200 30 165 30 115 V45 Z' fill='%23D4A78D' stroke='%23B88469' stroke-width='9'/%3E%3Cpath d='M65 110 L100 75 L135 110' stroke='%235D1F2D' stroke-width='9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M65 110 V145' stroke='%235D1F2D' stroke-width='9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M135 110 V145' stroke='%235D1F2D' stroke-width='9' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

nav.links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.links a {
  position: relative;
  padding: 4px 0;
}

nav.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-deep);
  transition: width .25s ease;
}

nav.links a:hover::after {
  width: 100%;
}

nav.links a.active {
  color: var(--gold-deep);
}

nav.links a.active::after {
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 44, 43, 0.28);
}

.btn-gold {
  background: var(--gold);
  color: var(--paper);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 164, 65, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.28);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  position: relative;
  width: 40px;
  height: 40px;
}

.menu-toggle:hover {
  background: rgba(20, 44, 43, 0.06);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
  position: relative;
  top: 0;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-2px) rotate(-45deg);
}

@media(max-width:900px) {
  .nav {
    padding: 14px 20px;
  }

  nav.links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, box-shadow .35s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  nav.links.open {
    max-height: 420px;
    box-shadow: 0 18px 30px rgba(20, 44, 43, 0.08);
  }

  nav.links a {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
  }

  nav.links a:first-child {
    border-top: none;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 60px;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

@media(max-width:960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  margin: 18px 0 22px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-deep);
}

.hero p.lead {
  font-size: 1.12rem;
  color: #3D423F;
  max-width: 52ch;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
}

.hero-trust div {
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.hero-trust b {
  display: block;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 600;
}

.hero-trust span {
  font-size: 0.72rem;
  color: #6B706C;
  letter-spacing: 0.04em;
}

/* ---------- Dashboard Panel (hero visual) ---------- */
.dash-panel {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  box-shadow:
    0 2px 0 rgba(245, 244, 239, 0.04) inset,
    0 30px 60px rgba(20, 44, 43, 0.32),
    0 10px 24px rgba(20, 44, 43, 0.18);
  border: 1px solid rgba(245, 244, 239, 0.06);
  overflow: hidden;
}

.dash-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 88% 0%, rgba(217, 164, 65, 0.18), transparent 55%);
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--paper);
  margin-bottom: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  position: relative;
}

.dash-panel-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5FD3A0;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(95, 211, 160, 0.5);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(95, 211, 160, 0.5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(95, 211, 160, 0);
  }
}

.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.dash-stat {
  background: rgba(245, 244, 239, 0.06);
  border: 1px solid rgba(245, 244, 239, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: background .25s ease, border-color .25s ease;
}

.dash-stat:hover {
  background: rgba(245, 244, 239, 0.1);
  border-color: rgba(217, 164, 65, 0.35);
}

.dash-stat b {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 4px;
}

.dash-stat span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: rgba(245, 244, 239, 0.7);
  letter-spacing: 0.04em;
}

.dash-panel-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  position: relative;
}

.dash-panel-foot b {
  color: var(--gold);
}

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(180deg, var(--ink) 0%, #0F1F1E 100%);
  color: var(--paper);
  padding: 76px 28px 64px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(245, 244, 239, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.18), transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: rgba(245, 244, 239, 0.6);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
}

.breadcrumb a {
  color: rgba(245, 244, 239, 0.85);
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease, color .2s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold-deep);
}

.page-banner .eyebrow {
  color: var(--gold);
  position: relative;
}

.page-banner h1 {
  color: var(--paper);
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 1040px;
  margin: 16px 0 18px;
  position: relative;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-banner p {
  color: rgba(245, 244, 239, 0.78);
  max-width: 1040px;
  font-size: 1.05rem;
  margin: 0;
  position: relative;
}

/* ---------- Content sections ---------- */
.content-section {
  padding: 80px 0;
}

.content-section:nth-child(even) {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 52px;
  padding: 0 16px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.18;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: #3D423F;
  font-size: 1.04rem;
  margin: 0 auto 14px;
  max-width: 1040px;
  line-height: 1.65;
}

.section-left h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-left p {
  color: #3D423F;
  font-size: 1.04rem;
  margin: 0 0 16px;
  max-width: 60ch;
}

/* ---------- Benefits grid (Tenant / Landlord) ---------- */
.benefits-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media(max-width:760px) {
  .benefits-split {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(20, 44, 43, 0.08);
  border-color: rgba(184, 130, 43, 0.45);
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-card h3 .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--paper), var(--paper-dim) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(20, 44, 43, 0.06);
  flex-shrink: 0;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: #3D423F;
}

.benefit-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: -1px;
}

/* ---------- Feature grid (dark bg) ---------- */
.features-dark {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.features-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(217, 164, 65, 0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(47, 111, 99, 0.18), transparent 65%);
}

.features-dark>.wrap {
  position: relative;
}

.features-dark .eyebrow {
  color: var(--gold);
}

.features-dark h2 {
  color: var(--paper);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  max-width: 1040px;
  margin-bottom: 12px;
  line-height: 1.15;
}

.features-dark>.wrap>p {
  color: rgba(245, 244, 239, 0.72);
  max-width: 1040px;
  margin-bottom: 48px;
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-top: 56px;
}

@media(max-width:860px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media(max-width:560px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.feature-card {
  background: linear-gradient(145deg, rgba(122, 50, 68, 0.45) 0%, rgba(65, 20, 31, 0.75) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 167, 141, 0.22);
  border-radius: 18px;
  padding: 34px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, rgba(140, 58, 79, 0.65) 0%, rgba(93, 31, 45, 0.85) 100%);
  border-color: rgba(212, 167, 141, 0.5);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 167, 141, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(212, 167, 141, 0.12);
  border: 1px solid rgba(212, 167, 141, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 167, 141, 0.2), rgba(184, 132, 105, 0.05));
  border: 1px solid rgba(212, 167, 141, 0.3);
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-3deg);
  background: radial-gradient(circle at 30% 30%, rgba(212, 167, 141, 0.38), rgba(184, 132, 105, 0.15));
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(212, 167, 141, 0.25);
}

.feature-card h3 {
  color: #FFFFFF;
  font-size: 1.22rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.25;
}

.feature-card p {
  color: rgba(249, 245, 236, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Why / Info cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media(max-width:760px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(20, 44, 43, 0.08);
  border-color: rgba(184, 130, 43, 0.45);
}

@media(max-width:480px) {
  .info-card {
    padding: 22px;
    gap: 14px;
  }
}

.info-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--paper), var(--paper-dim) 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(20, 44, 43, 0.06);
}

.info-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.info-card p {
  margin: 0;
  color: #3D423F;
  font-size: 0.95rem;
}

/* ---------- Workflow Stepper ---------- */
.workflow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 48px auto 0;
  position: relative;
}

.workflow::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
}

.workflow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}

.workflow-step:first-child {
  padding-top: 0;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.step-num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(20, 44, 43, 0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.workflow-step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.3);
}

.step-content h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-content p {
  margin: 0;
  color: #3D423F;
  font-size: 0.94rem;
}

/* ---------- Feature list (simple) ---------- */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media(max-width:860px) {
  .feature-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:560px) {
  .feature-list-grid {
    grid-template-columns: 1fr;
  }
}

.feature-list-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(20, 44, 43, 0.08);
  border-color: rgba(184, 130, 43, 0.4);
}

.feature-list-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.15), rgba(47, 111, 99, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}

.feature-list-item span {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
}

/* ---------- Tracking list ---------- */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.track-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.track-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  opacity: 0;
  transition: opacity .25s ease;
}

.track-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(20, 44, 43, 0.08);
  border-color: rgba(184, 130, 43, 0.4);
}

.track-item:hover::before {
  opacity: 1;
}

.track-item svg {
  display: block;
  margin: 0 auto 10px;
  color: var(--gold-deep);
}

/* ---------- Dashboard feature cards ---------- */
.dash-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media(max-width:860px) {
  .dash-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:560px) {
  .dash-feature-grid {
    grid-template-columns: 1fr;
  }
}

.dash-feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.dash-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(20, 44, 43, 0.08);
  border-color: rgba(184, 130, 43, 0.45);
}

.dash-feature-card .dash-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 164, 65, 0.14), rgba(47, 111, 99, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin-bottom: 16px;
}

.dash-feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.dash-feature-card p {
  margin: 0;
  color: #3D423F;
  font-size: 0.94rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 78ch;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.faq-item:hover {
  background: #FBFAF6;
  border-color: rgba(184, 130, 43, 0.35);
  box-shadow: 0 8px 18px rgba(20, 44, 43, 0.04);
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 4px 0;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.2rem;
  color: var(--gold-deep);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 164, 65, 0.12);
  border-radius: 50%;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(217, 164, 65, 0.22);
}

.faq-item>p {
  margin: 0;
  color: #3D423F;
  font-size: 0.96rem;
  display: block;
  animation: slideDown .5s cubic-bezier(.2, .7, .2, 1) forwards;
  transform-origin: top;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.faq-item[open]>p {
  animation: slideUp .5s cubic-bezier(.2, .7, .2, 1) forwards;
  max-height: none;
  margin-top: 14px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--ink) 100%);
  color: var(--paper);
  border-radius: 26px;
  margin: 0 28px;
  padding: 64px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 44, 43, 0.18);
}

.cta::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.32), transparent 70%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(47, 111, 99, 0.45), transparent 70%);
  pointer-events: none;
}

.cta h2 {
  color: var(--paper);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  max-width: 18ch;
  position: relative;
  line-height: 1.15;
}

.cta p {
  color: rgba(245, 244, 239, 0.78);
  margin: 12px 0 0;
  max-width: 42ch;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

@media(max-width:900px) {
  .cta {
    margin: 0 14px;
    padding: 48px 28px;
    border-radius: 22px;
  }
}

@media(max-width:480px) {
  .cta {
    margin: 0 12px;
    padding: 40px 24px;
  }
}

/* ---------- Inline content links ---------- */
.content-link {
  color: var(--gold-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
  padding-bottom: 1px;
}

.content-link:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-deep);
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(245, 244, 239, 0.7);
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

@media(max-width:960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-grid h4 {
  color: var(--paper);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-grid a {
  transition: color .2s ease;
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-grid a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold-deep);
}

.footer-brand p {
  max-width: 32ch;
  font-size: 0.9rem;
  color: rgba(245, 244, 239, 0.6);
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 244, 239, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(245, 244, 239, 0.7);
}

.contact-list {
  margin-top: 8px;
  gap: 8px !important;
}

.contact-list li {
  padding: 5px 7px;
  border-left: 3px solid var(--gold);
  background: rgba(20, 44, 43, 0.35);
  border-radius: 0 6px 6px 0;
  transition: all .22s ease;
}

.contact-list li:hover {
  background: rgba(217, 164, 65, 0.12);
  border-left-color: var(--gold-deep);
}

.contact-list a {
  color: rgba(245, 244, 239, 0.85);
  transition: color .22s ease;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold);
}

/* ---------- Homepage specific ---------- */
.home-hero {
  padding: 100px 28px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217, 164, 65, 0.08), transparent 60%),
    radial-gradient(400px 400px at 80% 100%, rgba(47, 111, 99, 0.06), transparent 60%);
}

.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 18px auto 24px;
  letter-spacing: -0.02em;
  max-width: 960px;
  position: relative;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--gold-deep);
}

.home-hero p.lead {
  font-size: 1.15rem;
  color: #3D423F;
  max-width: 1040px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
}

.home-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

@media(max-width:860px) {
  .home-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:560px) {
  .home-pages-grid {
    grid-template-columns: 1fr;
  }
}

.page-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 28px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.page-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  opacity: 0;
  transition: opacity .25s ease;
}

.page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(20, 44, 43, 0.1);
  border-color: rgba(184, 130, 43, 0.45);
}

.page-card:hover::before {
  opacity: 1;
}

.page-card .card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.page-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.page-card p {
  color: #3D423F;
  font-size: 0.92rem;
  margin: 0 0 18px;
}

.page-card .card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}

.page-card:hover .card-link {
  gap: 10px;
}

/* ---------- Stat band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 8px 0 8px;
}

@media(max-width:760px) {
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:380px) {
  .stat-band {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(20, 44, 43, 0.08);
  border-color: rgba(184, 130, 43, 0.4);
}

.stat-card b {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
  line-height: 1.1;
}

.stat-card span {
  font-size: 0.85rem;
  color: #6B706C;
}

/* ---------- Small screen polish ---------- */
@media(max-width:560px) {
  .wrap {
    padding: 0 18px;
  }

  .cta h2 {
    max-width: 100%;
  }
}