:root {
  --ink: #17304a;
  --muted: #5e7183;
  --sky: #e8f8ff;
  --aqua: #2eafbb;
  --aqua-dark: #087b88;
  --coral: #ff746b;
  --yellow: #ffd465;
  --paper: #fffefa;
  --line: rgba(23, 48, 74, 0.12);
  --shadow: 0 18px 50px rgba(23, 48, 74, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: var(--aqua-dark); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.9);
  backdrop-filter: blur(18px);
}
.nav { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { color: var(--ink); font-size: 1.05rem; font-weight: 850; text-decoration: none; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.language { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.hero { padding: 72px 0 48px; background: linear-gradient(180deg, var(--sky), var(--paper)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 48px; }
.hero-grid > *, .app-card > * { min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--aqua-dark); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 5.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
.lead { width: 100%; max-width: 640px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); overflow-wrap: anywhere; }
.hero-art { width: 100%; min-width: 0; border-radius: 36px; box-shadow: var(--shadow); aspect-ratio: 1.91 / 1; object-fit: cover; }
.actions, .store-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 14px; background: var(--ink); color: white; font-weight: 800; text-decoration: none; }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.section { padding: 72px 0; }
.section.soft { background: #f4fbfb; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { color: var(--muted); }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.app-card { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 10px 35px rgba(23,48,74,.07); }
.app-card.featured { background: linear-gradient(145deg, #ebfbff, #fff7e1); }
.app-card.lienzos-card { background: linear-gradient(145deg, #f3ead6, #edf6ef); }
.app-icon { width: 112px; height: 112px; border-radius: 25%; object-fit: cover; box-shadow: 0 10px 25px rgba(23,48,74,.16); }
.app-card h3 { margin: 2px 0 8px; font-size: 1.55rem; }
.app-card p { margin: 0; color: var(--muted); }
.tag { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(46,175,187,.12); color: var(--aqua-dark); font-size: .78rem; font-weight: 850; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { padding: 24px; border-radius: 22px; background: white; border: 1px solid var(--line); }
.trust-item strong { display: block; margin-bottom: 6px; font-size: 1.1rem; }
.gallery-section { background: linear-gradient(180deg, #fffefa, #f7f1e6); }
.showcases { display: grid; gap: 34px; }
.showcase { padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); overflow: hidden; }
.showcase-copy { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.showcase-copy h3 { margin: 0 0 5px; font-size: 1.7rem; }
.showcase-copy p { margin: 0; color: var(--muted); }
.showcase-icon { width: 68px; height: 68px; border-radius: 22%; object-fit: cover; box-shadow: 0 8px 20px rgba(23,48,74,.14); }
.screenshot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 26px); max-width: 850px; margin-inline: auto; align-items: start; }
.screenshot-row img { width: 100%; border-radius: clamp(15px, 2.5vw, 26px); border: 1px solid rgba(23,48,74,.13); box-shadow: 0 14px 35px rgba(23,48,74,.15); }
.page-hero { padding: 64px 0 36px; background: linear-gradient(180deg, var(--sky), var(--paper)); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.document { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 80px; }
.document h2 { margin-top: 46px; font-size: 1.65rem; }
.document h3 { margin-top: 30px; }
.document p, .document li { color: #43596d; }
.notice { padding: 18px 20px; border-left: 5px solid var(--aqua); border-radius: 0 16px 16px 0; background: #eefafa; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { padding-top: 48px; }
  .hero-grid, .apps { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .screenshot-row { gap: 10px; }
  .nav-links a:not(.language) { display: none; }
}
@media (max-width: 520px) {
  .wrap { width: min(calc(100% - 28px), 1120px); }
  .app-card { grid-template-columns: 78px 1fr; gap: 16px; padding: 19px; }
  .app-icon { width: 78px; height: 78px; border-radius: 20%; }
  .store-links { grid-column: 1 / -1; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .showcase-copy { align-items: flex-start; }
}
