/* Quatron Studios. Direction "Vitrin": a light shelf, the apps bring the color.
   The studio has no accent of its own; each band carries its app's tint. */

:root {
  --bg: #F3F4F6;
  --band: #FFFFFF;
  --band-line: #E3E6EA;
  --line: #D9DDE3;
  --ink: #15171C;
  --muted: #5B6270;
  --faint: #8A919E;
  --max: 1120px;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Onest", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -0.03em; text-wrap: balance; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero { padding: 72px 0 44px; }
.hero .wrap { display: grid; gap: 18px; max-width: calc(var(--max)); }
.hero h1 { font-weight: 700; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; max-width: 14ch; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 52ch; }
.meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }

/* ---------- bands ---------- */

.bands { display: grid; gap: 14px; padding-bottom: 14px; }
.band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
  background: var(--band); border: 1px solid var(--band-line); border-radius: 16px;
  padding: 36px 36px;
  scroll-margin-top: 16px;
}
.band .copy { display: grid; gap: 6px; }
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}
.label i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.band h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 36px); line-height: 1.05; margin-top: 8px; }
.band .sub { font-size: 18px; margin-top: 2px; }
.band .d { color: var(--muted); margin-top: 8px; max-width: 44ch; }
.band .plat { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 16px; letter-spacing: 0.02em; }
.band .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.band .links a { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.band .links a:hover { text-decoration-thickness: 2.5px; }

.plate {
  border-radius: 12px; height: 340px; padding: 28px 24px 0;
  display: flex; justify-content: center; align-items: flex-start; gap: 18px; overflow: hidden;
}
.phone {
  width: 176px; flex: none;
  border: 5px solid #1B1D22; border-bottom: 0; border-radius: 24px 24px 0 0;
  background: #000; overflow: hidden;
}
.phone img { width: 100%; height: auto; }
.watch {
  width: 118px; flex: none; margin-top: 64px;
  border: 5px solid #2A2D34; border-radius: 26px; background: #000; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.watch img { width: 100%; height: auto; }

/* app tints, used only inside that app's band */
.band.blossom .label { color: #B85A0C; }
.band.blossom .label i { background: #EA7A1A; }
.band.blossom .plate { background: #FBEEE1; }

.band.heracles .label { color: #5F7A0A; }
.band.heracles .label i { background: #C6F24E; }
.band.heracles .plate { background: #0F1A2E; }

.band.valuehunt .label { color: #0B7A8C; }
.band.valuehunt .label i { background: #06B6D4; }
.band.valuehunt .plate { background: #E0F5F8; }

.band.trends .label { color: #6B46C1; }
.band.trends .label i { background: #8B5CF6; }
.band.trends .plate { background: #EEE9FB; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; margin-top: 44px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.site-footer .about { display: grid; gap: 14px; }
.site-footer .about p { color: var(--muted); max-width: 52ch; font-size: 15px; }
.site-footer .list { display: grid; gap: 8px; align-content: start; }
.site-footer .list h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.site-footer .list a { text-decoration: none; font-weight: 500; }
.site-footer .list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- small screens ---------- */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .hero { padding: 48px 0 32px; }
  .band { grid-template-columns: 1fr; padding: 24px 20px 0; gap: 20px; }
  .band .plate { margin: 0 -20px; border-radius: 0 0 16px 16px; height: 280px; padding-top: 24px; }
  .phone { width: 150px; }
  .watch { width: 100px; margin-top: 48px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
