:root {
  --bg: #f7f6f2;
  --card: #ffffff;
  --ink: #121313;
  --muted: #6d716f;
  --line: #deded8;
  --soft: #efeee8;
  --accent: #b7ff3c;
  --shadow: 0 24px 70px rgba(20, 24, 18, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 10%, rgba(183,255,60,.14), transparent 28%), radial-gradient(circle at 82% 25%, rgba(183,255,60,.08), transparent 24%); z-index: -2; }
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }

.nav-wrap { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(247,246,242,.78); border-bottom: 1px solid rgba(20,20,20,.06); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Space Grotesk"; font-size: 24px; font-weight: 700; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--accent); border-radius: 9px; font-size: 18px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a, .footer-links a { color: #444845; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-cta, .cta-button { color: var(--ink); background: var(--accent); border: 1px solid #97df22; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; }

.hero { padding: 95px 0 70px; text-align: center; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 800; }
.eyebrow span { width: 7px; height: 7px; background: var(--accent); border: 1px solid #8ccb29; border-radius: 50%; }
.hero h1, .section-heading h2, .cta-section h2 { font-family: "Space Grotesk"; margin: 14px 0 16px; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(54px, 8.2vw, 104px); line-height: .91; }
.hero h1 span { color: #81857f; }
.hero-copy { color: var(--muted); font-size: 19px; margin: 0 auto 40px; }

.composer-wrap { max-width: 840px; margin: 0 auto; text-align: left; }
.composer-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.composer-topbar { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: #fbfbf8; border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c7c8c3; }
.secure-label { color: #70746f; font-size: 12px; font-weight: 700; }

textarea { width: 100%; min-height: 245px; border: 0; outline: 0; resize: vertical; padding: 28px 28px 16px; font: 500 16px/1.65 "DM Sans"; background: transparent; color: var(--ink); }
textarea::placeholder { color: #a9aaa5; }
.char-row { padding: 0 28px 20px; display: flex; justify-content: space-between; color: #969994; font-size: 12px; }
.clear-btn { border: 0; background: none; color: #777a75; cursor: pointer; font-weight: 600; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 18px 20px; background: #f5f4ef; border-top: 1px solid var(--line); }
.field, .toggle-card { min-height: 78px; border: 1px solid #dfdfd8; background: #fff; border-radius: 13px; padding: 12px 14px; }
.field { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.field span { font-size: 11px; color: #858983; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.field select { border: 0; padding: 0; outline: 0; background: transparent; color: var(--ink); font: 700 14px "DM Sans"; }

.toggle-card { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.toggle-copy { display: flex; flex-direction: column; }
.toggle-copy strong { font-size: 13px; }
.toggle-copy small { color: #8b8e89; margin-top: 3px; font-size: 11px; }
.toggle-card input { display: none; }
.switch { position: relative; width: 38px; height: 22px; background: #d8dad5; border-radius: 999px; transition: .2s; flex: 0 0 auto; margin-left: 8px; }
.switch::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: white; top: 3px; left: 3px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.toggle-card input:checked + .switch { background: #1b1d1a; }
.toggle-card input:checked + .switch::after { transform: translateX(16px); background: var(--accent); }

.password-row { display: none; padding: 0 20px 18px; background: #f5f4ef; }
.password-row.show { display: block; }
.password-row input { width: 100%; border: 1px solid #d8d9d3; border-radius: 11px; padding: 13px 14px; background: white; outline: 0; font: 500 14px "DM Sans"; }

.primary-btn { margin: 20px 20px 8px; width: calc(100% - 40px); height: 54px; border: 1px solid #111; background: var(--ink); color: white; border-radius: 13px; cursor: pointer; font: 700 15px "DM Sans"; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s, background .2s; }
.primary-btn:hover { transform: translateY(-1px); background: #232522; }
.primary-btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.fine-print { text-align: center; color: #92958f; font-size: 11px; margin: 0 20px 18px; }

.result-card { display: none; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-top: 14px; border: 1px solid #a9df4e; background: #f5ffe4; border-radius: 16px; padding: 18px; }
.result-card.show { display: grid; }
.result-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 800; }
.result-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.result-link-row { display: flex; margin: 7px 0; }
.result-link-row input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid #b8d78a; border-right: 0; border-radius: 9px 0 0 9px; font: 600 13px "DM Sans"; }
.result-link-row button { border: 0; background: #161816; color: white; padding: 0 16px; border-radius: 0 9px 9px 0; font-weight: 700; cursor: pointer; }
#resultMeta { margin: 0; color: #657058; font-size: 12px; }

.trust-row { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; color: #888b85; font-size: 12px; margin-top: 22px; }
.trust-row i { width: 3px; height: 3px; background: #a8aaa4; border-radius: 50%; }

.section { padding: 95px 0; }
.section-heading h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1; }
.section-heading .section-kicker { color: #777b75; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { color: var(--muted); }

.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 42px; }
.step-card, .features-grid article { position: relative; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.step-number { color: #a0a39d; font: 600 12px "Space Grotesk"; }
.mini-icon, .feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin: 38px 0 24px; border-radius: 10px; background: #171918; color: var(--accent); font-weight: 700; }
.step-card h3, .features-grid h3 { font: 700 22px "Space Grotesk"; margin: 0 0 8px; letter-spacing: -.03em; }
.step-card p, .features-grid p { color: var(--muted); margin: 0; font-size: 14px; }

.feature-section { background: #171918; color: white; margin-top: 20px; }
.feature-section .section-kicker, .feature-section .section-heading p { color: #9ea39b; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 42px; }
.features-grid article { background: #202320; border-color: #323632; }
.features-grid p { color: #9ca19a; }
.feature-icon { margin: 0 0 50px; background: #2a2e29; border: 1px solid #3d443a; }

.faq-list { margin-top: 35px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font: 700 18px "Space Grotesk"; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: #90938e; }
details[open] summary::after { content: "–"; }
details p { max-width: 760px; color: var(--muted); margin: 12px 0 2px; }

.cta-section { margin-top: 40px; margin-bottom: 80px; padding: 55px; border-radius: 22px; background: var(--accent); display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.cta-section h2 { font-size: clamp(38px, 5vw, 62px); line-height: .95; margin-bottom: 0; }
.cta-section .cta-button { background: #171918; color: white; border-color: #171918; padding: 14px 20px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: #848780; font-size: 12px; }
.footer-brand { font-size: 18px; }
.footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 7px; font-size: 14px; }
.footer-links { display: flex; gap: 22px; }

.viewer-shell { min-height: 100vh; padding: 90px 0 60px; }
.viewer-card { max-width: 860px; margin: 0 auto; background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); overflow:hidden; }
.viewer-head { padding:22px 24px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.viewer-title { font:700 20px "Space Grotesk"; }
.viewer-meta { color:var(--muted); font-size:12px; }
.viewer-body { padding:28px; }
.viewer-text { white-space:pre-wrap; word-break:break-word; font:500 16px/1.7 "DM Sans"; }
.password-box { max-width:420px; margin:30px auto; text-align:center; }
.password-box input { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:10px; margin:14px 0 10px; font:500 14px "DM Sans"; }
.password-box button, .copy-view { border:0; background:var(--ink); color:white; border-radius:10px; padding:12px 16px; font-weight:700; cursor:pointer; }
.error-box { text-align:center; padding:60px 24px; }
.burn-note { margin-top:18px; padding:12px 14px; border-radius:10px; background:#fff5df; color:#705718; font-size:13px; }

.legal { max-width: 820px; margin: 90px auto; padding: 0 20px 80px; }
.legal h1 { font: 700 clamp(42px,6vw,68px) "Space Grotesk"; letter-spacing: -.05em; margin-bottom: 12px; }
.legal h2 { font: 700 24px "Space Grotesk"; margin-top: 36px; }
.legal p { color: #666b65; line-height: 1.75; }
.legal a { color: #111; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { padding-top: 68px; }
  .settings-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .field, .toggle-card { min-height: 70px; }
  .cta-section { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  .nav { height: 68px; }
  .nav-cta { display: none; }
  .hero { padding-top: 54px; }
  .hero-copy { font-size: 16px; }
  .composer-card { border-radius: 16px; }
  textarea { min-height: 215px; padding: 22px 18px 12px; }
  .char-row { padding: 0 18px 16px; }
  .settings-grid { padding: 14px; }
  .password-row { padding: 0 14px 14px; }
  .primary-btn { margin: 14px 14px 8px; width: calc(100% - 28px); }
  .result-card { grid-template-columns: 1fr; }
  .result-link-row { flex-direction: column; gap: 8px; }
  .result-link-row input, .result-link-row button { border: 1px solid #b8d78a; border-radius: 9px; min-height: 44px; }
  .section { padding: 72px 0; }
  .cta-section { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 18px; }
}
