:root {
  --bg: #170e1c;
  --bg-soft: #231328;
  --panel: rgba(55, 27, 62, 0.72);
  --panel-solid: #2f1637;
  --panel-light: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 220, 236, 0.16);
  --text: #fff3fb;
  --muted: #d7bfd0;
  --accent: #ff9ab4;
  --accent-2: #ffc8aa;
  --accent-3: #d4a0ff;
  --accent-dark: #432245;
  --success: #b6ffca;
  --shadow: 0 30px 60px rgba(6, 0, 10, 0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 151, 179, 0.18), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(178, 122, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #1a0d1d 0%, #21102a 45%, #150c19 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 112px 0; position: relative; }
.skip-link {
  position: absolute; left: 14px; top: -42px; background: var(--text); color: #111;
  padding: 10px 14px; border-radius: 10px; z-index: 999;
}
.skip-link:focus { top: 12px; }

.page-glow {
  position: fixed; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(40px);
  pointer-events: none; opacity: 0.35; z-index: -3;
}
.glow-a { top: -10rem; right: -12rem; background: rgba(222, 116, 189, 0.35); animation: driftA 18s ease-in-out infinite; }
.glow-b { bottom: -12rem; left: -10rem; background: rgba(255, 168, 132, 0.20); animation: driftB 22s ease-in-out infinite; }
.page-grid {
  position: fixed; inset: 0; z-index: -4; pointer-events: none; opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.42), rgba(0,0,0,1));
}

