/* 📌 Path: client/assets/css/landing.css */
/* ============================================================
   AWASH 7 TOWN REVENUE OFFICE — PUBLIC LANDING PAGE
   Official digital gateway visual system.
   ============================================================ */

:root {
  color-scheme: light;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-am: "Noto Sans Ethiopic", Nyala, Ebrima, "Abyssinica SIL", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --bg: #f4efe5;
  --bg-elevated: #fbf7ef;
  --glance-bg: #f7f5ee;
  --surface: #fffdf8;
  --surface-2: #f6f0e4;
  --surface-3: #ece4d4;
  --text: #102a23;
  --text-strong: #071d17;
  --muted: #5b7069;
  --muted-strong: #445c54;
  --line: rgba(16, 42, 35, 0.12);
  --line-strong: rgba(16, 42, 35, 0.22);

  --brand: #0b5b46;
  --brand-ink: #0a5743;
  --brand-strong: #073d2f;
  --brand-deep: #052b22;
  --brand-soft: #d9ece5;
  --brand-on: #ffffff;
  --mint: #41cfa3;
  --mint-bright: #97efd1;
  --gold: #8f5b0e;
  --gold-bright: #e4b25a;
  --gold-soft: #f3e3bf;
  --gold-on: #14251e;
  --danger: #a04d37;

  --hero-1: #062c24;
  --hero-2: #0a4436;
  --hero-3: #061b17;
  --hero-line: rgba(236, 255, 248, 0.14);
  --hero-muted: rgba(236, 250, 245, 0.7);
  --header-bg: rgba(250, 246, 237, 0.84);
  --header-solid: #faf6ed;
  --overlay-bg: rgba(5, 25, 20, 0.46);
  --shadow-sm: 0 1px 2px rgba(8, 36, 28, 0.04), 0 10px 28px rgba(8, 36, 28, 0.06);
  --shadow-md: 0 24px 70px -32px rgba(7, 37, 28, 0.38);
  --shadow-gold: 0 18px 44px -20px rgba(196, 137, 39, 0.5);
  --focus: #e7b457;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --container: 1240px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05130f;
  --bg-elevated: #071a14;
  --glance-bg: #05130f;
  --surface: #0a2119;
  --surface-2: #0c271e;
  --surface-3: #123229;
  --text: #e8f5ef;
  --text-strong: #fbfefd;
  --muted: #9bb8ae;
  --muted-strong: #b6cfc6;
  --line: rgba(203, 239, 224, 0.1);
  --line-strong: rgba(203, 239, 224, 0.19);

  --brand: #28b78d;
  --brand-ink: #7be7c3;
  --brand-strong: #0b4a39;
  --brand-deep: #06291f;
  --brand-soft: #10372b;
  --brand-on: #04251b;
  --gold: #e0ab50;
  --gold-bright: #f0c875;
  --gold-soft: #3b2e17;
  --gold-on: #18251f;

  --hero-1: #04120e;
  --hero-2: #072d24;
  --hero-3: #020c09;
  --hero-line: rgba(176, 232, 213, 0.14);
  --hero-muted: rgba(223, 246, 238, 0.68);
  --header-bg: rgba(5, 19, 15, 0.82);
  --header-solid: #05130f;
  --overlay-bg: rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22), 0 14px 34px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 30px 80px -34px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 18px 44px -20px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 320ms ease, color 320ms ease;
}

[lang="am"] {
  font-family: var(--font-am);
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text-strong);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold-bright);
  color: #102a23;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--gold-bright);
  color: #102a23;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section {
  position: relative;
  padding-block: clamp(68px, 8vw, 118px);
}

/* ============================================================
   TOP BAR + HEADER
   ============================================================ */

.topbar {
  position: relative;
  z-index: 101;
  background: var(--brand-deep);
  color: rgba(242, 255, 249, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-location [lang="am"] {
  letter-spacing: 0.01em;
}

.topbar-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-bright);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #65e1b9;
  box-shadow: 0 0 0 4px rgba(101, 225, 185, 0.12);
  animation: statusPulse 2.6s ease-in-out infinite;
}

.topbar-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.topbar-status {
  white-space: nowrap;
}

.topbar-separator {
  width: 1px;
  height: 12px;
  flex: 0 0 auto;
  background: rgba(232, 255, 246, 0.14);
}

.topbar-system {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.topbar-system-label {
  margin-right: 1px;
  color: rgba(226, 250, 241, 0.46);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.topbar-system-emblem {
  width: 21px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.32));
}

.topbar-system-wordmark {
  width: auto;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  background: var(--header-solid);
  border-color: var(--line-strong);
  box-shadow: 0 16px 42px -28px rgba(4, 30, 23, 0.42);
}

