/* ============================================================
   taaya.io — public holding page
   Same identity as the preview site: Newsreader / Hanken Grotesk,
   porcelain ground, heritage green. One quiet screen.
   ============================================================ */

@font-face {
  font-family: "Newsreader Display";
  src: url("/fonts/newsreader-display.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader Text";
  src: url("/fonts/newsreader-text.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader Text";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --porcelain: #F6F4EF;
  --ink: #1C1B18;
  --ink-soft: #56524A;
  --green-deep: #24382E;
  --green-ink: #33503F;

  --display: "Newsreader Display", "Newsreader Text", Georgia, serif;
  --serif-text: "Newsreader Text", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(51, 80, 63, 0.16);
  color: var(--ink);
}

main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 8vh, 5rem) clamp(1.35rem, 5vw, 2.5rem);
}

main > div {
  max-width: 30rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
}

.descriptor {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-ink);
}

.rule {
  width: 2.5rem;
  height: 2px;
  background: var(--green-deep);
  margin-top: 1.4rem;
}

.lede {
  margin-top: 1.6rem;
  font-family: var(--serif-text);
  font-size: clamp(1.25rem, 2.8vw, 1.45rem);
  line-height: 1.42;
  color: var(--ink);
  text-wrap: pretty;
}

.lede em {
  font-style: italic;
  color: var(--green-deep);
}

.status {
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.mail {
  display: inline-block;
  margin-top: 1.7rem;
  font-family: var(--serif-text);
  font-size: 1.2rem;
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(36, 56, 46, 0.35);
  transition: text-decoration-color 160ms var(--ease-out);
}

.mail:hover,
.mail:focus-visible {
  text-decoration-color: currentColor;
}

/* Quiet, factual trust line. Said once, never dressed up as a badge. */
.legal {
  margin-top: 2.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  opacity: 0.85;
}

:focus-visible {
  outline: 2px solid var(--green-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  main > div > * {
    animation: settle 0.7s var(--ease-out) both;
  }
  main > div > *:nth-child(1) { animation-delay: 0ms; }
  main > div > *:nth-child(2) { animation-delay: 70ms; }
  main > div > *:nth-child(3) { animation-delay: 140ms; }
  main > div > *:nth-child(4) { animation-delay: 210ms; }
  main > div > *:nth-child(5) { animation-delay: 280ms; }
  main > div > *:nth-child(6) { animation-delay: 350ms; }

  @keyframes settle {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}
