/* MiFinanz marketing landing — soft-UI tokens, light only */
:root {
  --base: #EEF0F5;
  --shadow-d: #d1d5de;
  --shadow-l: #ffffff;
  --text: #0B1220;
  --text-2: #4A5363;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --navy-3: #334155;
  --positive: #047857;
  --card-r: 24px;
  --max: 1120px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--base);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: min(100% - 64px, var(--max)); } }

/* Raised soft card */
.card {
  background: var(--base);
  border-radius: var(--card-r);
  box-shadow: 8px 8px 16px var(--shadow-d), -8px -8px 16px var(--shadow-l);
}
.card-sm {
  background: var(--base);
  border-radius: 20px;
  box-shadow: 4px 4px 8px var(--shadow-d), -4px -4px 8px var(--shadow-l);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: color-mix(in srgb, var(--base) 82%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--shadow-d) 55%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .mi { font-weight: 500; color: var(--text-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; border-radius: 999px; padding: 3px;
  box-shadow: inset 3px 3px 6px var(--shadow-d), inset -3px -3px 6px var(--shadow-l);
  background: var(--base);
}
.lang a {
  text-decoration: none; font-size: 0.8125rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; color: var(--text-2);
}
.lang a[aria-current="true"] {
  background: var(--navy); color: #fff;
  box-shadow: 3px 3px 8px #c4c9d4, -2px -2px 6px #ffffff;
}
.btn-nav {
  display: none; text-decoration: none; font-weight: 600; font-size: 0.875rem;
  color: #fff; background: var(--navy); padding: 10px 16px; border-radius: 999px;
  box-shadow: 3px 3px 8px #c4c9d4, -3px -3px 8px #ffffff;
}
@media (min-width: 720px) { .btn-nav { display: inline-flex; } }

/* Hero */
.hero {
  padding: 48px 0 32px;
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-block: 24px 8px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--positive) 18%, transparent);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 780;
  color: var(--text);
}
.hero .sub {
  margin: 0 0 28px; max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-2); line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.store-badge {
  display: inline-flex;
  text-decoration: none;
  border-radius: 8px;
}
.store-badge img { height: 48px; width: auto; }
.store-badge:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 22px; color: var(--text-2); font-size: 0.875rem; font-weight: 550;
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 16px; height: 16px; flex: none; color: var(--positive); }
.store-note {
  margin: 14px 0 0;
  max-width: 34rem;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 550;
}

/* Phone stack */
.phones {
  position: relative; height: 520px; margin-inline: auto; max-width: 520px;
}
@media (min-width: 960px) { .phones { height: 580px; } }
.phone {
  position: absolute; width: 220px;
  border-radius: 36px; padding: 10px;
  background: linear-gradient(160deg, #1e293b, #0f172a 55%, #334155);
  box-shadow:
    12px 18px 36px rgba(15,23,42,.28),
    -6px -8px 18px rgba(255,255,255,.55),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  width: 72px; height: 18px; border-radius: 999px; background: #0b1220; z-index: 2;
}
.phone img {
  width: 100%; border-radius: 26px; background: #EEF0F5;
  aspect-ratio: 780 / 1688; object-fit: cover; object-position: top;
}
.phone-main { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; width: 240px; }
.phone-left { left: 0; top: 70px; transform: rotate(-8deg); z-index: 2; opacity: .98; }
.phone-right { right: 0; top: 70px; transform: rotate(8deg); z-index: 1; opacity: .98; }
@media (max-width: 959px) {
  .hero { padding-bottom: 16px; }
  .phones { height: 460px; max-width: 360px; margin-top: 8px; }
  .phone { width: 168px; border-radius: 28px; padding: 8px; }
  .phone::before { width: 56px; height: 14px; top: 11px; }
  .phone img { border-radius: 20px; }
  .phone-main { width: 190px; }
  .phone-left, .phone-right { top: 56px; }
}

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 40px; }
.section-head h2 {
  margin: 0 0 12px; font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  letter-spacing: -0.03em; font-weight: 750; line-height: 1.15;
}
.section-head p { margin: 0; color: var(--text-2); font-size: 1.05rem; }

