/* Marta Portugal, pre-launch page. Self-contained: no build step, nothing loaded from another site.
   Fonts, colours and the top section follow the UK home page (site/styles.css); the two fonts are served from /fonts
   (SIL Open Font License, texts beside them). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree.woff2") format("woff2"); }
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #566376;
  --line: #e1e5eb;
  --brand: #ffc21a;
  --brand-ink: #0f1b2d;
  --brand-soft: #fff3cc;
  --navy: #0f1b2d;
  --on-navy: #f2f5f9;
  --on-navy-muted: #b8c2d0;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1320; --surface: #142033; --ink: #edf1f6; --muted: #9eabbd; --line: #243248;
    --brand-soft: #3a3214; --navy: #142033; --on-navy: #edf1f6; --on-navy-muted: #9eabbd;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: var(--display); font-weight: 800; text-wrap: balance; margin: 0; }
h1 { font-variation-settings: "wdth" 108; letter-spacing: -0.025em; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.05; }
h2 { font-variation-settings: "wdth" 106; letter-spacing: -0.02em; font-size: clamp(1.35rem, 3.2vw, 1.75rem); line-height: 1.15; }
p { margin: 0; }

.wrap { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }

.site-header { padding-block: 0.9rem; }
.site-header .wrap, .hero .wrap { max-width: 74rem; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.logo img { width: 2.25rem; height: 2.25rem; flex: none; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo small { color: var(--muted); font-size: 0.75rem; font-weight: 500; }

/* Top section: the UK home page's layout, headline left and Marta's photo right. */
.hero { padding-block: 3rem 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.tag { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.8rem 0.35rem 0.45rem; margin-bottom: 1.4rem; }
.tag .flag { width: 1.5rem; height: 1rem; border-radius: 3px; flex: none; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.02; margin-bottom: 1.25rem; }
.hero h1 span { display: block; }
.hero .lede { font-size: 1.22rem; color: var(--muted); max-width: 36rem; margin: 0 0 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.hero .note { color: var(--muted); font-size: 0.95rem; }
.hero .fallback { margin-top: 0.9rem; }
.portrait { min-width: 0; max-width: 30rem; justify-self: end; width: 100%; }
.portrait-frame { aspect-ratio: 4 / 4.6; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, var(--brand) 0%, #ffd760 60%, #ffe9a6 100%); }
.portrait-frame picture { display: block; width: 100%; height: 100%; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 56rem) {
  .hero { padding-block: 1.5rem 3rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 2.25rem; }
  .portrait { justify-self: center; max-width: 26rem; }
}

.button { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1; padding: 1rem 1.4rem; border-radius: 999px; border: 2px solid transparent; background: var(--brand); color: var(--brand-ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgb(255 194 26 / 0.7); }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }

main section.block { padding-block: clamp(1.75rem, 5vw, 2.75rem); border-bottom: 1px solid var(--line); }
main section.block:first-of-type { border-top: 1px solid var(--line); }
main section.block:last-of-type { border-bottom: 0; }
.block h2 + p, .block h2 + ul, .block h2 + ol, .block h2 + .offer { margin-top: 1rem; }
.block p + p, .block ul + p, .block ol + p, .block p + ul { margin-top: 0.9rem; }
.block ul, .block ol { margin: 0; padding-left: 1.25rem; }
.block li + li { margin-top: 0.45rem; }
.muted { color: var(--muted); }

.block ul.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; list-style: none; padding: 0; margin-bottom: 0; }
.block ul.offer li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem; margin: 0; }
.offer b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.offer span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 34rem) { .block ul.offer { grid-template-columns: 1fr; } }

.price { background: var(--brand-soft); border-radius: 12px; padding: 0.9rem 1rem; }
.price b { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }

.page-head { padding-block: clamp(1.75rem, 5vw, 2.75rem) 0; }
.prose h2 { margin-top: 2rem; }
.prose p, .prose ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose { padding-bottom: 2.5rem; }

.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; color: var(--muted); font-size: 0.92rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-block: 0.6rem; }
.site-footer .legal { font-size: 0.85rem; }
