/* ============================================================
   The Flex Girl — Coming Soon
   3-group layout per PDF rhythm:
     ┌────────────────────────────────────┐
     │  Group A — pill + logo             │  ← top
     │                                    │
     │       (flexible spacer)            │
     │                                    │
     │  Group B — lead + cats + tagline   │  ← middle
     │                                    │
     │       (flexible spacer)            │
     │                                    │
     │  Group C — meta + © + Web Factor   │  ← bottom
     └────────────────────────────────────┘
   ============================================================ */

:root {
  --bg: #000;
  --fg: #fff;
  --fg-soft: rgba(255, 255, 255, 0.62);
  --fg-mute: rgba(255, 255, 255, 0.42);
  --divider: rgba(255, 255, 255, 0.18);
  --pill-bg: #1c1c1e;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overscroll-behavior: none;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   Page — 3 groups + 2 flexible spacers (rows 2 and 4)
   ============================================================ */
.page {
  height: 100dvh;
  min-height: 100dvh;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding:
    max(env(safe-area-inset-top), 28px)
    24px
    max(env(safe-area-inset-bottom), 22px);
  display: grid;
  /* A=top, gap1 (all slack here), B=pitch, gap2 (collapsed), C=footer */
  grid-template-rows: auto 1.7fr auto 0fr auto;
  justify-items: center;
  text-align: center;
}

.group-a { grid-row: 1; display: flex; flex-direction: column; align-items: center; }
.group-b { grid-row: 3; display: flex; flex-direction: column; align-items: center; }
.group-c { grid-row: 5; width: 100%; display: flex; flex-direction: column; align-items: center; }

/* ============================================================
   Group A — pill + logo
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--pill-bg);
  color: var(--fg);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
}
.pill-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.logo {
  margin-top: 42px;
  font-weight: 400;
  line-height: 1;
}
.logo img {
  width: 100%;
  max-width: min(290px, 76vw);
  height: auto;
}

/* ============================================================
   Group B — lead + cats + tagline
   ============================================================ */
.lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--fg);
}
.cats {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.cats li {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}
.cats li + li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 1px;
  height: 11px;
  background: var(--divider);
  transform: translateY(-50%);
}
.tagline {
  margin-top: 38px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.45;
}

/* ============================================================
   Group C — meta + foot
   ============================================================ */
.meta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
  column-gap: 14px;
  padding: 20px 0;
}
.meta::before {
  content: "";
  grid-column: 2;
  grid-row: 1 / -1;
  width: 1px;
  background: var(--divider);
  justify-self: center;
  align-self: stretch;
}
.meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}
.meta-col:first-child { grid-column: 1; }
.meta-col:last-child  { grid-column: 3; }
.meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  line-height: 1.5;
}
.meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: opacity 160ms ease;
}
.meta-link:hover { opacity: 0.75; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }

.foot {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
  line-height: 1.4;
}
.copyright { margin: 0; }
.credit { margin: 0; display: inline-flex; }
.credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  transition: opacity 160ms ease;
}
.credit a:hover { opacity: 0.85; }
.credit img { height: 14px; width: auto; }

/* ============================================================
   Tablet (>=600px)
   ============================================================ */
@media (min-width: 600px) {
  .page         { max-width: 540px; padding: max(env(safe-area-inset-top), 32px) 32px max(env(safe-area-inset-bottom), 24px); }
  .pill         { padding: 8px 22px; font-size: 11.5px; }
  .pill-dot     { width: 7px; height: 7px; }
  .logo         { margin-top: 48px; }
  .logo img     { max-width: 360px; }
  .lead         { font-size: 21px; }
  .cats         { margin-top: 18px; gap: 18px; }
  .cats li      { font-size: 18px; letter-spacing: 0.02em; }
  .cats li + li::before { left: -10px; height: 13px; }
  .tagline      { margin-top: 30px; font-size: 20px; }
  .meta         { column-gap: 22px; }
  .meta-label   { font-size: 11px; }
  .meta-link    { font-size: 15px; gap: 10px; }
  .ico          { width: 22px; height: 22px; }
  .foot         { margin-top: 40px; font-size: 11.5px; }
  .credit img   { height: 14px; }
}

/* ============================================================
   Desktop (>=1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .page         { max-width: 700px; padding: 44px 40px 32px; }
  .pill         { padding: 9px 24px; font-size: 12px; }
  .pill-dot     { width: 8px; height: 8px; }
  .logo         { margin-top: 54px; }
  .logo img     { max-width: 450px; }
  .lead         { font-size: 23px; }
  .cats         { margin-top: 22px; gap: 26px; }
  .cats li      { font-size: 19px; letter-spacing: 0.03em; }
  .cats li + li::before { left: -13px; height: 15px; }
  .tagline      { margin-top: 34px; font-size: 23px; }
  .meta         { max-width: 540px; margin: 0 auto; column-gap: 32px; }
  .meta-label   { font-size: 12px; }
  .meta-link    { font-size: 16px; gap: 10px; }
  .ico          { width: 24px; height: 24px; }
  .foot         { margin-top: 40px; font-size: 12px; }
  .credit img   { height: 16px; }
}

/* ============================================================
   Wide desktop (>=1440px)
   ============================================================ */
@media (min-width: 1440px) {
  .page         { max-width: 820px; }
  .logo img     { max-width: 520px; }
  .tagline      { font-size: 25px; }
}

/* ============================================================
   Landscape on short heights — compress for non-scroll
   ============================================================ */
@media (orientation: landscape) and (max-height: 500px) {
  .page         { max-width: 720px; padding: 12px 20px; }
  .logo         { margin-top: 12px; }
  .logo img     { max-width: 220px; }
  .lead         { font-size: 16px; }
  .cats         { margin-top: 8px; gap: 12px; }
  .cats li      { font-size: 15px; }
  .cats li + li::before { height: 10px; }
  .tagline      { margin-top: 14px; font-size: 13px; }
  .meta         { padding: 10px 0; }
  .meta-col     { gap: 10px; }
  .meta-label   { font-size: 9px; }
  .meta-link    { font-size: 12px; }
  .ico          { width: 14px; height: 14px; }
  .foot         { margin-top: 20px; font-size: 9px; gap: 2px; }
  .credit img   { height: 10px; }
}

/* Hi-DPI logo crispness */
.logo img { image-rendering: -webkit-optimize-contrast; }
