/* ============================================================
   NewsFlow — Editorial Marketing Website
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --color-ink: #1a1a2e;
  --color-ink-light: #242445;
  --color-accent: #e86c2a;
  --color-accent-hover: #d45a1a;
  --color-paper: #f7f5f2;
  --color-white: #ffffff;
  --color-text: #2d2d2d;
  --color-text-light: #e8e6e3;
  --color-text-muted: #7a7a7a;
  --color-blue: #3a7bd5;
  --color-border: #e0ddd8;
  --color-card-shadow: rgba(26, 26, 46, 0.08);
  --color-card-shadow-hover: rgba(26, 26, 46, 0.16);
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --section-pad: clamp(64px, 10vw, 120px);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button, input, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button { cursor: pointer; }

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p + p { margin-top: 1em; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.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;
}

/* --- Skip Link --- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* --- Noise Texture Mixin (applied via pseudo-elements) --- */
.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
}

/* --- Section Base --- */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}
.section--dark {
  background: var(--color-ink);
  color: var(--color-text-light);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}
.section--light {
  background: var(--color-paper);
}
.section--white {
  background: var(--color-white);
}
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section__header h2 {
  margin-bottom: 16px;
}
.section__header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 20px auto 0;
  border-radius: 2px;
}
.section__header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}
.section--dark .section__header p {
  color: rgba(232, 230, 227, 0.7);
}

/* --- Section Dividers --- */
.divider-angle {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}
.divider-angle svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}
.divider-angle--top {
  top: -1px;
  bottom: auto;
  transform: rotate(180deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(232, 108, 42, 0.25);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 6px 24px rgba(232, 108, 42, 0.35);
  transform: translateY(-1px);
}
.btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}
.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}
.btn--outline-dark {
  border: 2px solid var(--color-border);
  color: var(--color-text);
}
.btn--outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header--transparent {
  background: transparent;
}
.header--solid {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__logo .logo-text {
  height: 24px;
  width: auto;
  display: block;
}
.header__logo .logo-fly {
  height: 30px;
  width: 30px;
  object-fit: contain;
}
.header__logo:hover { opacity: 0.85; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__links {
  display: flex;
  gap: 28px;
}
.header__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.header__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.header__links a:hover::after,
.header__links a.active::after {
  width: 100%;
}
.header__links a:hover {
  color: var(--color-white);
}
.header__cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  opacity: 0.45;
  transition: all var(--transition);
  cursor: pointer;
  background: none;
  border: 2px solid transparent;
}
.lang-btn:hover {
  opacity: 0.8;
}
.lang-btn.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1010;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-white);
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: 0.35s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--color-ink) 0%, #12122a 55%, #1e1e3a 100%);
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__content {
  max-width: 560px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(232, 108, 42, 0.12);
  border: 1px solid rgba(232, 108, 42, 0.25);
  border-radius: 40px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__badge svg {
  width: 14px;
  height: 14px;
}
.hero__title {
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: clamp(3rem, 7vw, 4.5rem);
  letter-spacing: -0.03em;
}
.hero__title span {
  color: var(--color-accent);
}
.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: rgba(232, 230, 227, 0.9);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero__desc {
  color: rgba(232, 230, 227, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
  animation: heroFloat 6s ease-in-out infinite;
}
.hero__visual--collage img {
  max-width: 680px;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}

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

/* Hero Stats Bar */
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.stat__label {
  font-size: 0.82rem;
  color: rgba(232, 230, 227, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 4px;
}

/* Hero decorative orb */
.hero__orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 108, 42, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}
.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58, 123, 213, 0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  top: auto;
  right: auto;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--color-paper);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-card-shadow-hover);
  border-color: transparent;
}
.feature-card:hover::before {
  transform: scaleY(1);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 108, 42, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--color-accent);
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.feature-card__sub {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-text-muted);
}
.feature-card__badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 40px;
  margin-bottom: 16px;
}
.feature-card--soon {
  border-style: dashed;
  opacity: 0.85;
}
.feature-card--soon:hover {
  opacity: 1;
}