.scroll-progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-seal {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(5, 31, 24, 0.22));
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand-seal {
  transform: rotate(-5deg) scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-kicker {
  color: var(--gold);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brand-name {
  display: block;
  max-width: 480px;
  color: var(--text-strong);
  font-family: var(--font-am);
  font-size: clamp(11px, 1.05vw, 13.5px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.brand-en {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.015em;
  padding: 8px 0;
  transition: color 180ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

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

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.icon-button,
.nav-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.icon-button:hover,
.nav-toggle:hover {
  background: var(--surface-2);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.icon-button svg,
.nav-toggle svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}

.theme-icon {
  display: none;
}

.theme-icon-moon {
  display: inline-flex;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: inline-flex;
}

.header-login {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid var(--brand-strong);
  border-radius: 12px;
  background: var(--brand-strong);
  color: #f5fffb;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.header-login svg {
  width: 14px;
  height: 14px;
}

.header-login:hover {
  transform: translateY(-1px);
  background: var(--brand);
  box-shadow: 0 12px 24px -16px rgba(7, 61, 47, 0.7);
}

.nav-toggle {
  display: none;
}

.menu-icon {
  display: none;
}

.menu-icon-open {
  display: inline-flex;
}

.nav-toggle.is-open .menu-icon-open {
  display: none;
}

.nav-toggle.is-open .menu-icon-close {
  display: inline-flex;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--header-solid);
  padding: 10px clamp(18px, 4vw, 40px) 18px;
  animation: mobileMenuIn 220ms ease both;
}

.mobile-nav > a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.mobile-nav > a span:last-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.mobile-nav-system {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(238, 255, 249, 0.1);
  border-radius: 12px;
  background: var(--brand-deep);
}

.mobile-nav-system-label {
  color: rgba(230, 252, 243, 0.5);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mobile-nav-system-lockup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-nav-system-emblem {
  width: 25px;
  height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mobile-nav-system-wordmark {
  width: auto;
  height: 21px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mobile-nav .mobile-nav-cta {
  justify-content: center;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--brand-strong);
  color: #fff;
  font-size: 12px;
  gap: 8px;
}

.mobile-nav .mobile-nav-cta svg {
  width: 16px;
  height: 16px;
}

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

.button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.005em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transition: transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(2px);
}

.button-slash {
  opacity: 0.44;
  padding: 0 1px;
}

.button-gold {
  background: linear-gradient(135deg, #f0ca7e 0%, #e2ae50 52%, #cf9634 100%);
  color: var(--gold-on);
  border-color: rgba(255, 240, 204, 0.42);
  box-shadow: var(--shadow-gold);
}

.button-gold::before {
  content: "";
  position: absolute;
  inset: -80% -30%;
  z-index: -1;
  background: linear-gradient(110deg, transparent 36%, rgba(255, 255, 255, 0.46) 49%, transparent 62%);
  transform: translateX(-80%);
  transition: transform 650ms ease;
}

.button-gold:hover::before {
  transform: translateX(80%);
}

.button-gold:hover {
  box-shadow: 0 23px 54px -22px rgba(213, 157, 60, 0.65);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.065);
  color: #f2fcf7;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(840px, calc(100svh - 108px));
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 54% at 16% 10%, rgba(20, 110, 82, 0.42), transparent 64%),
    radial-gradient(ellipse 46% 42% at 88% 6%, rgba(230, 184, 76, 0.1), transparent 66%),
    linear-gradient(160deg, #093528 0%, #06281e 50%, #041d16 100%);
  color: #effaf5;
  padding-block: clamp(52px, 7vw, 94px) clamp(52px, 7vw, 88px);
}

:root[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 58% 54% at 16% 10%, rgba(20, 110, 82, 0.34), transparent 64%),
    radial-gradient(ellipse 46% 42% at 88% 6%, rgba(230, 184, 76, 0.07), transparent 66%),
    linear-gradient(160deg, #06281e 0%, #041d16 50%, #03120e 100%);
}

.hero > .site-container {
  width: 100%;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88) 0%, #000 24%, rgba(0, 0, 0, 0.38) 70%, transparent 96%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88) 0%, #000 24%, rgba(0, 0, 0, 0.38) 70%, transparent 96%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -240px;
  bottom: -330px;
  border: 1px solid rgba(240, 201, 117, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(240, 201, 117, 0.025),
    0 0 0 145px rgba(240, 201, 117, 0.02);
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
  opacity: 0.42;
}

.hero-aurora-one {
  width: 380px;
  height: 380px;
  left: -190px;
  top: -130px;
  background: radial-gradient(circle, rgba(20, 110, 82, 0.3), transparent 68%);
  animation: auroraDrift 14s ease-in-out infinite alternate;
}

.hero-aurora-two {
  width: 440px;
  height: 440px;
  right: 3%;
  top: -230px;
  background: radial-gradient(circle, rgba(230, 184, 76, 0.09), transparent 68%);
  animation: auroraDrift 18s ease-in-out 1s infinite alternate-reverse;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}

.hero-copy {
  min-width: 0;
  max-width: 690px;
}

.hero-copy > * {
  animation: heroRise 800ms cubic-bezier(0.21, 0.84, 0.3, 1) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 80ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 160ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 230ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 300ms;
}

.hero-copy > :nth-child(6) {
  animation-delay: 370ms;
}

.hero-copy > :nth-child(7) {
  animation-delay: 440ms;
}

.hero-eyebrow {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(227, 255, 244, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(232, 252, 244, 0.8);
  padding: 8px 13px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-eyebrow [lang="am"] {
  font-size: 9.5px;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow-divider {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-bright);
}

.live-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--mint-bright);
  box-shadow: 0 0 0 4px rgba(151, 239, 209, 0.13);
  animation: statusPulse 2.7s ease-in-out infinite;
}

.hero-title {
  margin-top: clamp(22px, 3vw, 32px);
  color: #ffffff;
  font-size: clamp(2.36rem, 4.35vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-title-am {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-am);
  font-size: clamp(1.62rem, 2.9vw, 2.35rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

/* Sovereign civic headline — continuous right-to-left ticker */
.hero-title-marquee {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-block: 0.08em;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hero-title-track {
  display: flex;
  width: max-content;
  animation: heroTitleMarquee 30s linear infinite;
  will-change: transform;
}

.hero-title-marquee:hover .hero-title-track,
.hero-title-marquee:focus-within .hero-title-track {
  animation-play-state: paused;
}

.hero-title-segment {
  flex: 0 0 auto;
  padding-inline-end: clamp(2rem, 4vw, 3.5rem);
  color: #ffffff;
  white-space: nowrap;
}

.hero-title-accent {
  color: #f3d078;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title-accent {
    background: linear-gradient(96deg, #f3d078 0%, #e6b84c 56%, #f3d078 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-title-en {
  display: block;
  margin-top: clamp(13px, 1.7vw, 19px);
  color: #d1e3dd;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.55vw, 1.38rem);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 610px;
  margin-top: clamp(20px, 2.2vw, 28px);
  color: #d1e3dd;
  font-size: clamp(13px, 1.15vw, 15.5px);
  line-height: 1.75;
}

.hero-lead strong {
  color: rgba(249, 255, 252, 0.93);
  font-weight: 700;
}

.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  color: rgba(235, 252, 245, 0.72);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof svg {
  width: 14px;
  height: 14px;
  color: var(--gold-bright);
  stroke-width: 1.85;
}

.hero-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 36px);
}

.hero-actions .button {
  min-width: 205px;
}

.hero-actions .button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 48px -12px rgba(2, 18, 13, 0.65);
}

.hero-action-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 570px;
  margin-top: 14px;
  color: rgba(227, 247, 240, 0.54);
  font-size: 9.5px;
  line-height: 1.55;
}

.hero-action-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold-bright);
}

.hero-platform {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 18px;
  padding: 7px 11px 7px 10px;
  border: 1px solid rgba(232, 255, 247, 0.13);
  border-radius: 13px;
  background: rgba(2, 24, 18, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-platform-label {
  color: rgba(227, 248, 240, 0.5);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-platform-lockup {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-platform-emblem {
  width: 32px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.32));
}

.hero-platform-wordmark {
  width: auto;
  height: 25px;
  flex: 0 0 auto;
  object-fit: contain;
}

/* Hero dashboard visual */
.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: 570px;
  justify-self: end;
  perspective: 1100px;
  padding: 12px 16px 18px 8px;
}

.visual-ring {
  position: absolute;
  border: 1px solid rgba(236, 201, 125, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.visual-ring-one {
  width: 510px;
  height: 510px;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
}

.visual-ring-two {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  border-style: dashed;
  transform: translate(-48%, -50%);
  animation: slowSpin 44s linear infinite;
}

.dashboard-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.035) 58%, rgba(0, 0, 0, 0.08)),
    rgba(4, 29, 23, 0.72);
  box-shadow:
    0 24px 48px -12px rgba(2, 18, 13, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
  transform: rotateY(-4deg) rotateX(1.5deg);
  animation: dashboardFloat 9s ease-in-out infinite;
}

.dashboard-bar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(230, 255, 245, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-product {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(241, 255, 249, 0.8);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dashboard-mark {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-seal {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.34));
}

.dashboard-badge,
.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(228, 178, 90, 0.3);
  border-radius: 999px;
  background: rgba(228, 178, 90, 0.12);
  color: #f0cd88;
  padding: 4px 8px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-body {
  padding: 17px;
}

.dashboard-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-heading {
  min-width: 0;
}

.dashboard-label {
  display: block;
  color: rgba(220, 245, 236, 0.5);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dashboard-heading strong {
  display: block;
  margin-top: 5px;
  color: #f3fff9;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.dashboard-note {
  display: block;
  margin-top: 4px;
  color: rgba(220, 245, 236, 0.48);
  font-size: 8.5px;
  line-height: 1.5;
}

.advance-ring {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
}

.advance-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-value {
  animation: ringDraw 1.8s 400ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.advance-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f5fffb;
}

.advance-ring-label strong {
  font-size: 19px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
}

.advance-ring-label small {
  margin-top: 3px;
  color: rgba(221, 248, 238, 0.47);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dashboard-chart {
  margin-top: 16px;
  padding: 13px 13px 10px;
  border: 1px solid rgba(232, 255, 246, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.032);
}

.dashboard-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(233, 251, 244, 0.67);
  font-size: 8.5px;
  font-weight: 650;
}

.dashboard-mono {
  color: rgba(228, 178, 90, 0.72);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.chart-bars {
  height: 98px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 12px;
  padding-top: 3px;
  background-image: linear-gradient(rgba(209, 246, 232, 0.075) 1px, transparent 1px);
  background-size: 100% 33%;
}

.chart-column {
  min-width: 0;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.chart-bar {
  width: min(100%, 27px);
  height: var(--bar-height, 50%);
  min-height: 9px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(94, 225, 182, 0.83), rgba(47, 157, 123, 0.31));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform-origin: bottom;
  animation: chartGrow 900ms var(--bar-delay, 0.2s) cubic-bezier(0.18, 0.8, 0.24, 1) both;
}

.chart-column-active .chart-bar {
  background: linear-gradient(180deg, #f3ce83, rgba(205, 145, 46, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0 18px rgba(228, 178, 90, 0.12);
}

.chart-label {
  color: rgba(238, 255, 248, 0.86);
  font-size: 8px;
  font-weight: 750;
  line-height: 1;
}

.chart-column small {
  color: rgba(217, 243, 234, 0.4);
  font-family: var(--font-am);
  font-size: 6.7px;
  line-height: 1.2;
}

.dashboard-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.dash-mini-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(232, 255, 246, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.032);
}

.dash-mini-card > svg {
  grid-row: 1 / 4;
  width: 16px;
  height: 16px;
  color: var(--gold-bright);
  stroke-width: 1.7;
}

.dash-mini-card span {
  color: rgba(217, 244, 234, 0.44);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.dash-mini-card strong {
  color: rgba(246, 255, 251, 0.94);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
}

.dash-mini-card small {
  color: rgba(217, 244, 234, 0.42);
  font-size: 7.5px;
  line-height: 1.3;
}

.reconciliation-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(232, 255, 246, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.032);
  color: rgba(221, 247, 237, 0.6);
  font-size: 8px;
  font-weight: 650;
}

.reconciliation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.reconciliation-chips span {
  border-radius: 999px;
  background: rgba(228, 178, 90, 0.12);
  color: rgba(245, 213, 150, 0.9);
  padding: 3px 6px;
  font-size: 6.7px;
  font-weight: 700;
}

.dashboard-disclaimer {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: rgba(211, 240, 229, 0.36);
  font-size: 7.5px;
  line-height: 1.4;
}

.dashboard-disclaimer svg {
  width: 10px;
  height: 10px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 12px;
  box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.floating-card small {
  display: block;
  font-size: 7.5px;
  font-weight: 650;
  line-height: 1.35;
}

.floating-card strong {
  display: block;
  font-size: 9.5px;
  font-weight: 750;
  line-height: 1.35;
}

.floating-icon {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex: 0 0 auto;
}

.floating-icon svg {
  width: 14px;
  height: 14px;
}

.floating-document {
  top: 20px;
  right: -3px;
  background: rgba(255, 252, 244, 0.96);
  color: #183229;
  border: 1px solid rgba(255, 255, 255, 0.66);
  animation: floatingChip 7s ease-in-out infinite;
}

.floating-document small {
  color: #5c7067;
}

.floating-document .floating-icon {
  background: #dff2e9;
  color: #0b6b51;
}

.floating-security {
  left: -25px;
  bottom: -14px;
  background: rgba(4, 35, 27, 0.86);
  color: #f1fff9;
  border: 1px solid rgba(174, 238, 216, 0.18);
  animation: floatingChip 8s 1.2s ease-in-out infinite reverse;
}

.floating-security small {
  color: rgba(219, 247, 236, 0.48);
}

.floating-security .floating-icon {
  background: rgba(228, 178, 90, 0.13);
  color: var(--gold-bright);
}

/* ============================================================
   MARQUEE
   ============================================================ */

.principle-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(230, 184, 76, 0.16);
  border-bottom: 1px solid rgba(230, 184, 76, 0.22);
  background: linear-gradient(180deg, #041d16 0%, #05261d 55%, #041d16 100%);
  color: rgba(235, 254, 247, 0.64);
}

.principle-marquee::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(230, 184, 76, 0.45) 18%, rgba(243, 208, 120, 0.72) 50%, rgba(230, 184, 76, 0.45) 82%, transparent 100%);
  pointer-events: none;
}

.marquee-track {
  width: max-content;
  display: flex;
  animation: marquee 38s linear infinite;
}

.principle-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 11px 28px 11px 0;
}

.marquee-group span {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.16em;
  white-space: nowrap;
  text-transform: uppercase;
}

.marquee-group i {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold-bright);
  opacity: 0.75;
}

/* ============================================================
   SECTION HEADINGS + METRICS
   ============================================================ */

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--brand-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.section-kicker-gold {
  color: var(--gold-bright);
}

.section-kicker-gold::before {
  background: var(--gold-bright);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-heading h2 {
  max-width: 680px;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-intro {
  max-width: 410px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.section-am {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-am);
  font-size: 13.5px;
  line-height: 1.8;
}

.impact {
  background:
    radial-gradient(circle at 90% 0%, rgba(217, 162, 64, 0.075), transparent 30%),
    var(--glance-bg);
  border-bottom: 1px solid var(--line);
}

.impact-heading {
  align-items: flex-end;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.metric-card {
  position: relative;
  min-height: 212px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--mint), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.metric-card:hover::before {
  transform: scaleX(1);
}

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

.metric-icon {
  width: 37px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.metric-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.metric-tag {
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 21px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.1vw, 2.65rem);
  font-weight: 750;
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.metric-card h3 {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.metric-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.metric-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.metric-note svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--gold);
}

/* ============================================================
   FEATURES — BENTO SHOWCASE
   ============================================================ */

.feature-section {
  background:
    radial-gradient(circle at 4% 8%, rgba(51, 185, 145, 0.06), transparent 24%),
    var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}

.feature-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.55vw, 19px);
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(19px, 2.25vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 280ms ease, box-shadow 340ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 0%, rgba(58, 196, 155, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(222, 171, 77, 0.06), transparent 27%);
  opacity: 0;
  transition: opacity 340ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  opacity: 0.5;
}

:root[data-theme="dark"] .feature-card::after {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  box-shadow: var(--shadow-md);
}

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

.feature-files {
  grid-column: span 7;
}

.feature-tax {
  grid-column: span 5;
}

.feature-advance {
  grid-column: span 5;
}

.feature-docs {
  grid-column: span 7;
}

.feature-audit {
  grid-column: span 12;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent);
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.feature-icon-gold {
  border-color: color-mix(in srgb, var(--gold) 20%, transparent);
  background: var(--gold-soft);
  color: var(--gold);
}

.feature-index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.feature-title {
  max-width: 570px;
  color: var(--text-strong);
  font-family: var(--font-am);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.feature-title-en {
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.feature-copy {
  max-width: 600px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 12.2px;
  line-height: 1.7;
}

.feature-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 17px;
}

.feature-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted-strong);
  padding: 4px 8px;
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.widget-note {
  margin-top: 9px;
  color: var(--muted);
  font-size: 9.25px;
  line-height: 1.55;
}

/* Files visual */
.file-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  align-items: center;
  gap: 15px;
  min-height: 212px;
  margin-top: 18px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--mint) 11%, transparent), transparent 38%),
    var(--surface-2);
}

.file-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--brand) 16%, transparent) 0.6px, transparent 0.6px);
  background-size: 12px 12px;
  opacity: 0.22;
  pointer-events: none;
}

