/* ============================================
   KLASSO — Design System
   Editorial Brutalist Minimal
   Tested: 375x667, 390x844, 412x915, 768x1024,
   1024x768, 1280x800, 1440x900, 1920x1080
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=IBM+Plex+Mono:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --black: #000000;
  --white: #FFFFFF;
  --surface: #F5F5F5;
  --grey-mid: #888888;
  --grey-light: #CCCCCC;
  --grey-dark: #333333;
  --grey-alt: #F8F8F8;
  --border-light: rgba(255,255,255,0.15);
  --border-dark: #000000;

  --font-serif: 'DM Serif Display', serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --hero-size: clamp(40px, 8vw, 96px);
  --h2-size: clamp(28px, 5vw, 56px);
  --h3-size: clamp(20px, 3vw, 36px);
  --body-size: clamp(14px, 1.5vw, 16px);
  --caption-size: clamp(10px, 1vw, 13px);
  --label-size: 11px;

  --section-pad: clamp(60px, 10vw, 120px);
  --grid-gap: 24px;
  --nav-height: 64px;
  --radius: 4px;
  --radius-pill: 100px;
  --transition: 200ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font-mono);
  font-size: var(--body-size);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, a, [role="button"] { touch-action: manipulation; }
button, input, select, textarea { font-family: var(--font-mono); }
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [role="button"],
body.has-custom-cursor input,
body.has-custom-cursor select,
body.has-custom-cursor textarea {
  cursor: none;
}
input, select, textarea {
  font-size: 16px;
  min-height: 52px;
  padding: 14px 16px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
img { max-width: 100%; display: block; }
img[src$=".svg"] { image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
ul, ol { list-style: none; }
/* Touch feedback */
button:active, a:active, .tab:active { opacity: 0.7; transform: scale(0.98); transition: opacity 0.1s, transform 0.1s; }
/* Focus states */
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 1px; background: var(--black);
  z-index: 10000; width: 0%;
  transition: none;
}
body.dark-page .scroll-progress { background: var(--white); }

/* --- Page Transition Overlay --- */
.page-transition {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--black); z-index: 99999;
  transform: translateY(-100%);
  pointer-events: none;
}
.page-transition.entering { animation: slideUp 400ms ease-out forwards; }
.page-transition.revealing { animation: slideOff 400ms ease-out forwards; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideOff { from { transform: translateY(0); } to { transform: translateY(-100%); } }

/* --- Custom Cursor --- */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--black); border-radius: 50%;
  pointer-events: none; z-index: 100000;
  transform: translate(-50%, -50%);
  transition: background 0.3s;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 32px; height: 32px;
  border: 1px solid var(--black); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.3s, border-color 0.3s;
}
.cursor-dot.inverted { background: var(--white); }
.cursor-ring.inverted { border-color: var(--white); }
.cursor-ring.hovering {
  width: 48px; height: 48px;
  background: var(--black); border-color: var(--black);
}
.cursor-ring.hovering.inverted {
  background: var(--white); border-color: var(--white);
}

/* --- Grid --- */
.container {
  width: 100%; max-width: 1440px;
  margin: 0 auto;
  padding-left: clamp(16px, 5vw, 120px);
  padding-right: clamp(16px, 5vw, 120px);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

/* --- Typography --- */
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); }

h1, .h1 {
  font-family: var(--font-serif);
  font-size: var(--hero-size);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}
