/* ===========================================================================
   Sheesh Labs — shared styles
   Aesthetic: warm paper, blueprint grid, oversized grotesque + serif,
   monospace lab annotations, single vermillion accent.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..500&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --paper:    #f3efe6;
  --paper-2:  #ece7da;
  --ink:      #16130d;
  --ink-soft: #4b463b;
  --ink-faint:#8c8576;
  --line:     #d8d1c2;
  --line-2:   #cfc7b5;

  --accent:   #ff4a1c;   /* vermillion */
  --accent-2: #1742c9;   /* blueprint blue (secondary) */

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif:   'Newsreader', Georgia, serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1.02rem;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  /* blueprint dotted grid */
  background-image:
    radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--paper); }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ====================  COMING SOON (index)  ============================= */

.frame {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line-2);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em;
}
.brand .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,74,28,0.15);
  flex: none;
}
.nav .coord { display: flex; gap: 1.4rem; }

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
  position: relative;
}

.tag-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.pill {
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 0.35rem 0.8rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.pill .blink {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

h1.title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 1.8rem;
}
h1.title .amp {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  max-width: 46ch;
  color: var(--ink-soft);
  margin-bottom: 2.6rem;
}
.lede em { font-style: italic; color: var(--ink); }

.notify {
  display: flex; gap: 0; max-width: 480px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.notify input {
  flex: 1;
  border: none; background: transparent;
  padding: 1rem 1.2rem;
  font-family: var(--mono); font-size: 0.9rem;
  color: var(--ink);
}
.notify input::placeholder { color: var(--ink-faint); }
.notify input:focus { outline: none; background: var(--paper-2); }
.notify button {
  border: none;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0 1.6rem;
  cursor: pointer;
  transition: background 0.25s;
}
.notify button:hover { background: var(--accent); }
.notify-note {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--ink-faint);
  min-height: 1.1em;
}
.notify-note.ok { color: var(--accent); }

/* decorative corner annotation */
.annot {
  position: absolute;
  right: 0; top: 0;
  max-width: 13rem;
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--ink-faint);
  text-align: right;
  line-height: 1.8;
  display: none;
}
.annot span { color: var(--accent); }
@media (min-width: 1120px) { .annot { display: block; } }

.foot {
  border-top: 1px solid var(--line-2);
  padding: 1.4rem 0 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.foot nav { display: flex; gap: 1.4rem; }
.foot a, .foot span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-faint); }
.foot a { transition: color 0.2s; }
.foot a:hover { color: var(--accent); }

/* entrance */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.32s; }
.d4 { animation-delay: 0.46s; }
.d5 { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ====================  LEGAL PAGES  ===================================== */

.legal-wrap {
  max-width: 800px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line-2); margin-bottom: 1rem;
}
.back { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-soft); transition: color 0.2s; }
.back:hover { color: var(--accent); }

.legal { padding: 2.6rem 0 4rem; }
.legal .eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem;
}
.legal h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4rem); line-height: 0.95;
  letter-spacing: -0.03em; margin-bottom: 0.7rem;
}
.legal .updated { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-faint); margin-bottom: 2.6rem; }
.legal h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.45rem; letter-spacing: -0.01em; margin: 2.6rem 0 0.7rem;
}
.legal h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.4rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 0.85rem; }
.legal ul, .legal ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 0.65rem 0.85rem; border: 1px solid var(--line-2); vertical-align: top; }
.legal th { background: var(--paper-2); font-family: var(--display); font-weight: 600; color: var(--ink); }
.legal td { color: var(--ink-soft); }

.callout {
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  background: rgba(255,74,28,0.05);
  border-radius: 4px;
  padding: 1.05rem 1.25rem;
  margin: 1.6rem 0;
}
.callout p { margin: 0; }

.legal-foot {
  border-top: 1px solid var(--line-2);
  padding: 1.6rem 0 3rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.legal-foot a, .legal-foot span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); }
.legal-foot nav { display: flex; gap: 1.3rem; }
.legal-foot a:hover { color: var(--accent); }
