:root {
  color-scheme: light dark;
  --page: #f5f1e8;
  --surface: #ffffff;
  --surface-subtle: #ebe5da;
  --ink: #242320;
  --muted: #68635b;
  --quiet: #746e64;
  --line: #ddd5c7;
  --accent: #f16a2c;
  --accent-hover: #b74416;
  --accent-text: #a43c13;
  --accent-ink: #242320;
  --button: #242320;
  --button-ink: #ffffff;
  --error: #b3261e;
  --content-width: 1180px;
  --reading-width: 43rem;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button {
  font-family: inherit;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #242320;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-page,
.invite-page {
  background: var(--page);
}

.legal-header {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.legal-brand-mark {
  display: block;
  width: 32px;
  height: 35px;
  flex: none;
}

.legal-header nav,
.legal-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.legal-header nav {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.legal-header nav a,
.legal-footer nav a {
  text-decoration: none;
}

.legal-header nav a:last-child,
.nav-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.legal-header nav a:not(:last-child):hover,
.legal-header nav a:not(:last-child):focus-visible,
.legal-footer a:hover,
.legal-footer a:focus-visible,
.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--accent-hover);
}

.legal-main {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 60px 0 112px;
  border-top: 1px solid var(--line);
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 48px;
}

.eyebrow,
.legal-section-number,
.legal-updated,
.toc-label {
  font-family: ui-monospace, "SFMono-Regular", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-text);
  font-size: 0.76rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 880;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.legal-hero h1 {
  max-width: 800px;
}

.legal-lede {
  max-width: 750px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.25vw, 1.45rem);
  font-weight: 560;
  line-height: 1.48;
  letter-spacing: -0.025em;
}

.legal-updated {
  margin: 22px 0 0;
  color: var(--quiet);
  font-size: 0.72rem;
}

.legal-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 68px;
}

.legal-highlight,
.support-card {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.legal-highlight-icon {
  display: none;
}

.legal-highlight h2,
.support-card h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.legal-highlight p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 11px;
  padding: 5px 30px 5px 0;
  border-right: 1px solid var(--line);
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  counter-reset: legal-nav;
}

.legal-toc strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.83rem;
  letter-spacing: -0.01em;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 2.25em minmax(0, 1fr);
  gap: 6px;
  align-items: baseline;
  text-decoration: none;
  counter-increment: legal-nav;
}

.legal-toc a::before {
  content: counter(legal-nav, decimal-leading-zero);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--accent-text);
}

.legal-content {
  min-width: 0;
}