.file-stack {
  position: relative;
  min-width: 0;
  min-height: 164px;
  padding: 7px 9px 9px 3px;
}

.file-sheet {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.file-sheet-back,
.file-sheet-mid {
  position: absolute;
  inset: 20px 10px 3px 8px;
  background: color-mix(in srgb, var(--surface) 82%, var(--brand-soft));
}

.file-sheet-back {
  transform: rotate(3deg);
  opacity: 0.54;
}

.file-sheet-mid {
  transform: rotate(-1.8deg);
  opacity: 0.8;
}

.file-sheet-front {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 13px;
  box-shadow: 0 18px 30px -23px rgba(8, 43, 32, 0.5);
}

.file-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.file-tab {
  color: var(--brand-ink);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.file-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-ink);
  font-size: 7.5px;
  font-weight: 700;
}

.file-status i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #16a26f;
  box-shadow: 0 0 0 3px rgba(22, 162, 111, 0.12);
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  color: var(--muted);
  font-size: 8px;
}

.file-row strong {
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.file-progress {
  height: 3px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.file-progress span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--mint), var(--gold-bright));
  animation: progressPulse 3.5s ease-in-out infinite;
}

.file-scanline {
  position: absolute;
  inset: 35px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mint) 65%, transparent), transparent);
  box-shadow: 0 0 9px color-mix(in srgb, var(--mint) 55%, transparent);
  animation: fileScan 4.6s ease-in-out infinite;
  pointer-events: none;
}

