/* ==========================================================================
   Intellitax Solutions — design system
   Palette derived from the brand mark: signal red, graphite ink, warm cream.
   ========================================================================== */

:root {
  --ink: #232228;
  --ink-2: #36353a;
  --ink-3: #56525c;
  --muted: #726d78;
  --muted-2: #928c97;
  --red: #c91f26;
  --red-deep: #9d151b;
  --red-bright: #ff3131;
  --red-soft: #ffe9e5;
  --cream: #fff8f2;
  --cream-2: #fdf0e7;
  --peach: #ffe3d8;
  --white: #ffffff;
  --line: rgba(35, 34, 40, 0.12);
  --line-strong: rgba(35, 34, 40, 0.2);
  --green: #1c7357;
  --green-soft: #e4f4ee;
  --gold: #9b6415;
  --gold-soft: #fbf0d9;
  --indigo: #4946a8;
  --indigo-soft: #eeeeff;
  --violet: #7a3d86;
  --violet-soft: #f6eaf8;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1180px;
  --gutter: clamp(1rem, 2.4vw, 1.5rem);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --radius-xl: 38px;

  --shadow-xs: 0 1px 2px rgba(35, 34, 40, 0.05);
  --shadow-sm: 0 8px 24px rgba(35, 34, 40, 0.06);
  --shadow-md: 0 18px 50px rgba(35, 34, 40, 0.1);
  --shadow-lg: 0 30px 90px rgba(35, 34, 40, 0.18);
  --shadow-red: 0 14px 34px rgba(201, 31, 38, 0.24);

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - (var(--gutter) * 2), 1320px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section--white {
  background: var(--white);
}

.section--cream {
  background: var(--cream-2);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.eyebrow--light {
  color: #ff9c97;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: none;
}

.section-head--split > div {
  max-width: 680px;
}

.section-head--split > p {
  max-width: 370px;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .section-head--split {
    display: block;
  }

  .section-head--split > p {
    max-width: 640px;
    margin-top: 1rem;
  }
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.section-head h2 em {
  color: var(--red);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-head p {
  max-width: 640px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.section-head--center p {
  margin-inline: auto;
}

.ink .section-head p,
.section--ink .section-head p {
  color: rgba(255, 248, 242, 0.7);
}

/* --------------------------------------------------------------------------
   Buttons & badges
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-border: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

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

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg.icon-arrow {
  transform: translateX(3px);
}

.btn--primary {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  box-shadow: var(--shadow-red);
}

.btn--primary:hover {
  --btn-bg: var(--red-deep);
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
}

.btn--ink:hover {
  --btn-bg: #151419;
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
}

.btn--light:hover {
  --btn-bg: var(--white);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
}

.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-border: var(--ink);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-border: rgba(255, 248, 242, 0.4);
}

.btn--outline-light:hover {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-border: var(--cream);
}

.btn--sm {
  min-height: 42px;
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
}

.btn--lg {
  min-height: 56px;
  padding: 1rem 1.65rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

button.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.badge--green {
  background: var(--green-soft);
  color: var(--green);
}

.badge--red {
  background: var(--red-soft);
  color: var(--red);
}

.badge--gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.badge--neutral {
  background: rgba(35, 34, 40, 0.06);
  color: var(--ink-3);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Announcement bar + header
   -------------------------------------------------------------------------- */

.announce {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: rgba(255, 248, 242, 0.86);
  font-size: 0.8rem;
}

.announce-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 10px;
  min-height: 38px;
  padding-block: 6px;
  text-align: center;
}

.announce strong {
  color: var(--white);
  font-weight: 600;
}

.announce a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffb4ae;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.announce a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 248, 242, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(35, 34, 40, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  border-radius: 8px;
}

.brand img {
  width: auto;
  height: 44px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.brand-sub {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.3;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  background: rgba(35, 34, 40, 0.06);
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--ink);
  font-weight: 700;
}

.nav-link .chev {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--ease);
}

.nav-link[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 340px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu,
.nav-item.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  transition: background 0.2s var(--ease);
}

.nav-menu-link:hover {
  background: var(--cream);
}

.nav-menu-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: var(--cream-2);
  color: var(--red);
}

.nav-menu-icon .icon {
  width: 18px;
  height: 18px;
}

.nav-menu-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.nav-menu-desc {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.header-phone:hover {
  color: var(--red);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.25s var(--ease),
    visibility 0.25s var(--ease),
    transform 0.3s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding-block: 1.5rem 2rem;
}

.mobile-nav {
  display: grid;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.mobile-nav-link .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.mobile-sub {
  display: grid;
  gap: 2px;
  padding: 8px 0 12px 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-sub a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-menu-foot {
  display: grid;
  gap: 10px;
  padding-top: 1.5rem;
}

.mobile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.mobile-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-contact .icon {
  width: 15px;
  height: 15px;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(900px 600px at 88% 12%, rgba(255, 49, 49, 0.13), transparent 62%),
    radial-gradient(760px 520px at 8% 78%, rgba(255, 161, 120, 0.16), transparent 64%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(35, 34, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 34, 40, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 62%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero-copy {
  padding-block: clamp(1rem, 3vw, 2rem);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.4rem;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(28, 115, 87, 0.12);
}

.hero h1 {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.1vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.97;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--red);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 590px;
  margin-top: 1.35rem;
  color: var(--ink-3);
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 1.8rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.hero-note .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 5% -6% 2% 6%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(255, 49, 49, 0.34), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(255, 166, 120, 0.5), transparent 64%);
  filter: blur(24px);
  animation: hero-glow-breathe 9s ease-in-out infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10% 4% 8% 8%;
  z-index: -1;
  border: 1px dashed rgba(201, 31, 38, 0.26);
  border-radius: 42px;
  transform: rotate(-4deg);
}

/* Animated compliance backdrop behind the workspace */

.hero-motion {
  position: absolute;
  inset: -4% -5% -3%;
  z-index: 0;
  pointer-events: none;
}

.hero-motion-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(104%, 660px);
  aspect-ratio: 1;
  border: 1px dashed rgba(201, 31, 38, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: hero-motion-orbit 46s linear infinite;
}

.hero-motion-ring--inner {
  width: min(72%, 458px);
  border-style: solid;
  border-color: rgba(28, 115, 87, 0.12);
  animation-duration: 34s;
  animation-direction: reverse;
}

.hero-motion-ring i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 4px rgba(201, 31, 38, 0.1),
    0 0 18px rgba(201, 31, 38, 0.35);
  transform: translateX(-50%);
}

.hero-motion-ring--inner i {
  background: var(--green);
  box-shadow:
    0 0 0 4px rgba(28, 115, 87, 0.1),
    0 0 18px rgba(28, 115, 87, 0.3);
}

.hero-motion-token {
  position: absolute;
  top: -17px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 23px;
  height: 27px;
  border: 1px solid rgba(201, 31, 38, 0.3);
  border-radius: 4px;
  background: #fffdfb;
  color: var(--red);
  box-shadow: 0 7px 16px rgba(35, 34, 40, 0.18);
  transform: translateX(-50%);
  animation: hero-token-upright 46s linear infinite reverse;
}

.hero-motion-token::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: var(--red);
}

.hero-motion-token .icon {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  stroke-width: 3;
}

.hero-motion-scan {
  position: absolute;
  top: -8%;
  left: 2%;
  right: 2%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 31, 38, 0.16) 18%,
    rgba(201, 31, 38, 0.55) 50%,
    rgba(201, 31, 38, 0.16) 82%,
    transparent
  );
  box-shadow: 0 0 16px rgba(201, 31, 38, 0.18);
  animation: hero-motion-scan 8.5s ease-in-out 1.2s infinite;
}

.hero-motion-sheet {
  --tilt: -8deg;
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 6px;
  width: 128px;
  padding: 10px 11px 9px;
  border: 1px solid rgba(201, 31, 38, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 251, 0.78);
  box-shadow: 0 18px 40px rgba(35, 34, 40, 0.07);
  color: var(--ink);
  transform: rotate(var(--tilt));
  animation: hero-sheet-float 9s ease-in-out infinite;
}

.hero-motion-sheet--gst {
  top: 3%;
  left: -2%;
}

.hero-motion-sheet--itr {
  --tilt: 7deg;
  right: -3%;
  bottom: 5%;
  width: 140px;
  animation-delay: -4.5s;
}

.hero-motion-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-motion-tag {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-motion-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 115, 87, 0.1);
}

.hero-motion-dot--amber {
  background: #c78b22;
  box-shadow: 0 0 0 3px rgba(199, 139, 34, 0.12);
}

.hero-motion-line {
  height: 3px;
  border-radius: 99px;
  background: rgba(35, 34, 40, 0.12);
}

.hero-motion-line--short {
  width: 64%;
}

.hero-motion-state {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(28, 115, 87, 0.1);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-motion-state--review {
  background: rgba(199, 139, 34, 0.12);
  color: #9a6816;
}

.workspace {
  position: relative;
  z-index: 2;
  width: min(100%, 474px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(255, 49, 49, 0.22), transparent 70%),
    #211f26;
  color: var(--cream);
  box-shadow: 0 38px 80px rgba(35, 34, 40, 0.32);
  transform: rotate(-1.1deg);
}

.workspace-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 16px;
  border-bottom: 1px solid rgba(255, 248, 242, 0.12);
}

.workspace-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 248, 242, 0.66);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workspace-live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56d6a5;
  box-shadow: 0 0 0 4px rgba(86, 214, 165, 0.14);
}

