@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f3ef;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #172019;
  --muted: #556159;
  --line: rgba(23, 32, 25, 0.1);
  --brand: #2b7a57;
  --brand-strong: #1f5e42;
  --accent: #dbeadf;
  --shadow: 0 22px 70px rgba(23, 32, 25, 0.08);
  --shadow-strong: 0 28px 90px rgba(23, 32, 25, 0.14);
  --radius: 30px;
  --radius-sm: 18px;
  --container: 1120px;
  --section-gap: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(207, 233, 219, 0.95), transparent 24%),
    radial-gradient(circle at top right, rgba(246, 229, 197, 0.85), transparent 23%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 32%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(244, 243, 239, 0.74);
  border-bottom: 1px solid rgba(23, 32, 25, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.nav nav { display: flex; gap: 1rem; align-items: center; color: var(--muted); flex-wrap: wrap; }

/* --- Brand logo --- */
.brand { font-weight: 800; letter-spacing: -0.03em; }
.brand-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: normal;
  color: var(--text);
}
.brand-logo-accent { color: var(--brand); }

/* Breadcrumb */
.brand-sep { color: var(--muted); opacity: 0.4; margin: 0 0.35rem; font-weight: 400; }
.brand-app { font-weight: 700; letter-spacing: -0.02em; color: var(--brand); }

/* --- Lang switch --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 25, 0.08);
  background: rgba(255, 255, 255, 0.62);
}
.lang-switch a {
  min-width: 44px;
  min-height: 36px;
  padding: 0 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.lang-switch a.is-active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(23, 32, 25, 0.08);
}

/* --- Typography --- */
.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.04em; }
h1 { font-size: clamp(3.2rem, 7vw, 5.9rem); max-width: 11ch; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); margin-top: 0; }
h3 { font-size: 1.15rem; }
p, li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.lead { font-size: 1.18rem; max-width: 40rem; }

/* --- Sections --- */
.hero { padding: var(--section-gap) 0; }
.benefits, .screens, .audience-section, .closing-cta { padding: var(--section-gap) 0; }
.legal-page { padding: var(--section-gap) 0; }

/* --- Grid systems --- */
.hero-grid, .benefit-grid, .footer-grid, .screen-grid, .audience-panel, .closing-card { display: grid; gap: 1.5rem; }
.single-column, .footer-single { grid-template-columns: 1fr; }
.hero-layout, .audience-panel, .closing-card { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); }
.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }


/* --- App icon --- */
.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: block;
  margin-bottom: 1.5rem;
  box-shadow: 0 24px 48px rgba(23, 32, 25, 0.2);
  border: 1px solid rgba(23, 32, 25, 0.08);
}

/* --- Buttons --- */
.hero-actions, .closing-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin: 2rem 0 1rem; justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.3rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--brand); color: white; box-shadow: 0 18px 38px rgba(43, 122, 87, 0.22); }
.button.primary:hover { background: var(--brand-strong); }
.button.secondary { border-color: var(--line); background: rgba(255, 255, 255, 0.7); }

/* --- Store badges --- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem 0.55rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  font-family: inherit;
  transition: transform 150ms ease, box-shadow 150ms ease;
  min-height: 52px;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge svg { flex-shrink: 0; }
.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-badge-text small {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.store-badge-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.store-badge-apple {
  background: #000;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.store-badge-apple:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); }
.store-badge-google {
  background: #000;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.store-badge-google:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); }
.store-badge-webapp {
  background: #000;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.store-badge-webapp:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); }
.store-badge-soon {
  background: var(--surface-strong);
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: default;
}
.store-badge-soon:hover { transform: none; }

/* --- Chips --- */
code { padding: 0.15rem 0.35rem; border-radius: 8px; background: rgba(23, 32, 25, 0.06); }
.chip-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 25, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}
.chip-platform { color: var(--muted); font-weight: 500; }
.chip-platform svg { opacity: 0.6; }