.file-side-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-side-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--muted-strong);
  padding: 7px 8px;
  font-size: 7.5px;
  font-weight: 650;
  line-height: 1.3;
}

.file-side-list svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  color: var(--brand-ink);
  stroke-width: 2.4;
}

/* Tax calculator */
.tax-widget {
  margin-top: 17px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 42%),
    var(--surface-2);
}

.tax-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tax-widget-head label {
  color: var(--muted-strong);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tax-widget-head output {
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tax-widget input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  margin: 16px 0 7px;
  border-radius: 999px;
  outline: none;
  background: linear-gradient(
    90deg,
    var(--brand) 0%,
    var(--mint) var(--fill, 41%),
    var(--line) var(--fill, 41%),
    var(--line) 100%
  );
  cursor: pointer;
}

.tax-widget input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 65%, transparent), 0 7px 14px -6px rgba(74, 48, 8, 0.5);
  cursor: grab;
}

.tax-widget input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 65%, transparent);
  cursor: grab;
}

.tax-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.8px;
  letter-spacing: 0.01em;
}

.tax-result {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.tax-result span:first-child {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tax-result strong {
  display: block;
  margin-top: 4px;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.tax-bracket {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 7px !important;
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
}

/* Quarter widget */
.quarter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 17px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}

.quarter-tab {
  min-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  padding: 4px 2px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.quarter-tab:hover {
  color: var(--text-strong);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.quarter-tab span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.quarter-tab small {
  font-family: var(--font-am);
  font-size: 6.7px;
  font-weight: 600;
  line-height: 1.3;
}

.quarter-tab.is-active {
  background: var(--brand-strong);
  color: #f8fffc;
  box-shadow: 0 8px 16px -12px rgba(4, 47, 36, 0.8);
}

:root[data-theme="dark"] .quarter-tab.is-active {
  background: var(--gold-bright);
  color: var(--gold-on);
}

.quarter-panel {
  margin-top: 9px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 0 11px 11px 0;
  background: var(--surface-2);
  padding: 12px;
}

.quarter-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.quarter-window {
  color: var(--brand-ink);
  font-family: var(--font-am);
  font-size: 9.5px;
  font-weight: 750;
}

.quarter-credit {
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  padding: 3px 6px;
  font-size: 6.8px;
  font-weight: 700;
  line-height: 1.35;
}

.quarter-panel > strong {
  display: block;
  margin-top: 8px;
  color: var(--text-strong);
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.45;
}

.quarter-panel > p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

/* Documents visual */
.docs-visual {
  position: relative;
  min-height: 224px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(214, 255, 239, 0.14);
  border-radius: 17px;
  background:
    radial-gradient(circle at 88% 10%, rgba(229, 179, 89, 0.19), transparent 34%),
    linear-gradient(135deg, #0b412f, #06271f 64%, #041e18);
  padding: 18px;
}

.docs-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(208, 255, 236, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 255, 236, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 40% 40%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 40% 40%, #000, transparent 72%);
}

.docs-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  right: 4%;
  top: 14%;
  border-radius: 50%;
  background: rgba(226, 177, 88, 0.12);
  filter: blur(24px);
}

.document-sheet {
  position: absolute;
  width: min(310px, 63%);
  border-radius: 9px;
}

.document-sheet-back {
  left: 28px;
  top: 42px;
  height: 150px;
  background: rgba(255, 251, 240, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(-6deg);
}

.document-sheet-front {
  left: 40px;
  top: 28px;
  z-index: 1;
  min-height: 168px;
  padding: 13px;
  background: #fffdf6;
  color: #17342a;
  box-shadow: 0 22px 45px -25px rgba(0, 0, 0, 0.62);
  transform: rotate(-2.5deg);
}

.document-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 75, 60, 0.16);
}

.document-seal {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  object-fit: contain;
}

.document-head strong {
  display: block;
  color: #12362a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
}

.document-head small {
  display: block;
  margin-top: 1px;
  color: #746c58;
  font-family: var(--font-am);
  font-size: 7px;
  line-height: 1.35;
}

.document-meta {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #8c8067;
  font-size: 6.3px;
  letter-spacing: 0.04em;
}

.document-meta strong {
  color: #2d4a3e;
  font-family: var(--font-mono);
  font-size: 6.8px;
  font-weight: 700;
}

.document-lines {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.document-lines span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 74, 59, 0.17), rgba(31, 74, 59, 0.04));
}

.document-lines span:nth-child(2) {
  width: 88%;
}

.document-lines span:nth-child(3) {
  width: 94%;
}

.document-lines span:nth-child(4) {
  width: 64%;
}

.document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed rgba(26, 75, 60, 0.18);
  color: #7a765f;
  font-size: 6.2px;
}

