/* The public site: wide sections on a phone-first base. */
body.site { background: var(--paper); }
.site-header { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--gutter); max-width: 1180px; margin: 0 auto; }
.site-header .wordmark { margin-right: auto; min-height: var(--tap); }
/* The header holds the wordmark, Log in and one button on a 320px phone, in either language, never on two lines. */
.site-header .btn { white-space: nowrap; }
@media (max-width: 399px) {
  .site-header { gap: var(--space-3); }
  .site-header .btn { padding-inline: var(--space-3); font-size: 14px; }
}
@media (max-width: 359px) {
  .site-header .wordmark-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-nav { display: none; gap: var(--space-4); font-size: 15px; font-weight: 700; }
.site-nav a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; }
.site-login { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-1); font-weight: 700; font-size: 15px; text-decoration: none; }
.site-band { max-width: 1180px; margin: 0 auto; padding: var(--band) var(--gutter); display: flex; flex-direction: column; gap: var(--space-4); }
.site-band h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; text-wrap: balance; }
.site-band h3 { margin: var(--space-1-5) 0 var(--space-1); font-size: 19px; }
.site-band p { margin: 0; line-height: 1.5; }
.site-dark { max-width: none; background: var(--ink); color: var(--paper); padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
.site-dark > * { width: 100%; max-width: 1180px; margin: 0 auto; }
.muted-on-dark { color: #AEB7BE; }
/* Bands run edge to edge; their content stays in the same centred 1180px column as everything else. */
.site-hero { padding: var(--space-5) max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))) var(--band); display: grid; gap: var(--space-5); background: var(--sky); }
.site-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 0.95; text-wrap: balance; }
.site-lead { font-size: 19px; line-height: 1.45; margin: var(--space-3) 0 var(--space-4); }
.btn-big { min-height: 52px; font-size: 17px; }
.eyebrow-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: var(--space-2); vertical-align: 1px; }
.site-hero-art svg, .site-chart svg { width: 100%; height: auto; display: block; }
.site-split { display: grid; gap: var(--space-5); }
.site-col { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.site-steps { display: grid; gap: var(--space-5); }
.step-number { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); align-items: center; justify-content: center; font-weight: 700; }
.step-number-signal { background: var(--signal); color: var(--on-signal); }
.stop-list { list-style: none; margin: 0; padding: 0; }
.stop-list li { display: flex; justify-content: space-between; padding: var(--space-4) 0; border-bottom: 1px solid #2C3238; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.stop-list b { color: var(--signal); }
.why-list { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); line-height: 1.5; }
.center { text-align: center; }
.passes { display: grid; gap: var(--space-4); }
.pass { border: var(--border) solid var(--ink); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.pass-head { padding: var(--space-3) var(--card-pad); font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; color: var(--paper); display: flex; justify-content: space-between; }
.pass-head small { font-size: 13px; }
.pass-head-green { background: var(--green); } .pass-head-ink { background: var(--ink); } .pass-head-signal { background: var(--signal); color: var(--on-signal); }
.pass-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.pass-body .btn { margin-top: auto; }
.pass-price { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.pass-price small { font-size: 18px; }
.site-band .passes-note { text-align: center; max-width: 640px; margin: 0 auto; }
.passes-cta { display: flex; justify-content: center; }
/* The landing's last word: the headline again and the button, centred. */
.site-closing { align-items: center; text-align: center; gap: var(--space-4); padding-bottom: var(--space-8); }
.site-closing p { max-width: 520px; }
.site-narrow { max-width: 760px; }
/* The question is the tap target: the row's padding belongs to it, so the whole row opens the answer. */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: var(--space-4) 0; }
.faq details p { margin-top: calc(-1 * var(--space-1)); padding-bottom: var(--space-4); }
.site-footer { max-width: 1180px; margin: 0 auto; padding: var(--space-6) var(--gutter) var(--space-7); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer nav { display: flex; column-gap: var(--space-4); flex-wrap: wrap; }
/* Footer and "more" links are tap targets on a phone: 44px tall, the text centred in them. */
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
/* A new section of an article: the band's gap and as much again above it. */
.guide h2 { font-size: 30px; margin-top: var(--space-4); }
.guide p, .guide li { font-size: 18px; line-height: 1.6; }
.guide ul, .guide ol { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-1-5); }
/* The reset in application.css drops markers everywhere; articles want them back, in a colour that follows the theme. */
.guide ul { list-style: disc; }
.guide ol { list-style: decimal; }
.guide li::marker { color: var(--muted); }
.guide-figure { margin: var(--space-2) 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.guide-figure svg { width: 100%; height: auto; }
.guide-figure figcaption { font-size: 14px; color: var(--muted); }
.figure-panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.formula { font-family: ui-monospace, monospace; font-size: 17px; padding: var(--space-3) var(--card-pad); background: var(--surface); border: var(--border) solid var(--line); border-radius: var(--radius-sm); }
.guide-table { border-collapse: collapse; font-size: 16px; }
.guide-table th, .guide-table td { padding: var(--space-1-5) var(--space-3) var(--space-1-5) 0; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cta-card { display: flex; flex-direction: column; gap: var(--space-2); border-color: var(--signal); background: var(--signal-tint); }
.more-links { display: flex; flex-direction: column; padding: var(--space-4) 0; }
.more-links a { display: flex; align-items: center; min-height: 44px; }
.guide p.guide-date { font-size: 15px; }
.link-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.link-cards a { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--card-pad); border: var(--border) solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.link-cards b { font-size: 17px; }
.link-cards span { line-height: 1.45; }
.link-cards a:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .link-cards a:hover b { color: var(--signal); } }
.calc { display: flex; flex-direction: column; gap: var(--space-3); }
.calc-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); }
.calc-row { display: flex; gap: var(--space-3); align-items: flex-end; }
.calc-row input[type="text"] { width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4); border: var(--border) solid var(--line); border-radius: var(--radius-sm); font-size: 20px; }
.calc-units { width: 120px; flex: none; }
.calc textarea { width: 100%; padding: var(--space-3) var(--space-4); border: var(--border) solid var(--line); border-radius: var(--radius-sm); font-size: 17px; font-family: inherit; }
.calc-result { display: flex; flex-direction: column; gap: var(--space-1-5); padding: var(--card-pad); border-radius: var(--radius-sm); background: var(--green-tint); }
.calc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.calc-cta span { flex: 1 1 220px; }
.calc-number { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.site-sceneries { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.site-sceneries .scenery-card { margin: 0; padding: 0; cursor: default; border: 0; background: transparent; box-shadow: none; overflow: visible; }
.site-sceneries .scenery-art svg { max-height: none; border-radius: var(--radius); }
.site-sceneries .scenery-name { border-top: 0; padding: var(--space-3) var(--space-0-5) 0; }
@media (min-width: 900px) {
  .site-sceneries { grid-template-columns: repeat(4, 1fr); }
  .site-nav { display: flex; }
  .site-login { display: none; }
  .site-hero { grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: var(--band); padding-bottom: var(--band); }
  .site-title { font-size: 68px; }
  .site-split, .site-dark { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-7); }
  .site-dark > * { max-width: none; }
  .site-steps { grid-template-columns: repeat(3, 1fr); }
}

/* The passes: one column on a phone, two side by side from a large phone or tablet, one row of four (or three,
   once the Founder pass is gone) on a wide screen. */
@media (min-width: 560px) {
  .passes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .passes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
}

/* The strip that offers the Portuguese site */
/* The close button sits at the strip's right edge, centred, on any width; the text keeps an equal margin each side, so it
   stays centred and never runs under the button. */
.language-strip { margin: 0; position: relative; padding: 10px calc(var(--tap) + var(--gutter)); display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--ink); color: var(--paper); font-size: 15px; text-align: center; text-wrap: balance; }
.language-strip[hidden] { display: none; }
.language-strip a { color: var(--paper); font-weight: 700; }
.language-strip button { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); position: absolute; top: 50%; right: calc(var(--gutter) - 12px); transform: translateY(-50%); margin: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.language-strip button:focus-visible { outline: 2px solid var(--paper); outline-offset: -6px; }