/* --- Cards --- */
.hero-panel,
.benefit-grid article,
.prose,
.screen-card,
.audience-panel,
.closing-card,
.mini-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy { padding-right: 1rem; }
.hero-intro {
  display: flex;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 0.25rem;
}
.hero-intro .app-icon { margin-bottom: 0; flex-shrink: 0; }
.hero-intro .eyebrow { margin-top: 0.5rem; }
.hero-intro h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  align-self: start;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.66));
  box-shadow: var(--shadow-strong);
}
.mini-card {
  background: rgba(255, 255, 255, 0.82);
  padding: 1.1rem 1.25rem;
}
.mini-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.mini-card strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.hero-link {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-link:hover { color: var(--brand); }
.hero-note {
  max-width: 38rem;
  font-size: 0.96rem;
}

/* --- Screenshots --- */
.screen-card img {
  width: 100%;
  display: block;
  border-radius: 22px;
  margin-bottom: 1rem;
  border: 1px solid rgba(23, 32, 25, 0.08);
  background: white;
}
.screen-card p { margin-bottom: 0; }
.screens-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.screens-heading p { margin: 0; max-width: 34rem; }

/* --- Audience & Closing --- */
.audience-panel,
.closing-card {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
}
.audience-copy p,
.closing-card p { margin: 0; }

/* --- Footer --- */
.site-footer {
  padding: 3rem 0 3.5rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand p { margin: 0.25rem 0 0; font-size: 0.92rem; }
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-links a:hover { color: var(--brand); }
.footer-inner .chip-row { margin: 0; }
.footer-inner .chip { min-height: 32px; font-size: 0.78rem; padding: 0 0.65rem; }

/* --- Made in Europe banner --- */
.made-in-europe {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.eu-flag { font-size: 1.1em; }
.heart { color: var(--brand); font-size: 1.1em; }

/* --- Legal pages --- */
.prose { max-width: 840px; }
.prose ul { padding-left: 1.2rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: none; margin-bottom: 1.5rem; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose p { margin-top: 0; }

/* --- Portal page --- */
.portal-hero { text-align: center; padding-bottom: 3rem; }
.portal-hero h1 { max-width: 18ch; margin: 0 auto; }
.portal-hero .lead { max-width: 38rem; margin: 1rem auto 0; }
.portal-apps { padding: 0 0 var(--section-gap); }
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.app-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease;
  text-decoration: none;
  color: inherit;
}
.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}
.app-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 12px 28px rgba(23, 32, 25, 0.12);
  border: 1px solid rgba(23, 32, 25, 0.08);
}
.app-card-copy { min-width: 0; }
.app-card-copy h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.app-card-tagline {
  font-size: 0.92rem;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.4;
}
.app-card-desc { margin: 0.5rem 0 0; font-size: 0.9rem; line-height: 1.5; }

/* Value cards */
.app-card-value {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
  cursor: default;
}
.app-card-value:hover { transform: none; box-shadow: none; }
.value-icon { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }

/* Skeleton card */
.app-card-skeleton {
  border-style: dashed;
  border-color: rgba(23, 32, 25, 0.08);
  background: transparent;
  box-shadow: none;
  cursor: default;
  opacity: 0.55;
}
.app-card-skeleton:hover { transform: none; box-shadow: none; }
.skeleton-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(23, 32, 25, 0.06);
  flex-shrink: 0;
}
.skeleton-lines { display: flex; flex-direction: column; gap: 0.5rem; }
.skeleton-lines span {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(23, 32, 25, 0.06);
}
.skeleton-lines span:first-child { width: 80%; }
.skeleton-lines span:last-child { width: 55%; }
.app-card .chip-row { margin: 0.5rem 0 0; }
.app-card .chip { min-height: 30px; font-size: 0.78rem; padding: 0 0.6rem; }
.app-card-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.app-card-badges .store-badge {
  min-height: 36px;
  padding: 0.3rem 0.8rem 0.3rem 0.55rem;
  border-radius: 10px;
  font-size: 0.85rem;
}
.app-card-badges .store-badge svg { width: 13px; height: 15px; }
.app-card-badges .store-badge-text { font-size: 0.82rem; }
.app-card-badges .store-badge-text small { font-size: 0.55rem; }

/* --- Responsive --- */
@media (max-width: 920px) {
  :root { --section-gap: 1rem; }
  .hero-layout,
  .benefit-grid,
  .footer-grid,
  .screen-grid,
  .audience-panel,
  .closing-card { grid-template-columns: 1fr; }
  .nav { padding: 0.8rem 0; flex-wrap: wrap; }
  .hero-copy { padding-right: 0; }
  .hero-intro { flex-direction: column; }
  h1 { max-width: none; }
  .screens-heading { align-items: start; flex-direction: column; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { flex-direction: column; align-items: center; text-align: center; }
  .app-card .chip-row { justify-content: center; }
  .app-card-badges { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: start; }
}
