:root {
  color-scheme: dark;
  --ink: #f1eadb;
  --muted: #afa997;
  --gold: #c99a42;
  --gold-light: #f0cf83;
  --surface: rgba(24, 25, 21, 0.82);
  --line: rgba(236, 215, 168, 0.15);
  --page: #0d0e0c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 16%, rgba(112, 87, 35, 0.16), transparent 30rem),
    linear-gradient(145deg, #12130f 0%, var(--page) 55%, #11120f 100%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(201, 154, 66, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.ambient-one { top: -19rem; right: -10rem; }
.ambient-two { bottom: -25rem; left: -16rem; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 154, 66, 0.75);
}

.hero { padding: 104px 0 78px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero-copy {
  max-width: 640px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  line-height: 1.75;
}

.check-in {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.check-in-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

label {
  display: grid;
  gap: 10px;
  color: #d4cebf;
  font-size: 0.82rem;
}

textarea,
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(7, 8, 7, 0.55);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea { padding: 18px; resize: vertical; font-size: 1.05rem; line-height: 1.55; }
input { height: 50px; padding: 0 15px; }

textarea:focus,
input:focus {
  border-color: rgba(201, 154, 66, 0.7);
  box-shadow: 0 0 0 3px rgba(201, 154, 66, 0.1);
}

::placeholder { color: #747064; }

.prompt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.form-actions {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

#saved-message { margin: 0; color: var(--gold-light); font-size: 0.82rem; }

button[type="submit"] {
  min-width: 148px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #17140d;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 750;
  cursor: pointer;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 72px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
}

.principles article { padding: 32px; background: #11120f; }
.principles span { color: var(--gold); font: 0.75rem/1 Georgia, serif; }
.principles h3 { margin: 34px 0 12px; font: 1.3rem/1.2 Georgia, serif; }
.principles p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

@media (max-width: 700px) {
  .hero { padding-top: 74px; }
  .check-in-heading { align-items: start; flex-direction: column; }
  .prompt-grid, .principles { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  button[type="submit"] { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