.workspace-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px 12px;
}

.workspace-title h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.workspace-title span {
  color: rgba(255, 248, 242, 0.48);
  font-size: 0.7rem;
}

.ws-list {
  display: grid;
  gap: 6px;
}

.ws-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 13px;
  background: rgba(255, 248, 242, 0.055);
}

.ws-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 248, 242, 0.08);
  color: #ffb0ac;
}

.ws-icon .icon {
  width: 16px;
  height: 16px;
}

.ws-icon--green {
  background: rgba(86, 214, 165, 0.12);
  color: #56d6a5;
}

.ws-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.ws-body span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 248, 242, 0.45);
  font-size: 0.68rem;
  line-height: 1.3;
}

.ws-status {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}

.ws-status--green {
  color: #75e3ba;
}

.ws-status--red {
  color: #ff9c97;
}

.ws-status--gold {
  color: #f5c86c;
}

.workspace-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 248, 242, 0.12);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}

.workspace-foot .who {
  min-width: 0;
  flex: 1;
}

.workspace-foot .who strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}

.workspace-foot .who span {
  display: block;
  color: rgba(255, 248, 242, 0.45);
  font-size: 0.66rem;
}

.reply-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(86, 214, 165, 0.26);
  border-radius: 999px;
  color: #75e3ba;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.reply-pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.float-card--top {
  top: 0;
  right: -4%;
  width: 196px;
  padding: 13px 14px;
  border-radius: 18px;
  transform: rotate(2.4deg);
}

