:root {
  color-scheme: light;
  --ink: #17201e;
  --muted: #716260;
  --line: #f0d9d5;
  --paper: #ffffff;
  --wash: #fff4f2;
  --mimi-red: #e22b20;
  --mimi-red-dark: #b81f17;
  --mimi-red-soft: #ffe5e1;
  --amber-soft: #fff7df;
  --amber: #885c00;
  --danger: #a32626;
  --shadow: 0 18px 50px rgba(91, 31, 24, .09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(180deg, #fff7f5 0, #fff 34rem); line-height: 1.6; }
a { color: var(--mimi-red-dark); text-underline-offset: 3px; }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--mimi-red); font-size: 1.05rem; letter-spacing: .03em; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 7px 10px rgba(177, 36, 25, .2)); }
.brand strong { color: var(--mimi-red); }
.secure-label { color: var(--muted); font-size: .875rem; }
.secure-label span { color: var(--mimi-red); font-size: .65rem; margin-right: 5px; }
main { max-width: 1120px; margin: 0 auto; padding: 42px 24px 80px; }
.hero { max-width: 800px; margin-bottom: 44px; }
.eyebrow { display: inline-flex; padding: 5px 11px; color: var(--mimi-red-dark); background: var(--mimi-red-soft); border-radius: 999px; font-weight: 750; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 18px 0 12px; font-size: clamp(2.25rem, 6vw, 4.3rem); line-height: 1.04; letter-spacing: -.05em; }
.lead { max-width: 700px; margin: 0 0 26px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.identity-card { display: flex; flex-wrap: wrap; gap: 28px 48px; padding: 18px 22px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(8px); }
.identity-card div { display: flex; flex-direction: column; }
.identity-card span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.identity-card strong { font-size: .92rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 24px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form-panel { padding: clamp(22px, 4vw, 38px); }
.panel-heading { display: flex; gap: 14px; margin-bottom: 26px; }
.panel-heading.compact { align-items: center; margin-bottom: 20px; }
.step { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--mimi-red); border-radius: 50%; font-weight: 800; }
h2 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.02em; }
.panel-heading p, .data-card p, .alternate p, .retention p { margin: 0; color: var(--muted); }
.field { margin-bottom: 19px; }
label { display: block; margin-bottom: 7px; font-weight: 700; font-size: .92rem; }
label span { color: var(--muted); font-weight: 500; }
input, textarea { width: 100%; border: 1px solid #bdcbc6; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fff; font: inherit; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 108px; }
input:focus, textarea:focus { outline: none; border-color: var(--mimi-red); box-shadow: 0 0 0 3px rgba(226,43,32,.14); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
small { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }
.field-error { min-height: 1em; color: var(--danger); font-weight: 650; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confirmation { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 5px 0 0; padding: 14px; background: var(--wash); border-radius: 10px; font-weight: 550; }
.confirmation input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--mimi-red); }
button { width: 100%; display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 20px; padding: 13px 18px; border: 0; border-radius: 10px; color: #fff; background: var(--mimi-red); font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(226,43,32,.2); transition: background .15s, transform .15s; }
button:hover { background: var(--mimi-red-dark); transform: translateY(-1px); }
button:disabled { opacity: .65; cursor: wait; transform: none; }
.safety-note { margin: 13px 0 0; text-align: center; color: var(--muted); font-size: .76rem; }
.notice { margin: 0 0 22px; padding: 14px 16px; border-radius: 10px; background: var(--mimi-red-soft); color: var(--mimi-red-dark); font-weight: 650; }
.notice.error { color: var(--danger); background: #fff0f0; }
.side-content { display: grid; gap: 24px; }
.process, .data-card { padding: 26px; }
.process ol { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process li { position: relative; display: grid; gap: 1px; padding: 0 0 20px 29px; counter-increment: process; }
.process li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 2px; width: 1px; background: var(--line); }
.process li::before { content: counter(process); position: absolute; top: 2px; left: 0; display: grid; place-items: center; width: 16px; height: 16px; color: white; background: var(--mimi-red); border-radius: 50%; font-size: .63rem; font-weight: 800; z-index: 1; }
.process li span { color: var(--muted); font-size: .87rem; }
.data-card ul { margin: 14px 0 0; padding-left: 20px; }
.data-card li { margin: 6px 0; }
.retention { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin-top: 24px; padding: 24px 28px; background: var(--amber-soft); border: 1px solid #f1dfaa; border-radius: 18px; }
.retention-icon { display: grid; place-items: center; width: 34px; height: 34px; color: white; background: var(--amber); border-radius: 50%; font-family: Georgia, serif; font-weight: 800; }
.alternate { max-width: 750px; margin: 60px auto 0; text-align: center; }
footer { display: flex; justify-content: space-between; gap: 24px; max-width: 1120px; margin: 0 auto; padding: 26px 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
footer p { margin: 0; }
code { font-size: .9em; }

@media (max-width: 820px) {
  main { padding-top: 25px; }
  .content-grid { grid-template-columns: 1fr; }
  .identity-card { gap: 15px 28px; }
  footer { flex-direction: column; gap: 5px; }
}

@media (max-width: 520px) {
  .site-header { height: 66px; padding: 0 17px; }
  .secure-label { display: none; }
  main { padding: 22px 17px 60px; }
  .hero { margin-bottom: 30px; }
  h1 { font-size: 2.45rem; }
  .identity-card { display: grid; }
  .panel { border-radius: 15px; }
  .retention { grid-template-columns: 1fr; padding: 21px; }
  footer { padding-inline: 17px; }
}

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