/* Laxus on the web: the app's world, Bantay's Watch, on a page. A warm rice
   canvas (or warm near-black), white cards, warm ink, teal for links and
   acting, and one saturated surface: the Today card with today's figure.
   Category hues only as tile fills. System faces: SF Pro for sentences, SF
   Pro Rounded for figures and headings, as in the app. */

:root {
  --canvas: #fbf7f0;
  --surface: #ffffff;
  --ink: #231f1a;
  --secondary: #675f55;
  --hairline: #ece5d8;
  --outline: #ddd4c4;
  --accent: #0a7268;
  --accent-tint: #dcefeb;
  --hero: #0a7268;
  --on-hero: #ffffff;
  --hero-soft: #d9f0ec;
  --on-hue: #ffffff;
  --orange: #cc4b0c;
  --green: #288539;
  --blue: #1971c2;
  --violet: #7048e8;
  --yellow: #f59f00;
  --pink: #d6336c;
  --grape: #9c36b5;
  --brown: #a15c1f;
  --words: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --figures: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --column: 680px;
  color-scheme: light dark;
}

/* The icon for each appearance; dark mode swaps them below. */
.icon-dark { display: none; }

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #14120f;
    --surface: #1f1c18;
    --ink: #f4f0e8;
    --secondary: #aaa398;
    --hairline: #2b2722;
    --outline: #3d3832;
    --accent: #3cc2b2;
    --accent-tint: #16312e;
    --hero: #11655c;
  }
  .icon-light { display: none; }
  .icon-dark { display: block; }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--words);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--column); margin: 0 auto; padding: 0 20px; }

/* Header: the icon and the name, links at the right. */
.site-header { border-bottom: 1px solid var(--hairline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--secondary); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); }

/* Home: the app's own signature, today's figure, big and rounded. */
.hero { padding: 56px 0 28px; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 28px; }
/* The Today card: the figure and what it is, white on teal. */
.today-card { background: var(--hero); color: var(--on-hero); border-radius: 28px; padding: 28px 28px 24px; max-width: 420px; }
.figure {
  font-family: var(--figures);
  font-weight: 800;
  font-size: clamp(56px, 16vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.figure-caption { font-family: var(--figures); font-size: 20px; font-weight: 700; margin: 8px 0 0; }
.today-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); margin-top: 18px; overflow: hidden; }
.today-bar span { display: block; width: 41%; height: 100%; background: var(--on-hero); border-radius: 3px; }
.today-note { font-size: 14px; color: var(--hero-soft); margin: 10px 0 0; }
.lede { font-size: 19px; font-weight: 400; line-height: 1.5; color: var(--secondary); margin: 20px 0 0; max-width: 34em; }
.lede strong { color: var(--ink); font-weight: 600; }
.soon { display: inline-block; margin-top: 28px; padding: 10px 18px; border-radius: 999px; background: var(--accent-tint); color: var(--ink); font-weight: 600; font-size: 15px; }

.shots { display: flex; gap: 16px; margin: 40px 0 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.shots img { width: 220px; flex: none; height: auto; border-radius: 28px; border: 1px solid var(--outline); scroll-snap-align: start; }
.shots-note { font-size: 13px; color: var(--secondary); margin: 0 0 8px; }

/* Rows in the app's entry-row anatomy: a colour tile, a title, one line. */
.rows { list-style: none; margin: 32px 0 0; padding: 0; }
.rows li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--hairline); }
.rows li:first-child { border-top: 0; }
.tile { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--on-hue); font-family: var(--figures); font-weight: 800; font-size: 19px; }
.tile.orange { background: var(--orange); }
.tile.green { background: var(--green); }
.tile.blue { background: var(--blue); }
.tile.violet { background: var(--violet); }
.tile.pink { background: var(--pink); }
.tile.grape { background: var(--grape); }
.tile.brown { background: var(--brown); }
.tile.yellow { background: var(--yellow); color: #1c1c1e; }
.tile.ink { background: var(--ink); color: var(--canvas); }
.rows h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.rows p { margin: 2px 0 0; color: var(--secondary); font-size: 15px; }

/* Documents: privacy and support. */
.doc { padding-top: 40px; padding-bottom: 24px; }
/* Headings in the rounded cut, as in the app. */
.doc h1, .doc h2, .doc h3, .rows h2, .rows h3 { font-family: var(--figures); }
.doc h1 { font-size: 34px; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.doc .meta { color: var(--secondary); font-size: 15px; margin: 8px 0 0; }
.doc h2 { font-size: 21px; margin: 40px 0 8px; line-height: 1.3; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { max-width: 38em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.summary { margin: 24px 0 0; padding: 18px 20px; border-radius: 16px; background: var(--surface); }
.summary p { margin: 0; font-size: 19px; font-weight: 600; }
.contact { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--outline); border-radius: 16px; }
.contact p { margin: 0; }
.contact a { font-weight: 600; word-break: break-all; }

.site-footer { border-top: 1px solid var(--hairline); margin-top: 48px; padding: 24px 0 40px; color: var(--secondary); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { color: var(--secondary); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-nav { gap: 14px; font-size: 14px; }
  .hero { padding-top: 36px; }
  .doc h1 { font-size: 28px; }
  .shots img { width: 180px; border-radius: 22px; }
}
