/* ==========================================================================
URUMAYA — Design Tokens
A ledger book, not a landing page: deep ink-green covers, parchment
pages, an oxblood wax seal, brass foil detailing.
========================================================================== */
:root {
  --ink: #16213a;
  --ink-panel: #1f2c4a;
  --ink-panel-raised: #283a60;
  --parchment: #eceff2;
  --parchment-alt: #dde3e9;
  --parchment-line: #b7c1cb;
  --oxblood: #146b6b;
  --oxblood-hover: #0f4f4f;
  --oxblood-tint: rgba(20, 107, 107, 0.12);
  --brass: #b5651d;
  --brass-light: #d68a3c;
  --brass-tint: rgba(181, 101, 29, 0.14);
  --text-onink: #eef1f4;
  --text-onink-muted: #a9b4c2;
  --text-onpaper: #1c2430;
  --text-onpaper-muted: #5b6673;
  --border-onink: #34456a;
  --border-onpaper: #b7c1cb;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Public Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius-sm: 0.3rem;
  --radius-md: 0.6rem;
  --radius-lg: 1rem;
  --transition: all 0.25s ease-in-out;
  --focus-ring: 0 0 0 3px rgba(201, 165, 84, 0.45);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background-color: var(--ink);
  color: var(--text-onink-muted);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
Header
========================================================================== */
.site-header {
  background-color: rgba(28, 35, 27, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-onink);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.9rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-onink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-seal {
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
  flex-shrink: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-onink-muted);
  letter-spacing: 0.04em;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.4rem;
}
.nav-link {
  color: var(--text-onink-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--brass-light);
}
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.hamburger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-onink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
Buttons
========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
}
.btn-primary {
  background-color: var(--oxblood);
  color: var(--text-onink);
  border-color: var(--oxblood);
}
.btn-primary:hover {
  background-color: var(--oxblood-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(20, 107, 107, 0.4);
}
.btn-outline {
  background-color: transparent;
  color: var(--brass-light);
  border-color: var(--brass);
}
.btn-outline:hover {
  background-color: var(--brass);
  color: var(--ink);
}
.btn-whatsapp {
  background-color: rgba(37, 211, 102, 0.1);
  color: #3ee08a;
  border-color: rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  background-color: #25d366;
  color: #0f172a;
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-paper {
  background-color: var(--parchment);
  color: var(--text-onpaper);
  border-color: var(--parchment);
}
.btn-paper:hover {
  background-color: var(--parchment-alt);
  transform: translateY(-2px);
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-text-wrapper {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn-main-text {
  font-weight: 600;
  line-height: 1.2;
}
.btn-subtext {
  font-size: 0.72rem;
  opacity: 0.8;
}

/* ==========================================================================
Hero
========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(169, 130, 46, 0.09),
      transparent 45%
    ),
    radial-gradient(circle at 5% 90%, rgba(124, 45, 45, 0.14), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  position: relative;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brass-tint);
  border: 1px solid rgba(201, 165, 84, 0.4);
  color: var(--brass-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--brass-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brass-light);
}
.hero-heading {
  font-family: var(--font-display);
  color: var(--text-onink);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.hero-heading em {
  font-style: italic;
  color: var(--brass-light);
}
.hero-description {
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  color: var(--text-onink-muted);
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.system-compatibility-note {
  font-size: 0.8rem;
  color: var(--text-onink-muted);
  margin-top: 0.9rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
Checksum Verification Card
========================================================================== */
.checksum-card {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0 0 0;
  background-color: var(--ink-panel);
  border: 1px solid var(--border-onink);
  border-radius: var(--radius-md);
  /* Horizontal padding trimmed (this is the area marked in red) so the
     card has more room on narrow viewports without touching the
     value row / copy button layout below. */
  padding: 1.5rem 1rem;
  box-sizing: border-box;
}
.checksum-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brass-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}
.checksum-header svg {
  flex-shrink: 0;
}
.checksum-instructions {
  font-size: 0.85rem;
  color: var(--text-onink-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.checksum-command {
  display: block;
  background-color: var(--ink);
  border: 1px solid var(--border-onink);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-onink);
  margin-bottom: 1rem;
  /* Command text is allowed to wrap onto up to ~3 lines on very
     narrow screens instead of forcing horizontal scroll. */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-height: calc(1.5em * 3);
  overflow: hidden;
}
.checksum-value-row {
  display: flex;
  flex-wrap: nowrap; /* the copy button must never drop to its own line */
  align-items: flex-start;
  gap: 0.6rem;
  background-color: var(--ink);
  border: 1px solid var(--border-onink);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
  max-width: 100%;
}
.checksum-value {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brass-light);
  word-break: break-all;
  overflow-wrap: break-word;
  /* flex-basis 0 (not auto) plus min-width: 0 is what actually lets
     this item shrink below its unbroken text width — with "auto" some
     mobile browsers size the item to the full hash first and only
     then decide whether to wrap, which pushes it past the screen
     edge instead of breaking onto multiple lines. */
  flex: 1 1 0%;
  min-width: 0;
  line-height: 1.45;
  padding-top: 0.15rem;
  /* The full hash must stay readable and copyable, so it wraps
     across as many lines as it needs rather than being clipped. */
}
.btn-copy {
  flex: 0 0 auto;
  white-space: nowrap;
  background-color: var(--oxblood);
  color: var(--text-onink);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}
.btn-copy:hover {
  background-color: var(--oxblood-hover);
}

/* Hero image frame — replaces the old succession-chart ledger card */
.hero-visual {
  width: 100%;
}
.image-frame {
  background-color: var(--parchment);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-onink);
  line-height: 0;
}
.hero-mudra-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
Trust strip
========================================================================== */
.trust-strip {
  background-color: rgba(169, 130, 46, 0.05);
  border-top: 1px solid var(--border-onink);
  border-bottom: 1px solid var(--border-onink);
  padding: 1.5rem 0;
}
.trust-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-onink-muted);
  font-weight: 500;
}
.trust-item svg {
  color: var(--brass-light);
  flex-shrink: 0;
}

