:root {
  --bg: #ffffff;
  --text: #171717;
  --ink: #1c1917;
  --muted: #57534e;
  --border: #e7e5e4;
  --success: #166534;
  --error: #b91c1c;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

h1 {
  color: var(--ink);
  font-size: 28px;
  margin: 0 0 12px;
  line-height: 1.25;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

.consent {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.draft-badge {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--error);
}

/* ==== Shared header (matches soreninisngo.com) ==== */
.skip-link {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
.skip-link:focus {
  clip: auto;
  border: 0;
  height: auto;
  width: auto;
  margin: 0;
  position: fixed;
  top: 4px;
  left: 4px;
  z-index: 100;
  background: #1c1917;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
#skip-nav:focus {
  left: 44px;
}
#navigation {
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header {
  border-bottom: 1px solid #e7e5e4cc;
  background: #ffffffd9;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .header-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}
@media (min-width: 640px) {
  .site-header .header-inner {
    gap: 24px;
    padding: 16px 24px;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9999px;
  text-decoration: none;
  color: #171717;
  flex-shrink: 0;
}
.brand-text {
  font-size: 1rem;
  line-height: calc(1.5 / 1);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1c1917;
  display: none;
}
@media (min-width: 640px) {
  .brand-text {
    display: inline;
  }
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e7e5e4;
  display: block;
}
.brand:focus-visible .brand-logo,
.brand:hover .brand-logo {
  border-color: #d6d3d1;
}
.brand:focus-visible {
  outline: 2px solid #1c1917;
  outline-offset: 2px;
}
.site-nav {
  margin-left: auto;
}
.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .site-nav .nav-list {
    gap: 8px;
  }
}
.site-nav .nav-link {
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  font-weight: 500;
  color: #57534d;
  text-decoration: none;
}
@media (min-width: 640px) {
  .site-nav .nav-link {
    padding: 8px 16px;
  }
}
.site-nav .nav-link:hover {
  background: #f5f5f4;
  color: #1c1917;
}
.site-nav .nav-link:focus-visible {
  outline: 2px solid #1c1917;
  outline-offset: 2px;
}

/* ==== Shared footer (matches soreninisngo.com) ==== */
.sr-only {
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
.site-footer {
  margin-top: 80px;
  border-top: 1px solid #e7e5e4;
}
.site-footer .footer-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 32px 16px;
}
@media (min-width: 640px) {
  .site-footer .footer-inner {
    padding: 64px 24px;
  }
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.875rem;
  line-height: calc(1.25 / 0.875);
  color: #79716b;
}
@media (min-width: 640px) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-row p {
  margin: 0;
}
.footer-row .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  row-gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-row .footer-nav a {
  color: inherit;
  text-decoration: none;
}
.footer-row .footer-nav a:hover {
  color: #1c1917;
}
.footer-bottom {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid #e7e5e4;
  padding-top: 24px;
}
@media (min-width: 640px) {
  .footer-bottom {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-social,
.footer-contact-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  row-gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social a,
.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.footer-social a:hover,
.footer-contact-list a:hover {
  color: #1c1917;
}
.footer-social a:focus-visible,
.footer-contact-list a:focus-visible {
  outline: 2px solid #1c1917;
  outline-offset: 2px;
}
.footer-social svg,
.footer-contact-list svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ==== Gift table ==== */
.table-wrap {
  overflow-x: auto;
  width: 100%;
  margin: 16px 0;
}
.gifts-table {
  width: 100%;
  border-collapse: collapse;
}
.gifts-table caption {
  caption-side: top;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #57534e;
  margin-bottom: 8px;
}
.gifts-table th {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #57534e;
  padding: 8px 12px;
  border-bottom: 1px solid #e7e5e4;
}
.gifts-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7e5e4;
  font-size: 14px;
  vertical-align: top;
}
.gifts-table td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  background: #f5f5f3;
  padding: 2px 6px;
  border-radius: 6px;
}
.btn-send {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 9999px;
  background: var(--ink);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.btn-send:hover {
  opacity: 0.9;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 6px 12px;
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.btn-copy:hover {
  background: #f5f5f3;
}

@media (max-width: 480px) {
  .wrap {
    padding: 32px 16px 56px;
  }

  h1 {
    font-size: 24px;
  }
}