.site-header {
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(18px);
  background: rgba(20, 10, 24, 0.68); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-symbol {
  width: 52px; height: 52px; border-radius: 18px; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 6px; padding: 6px; background: linear-gradient(145deg, rgba(255,200,170,0.16), rgba(255,154,180,0.18));
  border: 1px solid rgba(255, 227, 236, 0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
.brand-symbol i {
  display: block; border-radius: 10px; background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 4px 12px rgba(255, 154, 180, 0.22);
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text strong { font-size: 0.98rem; letter-spacing: 0.02em; }
.brand-text small { font-size: 0.82rem; color: var(--muted); }
.desktop-nav { display: flex; gap: 30px; align-items: center; }
.desktop-nav a {
  color: rgba(255, 243, 251, 0.82); font-weight: 600; font-size: 0.95rem; position: relative;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; transform: scaleX(0);
  transform-origin: center; transition: transform .25s ease; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #321927;
  box-shadow: 0 18px 36px rgba(255, 154, 180, 0.22);
}
.button-secondary {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: var(--text);
}
.button-ghost { background: transparent; border-color: rgba(255,255,255,0.12); color: var(--text); }
.menu-toggle {
  display: none; width: 50px; height: 50px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); padding: 0; position: relative; cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: white; transition: transform .25s ease, top .25s ease, opacity .25s ease;
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 29px; }
.menu-toggle.is-open span:first-child { top: 24px; transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { top: 24px; transform: rotate(-45deg); }
.mobile-nav {
  width: min(calc(100% - 40px), var(--max)); margin: 0 auto 14px; padding: 14px; border-radius: 24px;
  background: rgba(35, 19, 40, 0.96); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow); flex-direction: column; gap: 2px;
}
.mobile-nav a { padding: 14px 12px; border-radius: 14px; color: var(--text); }
.mobile-nav a:hover { background: rgba(255,255,255,0.06); }

.hero {
  display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 54px; padding-top: 74px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-2); font-weight: 800;
}
.hero h1, .section-heading h2, .split-panel h2, .policy-hero h1, .error-card h1 {
  font-family: "Cormorant Garamond", Georgia, serif; line-height: 0.95; margin: 18px 0 18px;
}
.hero h1 { font-size: clamp(3.8rem, 8vw, 6.6rem); max-width: 11ch; }
.hero h1 span, .section-heading h2 span, .split-panel h2 span {
  background: linear-gradient(135deg, var(--accent-2), var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy > p { max-width: 60ch; font-size: 1.08rem; color: var(--muted); line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px;
}
.hero-points article, .contact-card, .service-card, .timeline-card, .value-card, .split-panel, .screen-frame, .hero-panel, .hero-note, .policy-card, .error-card {
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-points article {
  padding: 18px 18px; border-radius: 22px; background: rgba(255,255,255,0.04);
}
.hero-points strong { display: block; font-size: 1.4rem; margin-bottom: 10px; color: var(--accent-2); }
.hero-points span { color: var(--muted); font-size: 0.92rem; }
.hero-visual { position: relative; min-height: 620px; }
.hero-panel {
  border-radius: 32px; overflow: hidden; background: rgba(255,255,255,0.03); padding: 18px;
}
.hero-promo-card { width: min(100%, 620px); margin-left: auto; }
.hero-promo-card img { width: 100%; border-radius: 24px; }
.hero-note {
  position: absolute; max-width: 300px; padding: 18px 20px; border-radius: 24px;
  background: rgba(43, 21, 48, 0.86); backdrop-filter: blur(16px); animation: floatCard 6s ease-in-out infinite;
}
.hero-note span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-2); margin-bottom: 8px; }
.hero-note strong { display: block; margin-bottom: 6px; font-size: 1.08rem; }
.hero-note small { color: var(--muted); line-height: 1.5; }
.hero-note-one { left: -26px; bottom: 130px; }
.hero-note-two { right: -24px; top: 76px; animation-delay: -2s; }

.ticker {
  border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02); overflow: hidden;
}
.ticker-track {
  width: max-content; display: flex; gap: 52px; padding: 18px 0; animation: tickerMove 36s linear infinite;
}
.ticker-track span {
  position: relative; padding-left: 26px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; font-size: 0.84rem; color: var(--muted);
}
.ticker-track span::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.section-heading {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: end; margin-bottom: 40px;
}
.section-heading.compact { align-items: center; }
.section-heading h2 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
.section-heading p, .section-lead, .lead-tag, .split-panel p, .policy-hero p, .policy-card p, .error-card p { color: var(--muted); line-height: 1.78; }
.values-layout {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.value-card {
  padding: 28px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
}
.value-index { display: inline-flex; font-weight: 800; color: var(--accent); margin-bottom: 18px; }
.value-card h3, .service-card h3, .timeline-card h3, .contact-card .label, .feature-stack h3, .mini-metrics strong {
  font-size: 1.18rem; margin: 0 0 10px;
}
.value-card p, .service-card p, .timeline-card p, .feature-stack p, .contact-card p, .mini-metrics span { color: var(--muted); line-height: 1.7; }

.app-section {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start;
}
.app-title-row { display: flex; align-items: center; gap: 18px; margin: 16px 0 18px; }
.app-icon { width: 74px; height: 74px; border-radius: 24px; box-shadow: 0 14px 28px rgba(255, 154, 180, 0.14); }
.app-copy h2 { font-size: clamp(2.8rem, 5vw, 4.3rem); margin: 0; font-family: "Cormorant Garamond", Georgia, serif; }
.lead-tag { margin: 6px 0 0; color: var(--accent-2); font-weight: 700; }
.feature-stack { display: grid; gap: 18px; margin: 28px 0 32px; }
.feature-stack article {
  padding: 20px 22px; border-radius: 22px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.app-preview-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
}
.screen-frame {
  padding: 14px; border-radius: 28px; background: rgba(255,255,255,0.04); overflow: hidden;
}
.screen-frame img { border-radius: 20px; width: 100%; }
.screen-frame figcaption { padding: 14px 8px 4px; color: var(--muted); }
.offset-up { transform: translateY(-28px); }
.offset-down { transform: translateY(28px); }

.timeline {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.timeline-card, .service-card, .contact-card, .split-panel, .policy-card {
  background: rgba(255,255,255,0.04); border-radius: 28px; padding: 28px;
}
.timeline-card span { display: inline-flex; margin-bottom: 16px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 800; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.split-section {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch;
}
.split-panel { display: flex; flex-direction: column; justify-content: center; min-height: 280px; }
.split-dark { background: linear-gradient(135deg, rgba(255,154,180,0.12), rgba(212,160,255,0.10)); }
.mini-metrics { display: grid; gap: 16px; }
.mini-metrics article {
  padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.08);
}
.mini-metrics strong { display: block; }

.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.contact-card .label {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--accent-2); margin-bottom: 16px;
}
.contact-card.highlight { background: linear-gradient(135deg, rgba(255,154,180,0.12), rgba(255,200,170,0.08)); }
.contact-card a { color: var(--text); }

.site-footer {
  padding: 28px 0 42px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(11, 6, 14, 0.5); margin-top: 60px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-brand { font-weight: 800; margin: 0 0 6px; }
.footer-copy { margin: 0; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--accent-2); font-weight: 700; }

.policy-page .policy-header { padding: 24px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.policy-layout { padding: 36px 0 90px; }
.policy-hero { padding: 32px 0 18px; }
.policy-hero h1 { font-size: clamp(3.4rem, 6vw, 5.4rem); margin-bottom: 10px; }
.policy-badge {
  display: inline-flex; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); color: var(--accent-2); font-weight: 700; margin-top: 12px;
}
.policy-card { margin-top: 18px; }
.policy-card h2 { margin: 0 0 14px; font-size: 1.35rem; }
.policy-card p { margin: 0 0 12px; }
.policy-card a, .contact-card a { color: var(--accent-2); }
.policy-footer { margin-top: 0; }

.error-page { min-height: 100vh; display: grid; place-items: center; }
.error-layout { width: min(calc(100% - 40px), 840px); }
.error-card { padding: 50px; border-radius: 34px; background: rgba(255,255,255,0.05); text-align: center; }
.error-card h1 { font-size: clamp(3rem, 7vw, 5rem); margin-top: 10px; }
.error-card .button { margin-top: 16px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes driftA {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-20px, 26px, 0); }
}
@keyframes driftB {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(28px, -22px, 0); }
}

@media (max-width: 1100px) {
  .hero, .section-heading, .app-section, .split-section { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; padding-top: 14px; }
  .hero-note-one { left: 12px; bottom: 70px; }
  .hero-note-two { right: 12px; top: 24px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .desktop-nav, .header-actions .button-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 78px; }
  .brand-text strong { font-size: 0.9rem; }
  .hero { padding-top: 46px; }
  .hero-points, .values-layout, .services-grid, .contact-grid, .timeline, .app-preview-grid { grid-template-columns: 1fr; }
  .offset-up, .offset-down { transform: none; }
  .footer-inner, .policy-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .section { padding: 84px 0; }
  .hero h1 { max-width: 10ch; }
  .hero-copy > p, .section-heading p, .section-lead, .split-panel p, .policy-card p { font-size: 0.98rem; }
  .hero-note {
    position: static; max-width: none; margin-top: 16px;
  }
  .hero-visual { display: grid; gap: 14px; }
  .hero-points { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; }
  .timeline-card, .service-card, .contact-card, .split-panel, .policy-card, .error-card, .value-card { padding: 22px; }
  .policy-layout { padding-bottom: 70px; }
}
