/* Colours, radii and type of the app (src/theme/tokens.ts). */
@font-face { font-family: 'Playfair'; font-weight: 600; font-display: swap; src: url('/assets/fonts/playfair-600.woff') format('woff'); }
@font-face { font-family: 'SourceSans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/sourcesans-400.woff') format('woff'); }
@font-face { font-family: 'SourceSans'; font-weight: 600; font-display: swap; src: url('/assets/fonts/sourcesans-600.woff') format('woff'); }

:root {
  --bg: #0F3D32;
  --surface: #16493C;
  --surface-border: rgba(255, 255, 255, 0.08);
  --sunken: #0B2F27;
  --cream: #F3EDDC;
  --cream-deep: #E4DCC6;
  --ink: #0F2E26;
  --ink-soft: #2F4A42;
  --gold: #E8C97A;
  --gold-ink: #1E2A18;
  --red: #D63B3B;
  --blue: #3D7BD9;
  --green: #3DAA6F;
  --dim: rgba(243, 237, 220, 0.75);
  --faint: rgba(243, 237, 220, 0.5);
  --serif: 'Playfair', Georgia, 'Times New Roman', serif;
  --sans: 'SourceSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1080px; margin: 0 auto; padding: 20px 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
nav > a { color: var(--dim); text-decoration: none; }
nav > a:hover, nav > a[aria-current] { color: var(--cream); }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid rgba(243, 237, 220, 0.3); border-radius: 999px; color: var(--cream); white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ' ▾'; color: var(--faint); }
.lang div { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 300px; padding: 8px; background: var(--sunken); border: 1px solid var(--surface-border); border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }
.lang div a { padding: 8px 10px; border-radius: 10px; color: var(--cream); text-decoration: none; }
.lang div a:hover { background: var(--surface); }
.lang div a[aria-current] { color: var(--gold); }

main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px 64px; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(38px, 7vw, 60px); }
.lead { max-width: 560px; margin: 18px auto 0; color: var(--dim); font-size: 19px; }
.cta, .soon { display: inline-block; margin-top: 28px; padding: 16px 28px; border-radius: 16px; font-weight: 600; font-size: 18px; text-decoration: none; }
.cta { background: var(--gold); color: var(--gold-ink); }
.soon { border: 1px solid rgba(232, 201, 122, 0.6); color: var(--gold); background: rgba(232, 201, 122, 0.08); }

.shots { display: flex; justify-content: center; gap: 20px; padding: 8px 0 56px; }
.shots img { width: 300px; border-radius: 28px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--surface-border); border-radius: 20px; }
.card h3 { font-size: 22px; margin: 10px 0 8px; }
.card p, .price p { color: var(--dim); }
.suit { font-size: 26px; line-height: 1; }
.s0 { color: var(--blue); } .s1 { color: var(--red); } .s2 { color: var(--red); } .s3 { color: var(--green); }

.cream { margin-top: 16px; padding: 32px; background: var(--cream); color: var(--ink); border-radius: 20px; }
.cream h2, .price h2 { font-size: 28px; margin-bottom: 10px; }
.cream p { color: var(--ink-soft); max-width: 760px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.chips li { padding: 6px 14px; background: var(--cream-deep); border-radius: 999px; font-weight: 600; font-size: 15px; }
.price { margin-top: 16px; padding: 32px; }

.text { max-width: 720px; padding-top: 40px; }
.text h1 { font-size: clamp(32px, 6vw, 44px); margin-bottom: 8px; }
.text h2 { font-size: 22px; margin: 36px 0 8px; }
.text p { color: var(--dim); overflow-wrap: anywhere; }
.text .lead { margin: 12px 0 0; max-width: none; }
.text .cta { margin: 20px 0 8px; }
.muted { color: var(--faint) !important; font-size: 15px; }

footer { padding: 28px 24px 40px; border-top: 1px solid var(--surface-border); text-align: center; color: var(--faint); font-size: 15px; }
footer p + p { margin-top: 6px; }
footer a { color: var(--dim); }

@media (max-width: 760px) {
  .top { padding: 16px; }
  nav { gap: 12px; font-size: 14px; }
  main { padding: 0 16px 48px; }
  .hero { padding: 36px 0 28px; }
  /* One screenshot at a time, swiped. */
  .shots { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 8px 16px 40px; }
  .shots img { width: 72vw; max-width: 300px; flex: none; scroll-snap-align: center; }
  .grid { grid-template-columns: 1fr; }
  .cream, .price { padding: 24px; }
  .lang div { min-width: 260px; }
}
