@font-face { font-family: Sora; src: url("/fonts/Sora-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Sora; src: url("/fonts/Sora-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Sora; src: url("/fonts/Sora-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root { --accent: #B4472A; --text: #2A1C15; --muted: #7B6A5F; --line: #EDE6DE; --bg: #FAF5EE; --card: #FFFFFF; --mark: #F8E3B5; }
@media (prefers-color-scheme: dark) {
  :root { --accent: #E07A5C; --text: #F7F2EC; --muted: #B4A69B; --line: #3B2C24; --bg: #14110F; --card: #1E1916; --mark: #5A4416; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Sora, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
main, footer, .draft { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1120px; margin: 0 auto; padding: 12px 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }
nav .language { color: var(--accent); }
.draft { font-size: 14px; color: var(--text); }
.draft::before { content: ""; display: block; border-top: 2px solid var(--accent); margin-bottom: 8px; }
main { padding-top: 12px; padding-bottom: 48px; }
h1, h2 { font-family: "New York", ui-serif, Georgia, serif; line-height: 1.2; }
h1 { font-size: 34px; margin: 16px 0 6px; }
h2 { font-size: 23px; margin: 38px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 2px; }
p { margin: 10px 0; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.updated { color: var(--muted); font-size: 15px; margin-top: 0; }
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 3px; }
.table { overflow-x: auto; margin: 14px 0; }
table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--card); font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
th { font-weight: 600; }
footer { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 28px; color: var(--muted); font-size: 14px; }
footer p { margin: 8px 0 0; }
@media (max-width: 640px) {
  .table { overflow: visible; }
  table { min-width: 0; background: none; }
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; margin-bottom: 10px; }
  td { border: 0; padding: 5px 14px; }
  td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; }
  td:first-child { font-weight: 600; }
  td:first-child::before { display: none; }
}

/* Landing page */
.page-index footer { max-width: 1120px; }
.page-index main { max-width: none; padding: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -0.01em; margin: 0; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 30em; margin: 22px 0 30px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.soon { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; padding: 14px 26px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .soon { color: #2A1208; } }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.art { position: relative; max-width: 400px; width: 100%; margin: 0 auto; }
.art svg { display: block; width: 100%; height: auto; }
.note { position: absolute; display: flex; gap: 10px; align-items: flex-start; width: 250px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 12px 30px rgba(74, 38, 22, 0.14); }
.note strong { display: block; font-weight: 600; }
.note span { color: var(--muted); }
.note-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--accent); }
.note-one { left: -56px; bottom: 112px; }
.note-two { right: -36px; bottom: 28px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-title { font-size: clamp(30px, 4vw, 42px); margin: 0 0 34px; max-width: 18em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.feature svg { display: block; width: 28px; height: 28px; margin-bottom: 14px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.portugal { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.portugal .section-title { margin-bottom: 14px; }
.portugal > div > p { color: var(--muted); margin: 0; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; padding-top: 4px; }
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--muted); font-size: 15px; }
.pro { background: #7E2F1B; color: #FBF1E8; border-radius: 28px; padding: 52px; }
.pro .section-title { margin-bottom: 12px; color: #fff; }
.pro > p { color: #F3D9CB; max-width: 34em; margin: 0 0 30px; }
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 32px; }
.pro-grid h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.pro-grid p { color: #F3D9CB; font-size: 15px; line-height: 1.55; margin: 0; }
.pro .contact { margin: 0; color: #fff; font-weight: 600; }
.pro .contact a { color: #fff; }
.closing { text-align: center; padding-top: 72px; padding-bottom: 88px; }
.closing img { width: 72px; height: 72px; }
.closing h2 { font-size: clamp(30px, 4vw, 42px); margin: 12px 0 8px; }
.closing p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 20px; padding-bottom: 40px; }
  .art { max-width: 320px; }
  .note { width: 220px; font-size: 13px; }
  .note-one { left: -12px; bottom: 96px; }
  .note-two { right: -12px; bottom: 12px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .portugal { grid-template-columns: 1fr; gap: 20px; }
  .pro { padding: 36px 24px; }
  .pro-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .lead { font-size: 17px; }
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-inner { gap: 12px; }
  .header-inner nav { flex-wrap: nowrap; gap: 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .header-inner nav { gap: 8px; font-size: 13px; }
}