.features {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .features { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature { padding: 28px 24px; }
.clay {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 4px 4px 8px var(--shadow-d), -4px -4px 8px var(--shadow-l),
    inset 1px 1px 1px rgba(255,255,255,.85), inset -2px -3px 5px rgba(15,23,42,.08);
}
.clay svg { width: 24px; height: 24px; }
.clay-spend { background: linear-gradient(145deg, #DDEBFF, #B5D3FF); color: #1E3A8A; }
.clay-day { background: linear-gradient(145deg, #D7F6E7, #A6E8C8); color: #064E3B; }
.clay-goals { background: linear-gradient(145deg, #FFF2CC, #FFDD8A); color: #7C2D12; }
.feature h3 { margin: 0 0 8px; font-size: 1.125rem; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--text-2); font-size: 0.975rem; }

/* How it works */
.steps {
  display: grid; gap: 16px; counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.step {
  padding: 24px; position: relative;
}
.step-num {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 750; font-size: 0.95rem; color: #fff; background: var(--navy);
  margin-bottom: 14px;
  box-shadow: 3px 3px 8px #c4c9d4, -2px -2px 6px #fff;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* Privacy */
.privacy-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .privacy-grid { grid-template-columns: repeat(3, 1fr); } }
.privacy-item { padding: 22px 22px; display: flex; gap: 14px; align-items: flex-start; }
.privacy-item .ico {
  flex: none; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(145deg, #ECE4FF, #D0C0FF); color: #4C1D95;
  box-shadow: 4px 4px 8px var(--shadow-d), -4px -4px 8px var(--shadow-l),
    inset 1px 1px 1px rgba(255,255,255,.85), inset -2px -3px 5px rgba(15,23,42,.08);
}
.privacy-item .ico.eu { background: linear-gradient(145deg, #DDEBFF, #B5D3FF); color: #1E3A8A; }
.privacy-item .ico.noads { background: linear-gradient(145deg, #FFE0E7, #FFBACB); color: #881337; }
.privacy-item h3 { margin: 0 0 4px; font-size: 1rem; }
.privacy-item p { margin: 0; color: var(--text-2); font-size: 0.92rem; }
.privacy-note {
  max-width: 46rem;
  margin: 28px auto 0;
  text-align: center;
  color: var(--text-2);
  font-size: 0.95rem;
}

/* Pricing */
.price-note {
  text-align: center; color: var(--text-2); font-size: 0.9rem; margin: -20px auto 28px; max-width: 36rem;
}
.plans {
  display: grid; gap: 20px; align-items: stretch;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; } }
.plan { padding: 28px 26px; position: relative; }
.plan.pro {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 52%, #334155 100%);
  color: #F3F5F9;
  box-shadow: 10px 10px 22px #c4c9d4, -8px -8px 18px #ffffff, inset 0 1px 0 rgba(255,255,255,.14);
}
.plan.pro .muted { color: #A9B2C1; }
.plan.pro li { color: #E8ECF3; }
.badge-pro {
  display: inline-flex; font-size: 0.75rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #bae6fd; margin-bottom: 12px;
}
.plan h3 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -0.02em; }
.plan .price {
  font-size: 2rem; font-weight: 780; letter-spacing: -0.03em; margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}
.plan .price small { font-size: 1rem; font-weight: 600; opacity: .85; }
.plan .muted { color: var(--text-2); font-size: 0.9rem; margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start;
  font-size: 0.95rem;
}
.plan li svg { margin-top: 3px; color: var(--positive); }
.plan.pro li svg { color: #4ade80; }
.currencies {
  margin-top: 28px; padding: 18px 20px; text-align: center; font-size: 0.88rem; color: var(--text-2);
}
.currencies strong { color: var(--text); font-weight: 650; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq details {
  padding: 4px 20px; border-radius: 18px;
  box-shadow: 4px 4px 8px var(--shadow-d), -4px -4px 8px var(--shadow-l);
  background: var(--base);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.25rem; font-weight: 500; color: var(--text-2);
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 16px; color: var(--text-2); font-size: 0.95rem; padding-right: 24px;
}

/* Final CTA */
.cta-band {
  padding: 40px 32px; text-align: center;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 52%, #334155 100%);
  color: #F3F5F9;
  box-shadow: 10px 10px 22px #c4c9d4, -8px -8px 18px #ffffff, inset 0 1px 0 rgba(255,255,255,.14);
  border-radius: 28px;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.03em; }
.cta-band p { margin: 0 0 22px; color: #A9B2C1; max-width: 32rem; margin-inline: auto; }
.cta-band .store-badge { display: inline-flex; justify-content: center; }
.cta-band .store-note {
  margin: 16px auto 0;
  color: #A9B2C1;
  max-width: 32rem;
}
.cta-band .store-badge img {
  /* invert for dark navy CTA — use white badge look via filter if black SVG */
  filter: invert(1) brightness(1.1);
}

/* Footer */
.footer {
  padding: 48px 0 36px; color: var(--text-2); font-size: 0.9rem;
  border-top: 1px solid color-mix(in srgb, var(--shadow-d) 50%, transparent);
  margin-top: 24px;
}
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-start;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer a { color: var(--text-2); text-decoration: none; font-weight: 550; }
.footer a:hover { color: var(--text); }
.footer .copy { margin-top: 28px; font-size: 0.82rem; }

/* Reveal (gentle; documented for Marketing agent) */
html.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
html.js .reveal.in { opacity: 1; transform: none; }

.skip {
  position: absolute; left: -9999px; top: auto;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
