:root {
  --paper-top: #EBDFD0;
  --paper-bottom: #E5D8C8;
  --paper-card: #F1E7DA;
  --ink: #161410;
  --machine: #675F51;
  --rust: #B3491B;
  --brass: #CA9C47;
  --vinyl: #211B17;
  --stage: #000000;
  --rule: rgba(22, 20, 16, 0.16);
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, var(--paper-top), var(--paper-bottom));
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* grão de papel a 5,5 %, por cima de tudo e sem apanhar o rato */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--machine);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(235, 223, 208, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.wordmark .disc {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--brass) 0 22%, var(--vinyl) 24% 100%);
  display: inline-block;
}

.mini-nav { display: flex; gap: 1.6rem; }

.mini-nav a {
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--machine);
}

.mini-nav a:hover { color: var(--ink); }

.nav-cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--paper-top);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.05rem;
  border-radius: 2px;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  border-radius: 2px;
  border: 1px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.button-primary { background: var(--ink); color: var(--paper-top); }
.button-primary:hover { background: var(--rust); border-color: var(--rust); }

.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: rgba(22, 20, 16, 0.06); }

.button-full { width: 100%; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }

h1 {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

h1 .dot { color: var(--rust); }

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.1;
}

h3 { font-size: 1.15rem; line-height: 1.25; }

/* ---------- hero ---------- */

.hero { padding: 4rem 0 3.5rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-lead {
  margin-top: 1.4rem;
  font-size: 1.1rem;
  max-width: 34rem;
  color: #33302A;
}

.hero-rule {
  width: 72px;
  height: 2px;
  background: var(--rust);
  margin: 1.6rem 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
}

.hero-visual { display: flex; justify-content: center; }

.hero-visual img {
  border: 1px solid var(--rule);
  border-radius: 2px;
  max-height: 760px;
  width: auto;
}

/* ---------- sections ---------- */

.section { padding: 4rem 0; border-top: 1px solid var(--rule); }

.section-head { max-width: 46rem; margin-bottom: 2.6rem; }

.section-head p { margin-top: 1rem; color: #33302A; }

.stage-grid p { margin-top: 1rem; }

.kicker { display: block; margin-bottom: 0.9rem; }

/* ---------- steps ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.step {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1.6rem;
}

.step .num { color: var(--rust); display: block; margin-bottom: 0.7rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: #3A362F; font-size: 0.97rem; }

/* ---------- shots ---------- */

.shots-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.shot img { border: 1px solid var(--rule); border-radius: 2px; }

.shot figure { margin: 0; }

.shot figcaption { margin-top: 0.8rem; }

/* ---------- features ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }

.feature {
  padding: 1.6rem 1.6rem 1.6rem 0;
  border-top: 1px solid var(--rule);
}

.feature:nth-child(even) { padding-left: 1.6rem; padding-right: 0; }

.feature h3 { margin: 0.6rem 0 0.4rem; }
.feature p { color: #3A362F; font-size: 0.97rem; }

/* ---------- stage (dark band) ---------- */

.stage {
  background: var(--stage);
  color: var(--paper-top);
  border-top: none;
}

.stage h2 { color: var(--paper-top); margin-bottom: 1rem; }
.stage p { color: #C9C1B5; }
.stage .mono { color: var(--brass); }

.stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stage-list { list-style: none; margin-top: 1.4rem; }

.stage-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(235, 223, 208, 0.16);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9C1B5;
}

/* ---------- pricing ---------- */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.price-card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1.8rem;
}

.price-card.is-pro { border-color: var(--rust); }

.price-card .amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-variant-numeric: lining-nums;
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}

.price-card ul { list-style: none; }

.price-card li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: #3A362F;
}

.price-card li:first-child { border-top: none; }

/* ---------- download ---------- */

.download-shell { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }

.download-copy p { margin-top: 1rem; color: #33302A; }

.download-card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1.7rem;
}

.download-app { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.download-app img { border-radius: 2px; border: 1px solid var(--rule); }
.download-app p { color: var(--machine); font-size: 0.9rem; }

.download-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--rule); padding: 2rem 0; }

.footer-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }

.footer-links { display: flex; gap: 1.4rem; }

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--rust); }

/* ---------- legal / support pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }

.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin-bottom: 0.5rem; }

.legal .updated { margin-bottom: 2.4rem; }

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
}

.legal p { margin-bottom: 1rem; color: #33302A; }
.legal ul { margin: 0 0 1rem 1.3rem; color: #33302A; }
.legal li { margin-bottom: 0.45rem; }
.legal a { color: var(--rust); font-weight: 600; }
.legal .lede { font-size: 1.1rem; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .download-shell, .stage-grid, .price-grid { grid-template-columns: 1fr; }
  .steps-grid, .shots-row { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding-left: 0; padding-right: 0; }
  .mini-nav { display: none; }
}

@media (max-width: 620px) {
  .steps-grid, .shots-row { grid-template-columns: 1fr; }
}