h2, .h2 {
  font-family: var(--font-serif);
  font-size: var(--h2-size);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
}
h3, .h3 {
  font-family: var(--font-serif);
  font-size: var(--h3-size);
  line-height: 1.2;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--grey-mid);
}
.caption {
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section--black { background: var(--black); color: var(--white); }
.section--white { background: var(--white); color: var(--black); }
.section--full { min-height: 100vh; display: flex; align-items: center; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 9999; padding: 0 24px;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--black);
}
.nav.scrolled.nav--dark {
  background: rgba(0,0,0,0.85);
  border-bottom-color: var(--border-light);
}
.nav--dark .nav__logo,
.nav--dark .nav__link {
  color: var(--white);
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.05em;
}
.nav__links {
  display: flex; align-items: center; gap: 32px;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav__link:hover::after { width: 100%; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border: 1px solid var(--black);
  background: var(--black); color: var(--white);
  border-radius: var(--radius-pill);
  transition: all 150ms ease;
  cursor: none;
  text-decoration: none;
}
.btn:hover {
  background: var(--white); color: var(--black);
}
.btn--ghost {
  background: transparent; color: var(--black);
}
.btn--ghost:hover {
  background: var(--black); color: var(--white);
}
.btn--white {
  background: var(--white); color: var(--black);
  border-color: var(--white);
}
.btn--white:hover {
  background: transparent; color: var(--white);
}
.btn--ghost-white {
  background: transparent; color: var(--white);
  border-color: var(--white);
}
.btn--ghost-white:hover {
  background: var(--white); color: var(--black);
}
.nav.scrolled .btn--ghost-white {
  border-color: var(--black);
  color: var(--black);
}
.nav.scrolled .btn--ghost-white:hover {
  background: var(--black);
  color: var(--white);
}
.btn--sm { padding: 10px 24px; font-size: 12px; }

/* --- Hamburger --- */
.hamburger {
  display: none; flex-direction: column;
  gap: 6px; background: none; border: none;
  padding: 8px; cursor: none; z-index: 10001;
}
.hamburger span {
  display: block; width: 24px; height: 1px;
  background: currentColor; transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--black); color: var(--white);
  z-index: 10000;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 40px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 36px; color: var(--white);
}

/* --- Cards --- */
.card {
  border: 1px solid var(--black);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
}
.card--dark {
  border-color: var(--border-light);
  background: var(--black); color: var(--white);
}
.card--dark:hover {
  background: var(--white); color: var(--black);
  border-color: var(--black);
}
.card--dark:hover .card__link { color: var(--black); }

/* --- Pills / Tags --- */
.pill {
  display: inline-flex; align-items: center;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
}
.pill--filled {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}
.pill--white {
  background: var(--white); color: var(--black);
  border-color: var(--white);
}

/* --- Phone Mockup --- */
.phone-mockup {
  width: 280px; height: 560px;
  border: 2px solid var(--white);
  border-radius: 36px;
  background: var(--white);
  padding: 12px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  overflow: hidden;
}
.phone-mockup__notch {
  width: 120px; height: 24px;
  background: var(--black);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 16px;
}
.phone-mockup__content {
  background: var(--surface);
  border-radius: 24px;
  height: calc(100% - 40px);
  padding: 20px 16px;
  overflow: hidden;
}
.phone-mockup__greeting {
  font-family: var(--font-serif);
  font-size: 18px; color: var(--black);
  margin-bottom: 16px;
}
.phone-mockup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-mockup__tile {
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 12px;
}
.phone-mockup__tile-label {
  font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--grey-mid);
  margin-bottom: 4px;
}
.phone-mockup__tile-value {
  font-family: var(--font-serif);
  font-size: 16px; color: var(--black);
}
.phone-mockup__banner {
  margin-top: 12px;
  height: 48px;
  border-radius: 24px;
  background: var(--black);
  display: flex; align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* --- Comparison Table --- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border: 1px solid var(--black);
}
.comparison__divider { background: var(--black); }
.comparison__col-header {
  padding: 24px 32px;
  font-family: var(--font-mono);
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--black);
  font-weight: 600;
}
.comparison__row {
  padding: 16px 32px;
  border-bottom: 1px solid var(--black);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.comparison__row:nth-child(even) { background: var(--grey-alt); }
.comparison__row:last-child { border-bottom: none; }
.comparison__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: var(--radius-pill);
  font-size: 12px; flex-shrink: 0;
}
.comparison__icon--x { background: var(--black); color: var(--white); }
.comparison__icon--check { background: var(--black); color: var(--white); }