/* ==========================================================================
Section shells — alternating ink / parchment "pages"
========================================================================== */
.page-ink,
.page-paper {
  padding: 4.75rem 0;
}
.page-ink {
  border-top: 1px solid var(--border-onink);
}
.page-paper {
  background-color: var(--parchment);
  color: var(--text-onpaper-muted);
  border-top: 1px solid var(--border-onpaper);
}
.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem auto;
}
.section-kicker {
  font-family: var(--font-mono);
  color: var(--brass-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.6rem;
}
.page-paper .section-kicker {
  color: var(--oxblood);
}
.section-title {
  font-family: var(--font-display);
  color: var(--text-onink);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.28;
}
.page-paper .section-title {
  color: var(--text-onpaper);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-onink-muted);
  margin-top: 0.85rem;
}
.page-paper .section-subtitle {
  color: var(--text-onpaper-muted);
}

/* ==========================================================================
Features
========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.feature-card {
  background-color: var(--ink-panel);
  border: 1px solid var(--border-onink);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
}
.card-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--brass-tint);
  color: var(--brass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: var(--font-display);
  color: var(--text-onink);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.card-description {
  font-size: 0.92rem;
  color: var(--text-onink-muted);
}
.download-manual-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
}
.btn-manual-download {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--ink-panel);
  border: 1px solid var(--brass);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  transition: var(--transition);
}
.btn-manual-download:hover {
  border-color: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 101, 29, 0.3);
}
.pdf-icon {
  color: var(--brass-light);
  flex-shrink: 0;
}
.btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}
.btn-main-label {
  color: var(--text-onink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.btn-sub-label {
  color: var(--text-onink-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.25;
}

/* ==========================================================================
Sample Provisions (worked examples)
========================================================================== */
.provisions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}
.provision-card {
  background-color: #fffdf7;
  border: 1px solid var(--border-onpaper);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  box-shadow: 0 12px 24px -12px rgba(42, 33, 24, 0.25);
}
.provision-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--oxblood);
  background: var(--oxblood-tint);
  border: 1px solid rgba(20, 107, 107, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.provision-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-onpaper);
  margin-bottom: 0.6rem;
}
.provision-scenario {
  font-size: 0.9rem;
  color: var(--text-onpaper-muted);
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed var(--border-onpaper);
}
.provision-shares {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.provision-shares li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-onpaper);
}
.provision-shares .heir {
  color: var(--text-onpaper-muted);
}
.provision-shares .share {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--oxblood);
}
.provisions-disclaimer {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-onpaper-muted);
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
Interface preview
========================================================================== */
.interface-frame {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-onink);
  overflow: hidden;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
  max-width: 58rem;
  margin: 0 auto;
}