.float-card--bottom {
  bottom: -52px;
  left: -6%;
  width: 250px;
  padding: 12px 14px;
  border-radius: 18px;
  transform: rotate(-2deg);
}

.float-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
}

.float-head .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.float-card--top p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.float-card--top .big {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wa-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wa-badge {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
}

.wa-badge .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.wa-bubble {
  padding: 7px 9px;
  border-radius: 3px 11px 11px 11px;
  background: #e7ffef;
  color: #145c35;
  font-size: 0.68rem;
  line-height: 1.35;
}

.float-card--bottom .tiny {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 0.6rem;
  text-align: right;
}

/* Trust strip */

.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 98px;
  padding: 1.15rem 1.5rem;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
}

.trust-icon .icon {
  width: 19px;
  height: 19px;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.trust-item > div > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.trust-footnote {
  padding: 0.7rem 0 0.85rem;
  color: var(--muted-2);
  font-size: 0.68rem;
  text-align: right;
}

@keyframes hero-motion-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes hero-glow-breathe {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes hero-token-upright {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(-360deg);
  }
}

@keyframes hero-sheet-float {
  0%,
  100% {
    transform: rotate(var(--tilt)) translateY(0);
  }
  50% {
    transform: rotate(calc(var(--tilt) + 1.5deg)) translateY(-9px);
  }
}

@keyframes hero-motion-scan {
  0% {
    top: -8%;
    opacity: 0;
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    top: 108%;
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Reveal motion
   -------------------------------------------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .hero-visual::before,
  .hero-motion-ring,
  .hero-motion-token,
  .hero-motion-sheet,
  .hero-motion-scan {
    animation: none !important;
  }

  .hero-motion-scan {
    display: none;
  }
}