/* --- Marquee --- */
.marquee-wrap { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex; gap: 16px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-pill {
  padding: 12px 28px;
  border: 1px solid var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--white);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Stats Row --- */
.stats-row {
  display: flex; justify-content: center;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}
.stat-item {
  flex: 1; text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--black);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-mid);
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pricing-card {
  border: 1px solid var(--black);
  padding: 40px 32px;
  display: flex; flex-direction: column;
}
.pricing-card + .pricing-card { border-left: none; }
.pricing-card--popular { border-width: 2px; position: relative; z-index: 1; }
.pricing-card__tag {
  display: inline-block;
  margin-bottom: 16px;
}
.pricing-card__name {
  font-family: var(--font-serif);
  font-size: 24px; margin-bottom: 8px;
}
.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 36px; margin-bottom: 4px;
}
.pricing-card__period {
  font-size: 12px; color: var(--grey-mid);
  margin-bottom: 24px;
}
.pricing-card__features {
  flex: 1; margin-bottom: 32px;
}
.pricing-card__feature {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 13px;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--black);
}
.faq-question {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: none;
  font-family: var(--font-serif);
  font-size: 20px;
  background: none; border: none;
  width: 100%; text-align: left;
  color: inherit;
}
.faq-icon {
  font-family: var(--font-mono);
  font-size: 24px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-family: var(--font-mono);
  font-size: 14px; line-height: 1.8;
  color: var(--grey-dark);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 1px; height: 100%;
  background: var(--black);
}
.timeline__item {
  position: relative;
  padding: 0 0 48px 32px;
}
.timeline__item::before {
  content: '';
  position: absolute; left: -44px; top: 8px;
  width: 8px; height: 8px;
  background: var(--black);
  border-radius: 50%;
}
.timeline__date {
  font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-mid);
  margin-bottom: 8px;
}
.timeline__text {
  font-family: var(--font-serif);
  font-size: 20px;
}

/* --- Architecture Diagram --- */
.arch-diagram {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
}
.arch-box {
  border: 1px solid var(--white);
  padding: 20px 48px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--white);
  width: 100%; max-width: 400px;
}
.arch-arrow {
  width: 1px; height: 40px;
  background: var(--white);
  position: relative;
}
.arch-arrow::after {
  content: '';
  position: absolute; bottom: -4px; left: -4px;
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--white);
}

/* --- Form --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  color: var(--grey-mid);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--grey-mid);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  border-radius: var(--radius);
  transition: border-color 0.3s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--white);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-select option { background: var(--black); color: var(--white); }
.form-success {
  display: none;
  padding: 20px;
  border: 1px solid var(--white);
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 14px;
}
.form-success.visible { display: block; }

/* --- Footer --- */
.footer {
  padding: 80px 0 40px;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--border-light);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 18px; margin-bottom: 16px;
}
.footer__desc {
  font-size: 13px; color: var(--grey-mid);
  line-height: 1.8; max-width: 320px;
}
.footer__heading {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  color: var(--grey-mid);
}
.footer__link {
  display: block; padding: 6px 0;
  font-size: 14px;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--grey-light); }
.footer__bar {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  font-size: 12px;
  color: var(--grey-mid);
  display: flex; justify-content: space-between;
}

/* --- CSS Fallback: auto-reveal after 3s if JS fails --- */
@keyframes css-fallback-reveal {
  to { opacity: 1; transform: translateY(0); }
}
.reveal:not(.visible) { animation: css-fallback-reveal 0.5s ease-out 3s forwards; }
.reveal-child:not(.visible) { animation: css-fallback-reveal 0.5s ease-out 3.2s forwards; }

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}
.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

/* --- Hero Text Reveal --- */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}
.hero-word.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Announcement Bar (base — pill variant styles below) --- */
#announcement-bar {
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  width: 100%;
  z-index: 200;
  position: relative;
}
#announcement-bar.hidden {
  display: none;
}

/* --- Sticky Mobile Bar --- */
.sticky-mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 10px; z-index: 4000;
}
.sticky-mobile-bar .btn { flex: 1; text-align: center; justify-content: center; }

/* --- Floating WhatsApp --- */
.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

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

