:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.82);
  --muted-soft: rgba(15, 23, 42, 0.68);
  --border: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);

  /* Prompt colors */
  --blue-light: #9ac8ff;
  --blue-light-soft: #e3f1ff;
  --purple-soft: #c0b5ff;
  --green-light: #baf4db;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(
      900px 400px at 10% -10%,
      rgba(154, 200, 255, 0.28),
      transparent 60%
    ),
    radial-gradient(
      900px 400px at 90% 0%,
      rgba(192, 181, 255, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 450px at 40% 10%,
      rgba(186, 244, 219, 0.24),
      transparent 60%
    ),
    #ffffff;
}

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

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  transform: translateY(-140%);
  transition: transform 0.16s ease;
  z-index: 50;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

.noscript {
  width: min(var(--container), calc(100% - 48px));
  margin: 24px auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 16px;
  background: #ffffff;
}

/* Header */
#header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: radial-gradient(
    circle at 0% 0%,
    var(--green-light),
    var(--blue-light)
  );
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.75);
}

.nav-link:hover {
  background: rgba(154, 200, 255, 0.18);
  color: rgba(15, 23, 42, 0.95);
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(15, 23, 42, 0.12);
  margin-inline: 4px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(154, 200, 255, 0.6);
  background: rgba(227, 241, 255, 0.8);
}

.lang-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.8);
}

.lang-btn[aria-pressed="true"] {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(154, 200, 255, 0.3);
}

.icon-btn {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 11px;
  background: #ffffff;
  cursor: pointer;
}

.icon-btn:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
}

.hamburger {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
}

.hamburger::before {
  top: 1px;
  box-shadow: 0 5px 0 rgba(15, 23, 42, 0.9);
}

.hamburger::after {
  bottom: 1px;
}

