:root {
  color-scheme: light;
  --bg-start: #fff8e4;
  --bg-mid: #ecf5ff;
  --bg-end: #fffdf8;
  --text: #101318;
  --title: #2f3740;
  --muted: #36404a;
  --soft: #525a63;
  --accent: #aa1f23;
  --accent-strong: #101318;
  --surface: #f1f4f7;
  --surface-border: #d5dce4;
  --input-border: #b9c0c8;
  --focus: rgba(170, 31, 35, 0.28);
  --shadow-strong: 0 24px 54px rgba(18, 20, 23, 0.12);
  --shadow-soft: 0 12px 24px rgba(18, 20, 23, 0.08);
  --body-font: "Avenir Next", "Avenir", "-apple-system", BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow-x: hidden;
  font-family: var(--body-font);
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 52%, var(--bg-end) 100%);
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 42%),
    linear-gradient(160deg, rgba(255, 248, 228, 0.42), rgba(236, 245, 255, 0.18));
}

.ambient-blob {
  position: absolute;
  border-radius: 999px;
  animation: blob-drift 11s ease-in-out infinite alternate;
}

.ambient-blob--top {
  top: -5.5rem;
  left: -3.25rem;
  width: 18rem;
  height: 18rem;
  background: rgba(250, 220, 97, 0.34);
}

.ambient-blob--bottom {
  right: -5rem;
  bottom: -7.5rem;
  width: 21rem;
  height: 21rem;
  background: rgba(174, 212, 255, 0.34);
  animation-duration: 13s;
  animation-direction: alternate-reverse;
}

.particle-field {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  left: var(--particle-left);
  top: var(--particle-top);
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 999px;
  background: var(--particle-color);
  opacity: var(--particle-min-opacity);
  animation: particle-float var(--particle-duration) ease-in-out infinite var(--particle-delay);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1060px);
  margin: 0 auto;
  min-height: 100vh;
  padding: 1.25rem 0 1.5rem;
}

.panel {
  min-height: calc(100vh - 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0.35rem 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
}

.brand--lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark,
.intro-card-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark {
  width: 3.6rem;
  height: 3.6rem;
}

.brand-mark-halo,
.intro-card-halo {
  position: absolute;
  border-radius: 999px;
  background: rgba(250, 220, 97, 0.45);
  animation: halo-pulse 6.5s ease-in-out infinite;
}

.brand-mark-halo {
  inset: 0.12rem;
}

.brand-logo {
  position: relative;
  width: 3rem;
  height: 3rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--title);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.83rem;
  color: var(--soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-label {
  font-size: 0.9rem;
  color: var(--soft);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border-radius: 16px;
}

.language-button {
  appearance: none;
  border: 1px solid var(--input-border);
  border-radius: 16px;
  padding: 0.62rem 0.92rem;
  min-width: 3.25rem;
  background: #ffffff;
  color: var(--title);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.language-button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 1.4rem;
  flex: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-card,
.feature-card,
.showcase-card,
.page-header-card,
.content-card {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
}

.intro-card {
  padding: 1.35rem 1.35rem 1.25rem;
}

.intro-card-mark {
  width: 6.8rem;
  height: 6.8rem;
  margin-bottom: 0.9rem;
}

.intro-card-mark--page {
  width: 5.2rem;
  height: 5.2rem;
  flex-shrink: 0;
}

.intro-card-halo {
  inset: 0.4rem;
}

.intro-card-logo {
  position: relative;
  width: 4.6rem;
  height: 4.6rem;
}

.eyebrow,
.section-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.hero-title,
.page-title {
  margin: 0;
  color: var(--title);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-title {
  font-size: clamp(2.05rem, 4.8vw, 3.2rem);
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero-text,
.page-intro,
.content-card p,
.footer-text,
.feature-card-copy,
.showcase-meta,
.device-caption,
.closing-note {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--muted);
}

.hero-text + .hero-text {
  margin-top: 0.8rem;
}

.hero-text--secondary {
  color: var(--soft);
}

.hero-progress {
  width: 100%;
  height: 8px;
  margin-top: 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.08);
  overflow: hidden;
}

.hero-progress-beam {
  display: block;
  width: 120px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #fadc61, #d9ecff);
  animation: beam-slide 2.8s linear infinite;
}

.feature-card {
  padding: 1.2rem;
}

.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.app-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.86rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--input-border);
  font-size: 0.92rem;
  color: var(--title);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.feature-card-copy {
  margin-bottom: 1rem;
  color: var(--soft);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-pill {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--input-border);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--title);
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--accent);
}

.showcase-card {
  margin: 0;
  padding: 1rem;
  align-self: stretch;
}

.showcase-frame {
  position: relative;
  padding: 0.85rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 231, 148, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-strong);
}

.showcase-frame::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 23, 34, 0.05);
  pointer-events: none;
}

.device-screen {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(16, 23, 34, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.device-caption {
  margin-top: 0.8rem;
  color: var(--soft);
}

.page-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.store-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.store-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.store-strip-note {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--soft);
}

.store-buttons {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.store-button {
  min-width: 12.5rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #20262e, #101318);
  border: 1px solid rgba(16, 23, 34, 0.14);
  box-shadow: var(--shadow-soft);
  color: #ffffff;
  text-decoration: none;
}

.store-button--placeholder {
  pointer-events: none;
  opacity: 0.62;
}

.store-button-caption {
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-button-title {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}

.back-link {
  width: fit-content;
  padding: 0.62rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 23, 34, 0.08);
  font-weight: 600;
  color: var(--title);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.page-header {
  display: block;
}

.page-header-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
}

.page-header-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.content-card {
  padding: 1.1rem 1.15rem;
}

.content-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--title);
}

.closing-note {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 23, 34, 0.08);
  box-shadow: var(--shadow-soft);
}

.footer {
  margin-top: auto;
  padding: 1rem 1.05rem;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(249, 231, 148, 0.72), rgba(217, 236, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 23, 34, 0.08);
  text-decoration: none;
  font-weight: 600;
  color: var(--title);
}

.footer-link[aria-current="page"] {
  color: #ffffff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

@keyframes particle-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: var(--particle-min-opacity);
  }

  50% {
    transform: translate3d(var(--particle-drift-x), var(--particle-drift-y), 0) scale(1.2);
    opacity: var(--particle-max-opacity);
  }
}

@keyframes blob-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }

  100% {
    transform: translate3d(1.8rem, 1rem, 0) scale(1.06);
  }
}

@keyframes halo-pulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes beam-slide {
  0% {
    transform: translateX(-140px);
  }

  100% {
    transform: translateX(620px);
  }
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .store-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-card {
    max-width: 31rem;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 1rem, 1060px);
    padding: 0.5rem 0 0.75rem;
  }

  .panel {
    min-height: calc(100vh - 1.25rem);
    padding: 0;
  }

  .topbar,
  .language-tools,
  .footer {
    align-items: flex-start;
  }

  .topbar,
  .footer {
    flex-direction: column;
  }

  .brand-copy {
    gap: 0.2rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .language-tools {
    gap: 0.55rem;
  }

  .page-header-card {
    flex-direction: column;
  }

  .intro-card,
  .feature-card,
  .store-strip,
  .showcase-card,
  .page-header-card,
  .content-card,
  .footer {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-blob,
  .particle,
  .brand-mark-halo,
  .intro-card-halo,
  .hero-progress-beam,
  .language-button {
    animation: none !important;
    transition: none !important;
  }
}