/* --- Responsive: lg (1024-1279) --- */
@media (max-width: 1279px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card + .pricing-card { border-left: 1px solid var(--black); }
}
/* --- Responsive: md (768-1023) --- */
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--black); }
  .stat-item:nth-child(2) { border-right: none; }
}
/* --- Responsive: sm (max 767px) --- */
@media (max-width: 767px) {
  .nav__links { display: none; }
  .hamburger, .nav__mobile-toggle { display: flex; }
  .nav { padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .grid-12 { grid-template-columns: 1fr; }
  .grid-12 > [style*="grid-column"] { grid-column: 1 / -1 !important; }
  .comparison { grid-template-columns: 1fr; }
  .comparison__divider { display: none; }
  .stats-row { flex-direction: column; }
  .stat-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--black); }
  .stat-item:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: 1fr; border: none; gap: 24px; }
  .pricing-card { border: 1px solid var(--black) !important; }
  .pricing-card + .pricing-card { border-top: 1px solid var(--black); }
  .phone-mockup { width: 220px; height: 440px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: clamp(40px, 8vw, 80px) 0; }
  .marquee-pill { font-size: 11px; padding: 8px 16px; }
  .sticky-mobile-bar { display: flex; }
  .floating-whatsapp { bottom: calc(90px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 80px; }
  .faq-question { min-height: 52px; font-size: 18px; }
  .faq-icon { min-width: 24px; min-height: 24px; }
  .faq-answer { font-size: 14px; }
}
/* --- Responsive: xs (max 479px) --- */
@media (max-width: 479px) {
  .phone-mockup { width: 200px; height: 400px; }
  h1, .h1 { letter-spacing: -0.01em; }
  .footer { text-align: center; }
  .announcement-bar__text {
    font-size: 11px;
    padding-right: 36px;
  }
  .announcement-bar__inner {
    justify-content: flex-start;
    text-align: left;
  }
}
/* --- Touch device: disable hover effects --- */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none !important; }
  .card--dark:hover { background: var(--black); color: var(--white); border-color: var(--border-light); }
}
/* --- Samsung Internet backdrop-filter fallback --- */
.nav { background: rgba(0,0,0,0.85); }
@supports (backdrop-filter: blur(16px)) {
  .nav.scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); }
  .nav.scrolled.nav--dark { background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
}
/* --- Safari border-radius clip fix --- */
.phone-mockup, .card, .pricing-card { -webkit-mask-image: -webkit-radial-gradient(white, black); }
/* --- Scroll containers --- */
.scroll-container::-webkit-scrollbar { display: none; }
.scroll-container { -ms-overflow-style: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
/* --- Performance & Reduced Motion --- */
img, video { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-child { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-word { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero { padding-top: 120px; padding-bottom: 80px; }

/* --- Layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

/* --- Contact Info Column --- */
.contact-info__heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.contact-info__block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.contact-info__block:last-of-type { border-bottom: none; }
.contact-info__block .eyebrow {
  margin-bottom: 8px;
  color: var(--grey-mid);
}
.contact-info__value {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.7;
  text-decoration: none;
  display: block;
}
a.contact-info__value:hover { color: var(--black); }

/* WhatsApp button */
.contact-info__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--grey-dark);
  text-decoration: none;
  transition: all 200ms ease;
  margin-top: 4px;
}
.contact-info__wa:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Trust Badges */
.contact-trust {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--black);
}
.contact-trust__badge {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--black);
}
.contact-trust__badge:last-child { border-right: none; }
.contact-trust__big {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.contact-trust__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-mid);
}

/* --- Form Wrapper --- */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 48px;
  position: relative;
}
.contact-form-wrap form { position: relative; }

/* Form Rows */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-form__row--single {
  grid-template-columns: 1fr;
}

/* Fields */
.contact-field {
  position: relative;
}
.contact-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-mid);
  margin-bottom: 8px;
  transition: color 200ms ease;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white);
  color: var(--black);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  border-radius: 0;
  outline: none;
  min-height: 52px;
}
.contact-field textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}
.contact-field input:focus + .field-error,
.contact-field select:focus + .field-error { opacity: 0; }

/* Error State */
.field-error {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #c0392b;
  margin-top: 6px;
  min-height: 16px;
  transition: opacity 200ms ease;
}
.contact-field.has-error label { color: #c0392b; }
.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
  border-color: #c0392b;
  box-shadow: 0 0 0 1px #c0392b;
}

/* Alerts */
.contact-form__alert {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 0;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.contact-form__alert.visible { display: flex; }
.contact-form__alert--success {
  background: #f0faf0;
  border: 1px solid #27ae60;
  color: #1a7a42;
}
.contact-form__alert--error {
  background: #fef0ef;
  border: 1px solid #c0392b;
  color: #96281b;
}

/* Submit Button */
.contact-form__submit {
  width: 100%;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 18px 32px;
  margin-top: 8px;
}
.contact-form__submit .btn__text {
  transition: opacity 200ms ease;
}
.contact-form__submit .btn__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.contact-form__submit .btn__loader.visible { display: block; }
.contact-form__submit .btn__loader svg {
  animation: spinLoader 0.8s linear infinite;
}
@keyframes spinLoader {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Contact Mobile --- */
@media (max-width: 768px) {
  .contact-hero { padding-top: 100px; padding-bottom: 60px; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 16px; }
  .contact-trust { flex-direction: column; }
  .contact-trust__badge {
    border-right: none;
    border-bottom: 1px solid var(--black);
    padding: 16px;
  }
  .contact-trust__badge:last-child { border-bottom: none; }
  .contact-info__heading { font-size: 26px; margin-bottom: 28px; }
}

/* ============================================
   ANNOUNCEMENT BAR — BOLD PILL VARIANT
   ============================================ */
.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px clamp(48px, 6vw, 100px);
  min-height: 42px;
  position: relative;
}

.announcement-bar__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}

