:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #e5ebe8;
  --muted: #bac5c3;
  --muted-soft: #a4b0ae;
  --line: #37444d;
  --line-strong: #45545d;
  --accent: #a6c0b6;
  --accent-strong: #89a99d;
  --accent-deep: #263932;
  --paper: #222c35;
  --paper-raised: #28333c;
  --field: #192229;
  --warning: #d1c29f;
  --danger: #e5a39b;
  background: #171e24;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #171e24; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0, #202a32 0, #1a2229 44%, #171e24 100%);
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1120px;
  height: 126px;
  margin: auto;
  padding: 0 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { display: block; width: 88px; height: 88px; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-name { color: #edf3f0; font-size: 34px; font-weight: 650; letter-spacing: -.055em; line-height: 1; }
.brand-tagline { color: #bac6c2; font-size: 10px; font-weight: 600; letter-spacing: .105em; line-height: 1.3; text-transform: uppercase; }
.top-note {
  position: absolute;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bac6c2;
  font-size: 12px;
  letter-spacing: .025em;
}
.top-lock-icon {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: #a6c0b6;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 78px;
  row-gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px 72px;
}
.intro { max-width: 470px; padding: 39px 0 25px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bac5c3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 26px 0 22px;
  font-size: clamp(48px, 5.7vw, 72px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.02;
}
h1 span { color: var(--accent); }
.lead {
  max-width: 435px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.trust-row {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 31px;
  color: #c3ceca;
  font-size: 13px;
}
.check { margin-right: 7px; color: var(--accent); font-size: 14px; font-weight: 700; }

.card {
  padding: 29px 31px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(155deg, #26313a 0%, var(--paper) 62%);
  box-shadow: 0 18px 46px #090e120d;
}
.compose-card { margin-top: 14px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; }
.card h2 {
  margin: 9px 0 0;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.04em;
}
.lock-badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #4a5b61;
  border-radius: 50%;
  color: var(--accent);
  background: #1d282e;
}
.lock-badge svg, .read-lock svg, .mini-lock {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lock-badge svg { width: 19px; height: 19px; stroke-width: 1.7; }
label {
  display: block;
  margin-bottom: 9px;
  color: #d0d9d5;
  font-size: 12px;
  font-weight: 600;
}
textarea {
  width: 100%;
  min-height: 128px;
  height: 169px;
  resize: vertical;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  color: var(--ink);
  background: var(--field);
  font-size: 13px;
  line-height: 1.7;
  transition: border-color .2s, box-shadow .2s;
}
textarea:focus, input:focus, select:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px #91afa522;
}
textarea::placeholder, input::placeholder { color: #9ba9a8; }
.field-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted-soft);
  font-size: 11px;
}
.attachment-field {
  margin-top: 19px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1c252b;
}
.attachment-field > label { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.optional-label { color: var(--muted-soft); font-size: 10px; font-weight: 500; }
#message-attachment {
  width: 100%;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  background: #222d34;
  font-size: 11px;
}
#message-attachment::file-selector-button {
  margin-right: 11px;
  padding: 7px 10px;
  border: 1px solid #53675f;
  border-radius: 5px;
  color: #e1ebe6;
  background: #34463f;
  font: inherit;
  cursor: pointer;
}
.attachment-status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; color: var(--muted-soft); font-size: 11px; overflow-wrap: anywhere; }
.remove-attachment { flex: 0 0 auto; margin: 0; padding: 0; color: var(--accent); font-size: 11px; }
.attachment-help { margin: 8px 0 0; color: var(--muted-soft); font-size: 10px; line-height: 1.6; }
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .15s;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button-primary {
  width: 100%;
  margin-top: 18px;
  color: #f5f8f6;
  background: #54746b;
}
.button-primary:hover { background: #63857b; }
.button-primary span + span { color: #d3e1dc; font-size: 17px; }
.form-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--muted-soft);
  font-size: 11px;
  line-height: 1.6;
}
.mini-lock { flex: 0 0 auto; width: 14px; height: 14px; color: var(--accent-strong); stroke-width: 1.8; }
.crypto-note { margin: 7px 0 0 22px; color: var(--muted-soft); font-size: 11px; line-height: 1.6; }
.form-error { margin: 12px 0 0; color: var(--danger); font-size: 12px; line-height: 1.55; }

.how-it-works, .faq-section {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.how-it-works { margin-top: 70px; }
.section-intro { max-width: 650px; }
.section-title { margin: 9px 0 6px; color: var(--ink); font-size: clamp(23px, 3vw, 29px); font-weight: 600; letter-spacing: -.045em; line-height: 1.2; }
.section-intro > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 25px; }
.steps article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 152px;
  max-width: none;
  padding: 21px 20px;
  border: 1px solid #3b4a50;
  border-radius: 12px;
  background: linear-gradient(145deg, #26323a 0%, #202a31 100%);
  transition: border-color .2s, transform .2s, background .2s;
}
.steps article:hover { transform: translateY(-2px); border-color: #5e766c; background: linear-gradient(145deg, #2a383e 0%, #222e33 100%); }
.step-icon {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #4a6057;
  border-radius: 11px;
  color: #c5dbd1;
  background: #253a33;
}
.step-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.step-copy { min-width: 0; padding-top: 2px; }
.steps h3 { margin: 0 0 8px; color: #edf2ef; font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-section { margin-top: 45px; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; margin-top: 22px; }
.faq-list details { padding: 0 0 13px; border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #d1dbd7;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--accent); content: "+"; font-size: 17px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 540px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.result-card, .read-card, .opened-card, .unavailable-card { grid-column: 2; grid-row: 1; margin-top: 14px; }
.result-intro, .read-card > p, .unavailable-card > p {
  margin: 11px 0 21px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.share-field { margin-top: 17px; }
.share-field label { margin-bottom: 8px; font-size: 12px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input, .full-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: none;
  color: #dce6e1;
  background: var(--field);
  font-size: 12px;
}
.copy-row input { font-family: ui-monospace, Consolas, monospace; }
.button-copy {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 12px;
  color: #d2e1db;
  background: #34463f;
  font-size: 11px;
}
.button-copy:hover { background: #40564d; }
.password-field { margin-top: 18px; }
.notice {
  display: flex;
  gap: 10px;
  margin-top: 21px;
  padding: 12px 13px;
  border: 1px solid #514a3a;
  border-radius: 7px;
  color: var(--warning);
  background: #302e29;
}
.notice > span { font-weight: 700; }
.notice p { margin: 0; color: #d4ccb9; font-size: 12px; line-height: 1.65; }
.text-button {
  margin: 21px 0 0;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.text-button span { padding-left: 5px; }
.read-card h2, .opened-card h2, .unavailable-card h2 { font-size: 23px; }
.read-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 23px 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  background: #1d282e;
}
.read-lock svg { width: 21px; height: 21px; stroke-width: 1.7; }
.full-input { margin: 0; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.read-card .button-primary { margin-top: 13px; }
.opened-message {
  max-height: 400px;
  margin-top: 20px;
  padding: 17px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dce5e1;
  background: var(--field);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.opened-attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1e272f;
}
.opened-attachment[hidden] { display: none; }
.opened-attachment > div { display: grid; gap: 4px; min-width: 0; }
.opened-attachment strong { color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.opened-attachment span { color: var(--muted); font-size: 11px; }
.opened-attachment .button { min-height: 40px; flex: 0 0 auto; }
.display-countdown { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.delete-message-button { width: 100%; justify-content: center; margin-top: 15px; }
.button-secondary { color: #d2e0da; border-color: #45564f; background: #2a3934; }
.button-secondary:hover { border-color: #60776d; background: #344740; }
.deleted-note { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.unavailable-card .button-secondary { display: inline-flex; margin-top: 20px; }
.result-card[hidden], .read-card[hidden], .opened-card[hidden], .unavailable-card[hidden], .privacy-card[hidden], .how-it-works[hidden], .faq-section[hidden] { display: none; }

.privacy-card { grid-column: 1 / -1; grid-row: 1; max-width: 900px; margin: 14px 0 0; }
.privacy-card h2 { margin-top: 12px; }
#datenschutz, #sicherheit { scroll-margin-top: 24px; }
.privacy-lead { max-width: 740px; margin: 12px 0 23px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.privacy-grid article { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #1e272f; }
.privacy-grid h3 { margin: 0 0 7px; font-size: 14px; font-weight: 650; }
.privacy-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.privacy-home { display: inline-flex; margin-top: 20px; }

footer.site-footer {
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #151d22;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 25px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 32px 22px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: #e5ece8; font-size: 15px; font-weight: 650; letter-spacing: -.035em; text-decoration: none; }
.footer-brand img { display: block; width: 30px; height: 30px; }
.footer-note { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; }
.footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; transition: color .18s; }
.footer-links a:hover { color: var(--accent); }
.copyright { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid #303c42; color: var(--muted-soft); font-size: 11px; }
.message-count { display: block; margin-top: 5px; color: #87949a; font-size: 10px; font-weight: 450; }

.cookie-notice {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: min(440px, calc(100vw - 32px));
  padding: 17px;
  border: 1px solid #46574f;
  border-radius: 12px;
  color: var(--ink);
  background: #202a2f;
  box-shadow: 0 14px 42px rgb(0 0 0 / 38%);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice-copy { flex: 1; min-width: 0; }
.cookie-notice-copy strong { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 650; }
.cookie-notice-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.cookie-notice-copy a { color: #a8c9ba; text-underline-offset: 3px; }
.cookie-notice-close { flex: 0 0 auto; min-height: 35px; padding: 0 12px; border: 1px solid #52665d; border-radius: 7px; color: #e5ece8; background: #2a3934; font: inherit; font-size: 11px; cursor: pointer; }
.cookie-notice-close:hover { border-color: #789083; background: #344740; }
.cookie-notice-close:focus-visible, .cookie-notice-copy a:focus-visible { outline: 2px solid #a8c9ba; outline-offset: 3px; }

@media (max-width: 850px) {
  main { column-gap: 34px; }
  .card { padding: 24px; }
  .intro { padding-top: 43px; }
  h1 { font-size: 58px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; }
}
@media (max-width: 680px) {
  .topbar { height: 112px; padding: 0 20px; }
  .brand { gap: 12px; }
  .brand-mark { width: 68px; height: 68px; }
  .brand-name { font-size: 27px; }
  .brand-tagline { font-size: 9px; }
  .top-note { display: none; }
  main { display: flex; flex-direction: column; gap: 20px; padding: 19px 20px 48px; }
  .intro { width: 100%; max-width: none; padding: 22px 0 3px; }
  .intro h1 { margin-top: 19px; font-size: clamp(45px, 13vw, 58px); }
  .lead { font-size: 14px; }
  .trust-row { gap: 10px; margin-top: 23px; }
  .compose-card, .result-card, .read-card, .opened-card, .unavailable-card { width: 100%; max-width: none; margin-top: 0; }
  .card { padding: 22px 19px; border-radius: 12px; }
  .card h2 { font-size: 20px; }
  .opened-attachment { align-items: stretch; flex-direction: column; }
  .opened-attachment .button { width: 100%; }
  .how-it-works, .faq-section { width: 100%; margin-top: 22px; padding-top: 21px; }
  .steps { grid-template-columns: 1fr; gap: 11px; margin-top: 19px; }
  .steps article { min-height: auto; max-width: none; padding: 18px; }
  .steps p { max-width: 440px; }
  .faq-list { grid-template-columns: 1fr; gap: 13px; }
  .privacy-card { width: 100%; max-width: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-lead { font-size: 13px; }
  .section-title { font-size: 24px; }
  .section-intro > p { font-size: 13px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; padding: 23px 20px 18px; }
  .footer-note { display: none; }
  .footer-links { gap: 11px 18px; }
  .copyright { margin-top: 4px; }
  .cookie-notice { right: 12px; bottom: 12px; width: calc(100vw - 24px); gap: 11px; padding: 14px; }
  .cookie-notice-close { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
