:root {
  --ink: #17212b;
  --muted: #5f6873;
  --paper: #fbfaf6;
  --card: rgba(255, 255, 255, 0.92);
  --line: #dfe4df;
  --blue: #315fe8;
  --blue-dark: #2448b9;
  --sage: #a8bc8b;
  --sage-dark: #607a4c;
  --peach: #f18b64;
  --shadow: 0 22px 60px rgba(29, 45, 58, 0.1);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(168, 188, 139, 0.16), transparent 30rem),
    radial-gradient(circle at 88% 88%, rgba(49, 95, 232, 0.08), transparent 34rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 228, 223, 0.85);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand img { width: 42px; height: 42px; object-fit: contain; }

.navigation { display: flex; align-items: center; gap: 28px; }
.navigation a {
  color: #3d4650;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--blue); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font-size: 1.2rem;
}

.home-main {
  min-height: calc(100vh - 146px);
  display: grid;
  place-items: center;
  padding: 72px 24px 92px;
  text-align: center;
}

.coming-soon {
  width: min(700px, 100%);
  animation: arrive 650ms ease-out both;
}

.hero-logo {
  width: clamp(170px, 28vw, 270px);
  filter: drop-shadow(0 18px 32px rgba(49, 95, 232, 0.14));
}

.coming-soon h1 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.eyebrow {
  margin: 30px 0 0;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.coming-soon p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.5vw, 1.22rem);
}