.announcement-bar__text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-bar__text strong {
  font-weight: 700;
}

.announcement-bar__cta {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  border-bottom: none;
  transition: opacity 150ms ease;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
}

.announcement-bar__cta:hover {
  opacity: 0.85;
  border-bottom: none;
}

.announcement-bar__close {
  position: absolute;
  right: clamp(10px, 2vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: color 0.15s;
  min-width: 32px;
  min-height: 32px;
}
.announcement-bar__close:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .announcement-bar__inner { gap: 8px; padding: 8px 44px 8px 12px; justify-content: flex-start; }
  .announcement-bar__badge { font-size: 9px; padding: 2px 8px; }
  .announcement-bar__text { font-size: 11px; white-space: normal; }
  .announcement-bar__cta { display: none; }
}

/* ============================================
   KLASSO AI CHAT WIDGET
   ============================================ */

/* FAB Button */
.klasso-chat-fab {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: fixed;
}
.klasso-chat-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.klasso-chat-fab.active {
  background: #333;
}
.klasso-chat-fab__pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #000;
  animation: chatPulse 2s ease infinite;
}
@keyframes chatPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Widget Panel */
.klasso-chat-widget {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: calc(84px + env(safe-area-inset-bottom));
  width: 360px;
  max-width: calc(100vw - 28px);
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  z-index: 4090;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 #000000;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), opacity 200ms ease;
  max-height: 480px;
}
.klasso-chat-widget.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.klasso-chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #000000;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.klasso-chat-widget__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.klasso-chat-widget__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
}
.klasso-chat-widget__name {
  font-family: var(--font-serif);
  font-size: 15px;
  color: #ffffff;
}
.klasso-chat-widget__status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.klasso-chat-widget__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}
.klasso-chat-widget__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 150ms;
}
.klasso-chat-widget__close:hover { color: #ffffff; }

/* Body / Message area */
.klasso-chat-widget__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
  scroll-behavior: smooth;
}
.klasso-chat-widget__body::-webkit-scrollbar { width: 4px; }
.klasso-chat-widget__body::-webkit-scrollbar-thumb { background: #ccc; }

/* Messages */
.klasso-chat-widget__msg {
  max-width: 88%;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 0;
}
.klasso-chat-widget__msg--bot {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  align-self: flex-start;
  color: #111111;
}
.klasso-chat-widget__msg--user {
  background: #000000;
  color: #ffffff;
  align-self: flex-end;
  border: 1px solid #000;
}

/* Typing indicator */
.klasso-chat-widget__typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
}
.klasso-chat-widget__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: typingBounce 1.2s ease infinite;
  display: block;
}
.klasso-chat-widget__typing span:nth-child(2) { animation-delay: 0.2s; }
.klasso-chat-widget__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Suggestion chips */
.klasso-chat-widget__suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.klasso-chat-widget__chip {
  background: #fff;
  border: 1px solid #000;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  text-align: left;
  cursor: pointer;
  transition: background 150ms, color 150ms;
  border-radius: 0;
  color: #000;
}
.klasso-chat-widget__chip:hover {
  background: #000;
  color: #fff;
}

