/* The holding site's one stylesheet: the brand's fonts and tokens (docs/BRAND.md 2, 3, 6), both themes by the
   device's setting, no script. Values are copied from BRAND.md; the site is outside the app (1.10). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page: #fcfbf7;
  --surface: #ffffff;
  --sunken: #f5f2ea;
  --text: #191712;
  --muted: #676257;
  --rule: #e7e3d8;
  --field: #8e8879;
  --accent: #f4b400;
  --tint: #fff1c2;
  --on-accent: #191712;
  --btn: #191712;
  --btn-text: #fcfbf7;
  --btn-hover: #36322a;
  --focus: #191712;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --radius-small: 4px; --radius-control: 6px; --radius-panel: 10px;
  --width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #131210;
    --surface: #1b1a18;
    --sunken: #232320;
    --text: #eeede9;
    --muted: #9e9d97;
    --rule: #2c2c29;
    --field: #76756f;
    --tint: #3b300c;
    --btn: #eeede9;
    --btn-text: #191712;
    --btn-hover: #ffffff;
    --focus: #eeede9;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--page);
  color: var(--text);
  font: 400 16px/24px var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-small); }
.skip { position: absolute; left: var(--space-4); top: -100px; padding: var(--space-2) var(--space-3); background: var(--btn); color: var(--btn-text); border-radius: var(--radius-control); }
.skip:focus { top: var(--space-4); }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--space-5); }

/* The wordmark files of brand/logo/, ink or paper by the theme (<picture>); 24 px and up in the regular cut, the
   small cut below (BRAND.md 4). */
.logo { display: inline-flex; }
.logo img { display: block; height: 28px; width: auto; }
.logo.small img { height: 18px; }

.display-2 { font: 700 40px/44px var(--display); letter-spacing: -0.02em; }
.section { font: 600 24px/30px var(--display); letter-spacing: -0.01em; }
.small { font-size: 14px; line-height: 20px; }
.caption { font-size: 13px; line-height: 18px; font-weight: 500; }
.muted { color: var(--muted); }
.lead { color: var(--muted); }

.button {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-control);
  background: var(--btn); color: var(--btn-text);
  font: 600 16px/24px var(--sans); text-decoration: none;
}
.button:hover { background: var(--btn-hover); }

/* The home page: look A, "Night", chosen by the user (D-485). Dark first; in the light theme the ground is Paper,
   the horizon's ground the sunken fill, and the label ink, since marigold is never text on a light ground. */
.home { --horizon: var(--sunken); --label: var(--text); }
@media (prefers-color-scheme: dark) { .home { --horizon: var(--surface); --label: var(--accent); } }

.home .top { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-5); padding-bottom: var(--space-5); }
.home .top a { text-decoration: none; }
.home .top a:hover { text-decoration: underline; }

.hero { text-align: center; padding: var(--space-16) var(--space-5) var(--space-12); max-width: 880px; margin: 0 auto; }
.hero .label { color: var(--label); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.hero h1 { margin-top: var(--space-5); }
.hero .lead { margin: var(--space-6) auto 0; max-width: 560px; }
.hero .join { margin-top: var(--space-8); background: var(--accent); color: var(--on-accent); }
.hero .join:hover { background: var(--accent); text-decoration: underline; }
.hero .note { margin-top: var(--space-3); }

/* The horizon: a thin marigold line along the top of a very wide circle, no blur (rules/DESIGN.md 5); the words sit
   inside the dome, as the user approved (D-485). A circle 260% as wide as the screen (300% from 768 px) drops at most
   10% of the screen's width from its top to the screen's edge, so `::after`, the same colour from 10vw down, carries
   the ground to the section's foot and the circle's lower edge never shows, however tall the section. The checks
   measure contrast by the pixels behind each line, so a ground drawn this way is read. */
.planet { position: relative; margin-top: var(--space-8); overflow: hidden; }
.planet::before {
  content: ""; position: absolute; left: 50%; top: var(--space-3); transform: translateX(-50%);
  width: 260%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: var(--horizon);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -1px 0 6px rgba(244, 180, 0, 0.08);
}
.planet::after { content: ""; position: absolute; left: 0; right: 0; top: calc(10vw + var(--space-4)); bottom: 0; background: var(--horizon); }
.planet .inner { position: relative; z-index: 1; padding-top: calc(var(--space-16) + var(--space-3)); padding-bottom: var(--space-12); }

.types { display: grid; gap: var(--space-10); }
.type h2 { margin-bottom: var(--space-4); }
.type ul { list-style: none; border-top: 1px solid var(--rule); }
.type li { padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.price { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--rule); }
.price strong, .whatsapp strong { color: var(--text); font-weight: 600; }
.whatsapp { margin-top: var(--space-4); }
.pos { margin-top: var(--space-6); }
.pos a { color: var(--text); font-weight: 600; }

/* Motion, once, as the page opens: the horizon rises slowly like a sunrise, the words come up just after it, then
   the horizon's faint ring breathes slowly four times (about half a minute) and the page is still. Nothing under
   "reduce motion". The rise and the words move only transform and opacity, so nothing shifts (D-474); the ring is a
   shadow, and it stops so a phone does not paint it for as long as the page is open. */
@keyframes up { from { opacity: 0; transform: translateY(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(var(--space-24)); } }
@keyframes breathe { to { box-shadow: 0 -1px 0 12px rgba(244, 180, 0, 0.14); } }
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: up 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero .label { animation-delay: 0.4s; }
  .hero h1 { animation-delay: 0.55s; }
  .hero .lead { animation-delay: 0.75s; }
  .hero .join { animation-delay: 0.95s; }
  .hero .note { animation-delay: 1.05s; }
  .planet { animation: rise 3.2s cubic-bezier(0.16, 0.8, 0.12, 1) both; }
  .planet::before { animation: breathe 3.5s ease-in-out 3.2s 8 alternate; }
  .planet .inner { animation: up 1.2s cubic-bezier(0.2, 0.7, 0.1, 1) 1.4s both; }
}

/* Footer, shared by every page. */
.foot { border-top: 1px solid var(--rule); }
.foot .wrap { padding-top: var(--space-6); padding-bottom: var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; color: var(--muted); }
.foot .logo { margin-right: auto; }
.foot a { color: var(--muted); }

/* Privacy, terms and the missing page. */
.doc .top { display: flex; justify-content: space-between; align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--rule); }
.doc main { max-width: 680px; padding: var(--space-12) 0 var(--space-16); }
.doc h1 { font: 700 34px/40px var(--display); letter-spacing: -0.02em; }
.doc .date { margin-top: var(--space-2); }
.doc main > p { margin-top: var(--space-6); }
.doc h2 { margin-top: var(--space-10); font: 600 24px/30px var(--display); letter-spacing: -0.01em; }
.doc ul, .doc ol { margin-top: var(--space-4); padding-left: var(--space-6); display: grid; gap: var(--space-3); }

@media (min-width: 768px) {
  .wrap { padding: 0 var(--space-10); }
  .display-2 { font-size: 60px; line-height: 64px; }
  .home .top { padding-top: var(--space-6); padding-bottom: var(--space-6); }
  .hero { padding-top: var(--space-24); }
  .planet::before { width: 300%; }
  .planet .inner { padding-top: calc(var(--space-24) + var(--space-3)); padding-bottom: var(--space-16); }
  .types { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .doc .top { padding: var(--space-6) 0; }
  .doc main { padding: var(--space-20) 0 var(--space-20); }
  .doc h1 { font-size: 48px; line-height: 52px; }
}