/* Uptime Callout */
.uptime-callout {
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 36px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.uptime-callout::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--color-accent), rgba(232, 108, 42, 0.3));
  z-index: -1;
  opacity: 0.15;
}
.uptime-callout p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
}
.uptime-callout strong {
  color: var(--color-accent);
}

/* ============================================================
   REFERENCES (Client Logo Marquee)
   ============================================================ */
.references {
  background: var(--color-ink);
  overflow: hidden;
}
.marquee {
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0.85;
  transition: all var(--transition);
}
.marquee__item:hover {
  opacity: 1;
  transform: scale(1.08);
}
.marquee__item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  background: var(--color-paper);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--color-card-shadow-hover);
}
.pricing-card--featured {
  border-color: var(--color-accent);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(232, 108, 42, 0.12);
  z-index: 2;
}
.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 56px rgba(232, 108, 42, 0.2);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 40px;
  white-space: nowrap;
}
.pricing-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--color-ink);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
  line-height: 1.2;
}
.pricing-card__price small {
  font-size: 0.65em;
  font-weight: 400;
  color: var(--color-text-muted);
}
.pricing-card__list {
  margin-bottom: 28px;
}
.pricing-card__list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text);
  border-bottom: 1px solid rgba(224, 221, 216, 0.5);
}
.pricing-card__list li:last-child { border-bottom: none; }
.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e86c2a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}
.pricing-card .btn {
  width: 100%;
}