/* Footer / Input */
.klasso-chat-widget__footer {
  display: flex;
  align-items: center;
  border-top: 1px solid #e0e0e0;
  padding: 10px 16px;
  gap: 10px;
  background: #ffffff;
  flex-shrink: 0;
}
.klasso-chat-widget__input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  border: none;
  outline: none;
  color: #000;
  background: transparent;
  padding: 4px 0;
}
.klasso-chat-widget__input::placeholder { color: #aaa; }
.klasso-chat-widget__send {
  background: #000;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms;
}
.klasso-chat-widget__send:hover { background: #333; }

/* Mobile adjustments */
@media (max-width: 767px) {
  .klasso-chat-fab { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .klasso-chat-widget { right: 12px; left: 12px; width: auto; max-width: 100%; bottom: calc(158px + env(safe-area-inset-bottom)); }
}

/* ============================================
   PHONE MOCKUP — INTERNAL ANIMATIONS
   ============================================ */
/* Floating phone */
.phone-mockup {
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Tile value count-up shimmer */
.phone-mockup__tile-value {
  background: linear-gradient(90deg, var(--black) 40%, rgba(0,0,0,0.4) 50%, var(--black) 60%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: tileShimmer 3s ease-in-out infinite;
}
@keyframes tileShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Typing cursor on greeting */
.phone-mockup__greeting::after {
  content: '|';
  display: inline-block;
  animation: typeCursor 1s step-end infinite;
  color: var(--grey-mid);
  font-weight: 300;
  margin-left: 2px;
}
@keyframes typeCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Tile hover lift */
.phone-mockup__tile {
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.phone-mockup__tile:nth-child(1) { animation: tilePop 4s ease-in-out 0s infinite; }
.phone-mockup__tile:nth-child(2) { animation: tilePop 4s ease-in-out 1s infinite; }
.phone-mockup__tile:nth-child(3) { animation: tilePop 4s ease-in-out 2s infinite; }
.phone-mockup__tile:nth-child(4) { animation: tilePop 4s ease-in-out 3s infinite; }
@keyframes tilePop {
  0%, 80%, 100% { transform: scale(1); box-shadow: none; }
  40% { transform: scale(1.04); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
}

/* Banner pulse */
.phone-mockup__banner {
  animation: bannerPulse 3s ease-in-out infinite;
}
@keyframes bannerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* ============================================
   PAGE HERO — TWO-COLUMN WITH ANIMATION
   ============================================ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-split__text {
  max-width: 700px;
}
.hero-split__text .hero-subtitle {
  color: var(--grey-mid);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.3vw, 15px);
  margin-top: 24px;
  max-width: 440px;
  line-height: 1.7;
}
.hero-split__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

@media (max-width: 767px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-split__visual {
    min-height: 180px;
    max-height: 220px;
  }
}

/* ============================================
   MINIMAL SVG HERO ANIMATIONS
   ============================================ */

/* --- Pricing: floating price tags --- */
.hero-anim-pricing {
  width: 200px;
  height: 200px;
  position: relative;
}
.hero-anim-pricing svg { width: 100%; height: 100%; }
.hero-anim-pricing .tag-1 { animation: tagFloat 5s ease-in-out infinite; }
.hero-anim-pricing .tag-2 { animation: tagFloat 5s ease-in-out 1.5s infinite; }
.hero-anim-pricing .tag-3 { animation: tagFloat 5s ease-in-out 3s infinite; }
@keyframes tagFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-8px) rotate(2deg); opacity: 1; }
}

/* --- Security: orbiting shield --- */
.hero-anim-security {
  width: 200px;
  height: 200px;
}
.hero-anim-security svg { width: 100%; height: 100%; }
.hero-anim-security .shield-ring {
  transform-origin: center;
  animation: ringOrbit 8s linear infinite;
}
.hero-anim-security .shield-pulse {
  animation: shieldGlow 3s ease-in-out infinite;
}
@keyframes ringOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shieldGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* --- About: connected dots / constellation --- */
.hero-anim-about {
  width: 200px;
  height: 200px;
}
.hero-anim-about svg { width: 100%; height: 100%; }
.hero-anim-about .dot { animation: dotPulse 3s ease-in-out infinite; }
.hero-anim-about .dot:nth-child(2) { animation-delay: 0.5s; }
.hero-anim-about .dot:nth-child(3) { animation-delay: 1s; }
.hero-anim-about .dot:nth-child(4) { animation-delay: 1.5s; }
.hero-anim-about .dot:nth-child(5) { animation-delay: 2s; }
.hero-anim-about .line { animation: lineTrace 4s ease-in-out infinite; }
.hero-anim-about .line:nth-child(2) { animation-delay: 0.8s; }
.hero-anim-about .line:nth-child(3) { animation-delay: 1.6s; }
@keyframes dotPulse {
  0%, 100% { r: 3; opacity: 0.5; }
  50% { r: 5; opacity: 1; }
}
@keyframes lineTrace {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.5; }
}

/* --- Features: module grid --- */
.hero-anim-features {
  width: 200px;
  height: 200px;
}
.hero-anim-features svg { width: 100%; height: 100%; }
.hero-anim-features .block {
  animation: blockReveal 4s ease-in-out infinite;
  opacity: 0.4;
}
.hero-anim-features .block:nth-child(1) { animation-delay: 0s; }
.hero-anim-features .block:nth-child(2) { animation-delay: 0.4s; }
.hero-anim-features .block:nth-child(3) { animation-delay: 0.8s; }
.hero-anim-features .block:nth-child(4) { animation-delay: 1.2s; }
.hero-anim-features .block:nth-child(5) { animation-delay: 1.6s; }
.hero-anim-features .block:nth-child(6) { animation-delay: 2.0s; }
@keyframes blockReveal {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50% { opacity: 0.8; transform: scale(1); }
}

/* ============================================
   LEGAL DOCUMENT PAGES (terms, privacy)
   ============================================ */
.legal-doc {
  max-width: 720px;
}
.legal-doc__date {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-mid);
  margin-bottom: 48px;
}
.legal-doc__section {
  margin-bottom: 48px;
}
.legal-doc__number {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--grey-mid);
  margin-bottom: 12px;
}
.legal-doc__heading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 16px;
}
.legal-doc__text {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--grey-dark, #444);
}
.legal-doc__text strong {
  color: var(--black);
  font-weight: 600;
}
.legal-doc__list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.legal-doc__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-dark, #444);
}
.legal-doc__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--grey-mid);
}
.legal-doc__callout {
  border-left: 2px solid var(--black);
  padding: 16px 0 16px 24px;
  margin: 24px 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  font-style: italic;
}

