:root {
  color-scheme: light;
  --green: #064631;
  --ink: #192a21;
  --muted: #52665a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); line-height: 1.6; }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a { text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
section, footer { scroll-margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 2; padding: 12px 18px; background: white; color: var(--green); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
header { background: var(--green); color: white; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: .9rem; font-weight: 700; }
.brand-icon { display: block; width: 36px; height: auto; flex-shrink: 0; }
.nav nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nav nav a { padding-block: 8px; color: #e3f2e8; font-size: .875rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.hero { background: linear-gradient(125deg, #064631, #07523b); color: white; }
.hero-grid { display: grid; gap: 28px; padding-block: 44px 38px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: #b8dfc8; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; }
h1, h2, h3, p { overflow-wrap: break-word; }
.hero h1 { font-size: clamp(2.1rem, 8.7vw, 3.25rem); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 22px; font-weight: 700; }
.word-slot { display: inline-grid; vertical-align: baseline; color: #c8edb7; }
.word-slot::after { content: 'Hinário'; visibility: hidden; grid-area: 1 / 1; }
.word { grid-area: 1 / 1; transition: opacity 200ms ease; }
.word.fade { opacity: 0; }
.sub { color: #d4e8dc; font-size: 1rem; max-width: 45ch; margin: 0 0 26px; }
.download { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; padding: 14px 18px; border: 1px solid transparent; border-radius: 8px; background: white; color: var(--green); font-size: .9375rem; font-weight: 700; line-height: 1.5; text-decoration: none; text-align: center; transition: background-color 160ms ease; }
.download:not([aria-disabled="true"]):hover { background: #e1efe5; }
.download[aria-disabled="true"] { cursor: not-allowed; background: #e4ebe6; color: #4b6053; border-color: #bdcfc3; }
.download-status { margin: 12px 0 0; font-size: .8125rem; color: #d4e8dc; }
.fine { color: #c8dfd2; font-size: .8125rem; margin: 12px 0 0; }
.visual { position: relative; width: min(100%, 390px); aspect-ratio: 13 / 17; margin: 12px auto 0; isolation: isolate; }
.phone { position: absolute; width: 51%; background: #20372b; border: 4px solid #20372b; border-radius: 18px; box-shadow: 0 14px 28px #002b1c40; overflow: hidden; }
.phone img { display: block; width: 100%; height: auto; }
.front { left: 6%; top: 9%; z-index: 1; transform: rotate(-5deg); }
.back { right: 6%; top: 2%; transform: rotate(6deg); }
.features-section { padding-block: 56px; }
.features-section .eyebrow, .install .eyebrow { color: #426650; }
h2 { font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.25; letter-spacing: -.03em; margin: 0; }
.features { display: grid; gap: 30px; margin-top: 32px; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #edf4ef; color: var(--green); border-radius: 10px; }
.features h3 { font-size: 1rem; line-height: 1.4; margin: 14px 0 6px; }
.features p { font-size: .9375rem; color: var(--muted); margin: 0; max-width: 28ch; }
.install { background: #f4f7f4; padding-block: 52px; }
.install-inner { max-width: 720px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding-block: 22px; }
.steps li + li { border-top: 1px solid #dce6df; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; align-self: start; width: 36px; height: 36px; border: 1px solid #cdded2; border-radius: 50%; color: var(--green); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1rem; margin: 3px 0 5px; line-height: 1.5; }
.steps p { color: var(--muted); font-size: .9375rem; margin: 0; }
.download-cta { text-align: center; border-top: 1px solid #dce6df; padding-top: 32px; margin-top: 10px; }
.download-cta h3 { font-size: 1.2rem; margin: 0 0 18px; }
.download-primary { background: var(--green); color: white; }
.download-primary:not([aria-disabled="true"]):hover { background: #0a5e42; }
.download-cta .download-status { color: var(--muted); }
.muted { color: var(--muted); font-size: .8125rem; }
.official-note { text-align: center; margin: 24px 0 0; }
footer { background: #063e2d; color: #d6e8dc; }
.foot { display: flex; flex-direction: column; gap: 16px; padding-block: 28px; font-size: .8125rem; }
footer a { color: inherit; }

@media (min-width: 380px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
}
@media (min-width: 640px) {
  .wrap { width: min(1100px, calc(100% - 64px)); }
  .brand { font-size: 1rem; }
  .hero-grid { padding-block: 56px; }
  .hero h1 { max-width: 17ch; }
  .features-section { padding-block: 72px; }
  .features { gap: 36px; margin-top: 40px; }
  .install { padding-block: 64px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 24px; }
  .steps li::before { width: 40px; height: 40px; }
  .foot { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 56px; min-height: 560px; }
  .hero h1 { font-size: clamp(3rem, 4.3vw, 3.65rem); }
  .visual { margin: 0 auto; }
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
