/*
  Digitenial — Minimal landing styles
  System font stack to avoid external dependencies.
*/

:root {
  --bg: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --alt: #f8fafc; /* slate-50 */
  --border: #e2e8f0; /* slate-200 */
  --primary: #7c3aed; /* violet-600 */
  --primary-contrast: #ffffff;
  --shadow: 0 2px 6px rgba(15, 23, 42, 0.06), 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 6px 14px rgba(15, 23, 42, 0.08), 0 20px 40px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

/* Animated rainbow background (translated from SCSS) */
.bg-rainbow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: 0.15; }
.rainbow { height: 100vh; width: 0; top: 0; position: absolute; transform: rotate(10deg); transform-origin: top right; }
.h { box-shadow: 0 0 50vh 40vh white; width: 100vw; height: 0; bottom: 0; left: 0; position: absolute; }
.v { box-shadow: 0 0 35vw 25vw white; width: 0; height: 100vh; bottom: 0; left: 0; position: absolute; }

@keyframes slide { from { right: -25vw; } to { right: 125vw; } }

/* Colors */
:root { --rb-purple: rgb(232 121 249); --rb-blue: rgb(96 165 250); --rb-green: rgb(94 234 212); }

/* Generate 25 bars with varying colors, duration and delay */
.rainbow:nth-child(1)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 44.1s linear infinite; animation-delay: -1.8s; }
.rainbow:nth-child(2)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 43.2s linear infinite; animation-delay: -3.6s; }
.rainbow:nth-child(3)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 42.3s linear infinite; animation-delay: -5.4s; }
.rainbow:nth-child(4)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 41.4s linear infinite; animation-delay: -7.2s; }
.rainbow:nth-child(5)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 40.5s linear infinite; animation-delay: -9.0s; }
.rainbow:nth-child(6)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 39.6s linear infinite; animation-delay: -10.8s; }
.rainbow:nth-child(7)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 38.7s linear infinite; animation-delay: -12.6s; }
.rainbow:nth-child(8)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 37.8s linear infinite; animation-delay: -14.4s; }
.rainbow:nth-child(9)  { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 36.9s linear infinite; animation-delay: -16.2s; }
.rainbow:nth-child(10) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 36.0s linear infinite; animation-delay: -18.0s; }
.rainbow:nth-child(11) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 35.1s linear infinite; animation-delay: -19.8s; }
.rainbow:nth-child(12) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 34.2s linear infinite; animation-delay: -21.6s; }
.rainbow:nth-child(13) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 33.3s linear infinite; animation-delay: -23.4s; }
.rainbow:nth-child(14) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 32.4s linear infinite; animation-delay: -25.2s; }
.rainbow:nth-child(15) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 31.5s linear infinite; animation-delay: -27.0s; }
.rainbow:nth-child(16) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 30.6s linear infinite; animation-delay: -28.8s; }
.rainbow:nth-child(17) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 29.7s linear infinite; animation-delay: -30.6s; }
.rainbow:nth-child(18) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 28.8s linear infinite; animation-delay: -32.4s; }
.rainbow:nth-child(19) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 27.9s linear infinite; animation-delay: -34.2s; }
.rainbow:nth-child(20) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 27.0s linear infinite; animation-delay: -36.0s; }
.rainbow:nth-child(21) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-blue), 130px 0 80px 40px #fff;  animation: slide 26.1s linear infinite; animation-delay: -37.8s; }
.rainbow:nth-child(22) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-green), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 25.2s linear infinite; animation-delay: -39.6s; }
.rainbow:nth-child(23) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-green), 50px 0 50px 25px var(--rb-purple), 130px 0 80px 40px #fff;  animation: slide 24.3s linear infinite; animation-delay: -41.4s; }
.rainbow:nth-child(24) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-blue), 0 0 50px 25px var(--rb-purple), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 23.4s linear infinite; animation-delay: -43.2s; }
.rainbow:nth-child(25) { box-shadow: -130px 0 80px 40px #fff, -50px 0 50px 25px var(--rb-purple), 0 0 50px 25px var(--rb-blue), 50px 0 50px 25px var(--rb-green), 130px 0 80px 40px #fff;  animation: slide 22.5s linear infinite; animation-delay: -45s; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute; left: -999px; top: -999px;
}
.skip-link:focus {
  left: 16px; top: 16px; background: var(--primary); color: #fff; padding: 8px 12px; border-radius: 6px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; letter-spacing: 0.2px; color: var(--text); text-decoration: none; font-size: 20px; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }

.nav { display: flex; align-items: center; gap: 12px; }
.menu { display: flex; align-items: center; gap: 16px; }
.menu a { color: var(--text); text-decoration: none; font-weight: 500; transition: color .2s ease, opacity .2s ease; border-radius: var(--radius-pill); padding: 6px 10px; }
.menu a:hover { opacity: 0.8; }
.nav-toggle { display: none; font-size: 22px; background: transparent; border: 0; padding: 6px 8px; cursor: pointer; }

/* Hero */
.section { padding: 72px 0; }
.section.alt { background: var(--alt); }
.hero { padding: 96px 0 72px; }
.hero-inner { max-width: 1180px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 28px; }
.hero-copy { }
.hero-visual { position: relative; }
.hero-visual.single { display: flex; justify-content: center; }
.hero-visual img { display: block; max-width: 100%; height: auto; }
.hero-illustration { max-width: 640px; width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(15,23,42,0.08)); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { max-width: 520px; }
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.06; margin: 0 0 14px; letter-spacing: -0.015em; font-weight: 700; }
.hero h1 strong { font-weight: 800; }
.hero-ref .lead { max-width: 560px; }
.hero-ref .actions { margin-top: 24px; }
.lead { font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); margin: 0 0 24px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons (Uiverse.io cssbuttons-io base) */
.btn { position: relative; font-size: 17px; text-transform: uppercase; text-decoration: none; padding: 1em 2.5em; display: inline-block; cursor: pointer; border-radius: 6em; transition: all 0.2s; border: none; font-family: inherit; font-weight: 500; color: #000; background-color: #fff; }
.btn.small { padding: 0.6em 1.2em; font-size: 14px; }
.btn.primary { background: #fff; color: #000; }
.btn:hover { letter-spacing: 3px; background-color: hsl(261deg 80% 48%); color: #fff; box-shadow: rgb(93 24 220) 0px 7px 29px 0px; transform: none; }
.btn:active { letter-spacing: 3px; background-color: hsl(261deg 80% 48%); color: #fff; box-shadow: rgb(93 24 220) 0 0 0 0; transform: translateY(10px); transition: 100ms; }
.btn.ghost { background: transparent; box-shadow: none; border: 1px solid var(--border); text-transform: none; }
.btn:focus { outline: 3px solid rgba(124, 58, 237, 0.35); outline-offset: 2px; }

/* Grid / Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: #fff; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 4px; margin-bottom: 6px; }
.card p { margin-top: 0; color: var(--muted); }
.card ul { margin: 8px 0 0 18px; padding: 0; color: var(--muted); }

/* Steps */
.steps { margin: 0; padding-left: 18px; }
.steps li { margin-bottom: 10px; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 24px; }
.bullets { margin: 10px 0 0 18px; color: var(--muted); }

/* Contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 720px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form .field:has(textarea) { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 14px; }
input, select, textarea { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--text); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: #c4b5fd; box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.45); outline: none; }
textarea { resize: vertical; }
.muted { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.footer-inner .brand { font-weight: 700; }
.footer-inner .links { display: flex; gap: 16px; justify-content: center; }
.footer-inner .links a { color: var(--muted); text-decoration: none; }
.footer-inner .links a:hover { text-decoration: underline; }
.footer-inner .copy { text-align: right; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner .copy { text-align: center; }
}

@media (max-width: 680px) {
  .grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .menu { display: none; position: absolute; right: 20px; top: 64px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
