:root {
  color-scheme: light;
  --ink: #080d2f;
  --text: #52616a;
  --muted: #8a9aa2;
  --line: rgba(45, 68, 80, 0.12);
  --blue-glass: #d7e9ef;
  --blue-strong: #6fa0aa;
  --paper: rgba(255, 255, 255, 0.72);
  --background: #f4fafb;
  --shadow: 0 28px 80px rgba(29, 52, 64, 0.13);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 233, 239, 0.74), transparent 32%),
    linear-gradient(135deg, #f8fbfc 0%, #edf6f8 44%, #f7fbfb 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  backdrop-filter: blur(22px);
  background: rgba(246, 251, 252, 0.78);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.language-switch button {
  appearance: none;
  border: 0;
  min-width: 38px;
  height: 30px;
  border-radius: 9px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button.is-active {
  color: white;
  background: var(--ink);
}

.lang {
  display: inline;
}

body[data-language="pt"] .lang-en,
body[data-language="en"] .lang-pt {
  display: none;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: 66px 0 44px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 620px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 570;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid transparent;
}

.primary-button {
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(8, 13, 47, 0.18);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.84);
}

.hero-panel {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-panel .app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-panel span {
  color: var(--text);
  line-height: 1.45;
  font-weight: 620;
}

.screenshot-band {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  padding: 24px 0 72px;
}

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: top;
}

.screenshot-card.large img {
  height: 560px;
}

figcaption {
  color: var(--text);
  padding: 16px 18px 18px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.4;
}

.features {
  padding: 58px 0 74px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 194px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--blue-glass);
  font-size: 12px;
  font-weight: 850;
}

.feature-grid p,
.privacy p,
.support p {
  color: var(--text);
  line-height: 1.58;
  font-weight: 590;
}

.privacy,
.support {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  margin: 20px 0;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.support {
  grid-template-columns: 1fr auto;
  margin-bottom: 72px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 680;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .screenshot-band,
  .feature-grid,
  .privacy,
  .support {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .screenshot-card img,
  .screenshot-card.large img {
    height: 440px;
  }

  .support .primary-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 42px;
  }

  .hero-panel {
    grid-template-columns: 70px 1fr;
    padding: 18px;
  }

  .hero-panel .app-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
  }

  .privacy,
  .support {
    padding: 22px;
  }

  footer {
    flex-direction: column;
  }
}
