:root {
  --ink: #172033;
  --muted: #697286;
  --paper: #f6f3ed;
  --panel: #fff;
  --line: #ddd9cf;
  --accent: #ee6b45;
  --accent-dark: #b74224;
  --blue: #466c96;
  --ok: #277552;
  --warn: #9a6616;
  --danger: #a63737;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.11);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 80% 3%,
      rgba(238, 107, 69, 0.1),
      transparent 28rem
    ),
    var(--paper);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 3px;
}
.hidden,
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 32, 51, 0.12);
  background: rgba(246, 243, 237, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  font-weight: 900;
  letter-spacing: -0.06em;
  font-size: 1.55rem;
}
.brand span {
  color: var(--accent);
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
  font-size: 0.94rem;
}
.site-header nav a:hover,
.link-button:hover {
  color: var(--accent-dark);
}
.language {
  display: flex;
  gap: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 40px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.hero {
  min-height: calc(100vh - 76px);
  align-items: center;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(40px, 8vw, 110px);
  padding: 70px clamp(20px, 8vw, 130px);
}
.eyebrow {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  text-transform: uppercase;
}
.hero h1,
.page-heading h1,
.narrow-page h1,
.auth-page h1,
.open-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0.3em 0;
  font-size: clamp(2.7rem, 6.2vw, 6.7rem);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.34rem);
  color: var(--muted);
  max-width: 680px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 100px;
  padding: 10px 22px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition:
    0.18s transform,
    0.18s background,
    0.18s color;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--ink);
  color: #fff;
}
.button.primary:hover {
  background: var(--accent-dark);
}
.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}
.link-button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font-weight: 650;
}
.link-button.danger {
  color: var(--danger);
}
.future-card {
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  padding: 30px;
  box-shadow: var(--shadow);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.future-card:before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.year-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  z-index: 1;
}
.year-row span {
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  flex: 1;
}
.sealed-orb {
  align-self: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: radial-gradient(
    circle at 35% 30%,
    #ffae76,
    var(--accent) 35%,
    #9e3219 75%
  );
  font-family: Georgia, serif;
  font-size: 3.2rem;
  box-shadow: 0 20px 70px rgba(238, 107, 69, 0.35);
  z-index: 1;
}
.sealed-orb small {
  font:
    700 0.65rem/1.3 Inter,
    sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.future-card p {
  z-index: 1;
  margin: 0;
  color: #d7dce5;
}
.content-section,
.narrow-page {
  padding: 90px clamp(20px, 8vw, 130px);
}
.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 55px;
}
.feature-grid article,
.pricing-grid article {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  min-height: 230px;
}
.feature-grid h2,
.pricing-grid h2 {
  font-family: Georgia, serif;
  font-size: 2rem;
  margin: 0.7em 0 0.3em;
}
.feature-grid p,
.pricing-grid p {
  color: var(--muted);
}
.feature-icon,
.pricing-grid article > span {
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}
.centered-lead {
  text-align: center;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 3rem);
  max-width: 920px;
  margin: 0 auto;
}
.narrow-page {
  max-width: 1120px;
  margin: auto;
  min-height: calc(100vh - 160px);
}
.narrow-page h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.notice {
  border-left: 4px solid var(--accent);
  background: #fff7ef;
  padding: 18px 20px;
  border-radius: 4px 14px 14px 4px;
  margin: 24px 0;
  color: #5e4c42;
}
.auth-page,
.open-page {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}
.panel,
.open-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px);
}
.auth-page .panel {
  width: min(520px, 100%);
}
.auth-page h1,
.open-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 750;
}
label small,
.muted {
  color: var(--muted);
  font-weight: 450;
}
.check {
  flex-direction: row;
  align-items: flex-start;
}
.check input {
  width: auto;
  margin-top: 4px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfcac0;
  border-radius: 11px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(70, 108, 150, 0.13);
}
.global-message {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(620px, calc(100% - 32px));
  padding: 13px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.global-message.error {
  background: var(--danger);
}
.wizard-page {
  padding: 42px clamp(16px, 5vw, 70px) 90px;
}
.page-heading {
  max-width: 940px;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}
.wizard-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 800px);
  align-items: start;
  gap: 26px;
}
.stepper {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: sticky;
  top: 104px;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  padding: 7px;
}
.stepper li span {
  display: grid;
  place-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.7rem;
}
.stepper li b {
  font-size: 0.78rem;
}
.stepper li.active {
  color: var(--ink);
}
.stepper li.active span,
.stepper li.complete span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.wizard section h2 {
  font-family: Georgia, serif;
  font-size: 2.1rem;
  margin-top: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.choice-grid label {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
}
.choice-grid label:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(238, 107, 69, 0.22);
  background: #fff8f4;
}
.choice-grid input {
  width: auto;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.file-drop {
  border: 2px dashed #b8b2a8;
  min-height: 150px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 18px;
  background: #faf9f6;
  cursor: pointer;
}
.file-drop input {
  margin-top: 14px;
}
audio,
video {
  width: 100%;
  max-height: 440px;
  margin-top: 16px;
  border-radius: 16px;
}
progress {
  width: 100%;
  height: 12px;
  margin-top: 16px;
}
.recipient-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 15px;
}
.recipient-card legend {
  font-weight: 800;
  padding: 0 8px;
}
.summary-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  margin: 18px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  background: #faf9f6;
}
.summary-row strong {
  text-align: right;
}
.processing-ring {
  width: 42px;
  height: 42px;
  border: 4px solid #dedad1;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.account-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}
.account-nav {
  border-right: 1px solid var(--line);
  padding: 34px 20px;
  background: rgba(255, 255, 255, 0.35);
}
.account-nav h2 {
  font-family: Georgia, serif;
  font-weight: 500;
}
.account-nav nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: sticky;
  top: 110px;
}
.account-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.9rem;
}
.account-nav a:hover,
.account-nav a.active {
  background: var(--ink);
  color: #fff;
}
.account-content {
  padding: 42px clamp(18px, 4vw, 60px);
  min-width: 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 19px;
}
.metric b {
  font-family: Georgia, serif;
  font-size: 2rem;
  display: block;
}
.metric span {
  font-size: 0.75rem;
  color: var(--muted);
}
.card-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.data-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
  display: grid;
  gap: 7px;
}
.data-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}
.recipient-editor {
  gap: 18px;
}
.channel-list {
  display: grid;
  gap: 10px;
}
.compact-form {
  display: grid;
  grid-template-columns: minmax(160px, 1.4fr) 120px 80px minmax(
      170px,
      1fr
    ) auto auto;
  align-items: end;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf9f6;
}
.compact-form > span,
.compact-form .check {
  align-self: center;
}
.status {
  display: inline-flex;
  width: max-content;
  padding: 4px 9px;
  border-radius: 99px;
  background: #e9eef4;
  color: #294b6d;
  font-size: 0.72rem;
  font-weight: 800;
}
.status.error,
.status.failed,
.status.attention_required {
  background: #f8e2e2;
  color: var(--danger);
}
.status.active,
.status.ready,
.status.verified,
.status.opened {
  background: #dff2e8;
  color: var(--ok);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.toolbar input {
  flex: 1;
  min-width: 220px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
th,
td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  background: #f0ede7;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.timeline {
  border-left: 2px solid var(--line);
  padding-left: 22px;
  display: grid;
  gap: 17px;
}
.timeline article {
  position: relative;
}
.timeline article:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  left: -28px;
  top: 8px;
}
.open-card {
  width: min(800px, 100%);
  text-align: center;
}
.open-meta {
  color: var(--muted);
}
.revealed-content {
  text-align: left;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.revealed-content iframe,
.revealed-content video,
.revealed-content audio {
  width: 100%;
  border: 0;
}
.rich-text {
  white-space: pre-wrap;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.subpanel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
}
.preference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.preference-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
}
.preference-item input {
  margin-top: 4px;
}
.preference-item span {
  display: grid;
  gap: 3px;
}
.preference-item small,
.muted {
  color: var(--muted);
}
.admin-nav {
  background: #172033;
  color: #ecf0f5;
}
.admin-nav a:hover,
.admin-nav a.active {
  background: var(--accent);
}
@media (max-width: 900px) {
  .compact-form {
    grid-template-columns: 1fr 1fr;
  }
  .site-header nav a:not([data-auth-link="login"]) {
    display: none;
  }
  .section-grid {
    grid-template-columns: 1fr;
  }
  .future-card {
    min-height: 400px;
  }
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .wizard-shell {
    grid-template-columns: 1fr;
  }
  .stepper {
    position: static;
    display: flex;
    overflow: auto;
    padding-bottom: 12px;
  }
  .stepper li b {
    display: none;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: auto;
    padding: 10px 14px;
  }
  .account-nav h2 {
    display: none;
  }
  .account-nav nav {
    position: static;
    flex-direction: row;
    min-width: max-content;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
    gap: 12px;
  }
  .site-header nav {
    gap: 12px;
  }
  .language {
    display: none;
  }
  .hero {
    min-height: auto;
  }
  .section-grid,
  .content-section,
  .narrow-page {
    padding: 50px 18px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .future-card {
    border-radius: 24px;
    min-height: 360px;
  }
  .sealed-orb {
    width: 180px;
    height: 180px;
  }
  .form-row,
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .wizard-page {
    padding: 28px 12px 60px;
  }
  .wizard {
    padding: 20px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .preference-grid {
    grid-template-columns: 1fr;
  }
  .account-content {
    padding: 28px 14px;
  }
  .site-footer {
    padding: 28px 18px;
  }
  .site-footer span:last-child {
    display: none;
  }
}