.nav-toggle {
  display: none;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-header {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-header--wide {
  max-width: none;
}

.section-title {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.about-subtitle {
  white-space: nowrap;
  font-size: clamp(16px, 1.75vw, 18px);
  letter-spacing: -0.01em;
}

/* Hero */
.hero {
  padding-top: 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid rgba(154, 200, 255, 0.7);
  background: rgba(227, 241, 255, 0.85);
  color: rgba(15, 23, 42, 0.75);
}

.hero-title {
  margin: 14px 0 10px 0;
  font-size: clamp(40px, 4.6vw, 58px);
}

.gradient-text {
  background: linear-gradient(120deg, var(--blue-light), var(--purple-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 0 0 12px 0;
  font-size: 22px;
  line-height: 1.45;
}

.hero-desc {
  margin: 0 0 18px 0;
  max-width: 62ch;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.hero-cta .btn {
  width: fit-content;
}

.hero-note {
  font-size: 15px;
  color: var(--muted-soft);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.video-card {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192, 181, 255, 0.7);
  background: linear-gradient(145deg, #ffffff, rgba(192, 181, 255, 0.12));
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 18px 14px;
}

.video-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.video-pill {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}

.video-label {
  margin-left: auto;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(154, 200, 255, 0.25);
  color: rgba(15, 23, 42, 0.75);
}

.video-frame {
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(154, 200, 255, 0.25), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  aspect-ratio: 16 / 9;
}

.video-embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 32px;
  color: #f8fafc;
  text-align: center;
}

.video-placeholder-content {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.video-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(154, 200, 255, 0.35);
  background: rgba(227, 241, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-placeholder-title {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.video-placeholder-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.82);
}

/* Cards and grids */
.grid {
  display: grid;
  gap: 24px;
}

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

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  height: 100%;
  padding: 22px 22px 24px 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.card.subtle {
  background: linear-gradient(
    135deg,
    rgba(186, 244, 219, 0.4),
    rgba(227, 241, 255, 0.6)
  );
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(227, 241, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}

.card-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  line-height: 1.4;
}

.card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-card {
  flex-direction: column;
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(186, 244, 219, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  line-height: 1.4;
}

.step-desc {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

/* Phones preview */
.phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.phone {
  flex: 1 1 180px;
  max-width: 252px;
  border-radius: 26px;
  background: linear-gradient(140deg, #ffffff, rgba(192, 181, 255, 0.22));
  border: 1px solid rgba(192, 181, 255, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 14px 12px 16px 12px;
}

.phone-notch {
  width: 52%;
  height: 10px;
  border-radius: 0 0 999px 999px;
  background: rgba(15, 23, 42, 0.92);
  margin: 0 auto 8px auto;
}

.phone-screen {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--blue-light-soft),
    var(--purple-soft)
  );
}

.shot {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.phone-caption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted-soft);
}

/* Validation panel */
.panel.highlight {
  border-radius: 24px;
  padding: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(186, 244, 219, 0.9), transparent 55%),
    radial-gradient(
      circle at 100% 0%,
      rgba(154, 200, 255, 0.9),
      transparent 55%
    ),
    #ffffff;
  border: 1px solid rgba(154, 200, 255, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 24px;
}

.panel.highlight.is-centered {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
  justify-items: center;
}

.panel.highlight.is-centered .panel-copy {
  max-width: 740px;
}

.panel.highlight.is-centered .panel-actions {
  align-items: center;
}

.panel.highlight.is-centered .bullets {
  display: inline-block;
  text-align: left;
}

.panel.highlight.is-centered .panel-art {
  display: none;
}

.bullets {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.panel-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-art {
  position: relative;
  min-height: 168px;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.75;
}

.blob.b1 {
  width: 110px;
  height: 110px;
  background: var(--green-light);
  top: 12px;
  left: 10px;
}

.blob.b2 {
  width: 130px;
  height: 130px;
  background: var(--blue-light);
  top: 36px;
  right: 8px;
}

.blob.b3 {
  width: 120px;
  height: 120px;
  background: var(--purple-soft);
  bottom: -8px;
  left: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue-light), var(--purple-soft));
  border-color: rgba(154, 200, 255, 0.6);
  color: #0f172a;
  box-shadow: 0 14px 32px rgba(154, 200, 255, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(154, 200, 255, 0.7);
}

.btn.ghost {
  border-color: rgba(154, 200, 255, 0.7);
  background: rgba(227, 241, 255, 0.6);
  color: rgba(15, 23, 42, 0.9);
}

.btn.ghost:hover {
  background: rgba(227, 241, 255, 0.9);
}

.meta {
  font-size: 14px;
  color: var(--muted-soft);
}

/* About */
.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(227, 241, 255, 0.9);
}

.validation-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: start;
}

.validation-copy {
  max-width: none;
}

.validation-copy .section-subtitle {
  max-width: 60ch;
}

.validation-actions {
  margin-top: 0;
  align-self: stretch;
  justify-content: center;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(154, 200, 255, 0.45);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.validation-btn {
  width: 100%;
  min-height: 56px;
}

.validation-meta {
  line-height: 1.6;
}

.validation-bullets {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text);
}

.validation-bullets li {
  min-height: 100%;
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(154, 200, 255, 0.28);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.validation-bullets li::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
}

/* Contact */
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-email {
  font-weight: 500;
}

/* Footer */
#footer {
  padding: 28px 0 36px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-credits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.footer-authors {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-author {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-author-links {
  display: inline-flex;
  gap: 6px;
}

.footer-mini {
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(227, 241, 255, 0.75);
  border: 1px solid rgba(154, 200, 255, 0.55);
}

.footer-mini:hover {
  background: rgba(227, 241, 255, 0.95);
}

.footer-link {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(227, 241, 255, 0.8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dot {
  margin-inline: 6px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-subtitle {
    white-space: normal;
  }

  .hero-media {
    order: -1;
  }

  .video-frame {
    aspect-ratio: 4 / 3;
  }

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

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel.highlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .validation-bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 52px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section-subtitle {
    font-size: 17px;
  }

  .hero-title {
    font-size: clamp(34px, 11vw, 44px);
  }

  .hero-tagline {
    font-size: 20px;
  }

  .hero-desc {
    font-size: 17px;
  }

  .video-card {
    max-width: none;
  }

  .video-placeholder {
    padding: 24px;
  }

  .nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.26);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.16s ease,
      transform 0.16s ease,
      max-height 0.16s ease;
  }

  .nav.is-open {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding-inline: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .lang-switch {
    align-self: center;
    margin-top: 6px;
  }

  .steps-grid,
  .validation-bullets,
  .cards-4,
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .validation-actions {
    padding: 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