.document-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 20px;
  border: 1px solid rgba(13, 112, 78, 0.4);
  border-radius: 3px;
  color: #0c7352;
  font-size: 6.2px;
  font-weight: 800;
  letter-spacing: 0.09em;
  transform: rotate(-7deg);
}

.document-options {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.document-options span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(213, 255, 239, 0.14);
  border-radius: 7px;
  background: rgba(2, 25, 18, 0.58);
  color: rgba(238, 255, 247, 0.74);
  padding: 5px 7px;
  font-size: 7px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.document-options svg {
  width: 10px;
  height: 10px;
  color: var(--gold-bright);
}

/* Audit */
.feature-audit {
  background:
    radial-gradient(circle at 2% 0%, color-mix(in srgb, var(--mint) 10%, transparent), transparent 32%),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--gold) 7%, transparent), transparent 32%),
    var(--surface);
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 54px);
}

.audit-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.role-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}

.role-pill {
  min-height: 31px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  padding: 0 10px;
  font-size: 8.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.role-pill:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.role-pill.is-active {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  color: #f5fffb;
}

:root[data-theme="dark"] .role-pill.is-active {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  color: var(--gold-on);
}

.scope-description {
  min-height: 37px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.export-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
}

.export-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--muted-strong);
  padding: 5px 7px;
  font-size: 7.5px;
  font-weight: 700;
}

.export-chips svg {
  width: 11px;
  height: 11px;
  color: var(--brand-ink);
}

.audit-visual {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 50%, transparent), transparent),
    var(--surface-2);
}

.audit-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.audit-chart-head span:first-child {
  display: block;
  color: var(--text-strong);
  font-size: 9px;
  font-weight: 750;
}

.audit-chart-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 7.5px;
}

