/* The coming-soon site of perorbis.com (coming-soon/README.md). Brand: @perorbis/brand-perorbis 2.5
   (Perorbis/brands, perorbis/brand.en.md): one blue field, white type, ink below it, Inter Tight. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/inter-tight.woff2") format("woff2");
}

:root {
  --blue: #1f56c4;
  --ink: #0b0b0c;
  --white: #ffffff;
  --surface: #f1f1ef;
  --muted: #5e5e60;
  --o: #ff3b30; /* color.primitive.signal.500, the o colour (a placeholder in the brand) */
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- The field (the start page) ---- */
body.field {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  color: var(--white);
}
body.field :focus-visible { outline-color: var(--white); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--gutter) 0;
}
.bar img { display: block; width: clamp(104px, 11vw, 140px); height: auto; }
.bar nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px var(--gutter);
  padding: clamp(40px, 7vh, 96px) var(--gutter) clamp(32px, 5vh, 64px);
}

.soon .label { display: inline-block; padding-bottom: 10px; position: relative; }
.soon .label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 3px;
  background: var(--o);
}
.claim {
  margin: 28px 0 0;
  font-size: clamp(3.6rem, 13.5vw, 12.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.lead {
  max-width: 34ch;
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.35;
}
.pill {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform 160ms ease;
}
.pill:hover { transform: translateY(-2px); }

/* The one white card on the field ("record sleeve"). */
.card {
  width: clamp(240px, 24vw, 320px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
}
.card img { display: block; width: 62%; height: auto; }
.card p { margin: 0; }
.card .what { font-weight: 700; }
.card .offers { color: var(--muted); font-size: 16px; line-height: 1.35; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid rgb(255 255 255 / 0.35);
  font-size: 15px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .stage { grid-template-columns: 1fr; align-items: start; }
  .card { width: min(100%, 300px); }
}

/* A calm entrance; none for people who asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .soon > *, .card {
    animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .soon > :nth-child(2) { animation-delay: 80ms; }
  .soon > :nth-child(3) { animation-delay: 200ms; }
  .soon > :nth-child(4) { animation-delay: 260ms; }
  .card { animation-delay: 360ms; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---- Text pages (imprint, privacy, help) ---- */
body.page { display: flex; flex-direction: column; min-height: 100vh; }
body.page .bar { padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.doc {
  flex: 1;
  width: 100%;
  max-width: 760px;
  padding: clamp(40px, 7vw, 88px) var(--gutter) 72px;
}
.doc h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.doc .intro { margin: 0 0 40px; color: var(--muted); font-size: 20px; }
.doc h2 {
  margin: 40px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 1.2em; }
.doc .meta { margin-top: 48px; color: var(--muted); font-size: 15px; }
body.page .foot { border-top: 1px solid var(--ink); }

/* A gap the owners still fill; the image build refuses a page that has one (Dockerfile). */
.gap { background: #fff2a8; color: var(--ink); padding: 0 4px; }
