:root {
  --ink: #0b1f3a;
  --ink-soft: rgba(11, 31, 58, 0.72);
  --ink-faint: rgba(11, 31, 58, 0.55);
  --paper: #f3f7fb;
  --paper-2: #e8f1f8;
  --sky: #d7e9f6;
  --white: #ffffff;
  --accent: #1565c0;
  --accent-bright: #1e88e5;
  --cyan-400: #0288d1;
  --line: rgba(11, 31, 58, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
  --page-pad: 1.5rem;
  /* Shared right column — same left edge for hero + all sections */
  --copy-width: 34rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-bright);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.85rem 1.25rem;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  color: var(--ink);
}

.site-header .brand-name {
  color: var(--ink);
}

.site-header .brand-name span {
  color: var(--accent);
}

.site-header .nav a {
  color: var(--ink-faint);
}

.site-header .nav a:hover {
  color: var(--ink);
}

.site-header .lang-select {
  appearance: none;
  background-color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(11, 31, 58, 0.16);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231565C0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  cursor: pointer;
}

.site-header .menu-toggle {
  border-color: rgba(11, 31, 58, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

.site-header.is-scrolled {
  background: rgba(243, 247, 251, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.95rem;
  transition: color 0.2s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-bright);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(11, 31, 58, 0.22);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
}

.btn-header {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 1rem auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  z-index: 49;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.1);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  color: var(--ink-soft);
}

.mobile-nav a:hover {
  background: rgba(30, 136, 229, 0.08);
  color: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  /* Smaller than full viewport so the art (incl. left icons) stays readable */
  min-height: min(68vh, 620px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  background: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prefer left side so vertical icons stay in view */
  object-position: left center;
  transform: none;
  animation: none;
}

/* Soft wash only where our HTML copy sits (right), leave left art visible */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 42%,
    rgba(243, 247, 251, 0.35) 58%,
    rgba(243, 247, 251, 0.82) 72%,
    rgba(243, 247, 251, 0.94) 100%
  );
}

/* Shared page shell — identical for hero and sections */
.hero-content,
.section-inner {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  /* Same 2-column track: empty left | copy column */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--copy-width));
  align-items: start;
}

.hero-content {
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
  align-items: center;
}

.copy-col {
  grid-column: 2;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
}

@media (max-width: 767px) {
  .hero-content,
  .section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .copy-col,
  .about-visual,
  .about-copy {
    grid-column: 1;
  }
}

.hero-brand {
  width: min(160px, 42vw);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 24px rgba(11, 31, 58, 0.18));
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--ink);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.22s forwards;
}

.hero-sub {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.34s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.46s forwards;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.25rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.58s forwards;
}

.store-badges--cta {
  margin-top: 1.5rem;
  opacity: 1;
  animation: none;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  cursor: default;
  user-select: none;
}

.store-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.store-badge--play img {
  height: 58px;
  margin: -9px -10px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Shared section helpers —— */
.section {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.sketch-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sketch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.sketch-shade--right {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 36%,
    rgba(243, 247, 251, 0.45) 55%,
    rgba(243, 247, 251, 0.9) 72%,
    rgba(243, 247, 251, 0.97) 100%
  );
}

/* Promise */
.promise {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--line);
}

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

.promise-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.promise-grid p {
  margin: 0;
  color: var(--ink-soft);
}

/* Features */
.features {
  background: var(--paper);
  border-top: 1px solid var(--line);
  min-height: 70vh;
}

.feature-head {
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.feature-list li.is-in {
  opacity: 1;
  transform: none;
}

.feature-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  padding-top: 0.2rem;
  min-width: 2ch;
}

.feature-list h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.feature-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* How */
.how {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.how-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.how-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.how-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: rgba(30, 136, 229, 0.06);
}

.how-steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.how-steps p {
  margin: 0;
  color: var(--ink-soft);
}

/* About */
.about {
  background: var(--paper-2);
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.about-layout {
  /* inherits grid from .section-inner; visual | copy */
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  grid-column: 1;
  justify-self: stretch;
}

.about-copy {
  grid-column: 2;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: left 35%;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(232, 241, 248, 0.85));
  pointer-events: none;
}

.values {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.values li {
  padding-left: 1rem;
  border-left: 2px solid var(--accent-bright);
}

.values strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.values span {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.mission {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
}

.mission + .mission {
  margin-top: 0.85rem;
}

/* CTA */
.cta-band {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.cta-band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 70%;
}

.cta-band-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 36%,
    rgba(243, 247, 251, 0.4) 55%,
    rgba(243, 247, 251, 0.88) 72%,
    rgba(243, 247, 251, 0.96) 100%
  );
}

.cta-band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  letter-spacing: -0.025em;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

/* Contact */
.contact {
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* Footer */
.site-footer {
  padding: 2.25rem var(--page-pad) 2.75rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-copy {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.footer-copy a:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .btn-header {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    min-height: min(72vh, 680px);
  }

  .hero-content {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .how-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.25rem;
  }

  .how-steps li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .how-num {
    margin-bottom: 0;
  }

  .about-layout {
    gap: 2.5rem;
  }

  .about-visual {
    min-height: 480px;
  }

  .about-copy {
    width: 100%;
    max-width: none;
  }

  .about-visual img {
    min-height: 480px;
  }

  .feature-list li {
    grid-template-columns: 3rem 1fr;
    padding: 1.4rem 0;
  }

  .sketch-media img {
    object-position: 12% center;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-pad: 1.5rem;
    --copy-width: 34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-brand,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .store-badges,
  .feature-list li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