.audit-badge {
  border-color: color-mix(in srgb, var(--brand) 19%, transparent);
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.audit-chart {
  flex: 1;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  gap: clamp(7px, 1.5vw, 14px);
  margin-top: 7px;
  padding: 9px 6px 0;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 33%;
}

.audit-bar-wrap {
  min-width: 0;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.audit-bar {
  width: min(100%, 33px);
  height: var(--audit-height, 60%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 28%, transparent));
  transform-origin: bottom;
}

.feature-audit.is-visible .audit-bar {
  animation: auditGrow 820ms var(--audit-delay, 0.1s) cubic-bezier(0.19, 0.8, 0.25, 1) both;
}

.audit-bar-wrap:nth-child(3) .audit-bar {
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 90%, #f3d597), color-mix(in srgb, var(--gold) 28%, transparent));
}

.audit-bar-wrap:nth-child(4) .audit-bar {
  background: linear-gradient(180deg, var(--gold-bright), color-mix(in srgb, var(--gold) 30%, transparent));
}

.audit-bar-wrap small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
}

.audit-chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 7.5px;
}

.audit-chart-foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-strong);
  font-weight: 650;
}

.audit-chart-foot svg {
  width: 11px;
  height: 11px;
  color: var(--brand-ink);
}

/* ============================================================
   PROCESS
   ============================================================ */

.process-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(226, 178, 85, 0.07), transparent 26%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.process-heading {
  margin-bottom: clamp(30px, 4vw, 45px);
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-rail::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  pointer-events: none;
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 0 4px;
}

.process-number {
  position: absolute;
  top: 11px;
  left: 54px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.process-icon {
  position: relative;
  z-index: 1;
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-ink);
  box-shadow: 0 8px 16px -12px rgba(7, 52, 38, 0.38);
}

.process-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.process-step h3 {
  margin-top: 17px;
  font-size: 13px;
  font-weight: 750;
}

.process-step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ============================================================
   SECURITY
   ============================================================ */

.security-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(228, 178, 90, 0.16), transparent 28%),
    radial-gradient(circle at 5% 80%, rgba(65, 207, 163, 0.1), transparent 32%),
    linear-gradient(135deg, #041c16, #073c2e 58%, #041b15);
  color: #f0fbf6;
  padding-block: clamp(68px, 8vw, 112px);
}

.security-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(188, 245, 224, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 245, 224, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000, transparent 78%);
}

.security-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  right: -250px;
  bottom: -300px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(228, 178, 90, 0.12);
  box-shadow: 0 0 0 80px rgba(228, 178, 90, 0.02), 0 0 0 160px rgba(228, 178, 90, 0.018);
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.security-copy h2 {
  max-width: 530px;
  color: #f5fffb;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.security-copy .section-am {
  color: rgba(224, 249, 240, 0.63);
}

.security-lead {
  max-width: 500px;
  margin-top: 18px;
  color: rgba(227, 249, 241, 0.67);
  font-size: 12.5px;
  line-height: 1.75;
}

.security-copy .button {
  margin-top: 25px;
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.security-card {
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(215, 255, 240, 0.13);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.security-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 178, 90, 0.34);
}

.security-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 178, 90, 0.19);
  border-radius: 10px;
  background: rgba(228, 178, 90, 0.1);
  color: var(--gold-bright);
}

.security-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.75;
}

.security-card h3 {
  margin-top: 13px;
  color: #f3fff9;
  font-size: 11.5px;
  font-weight: 700;
}

.security-card p {
  margin-top: 6px;
  color: rgba(228, 248, 240, 0.7);
  font-size: 10.25px;
  line-height: 1.6;
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: clamp(32px, 5vw, 50px);
  padding-top: 17px;
  border-top: 1px solid rgba(214, 255, 239, 0.12);
  color: rgba(225, 248, 239, 0.58);
  font-size: 9.5px;
  line-height: 1.6;
}

.security-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold-bright);
}

/* ============================================================
   ACCESS CTA
   ============================================================ */

.gateway-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(59, 193, 153, 0.07), transparent 26%),
    var(--bg);
}

.gateway-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(223, 255, 241, 0.13);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 20%, rgba(228, 178, 90, 0.17), transparent 31%),
    linear-gradient(125deg, #073a2d 0%, #082a22 57%, #041b16 100%);
  padding: clamp(34px, 5.6vw, 70px);
  text-align: center;
  box-shadow: 0 34px 80px -46px rgba(4, 36, 26, 0.65);
}

.gateway-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(207, 255, 237, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 255, 237, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000, transparent 76%);
}

.gateway-seal {
  position: absolute;
  right: -60px;
  top: -70px;
  z-index: -1;
  width: 370px;
  height: 370px;
  object-fit: contain;
  opacity: 0.075;
  transform: rotate(16deg);
  pointer-events: none;
}

.gateway-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.gateway-content h2 {
  color: #f6fffb;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.gateway-content .section-am {
  color: rgba(222, 249, 239, 0.63);
}

.gateway-lead {
  max-width: 590px;
  margin: 17px auto 0;
  color: rgba(225, 248, 240, 0.66);
  font-size: 12.5px;
  line-height: 1.75;
}

.gateway-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.gateway-actions .button {
  min-width: 220px;
}

.gateway-note {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  max-width: 590px;
  margin-top: 15px;
  color: rgba(220, 246, 236, 0.46);
  font-size: 9px;
  line-height: 1.55;
}

.gateway-note svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold-bright);
}

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