.interface-slider {
  width: 100%;
}
.interface-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.interface-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.interface-preview-image {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 769px) {
  .interface-slider-track {
    overflow-x: visible;
  }
}

/* ==========================================================================
Requirements
========================================================================== */
.requirements-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  background-color: var(--ink-panel);
  color: var(--text-onink-muted);
  padding: 3rem 2rem;
  border: 1px solid var(--border-onink);
  border-radius: var(--radius-md);
}
.req-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.req-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brass-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.req-detail {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-onink);
  line-height: 1.4;
}

/* ==========================================================================
Pricing
========================================================================== */
.pricing-card {
  max-width: 28rem;
  margin: 0 auto;
  background-color: var(--ink-panel);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brass);
  text-align: center;
  position: relative;
}
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.plan-type {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brass-light);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-onink);
  margin: 1rem 0 0.25rem;
}
.price-period {
  font-size: 0.95rem;
  color: var(--text-onink-muted);
  font-family: var(--font-body);
}
.price-context {
  font-size: 0.85rem;
  color: var(--text-onink-muted);
  margin-bottom: 1.5rem;
}
.pricing-details {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}
.pricing-details li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-onink);
  font-size: 0.94rem;
  color: var(--text-onink-muted);
  display: flex;
  gap: 0.6rem;
}
.pricing-details li svg {
  color: var(--brass-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.pricing-fineprint {
  font-size: 0.8rem;
  color: var(--text-onink-muted);
  margin-top: 1rem;
}
.pricing-fineprint a {
  color: var(--brass-light);
  text-decoration: none;
}
.pricing-fineprint a:hover {
  text-decoration: underline;
}
.device-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brass-light);
  background: var(--brass-tint);
  border: 1px solid rgba(201, 165, 84, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  margin: 0 auto 1.5rem;
  width: fit-content;
}

/* ==========================================================================
Testimonials
========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background-color: #fffdf7;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-onpaper);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-mark {
  font-size: 2.75rem;
  line-height: 1;
  color: var(--oxblood);
  font-family: var(--font-display);
}
.card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.avatar-initial {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--oxblood-tint);
  color: var(--oxblood);
  border: 1px solid rgba(20, 107, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-onpaper);
  font-weight: 600;
}
.author-role {
  font-size: 0.8rem;
  color: var(--text-onpaper-muted);
  margin-top: 0.1rem;
}

/* ==========================================================================
FAQ
========================================================================== */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background-color: var(--ink-panel);
  border: 1px solid var(--border-onink);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-onink);
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--brass-light);
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 1rem;
  transition: var(--transition);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-onink-muted);
  line-height: 1.6;
}
.faq-item a {
  color: var(--brass-light);
}

