:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --ink: #111a31;
  --muted: #5d6679;
  --quiet: #697386;
  --line: #dde3ee;
  --line-strong: #cad2e2;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --navy: #071b4e;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --green: #16865c;
  --green-soft: #e9f8f1;
  --danger: #a83a42;
  --danger-soft: #fff2f2;
  --shadow: 0 24px 70px rgba(25, 36, 68, .11);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #f5f7fb; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: linear-gradient(180deg, #fbfcff 0%, #f2f5fa 100%); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
a { color: inherit; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; border-radius: 8px; color: white; background: var(--navy); font-weight: 760; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
:where(a, button, input, textarea, select, [tabindex]):focus-visible { outline: 3px solid #675ff0; outline-offset: 3px; }

.page-shell { width: min(1180px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.product-main { flex: 1; display: flex; flex-direction: column; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid rgba(202, 210, 226, .72); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; font-size: 1.02rem; font-weight: 820; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: white; background: var(--navy); font-size: .84rem; letter-spacing: -.02em; box-shadow: 0 7px 18px rgba(7, 27, 78, .18); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-link { color: #46516a; text-decoration: none; font-size: .91rem; font-weight: 680; }
.header-link:hover { color: var(--indigo); }
.mobile-only-link, .mobile-nav { display: none; }
.mobile-nav { position: relative; }
.mobile-nav-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 10px; color: #303a52; background: white; cursor: pointer; font-size: .82rem; font-weight: 760; list-style: none; }
.mobile-nav-toggle::-webkit-details-marker { display: none; }
.mobile-nav-toggle::marker { content: ""; }
.mobile-nav-icon { width: 19px; display: grid; gap: 4px; }
.mobile-nav-icon > span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .16s ease, opacity .16s ease; }
.mobile-nav[open] .mobile-nav-icon > span:first-child { transform: translateY(6px) rotate(45deg); }
.mobile-nav[open] .mobile-nav-icon > span:nth-child(2) { opacity: 0; }
.mobile-nav[open] .mobile-nav-icon > span:last-child { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav-menu { position: absolute; z-index: 60; top: calc(100% + 10px); right: 0; width: min(280px, calc(100vw - 28px)); display: grid; gap: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 20px 50px rgba(25, 35, 63, .18); }
.mobile-nav-menu a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border-radius: 8px; color: #303a52; text-decoration: none; font-size: .88rem; font-weight: 720; }
.mobile-nav-menu .mobile-only-link { display: flex; }
.mobile-nav-menu a:hover { color: var(--indigo-dark); background: #f1f2ff; }

.creator-layout { flex: 1; display: grid; grid-template-columns: minmax(0, .94fr) minmax(440px, .76fr); gap: clamp(48px, 8vw, 112px); align-items: center; padding: 72px 0 82px; }
.intro-panel { max-width: 560px; }
.eyebrow { margin-bottom: 17px; color: var(--indigo); font-size: .72rem; font-weight: 830; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.success { color: var(--green); }
.intro-panel h1, .result-panel h1, .reveal-card h1 { margin: 0; color: var(--ink); font-size: clamp(2.45rem, 5vw, 4.35rem); line-height: .98; letter-spacing: -.055em; }
.intro-panel h1 span { color: #69738b; }
.intro-panel > p { max-width: 520px; margin: 25px 0 34px; color: var(--muted); font-size: 1.08rem; line-height: 1.68; }
.assurance-list { display: grid; gap: 18px; }
.assurance-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.assurance-list > div > span { color: var(--indigo); font-size: .7rem; font-weight: 850; letter-spacing: .08em; line-height: 1.75; }
.assurance-list p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.5; }
.assurance-list strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: .92rem; }
.assurance-list code, .link-warning code, .invalid-state code { padding: 1px 4px; border-radius: 4px; background: #e9edf5; color: #35405a; }
.boundary-note { margin-top: 30px; padding: 15px 17px; border: 1px solid #d7dcef; border-radius: 11px; color: var(--muted); background: rgba(255, 255, 255, .62); font-size: .84rem; line-height: 1.55; }
.boundary-note strong { margin-right: 7px; color: var(--ink); }

.form-panel { padding: clamp(26px, 4vw, 42px); border: 1px solid rgba(207, 214, 229, .86); border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); }
.form-panel h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.05rem); letter-spacing: -.035em; }
.panel-intro { margin: 8px 0 25px; color: var(--muted); font-size: .89rem; }
.create-form { display: grid; gap: 18px; }
.field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.field > span, .share-field > span { color: #303a52; font-size: .8rem; font-weight: 760; }
.field em { margin-left: 6px; color: var(--quiet); font-size: .7rem; font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.field input, .field textarea, .field select, .share-field input, .secret-value { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; outline: none; background: white; color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease; }
.field input, .field select { min-height: 46px; padding: 10px 12px; }
.field textarea { min-height: 132px; padding: 12px 13px; resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus, .field select:focus, .share-field input:focus, .secret-value:focus { border-color: #7772e7; box-shadow: 0 0 0 4px rgba(79, 70, 229, .1); }
.field input::placeholder, .field textarea::placeholder { color: #939bab; }
.field small { color: var(--quiet); font-size: .71rem; line-height: 1.4; }
.field-secret small { display: flex; justify-content: flex-end; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px; }
.create-options { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.create-options summary { min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 2px; color: #303a52; cursor: pointer; list-style: none; font-size: .8rem; font-weight: 780; }
.create-options summary::-webkit-details-marker { display: none; }
.create-options summary::after { content: "+"; display: grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--indigo-dark); background: #eeefff; font-size: 1rem; line-height: 1; }
.create-options[open] summary::after { content: "−"; }
.create-options summary small { margin-left: auto; color: var(--quiet); font-size: .71rem; font-weight: 620; }
.options-body { display: grid; gap: 18px; padding: 7px 0 19px; }
.primary-button, .secondary-button, .text-button { min-height: 48px; border-radius: 10px; font-weight: 760; transition: transform .14s ease, background .14s ease, border-color .14s ease; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 1px solid var(--indigo); color: white; background: var(--indigo); box-shadow: 0 10px 24px rgba(79, 70, 229, .2); }
.primary-button:hover:not(:disabled) { background: var(--indigo-dark); border-color: var(--indigo-dark); transform: translateY(-1px); }
.secondary-button { padding: 11px 17px; border: 1px solid var(--line-strong); color: #29334a; background: white; }
.secondary-button:hover { border-color: #9da7ba; background: var(--soft); }
.text-button { padding: 10px 15px; border: 0; color: var(--muted); background: transparent; }
.text-button:hover { color: var(--ink); }
.form-assurance { display: flex; justify-content: center; gap: 7px; margin: -4px 0 0; color: var(--quiet); font-size: .73rem; text-align: center; }
.form-assurance span { color: var(--green); font-weight: 900; }

.alert { width: 100%; display: grid; gap: 3px; margin: 22px 0 0; padding: 13px 15px; border: 1px solid #f0c8cb; border-radius: 10px; color: var(--danger); background: var(--danger-soft); font-size: .84rem; line-height: 1.45; }
.alert strong { color: #7e262d; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
.spinner.dark { width: 24px; height: 24px; border-color: #d8dced; border-top-color: var(--indigo); }
@keyframes spin { to { transform: rotate(360deg); } }

.result-panel { flex: 1; width: min(760px, 100%); margin: 74px auto 82px; padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); text-align: center; }
.success-mark { display: grid; width: 54px; height: 54px; margin: 0 auto 24px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 1.45rem; font-weight: 900; box-shadow: 0 9px 25px rgba(22, 134, 92, .22); }
.result-panel h1 { font-size: clamp(2.1rem, 5vw, 3.55rem); }
.result-lede { max-width: 540px; margin: 17px auto 30px; color: var(--muted); line-height: 1.6; }
.share-field { display: grid; gap: 8px; text-align: left; }
.share-field > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.share-field input { min-width: 0; height: 50px; padding: 10px 13px; font-family: "SFMono-Regular", Consolas, monospace; font-size: .79rem; }
.copy-button { min-width: 118px; }
.result-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); text-align: left; }
.result-meta > div { padding: 15px; background: var(--soft); }
.result-meta span, .result-meta strong { display: block; }
.result-meta span { margin-bottom: 4px; color: var(--quiet); font-size: .7rem; font-weight: 730; text-transform: uppercase; letter-spacing: .06em; }
.result-meta strong { color: #273149; font-size: .84rem; }
.link-warning { padding: 17px 18px; border-radius: 11px; color: #525d73; background: #f1f2ff; text-align: left; }
.link-warning strong { display: block; margin-bottom: 3px; color: #312e81; font-size: .87rem; }
.link-warning p { margin: 0; font-size: .81rem; line-height: 1.55; }
.separate-note { color: var(--muted); font-size: .83rem; }
.result-panel > .secondary-button { margin-top: 20px; }

.reveal-layout { flex: 1; display: grid; place-items: center; padding: 62px 0 78px; }
.reveal-card { width: min(650px, 100%); padding: clamp(28px, 5vw, 50px); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.reveal-card .eyebrow { margin-top: 30px; }
.reveal-card h1 { max-width: 540px; font-size: clamp(2.1rem, 5vw, 3.35rem); }
.status-row { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; color: #4a566d; background: var(--soft); font-size: .72rem; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7c8598; }
.status-dot.active { background: var(--green); box-shadow: 0 0 0 4px rgba(22, 134, 92, .11); }
.status-dot.burned, .status-dot.expired, .status-dot.revoked { background: var(--danger); }
.reveal-intro { margin: 18px 0 26px; color: var(--muted); font-size: .94rem; line-height: 1.62; }
.secret-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.secret-meta > div { min-width: 0; padding: 16px 0; }
.secret-meta > div:nth-child(odd) { padding-right: 18px; }
.secret-meta dt { margin-bottom: 4px; color: var(--quiet); font-size: .68rem; font-weight: 760; text-transform: uppercase; letter-spacing: .07em; }
.secret-meta dd { margin: 0; overflow: hidden; color: #2d374f; font-size: .86rem; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.reveal-action { display: grid; gap: 9px; margin-top: 28px; }
.reveal-action p { margin: 0; color: var(--quiet); font-size: .76rem; text-align: center; }
.confirm-panel { margin-top: 27px; padding: 23px; border-radius: 14px; background: var(--soft); }
.confirm-panel h2 { margin: 0; font-size: 1.18rem; }
.confirm-panel > p { margin: 7px 0 20px; color: var(--muted); font-size: .85rem; }
.confirm-panel .alert { margin: 14px 0; }
.confirm-actions { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.confirm-actions .primary-button { min-width: 150px; }
.identity-panel { margin-top: 14px; padding: 15px; border: 1px solid #d8dcef; border-radius: 10px; background: white; }
.identity-panel strong { font-size: .86rem; }
.identity-panel p { margin: 5px 0 11px; color: var(--muted); font-size: .79rem; line-height: 1.5; }
.identity-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.revealed-block { margin-top: 28px; }
.reveal-success { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; padding: 15px; border-radius: 11px; color: #166348; background: var(--green-soft); }
.reveal-success > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }
.reveal-success strong, .reveal-success p { display: block; margin: 0; }
.reveal-success p { margin-top: 2px; color: #40725f; font-size: .76rem; }
.secret-value { min-height: 130px; margin-top: 7px; padding: 14px; resize: vertical; color: #151d2f; background: #fbfcff; font-family: "SFMono-Regular", Consolas, monospace; font-size: .9rem; line-height: 1.5; }
.revealed-block > .primary-button { width: 100%; margin-top: 12px; }
.burn-note { margin: 11px 0 0; color: var(--quiet); font-size: .75rem; text-align: center; }
.unavailable { margin-top: 27px; padding: 18px; border-radius: 11px; color: #733238; background: var(--danger-soft); }
.unavailable strong { display: block; }
.unavailable p { margin: 5px 0 0; color: #82535a; font-size: .85rem; }
.browser-decrypt-note { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.browser-decrypt-note > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; color: white; background: var(--navy); font-size: .65rem; font-weight: 850; }
.browser-decrypt-note p { margin: 0; color: var(--quiet); font-size: .76rem; line-height: 1.45; }
.browser-decrypt-note strong { display: block; margin-bottom: 1px; color: #384258; }
.loading-state { display: flex; gap: 14px; align-items: center; color: #46516a; }
.invalid-state { width: min(570px, 100%); padding: 44px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); text-align: center; }
.invalid-state .alert { text-align: left; }
.invalid-state > p { color: var(--muted); font-size: .88rem; }
.status-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: var(--danger); background: var(--danger-soft); font-size: 1.25rem; font-weight: 850; }
.invalid-state h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.55rem); letter-spacing: -.04em; }

.home-story { border-top: 1px solid rgba(202, 210, 226, .72); }
.story-section { padding: clamp(72px, 9vw, 110px) 0; }
.story-heading { max-width: 720px; }
.story-heading h2, .story-split h2, .story-trust h2 { margin: 0; color: var(--ink); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
.story-heading > p, .story-split article > p, .story-trust > p { color: var(--muted); line-height: 1.65; }
.story-heading > p { max-width: 620px; margin: 17px 0 0; font-size: 1rem; }
.story-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 40px 0 0; padding: 0; list-style: none; }
.story-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .82); }
.story-steps li > span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; color: var(--indigo-dark); background: #eeefff; font-size: .67rem; font-weight: 850; }
.story-steps strong { display: block; color: var(--ink); font-size: .9rem; }
.story-steps p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.story-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.story-split article { min-width: 0; padding: clamp(27px, 5vw, 49px); background: white; }
.story-split article > p { margin: 16px 0 0; font-size: .9rem; }
.story-links { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: 19px; }
.story-links a, .story-trust > a { color: var(--indigo-dark); font-size: .82rem; font-weight: 760; text-underline-offset: .2em; }
.story-trust { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(330px, 1fr) auto; gap: clamp(28px, 6vw, 72px); align-items: center; margin: clamp(70px, 9vw, 108px) 0; padding: clamp(30px, 5vw, 48px); border-radius: 20px; color: white; background: linear-gradient(135deg, var(--navy), #173683); }
.story-trust h2 { color: white; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.story-trust .eyebrow { color: #b7bfff; }
.story-trust > p { margin: 0; color: #d6def7; font-size: .88rem; }
.story-trust > a { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 9px; color: white; text-align: center; text-decoration: none; }
.story-trust > a:hover { background: rgba(255, 255, 255, .12); }

.site-footer { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(202, 210, 226, .72); color: var(--quiet); font-size: .75rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--indigo); }

@media (max-width: 880px) {
  .creator-layout { grid-template-columns: 1fr; gap: 42px; padding: 52px 0 64px; }
  .intro-panel { max-width: 680px; }
  .intro-panel h1 br { display: none; }
  .form-panel { width: 100%; }
  .story-trust { grid-template-columns: 1fr; }
  .header-actions { display: none; }
  .mobile-nav { display: block; }
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; }
  .creator-layout { padding: 40px 0 52px; }
  .intro-panel h1 { font-size: 2.65rem; }
  .intro-panel > p { margin: 20px 0 28px; }
  .field-row, .result-meta, .secret-meta { grid-template-columns: 1fr; }
  .story-steps, .story-split { grid-template-columns: 1fr; }
  .story-steps li { padding: 18px; }
  .story-trust { padding: 26px 21px; }
  .form-panel, .result-panel, .reveal-card, .invalid-state { padding: 24px 19px; border-radius: 17px; }
  .share-field > div { grid-template-columns: 1fr; }
  .copy-button { width: 100%; }
  .result-meta > div { padding: 12px 14px; }
  .result-panel { margin: 42px auto 55px; }
  .reveal-layout { padding: 42px 0 56px; }
  .secret-meta > div { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .secret-meta > div:last-child { border-bottom: 0; }
  .confirm-actions { align-items: stretch; flex-direction: column; }
  .confirm-actions button { width: 100%; }
  .site-footer { min-height: 90px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
  .site-footer nav { justify-content: flex-start; }
}

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

@media (forced-colors: active) {
  .brand-mark, .primary-button, .secondary-button, .text-button, .status-row { border: 1px solid ButtonText; }
}