/* ============================================
   MANIFESTO PAGE
   ============================================ */
.manifesto-section {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 48px;
  align-items: start;
}
.manifesto-section__number {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  opacity: 0.12;
  position: sticky;
  top: 120px;
}
.manifesto-section--white .manifesto-section__number { color: var(--black); }
.manifesto-section--black .manifesto-section__number { color: var(--white); }

.manifesto-statement {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  margin-bottom: 24px;
}
.manifesto-body {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  max-width: 560px;
}
.section--white .manifesto-body { color: var(--grey-dark, #444); }
.section--black .manifesto-body { color: var(--grey-mid); }

.manifesto-pull {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}
.manifesto-pull em {
  font-style: italic;
  opacity: 0.6;
}

/* Manifesto hero SVG animation — quill writing */
.hero-anim-manifesto {
  width: 200px;
  height: 200px;
}
.hero-anim-manifesto svg { width: 100%; height: 100%; }
.hero-anim-manifesto .quill-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: quillWrite 3s ease-in-out infinite;
}
.hero-anim-manifesto .quill-line:nth-child(2) { animation-delay: 0.6s; }
.hero-anim-manifesto .quill-line:nth-child(3) { animation-delay: 1.2s; }
.hero-anim-manifesto .quill-line:nth-child(4) { animation-delay: 1.8s; }
@keyframes quillWrite {
  0% { stroke-dashoffset: 200; opacity: 0.2; }
  50% { stroke-dashoffset: 0; opacity: 0.7; }
  100% { stroke-dashoffset: -200; opacity: 0.2; }
}

/* Hero SVG for legal pages — document/scroll */
.hero-anim-legal {
  width: 200px;
  height: 200px;
}
.hero-anim-legal svg { width: 100%; height: 100%; }
.hero-anim-legal .doc-line {
  animation: docLineFade 3s ease-in-out infinite;
}
.hero-anim-legal .doc-line:nth-child(2) { animation-delay: 0.4s; }
.hero-anim-legal .doc-line:nth-child(3) { animation-delay: 0.8s; }
.hero-anim-legal .doc-line:nth-child(4) { animation-delay: 1.2s; }
.hero-anim-legal .doc-line:nth-child(5) { animation-delay: 1.6s; }
@keyframes docLineFade {
  0%, 100% { opacity: 0.15; width: 80%; }
  50% { opacity: 0.5; width: 100%; }
}

@media (max-width: 767px) {
  .manifesto-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .manifesto-section__number {
    position: static;
    font-size: 48px;
  }
}