.site-footer {
  background: #03140f;
  color: rgba(224, 247, 238, 0.63);
  border-top: 1px solid rgba(203, 249, 231, 0.1);
  padding-block: clamp(38px, 5vw, 58px) 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(28px, 4vw, 54px);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-seal {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-brand-row strong {
  display: block;
  max-width: 410px;
  color: #edfdf7;
  font-family: var(--font-am);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-brand-row span {
  display: block;
  margin-top: 2px;
  color: rgba(220, 246, 236, 0.43);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-brand > p {
  max-width: 390px;
  margin-top: 14px;
  color: rgba(218, 244, 234, 0.5);
  font-size: 10px;
  line-height: 1.7;
}

.footer-system {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  max-width: 390px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(209, 248, 232, 0.1);
}

.footer-system-label {
  color: rgba(218, 244, 234, 0.4);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-system-lockup {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-system-emblem {
  width: 28px;
  height: 29px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-system-wordmark {
  width: auto;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-column h3 {
  color: #f0fdf8;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column > p {
  display: block;
  margin-top: 9px;
  color: rgba(218, 244, 234, 0.57);
  font-size: 10px;
  line-height: 1.55;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--gold-bright);
}

.footer-column .footer-meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.footer-meta svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 46px);
  padding-top: 17px;
  border-top: 1px solid rgba(209, 248, 232, 0.1);
}

.footer-bottom p {
  color: rgba(214, 242, 231, 0.4);
  font-size: 8.5px;
  line-height: 1.5;
}

.footer-principles {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-principles i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0.7;
}

/* ============================================================
   REVEAL + ANIMATIONS
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-motion [data-reveal] {
  opacity: 1;
  transform: none;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@keyframes auroraDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, 20px, 0) scale(1.08);
  }
}

@keyframes slowSpin {
  to {
    transform: translate(-48%, -50%) rotate(360deg);
  }
}

@keyframes dashboardFloat {
  0%,
  100% {
    transform: rotateY(-4deg) rotateX(1.5deg) translateY(0);
  }
  50% {
    transform: rotateY(-3deg) rotateX(1deg) translateY(-7px);
  }
}

@keyframes floatingChip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes ringDraw {
  from {
    stroke-dashoffset: 219.9;
  }
  to {
    stroke-dashoffset: 164.9;
  }
}

@keyframes chartGrow {
  from {
    transform: scaleY(0.05);
    opacity: 0.3;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes auditGrow {
  from {
    transform: scaleY(0.04);
    opacity: 0.25;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes heroTitleMarquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fileScan {
  0%,
  12% {
    transform: translateY(0);
    opacity: 0;
  }
  22% {
    opacity: 0.8;
  }
  68% {
    opacity: 0.65;
  }
  82%,
  100% {
    transform: translateY(118px);
    opacity: 0;
  }
}

@keyframes progressPulse {
  0%,
  100% {
    filter: saturate(0.94);
    opacity: 0.84;
  }
  50% {
    filter: saturate(1.2);
    opacity: 1;
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1100px) {
  .primary-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  }

  .floating-security {
    left: -8px;
  }

  .floating-document {
    right: 0;
  }

  .feature-files,
  .feature-tax,
  .feature-advance,
  .feature-docs {
    grid-column: span 6;
  }

  .audit-grid {
    gap: 30px;
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(38px, 6vw, 56px);
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    justify-self: center;
    max-width: 650px;
    margin-inline: auto;
    padding: 12px 22px 20px;
  }

  .dashboard-card {
    animation: none;
    transform: none;
  }

  .visual-ring-one {
    width: 560px;
    height: 560px;
  }

  .visual-ring-two {
    width: 460px;
    height: 460px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-files,
  .feature-tax,
  .feature-advance,
  .feature-docs,
  .feature-audit {
    grid-column: span 12;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-card {
    padding: 23px;
  }

  .audit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .audit-visual {
    min-height: 220px;
  }

  .process-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .process-rail::before {
    display: none;
  }

  .process-step {
    padding-left: 54px;
  }

  .process-icon {
    position: absolute;
    left: 0;
    top: -2px;
  }

  .process-number {
    left: 56px;
    right: auto;
    top: 2px;
  }

  .process-step h3 {
    margin-top: 0;
  }

  .security-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .security-copy {
    max-width: 650px;
  }

  .security-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
    gap: 26px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 92px;
  }

  .topbar-inner {
    min-height: 27px;
  }

  .topbar-location {
    font-size: 8px !important;
    letter-spacing: 0.08em !important;
  }

  .topbar .topbar-status,
  .topbar-separator,
  .topbar-system-label {
    display: none;
  }

  .topbar-system {
    gap: 4px;
  }

  .topbar-system-emblem {
    width: 20px;
    height: 21px;
  }

  .topbar-system-wordmark {
    height: 20px;
  }

  .header-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-seal {
    width: 43px;
    height: 43px;
  }

  .brand-kicker {
    display: none;
  }

  .brand-name {
    font-size: 10.5px;
    line-height: 1.4;
  }

  .brand-en {
    font-size: 7.6px;
    letter-spacing: 0.08em;
  }

  .header-login {
    display: none;
  }

  .icon-button,
  .nav-toggle {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .hero {
    padding-block: 42px 48px;
  }

  .hero-eyebrow {
    gap: 6px;
    padding: 7px 10px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .hero-eyebrow [lang="am"] {
    font-size: 8.5px;
  }

  .hero-title {
    margin-top: 22px;
    font-size: clamp(2.1rem, 9.6vw, 3.2rem);
    line-height: 1.12;
  }

  .hero-title-am {
    font-size: clamp(1.35rem, 3.6vw, 1.62rem);
    line-height: 1.34;
  }

  .hero-title-en {
    margin-top: 12px;
    font-size: 1.02rem;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.7;
  }

  .hero-proof {
    gap: 7px 12px;
    margin-top: 18px;
    font-size: 9px;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding-inline: 14px;
    font-size: 11.5px;
  }

  .hero-action-note {
    font-size: 8.5px;
  }

  .hero-platform {
    gap: 6px 8px;
    margin-top: 16px;
    padding: 6px 9px;
    border-radius: 12px;
  }

  .hero-platform-label {
    font-size: 7px;
  }

  .hero-platform-emblem {
    width: 28px;
    height: 30px;
  }

  .hero-platform-wordmark {
    height: 22px;
  }

  .hero-visual {
    padding: 7px 3px 14px;
  }

  .visual-ring {
    display: none;
  }

  .dashboard-card {
    border-radius: 19px;
  }

  .dashboard-body {
    padding: 14px;
  }

  .dashboard-bar {
    padding: 10px 13px;
  }

  .dashboard-product {
    font-size: 7.5px;
  }

  .dashboard-mark,
  .dashboard-seal {
    width: 20px;
    height: 20px;
  }

  .dashboard-heading strong {
    font-size: 14px;
  }

  .advance-ring {
    width: 75px;
    height: 75px;
    flex-basis: 75px;
  }

  .advance-ring-label strong {
    font-size: 16px;
  }

  .chart-bars {
    height: 83px;
  }

  .floating-card {
    display: none;
  }

  .principle-marquee {
    margin-top: 0;
  }

  .section {
    padding-block: 54px;
  }

  .section-heading {
    display: block;
    margin-bottom: 25px;
  }

  .section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .section-intro {
    margin-top: 13px;
    font-size: 12px;
  }

  .section-am {
    font-size: 12.5px;
  }

  .metric-grid {
    gap: 9px;
  }

  .metric-card {
    min-height: 201px;
    padding: 15px;
  }

  .metric-value {
    margin-top: 17px;
    font-size: 2rem;
  }

  .metric-card h3 {
    font-size: 11px;
  }

  .metric-card p {
    font-size: 10px;
  }

  .metric-tag {
    font-size: 7px;
  }

  .metric-note {
    align-items: flex-start;
    font-size: 9px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 18px;
    border-radius: 21px;
  }

  .feature-top {
    margin-bottom: 15px;
  }

  .feature-icon {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-title {
    font-size: 1.05rem;
  }

  .feature-copy {
    font-size: 11.5px;
  }

  .file-visual {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 13px;
  }

  .file-stack {
    min-height: 153px;
  }

  .file-side-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .file-side-list span {
    flex: 1 1 42%;
    font-size: 7px;
  }

  .docs-visual {
    min-height: 262px;
    padding: 14px;
  }

  .document-sheet-back {
    left: 19px;
  }

  .document-sheet-front {
    left: 27px;
    width: min(286px, 78%);
  }

  .document-options {
    right: 12px;
    bottom: 12px;
  }

  .document-options span {
    font-size: 6.5px;
  }

  .audit-chart {
    gap: 8px;
  }

  .audit-chart-foot {
    font-size: 7px;
  }

  .process-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }

  .process-step {
    padding-left: 51px;
    padding-right: 28px;
  }

  .process-step p {
    font-size: 11px;
    line-height: 1.6;
  }

  .security-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .security-card {
    min-height: 0;
  }

  .security-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .gateway-card {
    border-radius: 24px;
    padding: 29px 17px;
  }

  .gateway-content h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .gateway-actions .button {
    width: 100%;
    min-width: 0;
    font-size: 11.5px;
  }

  .gateway-note {
    font-size: 8px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 100%;
  }

  .footer-bottom {
    display: block;
  }

  .footer-principles {
    margin-top: 7px;
  }
}

@media (max-width: 480px) {
  .site-container {
    padding-inline: 15px;
  }

  .brand-name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 10.5px;
    line-height: 1.35;
  }

  .brand-en {
    display: none;
  }

  .hero-title {
    font-size: 2.07rem;
  }

  .hero-title-am {
    font-size: 1.36rem;
  }

  .hero-title-en {
    font-size: 0.94rem;
  }

  .hero-eyebrow .eyebrow-divider,
  .hero-eyebrow [lang="am"] {
    display: none;
  }

  .hero-proof span:nth-child(3) {
    display: none;
  }

  .dashboard-mini-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-topline {
    align-items: flex-start;
  }

  .advance-ring {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .advance-ring-label strong {
    font-size: 15px;
  }

  .dash-mini-card {
    padding: 8px 9px;
  }

  .metric-card {
    min-height: 186px;
    padding: 13px;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
  }

  .metric-tag {
    display: none;
  }

  .metric-card h3 {
    font-size: 10px;
  }

  .metric-card p {
    font-size: 9.4px;
  }

  .metric-value {
    font-size: 1.9rem;
  }

  .file-sheet-head {
    gap: 6px;
  }

  .file-row {
    font-size: 7.5px;
  }

  .tax-widget {
    padding: 12px;
  }

  .tax-widget-head {
    align-items: flex-start;
  }

  .tax-widget-head output {
    font-size: 10.5px;
  }

  .tax-result {
    align-items: flex-start;
  }

  .tax-bracket {
    font-size: 6.5px !important;
  }

  .quarter-tab small {
    font-size: 6.2px;
  }

  .quarter-panel {
    padding: 10px;
  }

  .quarter-credit {
    font-size: 6.2px;
  }

  .docs-visual {
    min-height: 278px;
  }

  .document-sheet-front {
    left: 18px;
    width: 84%;
  }

  .document-options {
    left: 18px;
    right: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .role-pill {
    font-size: 7.8px;
    padding-inline: 8px;
  }

  .export-chips span {
    font-size: 6.8px;
  }

  .audit-bar-wrap small {
    font-size: 6.2px;
  }

  .process-step {
    padding-right: 0;
  }

  .security-copy .button,
  .security-copy .button span {
    max-width: 100%;
  }

  .security-copy .button {
    width: 100%;
    font-size: 10.5px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .footer-brand-row strong {
    font-size: 10.5px;
  }

  .footer-column h3 {
    margin-bottom: 1px;
  }
}

/* ============================================================
   REDUCED MOTION + PRINT
   ============================================================ */

@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;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .marquee-group {
    flex-wrap: wrap;
  }

  .hero-title-marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-title-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }

  .hero-title-segment {
    padding-inline-end: 0;
    white-space: normal;
  }

  .hero-title-segment[aria-hidden="true"] {
    display: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .hero-aurora,
  .hero-grid-pattern,
  .floating-card,
  .principle-marquee,
  .button,
  .gateway-actions,
  .security-copy .button {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .hero,
  .security-section,
  .gateway-card {
    background: #fff !important;
    color: #111 !important;
  }

  .hero-title,
  .hero-title-en,
  .hero-lead,
  .security-copy h2,
  .security-lead,
  .gateway-content h2,
  .gateway-lead,
  .section-heading h2,
  .section-intro {
    color: #111 !important;
  }

  .hero-title-marquee {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-title-track {
    width: auto;
    animation: none;
  }

  .hero-title-segment[aria-hidden="true"] {
    display: none;
  }

  .hero-title-accent {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #111 !important;
  }

  .section {
    padding-block: 22px;
  }

  .feature-card,
  .metric-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* ============================================================
   Phone-only touch targets
   The public header, quarter switch and role filter are used
   one-handed, so keep every compact control at least 44px.
   ============================================================ */
@media screen and (max-width: 767.98px) {
  .icon-button,
  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .quarter-tab {
    min-height: 44px;
  }

  .role-pill {
    min-height: 44px;
  }
}