/* ==========================================================================
Contact & Footer
========================================================================== */
.contact-info {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-onink-muted);
}
.contact-info strong {
  color: var(--text-onink);
}
.contact-whatsapp-btn {
  margin-top: 1.5rem;
}
.site-footer {
  background-color: #14180f;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid var(--border-onink);
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-company-title {
  font-family: var(--font-display);
  color: var(--text-onink);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.footer-legal-notice {
  font-size: 0.82rem;
  color: var(--text-onink-muted);
  max-width: 40rem;
  line-height: 1.6;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-onink);
}
.footer-policy-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.policy-link {
  color: var(--text-onink-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.policy-link:hover {
  color: var(--brass-light);
}
.policy-separator {
  color: var(--border-onink);
  font-size: 0.75rem;
}
.btn-footer-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--oxblood);
  color: var(--text-onink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-onink-muted);
}

/* ==========================================================================
Responsive
========================================================================== */

/* Extra-narrow phones: trim the checksum card's horizontal padding
   further (still only the left/right space, never the value row's
   internal layout) and shrink the hash a touch so it wraps onto
   fewer lines next to the Copy button, which never drops to its
   own line. */
@media (max-width: 420px) {
  .checksum-card {
    padding: 1.25rem 0.65rem;
  }
  .checksum-value-row {
    padding: 0.55rem 0.55rem;
    gap: 0.45rem;
  }
  .checksum-value {
    font-size: 0.63rem;
  }
  .btn-copy {
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
  }
  .unit-table {
    min-width: 26rem;
  }
  .unit-table th,
  .unit-table td {
    padding: 0.7rem 0.9rem;
  }
}

@media (min-width: 640px) {
  .trust-strip-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .requirements-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .provisions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-heading {
    font-size: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .requirements-matrix {
    grid-template-columns: repeat(4, 1fr);
    padding: 3.5rem 2.5rem;
  }
  .mobile-nav-toggle {
    display: none !important;
  }
  .nav-wrapper {
    display: flex !important;
    position: static;
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
  }
}
@media (max-width: 1023px) {
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-onink);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  .nav-wrapper.is-active {
    display: flex !important;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    margin: 1rem 0;
  }
  .nav-cta-wrapper {
    width: 100%;
  }
  .nav-cta-wrapper .btn {
    width: 100%;
  }
}

/* ==========================================================================
MUDRA-specific additions — unit conversion table
========================================================================== */
.unit-table-scroll-hint {
  display: none;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-onpaper-muted);
  text-align: right;
  max-width: 44rem;
  margin: 0 auto 0.5rem;
}
@media (max-width: 719px) {
  .unit-table-scroll-hint {
    display: block;
  }
}
.unit-table-wrap {
  max-width: 44rem;
  margin: 0 auto;
  background-color: #fffdf7;
  border: 1px solid var(--border-onpaper);
  border-radius: var(--radius-md);
  /* On narrow screens the table is wider than its wrapper. It used to
     be clipped with overflow: hidden, which silently hid the entire
     Note column on phones. Scroll it horizontally instead so every
     column stays reachable. */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 24px -12px rgba(42, 33, 24, 0.25);
}
.unit-table {
  min-width: 30rem;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.unit-table caption {
  caption-side: top;
  text-align: left;
  padding: 1.1rem 1.5rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oxblood);
  background: var(--oxblood-tint);
  border-bottom: 1px solid var(--border-onpaper);
}
.unit-table th,
.unit-table td {
  padding: 0.8rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-onpaper);
}
.unit-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-onpaper-muted);
  background-color: var(--parchment-alt);
}
.unit-table tbody tr:last-child td {
  border-bottom: none;
}
.unit-table td.unit-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-onpaper);
}
.unit-table td.unit-value {
  font-family: var(--font-mono);
  color: var(--oxblood);
  font-weight: 600;
  white-space: nowrap;
}
.unit-table td.unit-note {
  color: var(--text-onpaper-muted);
  font-size: 0.85rem;
}
.unit-table-footnote {
  padding: 1rem 1.5rem 1.4rem;
  font-size: 0.8rem;
  color: var(--text-onpaper-muted);
  line-height: 1.6;
}
.provision-note {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border-onpaper);
  font-size: 0.82rem;
  color: var(--text-onpaper-muted);
}
