/* Tadori holding page. Tokens, fonts and type rules mirror the Waypoint app
   (app/src/index.css, app/DESIGN.md): washi paper, warm ink, Fraunces display,
   Inter body, one rose emphasis. Fonts are self-hosted, so the page calls no
   third-party origin, which the strict CSP in _headers enforces. */

@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --paper: #faf6f0;
  --paper-deep: #f3ece2;
  --card: #fffdfb;
  --ink: #3b352f;
  --ink-soft: #8c8276;
  --ink-faint: #b7ad9f;
  --line: #ece3d6;
  --rose: #e09b91;
  --sage: #a8c2a0;

  --font-sans: "Inter Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Noto Sans JP", ui-serif, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: max(1.5rem, env(safe-area-inset-top)) 1rem max(1.5rem, env(safe-area-inset-bottom));
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.card {
  width: 100%;
  max-width: 26rem;
  padding: 2.5rem 1.75rem 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(3rem, 14vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mark {
  margin: 0.5rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.route {
  display: block;
  width: 100%;
  max-width: 13rem;
  height: auto;
  margin: 1.75rem auto;
}

.route-line {
  stroke: var(--line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 6;
}

.node {
  fill: var(--card);
  stroke: var(--ink-faint);
  stroke-width: 1.5;
}

.node-start {
  fill: var(--sage);
  stroke: none;
}

.node-here {
  fill: var(--rose);
  stroke: none;
}

.lede {
  margin: 0 auto;
  max-width: 30ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}


.foot {
  font-size: 0.8125rem;
}

.foot a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--rose);
}

.foot a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
  border-radius: 2px;
}