/* Pricing Callouts */
.pricing-callout {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 28px 36px;
  background: rgba(232, 108, 42, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(232, 108, 42, 0.15);
}
.pricing-callout p {
  font-size: 0.95rem;
  color: var(--color-text);
}
.pricing-fine-print {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.ecosystem {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-paper) 100%);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ecosystem-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ecosystem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-card-shadow-hover);
}
.ecosystem-card__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-ink);
}
.ecosystem-card__brand span {
  color: var(--color-accent);
}
.ecosystem-card__tagline {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ecosystem-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex-grow: 1;
}
.ecosystem-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap var(--transition);
}
.ecosystem-card__link:hover {
  gap: 12px;
}
.ecosystem-card__link svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--color-white);
}
.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.about__logo {
  text-align: center;
}
.about__logo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 32px var(--color-card-shadow);
}
.about__text h2 {
  margin-bottom: 24px;
}
.about__text h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 20px;
  border-radius: 2px;
}
.about__text p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
}
.about__timeline {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.about__year {
  display: flex;
  flex-direction: column;
}
.about__year strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-accent);
  line-height: 1;
}
.about__year span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-paper);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: rgba(232, 108, 42, 0.03);
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.contact__info h2 {
  margin-bottom: 20px;
}
.contact__info h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 20px;
  border-radius: 2px;
}
.contact__info > p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 32px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__details a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-weight: 600;
}
.contact__details a:hover {
  color: var(--color-accent-hover);
}
.contact__details svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px var(--color-card-shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-group label .required {
  color: var(--color-accent);
  margin-left: 2px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 108, 42, 0.1);
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-notice {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  font-size: 0.92rem;
}
.form-notice a { color: var(--color-accent); text-decoration: underline; }
.form-group input.error,
.form-group textarea.error {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.is-visible {
  display: block;
}
.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-ink);
  color: var(--color-text-light);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand .header__logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.footer__brand .logo-text {
  height: 20px;
  width: auto;
  display: block;
}
.footer__brand .logo-fly {
  height: 24px;
  width: 24px;
  object-fit: contain;
}
.footer__brand p {
  font-size: 0.9rem;
  color: rgba(232, 230, 227, 0.6);
  line-height: 1.6;
}
.footer__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer__col p,
.footer__col a {
  font-size: 0.88rem;
  color: rgba(232, 230, 227, 0.6);
  line-height: 1.8;
  display: block;
}
.footer__col a:hover {
  color: var(--color-accent);
}
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(232, 230, 227, 0.4);
}
.footer__bar-links {
  display: flex;
  gap: 24px;
}
.footer__bar-links a:hover {
  color: var(--color-accent);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
/* Hidden only when the inline <head> script has added .js, so the
   content stays visible if JavaScript never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger utility */
.js .reveal-delay-1 { transition-delay: 0.05s; }
.js .reveal-delay-2 { transition-delay: 0.1s; }
.js .reveal-delay-3 { transition-delay: 0.15s; }
.js .reveal-delay-4 { transition-delay: 0.2s; }
.js .reveal-delay-5 { transition-delay: 0.25s; }
.js .reveal-delay-6 { transition-delay: 0.3s; }
.js .reveal-delay-7 { transition-delay: 0.35s; }
.js .reveal-delay-8 { transition-delay: 0.4s; }
.js .reveal-delay-9 { transition-delay: 0.45s; }
.js .reveal-delay-10 { transition-delay: 0.5s; }

/* ============================================================
   WEBDESK SHOWCASE (browser-frame screenshot)
   ============================================================ */
.webdesk-showcase {
  position: relative;
  padding-bottom: calc(var(--section-pad) + 30px);
}
.webdesk-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  background: #2a2d3a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 90px rgba(26, 26, 46, 0.28),
    0 12px 32px rgba(26, 26, 46, 0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}
.webdesk-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 110px rgba(26, 26, 46, 0.34),
    0 16px 40px rgba(26, 26, 46, 0.18);
}
.webdesk-frame__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(180deg, #34384a 0%, #2a2d3a 100%);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.webdesk-frame__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.webdesk-frame__dot--r { background: #ff5f57; }
.webdesk-frame__dot--y { background: #febc2e; }
.webdesk-frame__dot--g { background: #28c840; }
.webdesk-frame__url {
  margin-left: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 5px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.webdesk-frame__image {
  display: block;
  line-height: 0;
  background: #fff;
}
.webdesk-frame__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   WHY NEWSFLOW (editorial chapters + manifest)
   ============================================================ */
.why-chapter {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  margin-bottom: 88px;
}
.why-chapter__head {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}
.why-chapter__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.why-chapter__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  color: var(--color-ink);
  position: relative;
}
.why-chapter__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 18px;
  border-radius: 2px;
}
.why-chapter__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 44px;
}
.why-point h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--color-ink);
}
.why-point p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
}
.why-point sup {
  color: var(--color-accent);
  font-weight: 700;
}

/* Manifest block — used in the bridge between hero and features */
.manifest-bridge {
  position: relative;
  z-index: 10;
  margin-top: -180px;
  margin-bottom: 60px;
  pointer-events: none;
}
.manifest-bridge .container {
  pointer-events: auto;
}
.why-manifest {
  background: var(--color-ink);
  color: var(--color-text-light);
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--radius);
  border-left: 6px solid var(--color-accent);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.why-manifest::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}
.why-manifest > * {
  position: relative;
  z-index: 1;
}
.why-manifest .why-chapter__eyebrow {
  color: var(--color-accent);
}
.why-manifest h3 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 6px 0 28px;
  max-width: 760px;
}
.why-manifest p {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 720px;
  color: rgba(232, 230, 227, 0.92);
}
.why-manifest p + p {
  margin-top: 1.1em;
}
.why-manifest__pullquote {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--color-white);
  border-left: 3px solid var(--color-accent);
  padding-left: 24px;
  margin: 32px 0;
  max-width: 720px;
}