.legal-section {
  max-width: var(--reading-width);
  scroll-margin-top: 24px;
  padding: 0 0 56px;
  margin: 0 0 56px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section-number {
  margin: 0 0 10px;
  color: var(--accent-text);
  font-size: 0.7rem;
}

.legal-section h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.legal-section h3 {
  margin: 30px 0 10px;
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.67;
}

.legal-section p {
  margin: 0 0 18px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-section a {
  color: var(--ink);
  text-decoration-color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-section code {
  color: var(--ink);
  font-size: 0.88em;
}

.service-list {
  display: grid;
  gap: 0;
  padding: 0 !important;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 6px 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.service-list strong {
  color: var(--ink);
}

.service-list a {
  grid-column: 2;
  width: fit-content;
  font-size: 0.88rem;
}

.support-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 70px;
}

.support-intro .legal-hero {
  margin-bottom: 0;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.support-grid {
  display: grid;
  gap: 16px;
  margin: 0 0 48px;
}

.support-intro .support-grid {
  margin: 0;
}

.support-card {
  min-height: 150px;
}

.support-card .primary {
  width: fit-content;
  margin-top: 22px;
}

.primary,
.secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  background: var(--button);
  color: var(--button-ink);
}

.primary-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.faq-shell {
  width: 100%;
}

.faq-shell .legal-section {
  max-width: none;
}

.faq-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 4px;
}

.faq-heading .legal-section-number {
  margin-bottom: 23px;
  color: var(--quiet);
}

.faq-list {
  display: grid;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 25px 54px 25px 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: var(--reading-width);
  padding: 0 54px 24px 0;
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.support-contact {
  max-width: var(--reading-width);
  padding: 38px 0 0;
}

.faq-shell .support-contact {
  max-width: var(--reading-width);
}

.legal-footer {
  width: min(calc(100% - 48px), var(--content-width));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.82rem;
}

.invite-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.invite-main {
  width: min(calc(100% - 48px), var(--content-width));
  min-height: calc(100vh - 104px);
  display: grid;
  align-items: center;
  margin: 0 auto;
  padding: 70px 0 110px;
  border-top: 1px solid var(--line);
}

.invite-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 84px;
  align-items: center;
}

.invite-copy h1 {
  max-width: 780px;
  margin-bottom: 28px;
}

.invite-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.invite-panel-label {
  margin: 0 0 20px;
  color: var(--quiet);
  font-family: ui-monospace, "SFMono-Regular", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.invite-panel .primary,
.invite-panel .secondary {
  width: 100%;
  margin-top: 12px;
}

.invite-panel .primary:first-child,
.invite-panel-label + div > .primary:first-child {
  margin-top: 0;
}

.muted,
.status {
  color: var(--quiet);
  font-size: 0.86rem;
  line-height: 1.55;
}

.invite-panel .muted {
  margin: 22px 0 0;
}

.status {
  min-height: 1.35em;
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
}

.status:empty {
  min-height: 0;
  margin-top: 0;
}

.error {
  padding: 16px;
  border: 1px solid currentColor;
  border-radius: 16px;
  color: var(--error);
  font-size: 0.94rem;
  line-height: 1.5;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #171614;
    --surface: #242320;
    --surface-subtle: #302e29;
    --ink: #f5f1e8;
    --muted: #b8b0a3;
    --quiet: #aaa294;
    --line: #403c35;
    --accent: #f16a2c;
    --accent-hover: #ff9a65;
    --accent-text: #ff9a65;
    --accent-ink: #171614;
    --button: #f5f1e8;
    --button-ink: #171614;
    --error: #ff8b7a;
  }
}

@media (max-width: 900px) {
  .legal-main,
  .invite-main {
    padding-top: 46px;
    padding-bottom: 84px;
  }

  .legal-highlights,
  .support-intro,
  .invite-stage {
    grid-template-columns: 1fr;
  }

  .support-intro,
  .invite-stage {
    gap: 42px;
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }

  .invite-copy h1 {
    max-width: 720px;
  }

  .invite-panel {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .legal-header,
  .legal-main,
  .legal-footer,
  .invite-main {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .legal-header {
    min-height: 86px;
  }

  .legal-header nav,
  .legal-footer nav {
    gap: 16px;
  }

  .legal-header nav a:last-child,
  .nav-cta {
    min-height: 40px;
    padding-inline: 16px;
  }

  .legal-main,
  .invite-main {
    min-height: calc(100vh - 86px);
    padding-top: 38px;
    padding-bottom: 66px;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .legal-lede,
  .invite-copy > p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  .legal-highlights,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-highlights {
    margin-bottom: 54px;
  }

  .legal-highlight,
  .support-card,
  .invite-panel {
    padding: 23px;
    border-radius: 20px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .service-list li {
    grid-template-columns: 1fr;
  }

  .service-list a {
    grid-column: 1;
  }

  .faq-heading {
    display: block;
  }

  .faq-heading .legal-section-number {
    margin-bottom: 18px;
  }

  .faq-list summary {
    padding-right: 42px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .invite-stage {
    gap: 34px;
  }

  .legal-footer {
    display: grid;
  }
}

@media (max-width: 480px) {
  .legal-brand {
    font-size: 1.05rem;
  }

  .legal-header nav a:not(:last-child) {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .primary,
  .secondary,
  .legal-header nav a:last-child {
    transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
  }

  .primary:hover,
  .secondary:hover,
  .legal-header nav a:last-child:hover {
    transform: translateY(-1px);
  }

  .primary:active,
  .secondary:active,
  .legal-header nav a:last-child:active {
    transform: translateY(0) scale(0.985);
  }
}

@media print {
  :root {
    --page: #ffffff;
    --surface: #ffffff;
    --ink: #000000;
    --muted: #333333;
    --quiet: #555555;
    --line: #cccccc;
  }

  .legal-header,
  .legal-footer,
  .legal-toc,
  .legal-highlights {
    display: none;
  }

  .legal-main {
    width: 100%;
    padding: 0;
    border: 0;
  }

  .legal-section {
    max-width: none;
    break-inside: avoid;
  }
}

/* Shared record-and-inbox artwork comes from the production icon layers. */
.home-art {
  margin-bottom: 28px;
}
.home-art img {
  display: block;
  width: clamp(112px, 12vw, 160px);
  height: auto;
  filter: drop-shadow(0 12px 14px rgb(67 45 24 / 12%));
}
.home-page .invite-main {
  padding-top: 42px;
  padding-bottom: 64px;
}
.home-page .invite-copy h1 {
  font-size: clamp(3.2rem, 6.6vw, 5.3rem);
  letter-spacing: -0.055em;
}
.empty-mark {
  display: block;
  margin-bottom: 26px;
}
@media (prefers-color-scheme: dark) {
  .home-art img, .empty-mark, .legal-brand-mark {
    filter: drop-shadow(0 1px 0 rgb(255 244 219 / 18%));
  }
}
@media (max-width: 640px) {
  .home-art { margin-bottom: 24px; }
  .home-page .invite-copy h1 { font-size: clamp(2.9rem, 13vw, 4.7rem); }
  .home-page .invite-main { padding-top: 32px; }
}

/* Homepage content sections below the hero. */
.home-page .invite-main {
  min-height: 0;
  align-content: start;
}
.home-page .invite-stage {
  min-height: calc(100vh - 220px);
}
.home-sections {
  display: grid;
  gap: 96px;
  margin-top: 112px;
}
.home-section {
  scroll-margin-top: 24px;
}
.home-section h2 {
  max-width: 760px;
  margin: 0 0 32px;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.home-section-narrow {
  max-width: var(--reading-width);
}
.home-section-narrow p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.67;
}
.home-section-narrow p:last-of-type {
  margin-bottom: 0;
}
.home-section-narrow a {
  color: var(--ink);
  text-decoration-color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.home-section-narrow .support-actions {
  margin-top: 28px;
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-steps li {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.home-step-number {
  display: block;
  margin: 0 0 18px;
  color: var(--accent-text);
  font-family: ui-monospace, "SFMono-Regular", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}
.home-steps h3,
.home-grid h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.home-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .home-page .invite-stage {
    min-height: 0;
  }
  .home-sections {
    gap: 72px;
    margin-top: 84px;
  }
  .home-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .home-sections {
    gap: 56px;
    margin-top: 64px;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .home-steps li,
  .home-grid .support-card {
    padding: 22px;
  }
}