.page-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.page-heading { margin-bottom: 34px; }
.page-heading .kicker {
  color: var(--sage-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-heading h1 {
  margin: 7px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.page-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.content-card {
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid rgba(223, 228, 223, 0.94);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.content-card + .content-card { margin-top: 24px; }
.content-card h2 { margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -0.02em; }
.content-card h3 { margin: 28px 0 8px; font-size: 1.04rem; }
.content-card p { margin: 0 0 16px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { margin: 8px 0 18px; padding-left: 23px; }
.content-card li + li { margin-top: 7px; }

.legal-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.35rem) !important;
  font-weight: 500;
  letter-spacing: -0.035em !important;
}

.legal-owner { margin-top: -6px !important; font-weight: 700; }

.legal-divider {
  height: 1px;
  margin: 42px 0;
  border: 0;
  background: var(--line);
}

.legal-terms { scroll-margin-top: 104px; }
.effective-date { color: var(--muted); font-size: 0.9rem; }

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(49, 95, 232, 0.18);
  cursor: pointer;
}
.button:hover { background: var(--blue-dark); color: white; }
.button[disabled] { cursor: wait; opacity: 0.65; }
.button-secondary { background: #edf1ff; color: var(--blue-dark); box-shadow: none; }

.faq-list { display: grid; gap: 13px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow: hidden;
}
.faq-list summary { padding: 19px 22px; font-weight: 740; cursor: pointer; }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

.utility-main {
  min-height: calc(100vh - 146px);
  display: grid;
  place-items: center;
  padding: 60px 20px 90px;
}
.utility-card {
  width: min(540px, 100%);
  padding: clamp(28px, 7vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
  text-align: center;
}
.utility-icon { width: 88px; height: 88px; object-fit: contain; }
.utility-card h1, .utility-card h2 { margin: 18px 0 8px; letter-spacing: -0.035em; }
.utility-card p { margin: 0 auto 22px; color: var(--muted); }
.invitation-eyebrow { margin: 16px auto 4px !important; color: var(--sage-dark) !important; }
.invitation-button { width: 100%; margin-top: 6px; background: var(--sage-dark); box-shadow: 0 10px 24px rgba(96, 122, 76, 0.2); }
.invitation-button:hover { background: #4f673e; }
.invitation-details { margin: 28px 0 0; padding: 22px; border-radius: 18px; background: #f5f7f1; text-align: left; }
.invitation-details h2 { margin: 0 0 7px; font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.invitation-details p { margin: 0; font-size: .92rem; line-height: 1.58; }
.invitation-note { margin: 18px auto 0 !important; font-size: .82rem; color: #89918f !important; }

.form-field { margin-top: 18px; text-align: left; }
.form-field label { display: block; margin-bottom: 7px; font-size: 0.9rem; font-weight: 720; }
.form-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cfd6d3;
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.form-field input:focus { outline: 3px solid rgba(49,95,232,0.15); border-color: var(--blue); }
.form-actions { margin-top: 22px; }
.form-actions .button { width: 100%; }
.form-message { min-height: 24px; margin-top: 14px !important; font-size: 0.92rem; }
.form-message.error { color: #a52c2c; }
.form-message.success { color: #397044; }
.hidden { display: none !important; }

.admin-body {
  background:
    radial-gradient(circle at 8% 0%, rgba(168, 188, 139, 0.2), transparent 28rem),
    var(--paper);
}
.admin-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.admin-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(18px);
}
.admin-header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-main { padding: 56px 0 90px; }
.admin-main h1 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.admin-login { width: min(520px, 100%); margin: 5vh auto 0; text-align: center; }
.admin-login > p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); }
.admin-login-card {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: left;
}
.admin-primary { width: 100%; background: var(--sage-dark); box-shadow: 0 10px 24px rgba(96, 122, 76, 0.2); }
.admin-primary:hover { background: #4f673e; }
.admin-header-actions { display: flex; align-items: center; gap: 18px; }
.admin-text-link { color: var(--sage-dark); font-size: .92rem; font-weight: 750; text-decoration: none; }
.admin-text-button { border: 0; background: none; color: var(--sage-dark); font: inherit; font-weight: 750; cursor: pointer; }
.admin-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.admin-refresh { min-height: 44px; background: #eef2ea; color: var(--sage-dark); }
.admin-filters {
  display: inline-flex;
  margin: 32px 0 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  gap: 2px;
}
.admin-filters button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .92rem;
  font-weight: 720;
  cursor: pointer;
}
.admin-filters button[aria-pressed="true"] { background: #eaf1e4; color: var(--sage-dark); }
.admin-state { min-height: 28px; margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.admin-state.error { color: #a52c2c; }
.admin-report-list { display: grid; gap: 22px; }
.admin-report-card {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(330px, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 44px rgba(29, 45, 58, 0.08);
}
.admin-preview {
  min-height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef0ec;
  color: var(--muted);
  font-size: .92rem;
}
.admin-preview img, .admin-preview video { width: 100%; height: 100%; max-height: 540px; object-fit: contain; background: #111; }
.admin-report-content { padding: clamp(24px, 4vw, 38px); }
.admin-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-report-heading h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.025em; }
.admin-status { padding: 5px 10px; border-radius: 999px; background: #eef1ed; color: var(--muted); font-size: .76rem; font-weight: 780; }
.admin-status-open { background: #fff0e9; color: #b65c3a; }
.admin-status-reviewed { background: #edf2ff; color: var(--blue-dark); }
.admin-status-removed { background: #f6e8e8; color: #9b3e3e; }
.admin-status-dismissed { background: #eef0ee; color: #626a67; }
.admin-status-queued { background: #fff4dd; color: #8a6417; }
.admin-status-accepted { background: #edf2ff; color: var(--blue-dark); }
.admin-status-sent { background: #eaf3e5; color: #456834; }
.admin-status-failed { background: #f6e8e8; color: #9b3e3e; }
.admin-report-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; margin: 26px 0 0; }
.admin-report-facts div { min-width: 0; }
.admin-report-facts dt { color: #89918f; font-size: .73rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.admin-report-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 650; }
.admin-report-details { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid var(--sage); border-radius: 0 12px 12px 0; background: #f5f7f1; color: #414a50; }
.admin-history { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.admin-history summary { color: var(--muted); font-size: .88rem; font-weight: 700; cursor: pointer; }
.admin-history ol { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: .85rem; }
.admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 28px; }
.admin-action {
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  font-weight: 740;
  cursor: pointer;
}
.admin-action:disabled { cursor: default; opacity: .45; }
.admin-action-primary { border-color: var(--sage-dark); background: var(--sage-dark); color: white; }
.admin-action-danger { border-color: #e5b5b5; color: #9b3e3e; }
.admin-action-secondary { color: var(--muted); }
.admin-delivery-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  margin: 32px 0 20px;
}
.admin-delivery-filters label { color: #89918f; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-delivery-filters select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  font-weight: 650;
  text-transform: none;
}
.admin-delivery-list { display: grid; gap: 10px; }
.admin-delivery-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 28px rgba(29, 45, 58, .05);
}
.admin-delivery-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-delivery-card p { margin: 7px 0 0; color: var(--muted); font-size: .9rem; }
.admin-delivery-card time { display: block; margin-top: 5px; color: #89918f; font-size: .8rem; }
.admin-delivery-card .admin-delivery-reference { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; overflow-wrap: anywhere; }
.admin-delivery-card .admin-delivery-error { color: #9b3e3e; overflow-wrap: anywhere; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }

@keyframes arrive {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .nav-shell { width: min(100% - 28px, 1120px); min-height: 68px; }
  .menu-button { display: inline-grid; place-items: center; }
  .navigation {
    display: none;
    position: absolute;
    top: 67px;
    right: 14px;
    left: 14px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .navigation.is-open { display: flex; }
  .navigation a { padding: 10px 8px; }
  .contact-box, .footer-shell { align-items: flex-start; flex-direction: column; }
  .footer-shell { padding: 22px 0; }
  .admin-shell { width: min(100% - 28px, 1120px); }
  .admin-main { padding-top: 36px; }
  .admin-title-row { align-items: flex-start; }
  .admin-filters { width: 100%; overflow-x: auto; }
  .admin-filters button { flex: 1 0 auto; }
  .admin-report-card { grid-template-columns: 1fr; }
  .admin-preview { min-height: 280px; max-height: 460px; }
  .admin-report-content { padding: 24px 20px; }
  .admin-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-action-primary { grid-column: 1 / -1; }
  .admin-delivery-filters { grid-template-columns: 1fr; }
}

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