:root {
  --cream: #f6f0e8;
  --dark-brown: #6b4a35;
  --terracotta: #b85c4b;
  --beige: #d9c7b3;
  --espresso: #4a2f20;
  --gold: #c8a45d;
  --forest-green: #173d2a;
  --card-bg: #fffaf4;
  --shadow: 0 22px 60px rgba(74, 47, 32, 0.14);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--dark-brown);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(200, 164, 93, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--cream) 0%, #efe3d5 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100svh;
  padding: 22px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
}

.landing-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid rgba(107, 74, 53, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 250, 244, 0.9)),
    var(--card-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  text-align: center;
}

.logo {
  width: min(188px, 54vw);
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.tagline {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 4px 12px;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: var(--espresso);
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.85rem);
  line-height: 1;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.intro {
  margin-top: 14px;
  color: rgba(74, 47, 32, 0.86);
  font-size: 1rem;
}

.warm-line {
  margin-top: 10px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.quick-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.action-link {
  min-height: 54px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(107, 74, 53, 0.26);
  border-radius: 8px;
  background: rgba(246, 240, 232, 0.76);
  color: var(--espresso);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: inset 0 -1px 0 rgba(107, 74, 53, 0.12);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.action-link span:last-child {
  min-width: 0;
}

.action-link.primary {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fffaf4;
}

.action-link:hover {
  transform: translateY(-1px);
  border-color: var(--terracotta);
  background: #fff7ef;
}

.action-link.primary:hover {
  background: #a84f40;
  color: #fffaf4;
}

.action-link:focus-visible {
  outline: 3px solid rgba(200, 164, 93, 0.68);
  outline-offset: 3px;
}

.notice {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(184, 92, 75, 0.24);
  border-radius: 8px;
  background: rgba(217, 199, 179, 0.32);
}

.notice h2 {
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.notice p {
  margin-top: 7px;
  color: rgba(74, 47, 32, 0.88);
  font-size: 0.96rem;
}

.notice .admin-note {
  color: var(--dark-brown);
  font-weight: 750;
}

.mini-menu {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mini-menu div {
  min-height: 44px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dotted rgba(107, 74, 53, 0.32);
}

.mini-menu p {
  color: rgba(74, 47, 32, 0.9);
  font-size: 0.95rem;
}

.footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(107, 74, 53, 0.2);
  text-align: center;
}

.footer p {
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
}

.footer small {
  display: block;
  margin-top: 4px;
  color: rgba(74, 47, 32, 0.72);
  font-size: 0.85rem;
}

@media (min-width: 760px) {
  .page-shell {
    padding-block: 42px;
  }

  .landing-card {
    max-width: 520px;
  }
}

@media (max-width: 430px) {
  .page-shell {
    padding: 18px 12px;
  }

  .landing-card {
    padding: 20px 14px 24px;
  }

  .logo {
    width: min(156px, 46vw);
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.35rem);
  }

  .intro,
  .warm-line {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
  }

  .action-link {
    padding-inline: 10px;
  }
}

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