/* Footnotes */
.why-footnotes {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.why-footnotes p {
  margin-bottom: 6px;
}
.why-footnotes sup {
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================================
   STATISTICS (internal analytics tiers)
   ============================================================ */
.stats .section__header {
  max-width: 760px;
}
.stats-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.stats-highlight {
  padding: 24px 22px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.stats-highlight svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.stats-highlight h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.stats-highlight p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.stats-frame {
  max-width: 1000px;
}
.stats-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 14px 0 72px;
}
.stats-tiers-header {
  margin-bottom: 48px;
}
.stats-tiers-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}
.stats-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.stats-tier {
  position: relative;
  padding: 36px 30px 30px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.stats-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--color-card-shadow-hover);
}
.stats-tier--featured {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(232, 108, 42, 0.12);
}
.stats-tier__eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.stats-tier__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.stats-tier__lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.stats-tier__list li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 0.92rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(224, 221, 216, 0.5);
}
.stats-tier__list li:last-child { border-bottom: none; }
.stats-tier__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e86c2a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}
.stats-tier__sub {
  margin: 18px 0 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
}
.stats-tier__list li.is-no {
  color: var(--color-text-muted);
}
.stats-tier__list li.is-no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7a7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}
.stats-fine-print {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { margin-top: 40px; }
  .hero__visual img { max-width: 400px; }
  .hero__visual--collage img { max-width: 560px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-highlights { grid-template-columns: repeat(2, 1fr); }
  .stats-tiers { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .pricing-card:nth-child(3) { grid-column: span 2; max-width: 420px; margin: 0 auto; }
  .about__grid { grid-template-columns: 1fr; text-align: center; }
  .about__timeline { justify-content: center; }
  .about__text h2::after { margin-left: auto; margin-right: auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { text-align: center; }
  .contact__info h2::after { margin-left: auto; margin-right: auto; }
  .contact__details { align-items: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .why-chapter {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 64px;
  }
  .why-chapter__head { position: static; }
  .why-chapter__title::after { margin-left: 0; }

  .manifest-bridge { margin-top: -120px; margin-bottom: 40px; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  .header__links,
  .header__cta { display: none; }
  .hamburger { display: flex; }
  .lang-switcher {
    margin-left: auto;
    margin-right: 16px;
    padding-left: 0;
    border-left: none;
  }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + 32px); padding-bottom: 60px; }
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .hero__stats { flex-direction: column; gap: 16px; align-items: center; }
  .hero__visual img { max-width: 300px; }
  .hero__visual--collage img { max-width: 420px; }

  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-highlights { grid-template-columns: 1fr; margin-bottom: 40px; }
  .stats-caption { margin-bottom: 56px; }
  .stats-tier { padding: 32px 22px 24px; }
  .pricing-card:nth-child(3) { grid-column: auto; max-width: none; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .about__grid { gap: 40px; }
  .about__logo img { width: 140px; height: 140px; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__bar { flex-direction: column; gap: 12px; text-align: center; }
  .uptime-callout { padding: 28px 24px; }
  .pricing-callout { padding: 24px 20px; }
  .contact-form { padding: 28px 24px; }

  .why-chapter__points { grid-template-columns: 1fr; gap: 28px; }
  .why-manifest { padding: 32px 24px; }
  .why-manifest__pullquote { padding-left: 18px; margin: 24px 0; }
  .manifest-bridge { margin-top: -80px; margin-bottom: 32px; }

  .webdesk-frame__chrome { padding: 7px 12px; gap: 4px; }
  .webdesk-frame__dot { width: 8px; height: 8px; }
  .webdesk-frame__url { margin-left: 8px; padding: 2px 8px; font-size: 0.68rem; border-radius: 4px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .hero__buttons .btn { width: 100%; }
  .marquee__item { width: 140px; height: 80px; }
  .webdesk-frame__chrome { padding: 5px 10px; }
  .webdesk-frame__dot { width: 7px; height: 7px; }
  .webdesk-frame__url { margin-left: 6px; padding: 1px 7px; font-size: 0.62rem; }
}
