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

:root {
  color-scheme: dark;
  --bg: #000000;
  --fg: #f4f4f2;
  --soft: #b8b8b8;
  --dim: #969696;
  --link-primary: #d0d0d0;
  --line: #262626;
  --panel: #141414;
  --serif: "Baskervville", "Baskerville", "Times New Roman", serif;
  --display: "ZT Talk", "Helvetica Neue", Arial, sans-serif;
  --wordmark: "Baskervville", "Baskerville", "Times New Roman", serif;
  --sans: "ZT Talk", "Helvetica Neue", Arial, sans-serif;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #0a0a0b;
  --soft: #55555e;
  --dim: #707078;
  --link-primary: #44444b;
  --line: #e2e2e2;
  --panel: #f5f5f7;
}
html[data-theme="dark"] { color-scheme: dark; }

html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.page { width: min(100%, 32rem); margin: 0 auto; padding: 2.5rem 1.25rem 2.5rem; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.top { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.wordmark {
  font-family: var(--wordmark);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  padding-left: .3em;
  white-space: nowrap;
}
.social { display: flex; align-items: center; justify-content: center; gap: .1rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 1px solid transparent; border-radius: 10px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.social .icon { width: 1.1rem; height: 1.1rem; }
.social a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.intro {
  margin-top: 2.25rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 9.4vw, 2.9rem);
  line-height: .94;
  letter-spacing: -.03em;
  word-spacing: .015em;
  text-wrap: balance;
}

.letter { margin-top: 1.7rem; padding: 1.2rem 1.15rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.letter-kicker { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.035em; }
.letter-copy { margin-top: .25rem; color: var(--soft); font-size: .9375rem; line-height: 1.4; }
.signup { margin-top: .8rem; }
.signup-field {
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: #090909; border: 1px solid #3a3a3a; border-radius: 999px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.signup .formkit-field { flex: 1 1 auto; min-width: 0; }
.signup input {
  display: block; width: 100%; height: 46px; padding: 0 .9rem;
  border: 0; border-radius: 999px; outline: 0; background: transparent;
  color: #f4f4f2; font: 400 1rem var(--sans);
}
.signup input::placeholder { color: #a8a8a8; opacity: 1; }
.signup-field:focus-within { border-color: #8a8a8a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.signup-btn {
  flex: 0 0 auto; height: 46px; padding: 0 1.2rem;
  border-radius: 999px; background: #ffffff; color: #000000;
  font: 600 .875rem var(--sans); white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.signup-btn:hover { background: #000000; color: #ffffff; box-shadow: inset 0 0 0 1px #ffffff; }
.signup-btn:disabled { cursor: wait; }
.formkit-alert { list-style: none; }
.formkit-alert:empty { display: none; }
.formkit-alert-error { margin-top: .5rem; padding-left: 1rem; color: #ffb5a8; font-size: .875rem; }
.formkit-alert-success { margin-top: .5rem; padding-left: 1rem; color: #b8e3c9; font-size: .875rem; }
.formkit-powered-by-convertkit-container { display: none !important; }
.formkit-form .formkit-fields { display: flex !important; flex-wrap: nowrap !important; margin: 0 !important; }
.formkit-form .formkit-field { flex: 1 1 auto !important; min-width: 0; margin: 0 !important; }
.formkit-form .formkit-submit { flex: 0 0 auto !important; margin: 0 !important; }
.signup-note { margin-top: .45rem; color: var(--dim); font-size: .72rem; line-height: 1.35; text-align: center; }

.rows { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem; margin-inline: -.55rem; padding: .62rem .55rem;
  border-radius: 10px; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.row-content { display: block; min-width: 0; }
.row-name { display: block; font-size: 1.0625rem; font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.row-note { display: block; margin-top: .16rem; color: var(--soft); font-size: .8125rem; line-height: 1.35; transition: color .2s ease; }
.row-arrow { width: 1rem; height: 1rem; flex: 0 0 auto; color: var(--soft); transition: color .2s ease, transform .2s ease; }
.row-mail { width: 1rem; height: 1rem; flex: 0 0 auto; color: var(--soft); transition: color .2s ease; }
.row:hover, .row:focus-visible { background: var(--fg); color: var(--bg); }
.row:hover .row-note, .row:focus-visible .row-note, .row:hover .row-arrow, .row:focus-visible .row-arrow,
.row:hover .row-mail, .row:focus-visible .row-mail { color: var(--bg); }
.row:hover .row-arrow, .row:focus-visible .row-arrow { transform: translate(2px, -2px); }

.foot { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 2.5rem; text-align: center; }
.winnie-companion { display: flex; align-items: flex-end; width: 76px; height: 97px; }
.winnie-portrait { width: 76px; height: 97px; object-fit: contain; object-position: center bottom; image-rendering: pixelated; }
.winnie-portrait:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; border-radius: 8px; }
.foot-line { font-family: var(--wordmark); font-style: italic; font-weight: 400; font-size: .9375rem; color: var(--soft); }
.foot-links { display: flex; align-items: center; gap: 1.5rem; font: .8125rem var(--sans); color: var(--dim); }
.foot-links a, .foot-links button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  border: 0; background: transparent; color: inherit; font: inherit;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.foot-links .site-link { color: var(--link-primary); font-weight: 550; }
.foot-links .privacy-link { color: var(--dim); }
.foot-links a:hover, .foot-links button:hover { text-decoration-color: var(--fg); color: var(--fg); }
.toast {
  position: fixed; z-index: 10; left: 50%; bottom: 1rem;
  max-width: calc(100vw - 2rem); padding: .55rem .9rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: .8125rem;
  opacity: 0; pointer-events: none; transform: translate(-50%, .5rem);
  transition: opacity .18s ease, transform .18s ease;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.contact-dialog {
  position: fixed; inset: 0; margin: auto;
  width: min(34rem, calc(100% - 2rem)); max-height: min(85vh, 42rem); overflow: auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--fg); text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.contact-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.contact-dialog[open] { animation: contact-in .18s ease-out; }
.contact-head { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.contact-close {
  min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line);
  border-radius: 999px; background: transparent; color: var(--fg);
  font: 600 .8125rem var(--sans);
}
.contact-close:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.contact-dialog h2 {
  margin-bottom: .75rem; font: 500 clamp(1.6rem, 5vw, 2rem)/1.12 var(--serif);
  text-wrap: balance;
}
.contact-dialog p { margin-bottom: .65rem; color: var(--soft); }
.contact-email {
  display: block; margin-bottom: 1.25rem; color: var(--fg);
  font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere;
}
@keyframes contact-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 360px) {
  .page { padding-inline: 1rem; }
  .wordmark { font-size: .8rem; letter-spacing: .16em; }
  .signup-btn { padding: 0 .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
