/* tryyema.com/borrar-cuenta: light, like the landing (the colors of design/ds/tokens.json, the components of the
   design system: the buttons, the fields and the cards). Its own file: the CSP allows nothing inline. */
:root {
  --surface: #faf7f6;
  --surface-raised: #ffffff;
  --surface-sunken: #f2ecea;
  --line: #e6dcda;
  --line-strong: #988294;
  --ink: #2a1b2d;
  --ink-muted: #6b5b6e;
  --berry: #c92744;
  --berry-soft: #ffe8ec;
  --on-berry: #ffffff;
  --yolk-soft: #fcefe5;
  --yolk-ink: #9e5f00;
  --leaf: #2a7944;
  --shadow-sm: 0 1px 2px #2a1b2d0f, 0 2px 8px #2a1b2d0d;
  --focus-ring: 0 0 0 2px #faf7f6, 0 0 0 4px #c92744;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--berry); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
[hidden] { display: none !important; }

.top { max-width: 640px; margin: 0 auto; padding: 20px 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 22px; }
.page { max-width: 640px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.intro { padding: 8px 0; }
.kicker { margin: 0 0 4px; color: var(--berry); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
h1 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; }
h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.lead { margin: 0; color: var(--ink-muted); font-size: 18px; }

.card { background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.note { background: var(--yolk-soft); color: var(--ink); box-shadow: none; }
.step { display: flex; flex-direction: column; gap: 12px; }
.done h2 { color: var(--leaf); }

.btn { font: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 9999px; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .12s ease; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-google { width: 100%; background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-soft { background: var(--berry-soft); color: var(--berry); white-space: nowrap; }
.btn-primary { background: var(--berry); color: var(--on-berry); }
.btn-block { width: 100%; }

.form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.label { font-size: 14px; font-weight: 600; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row .input { flex: 1 1 200px; }
.input { font: inherit; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--ink); font-size: 17px; font-weight: 600; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--berry); }

.or { display: flex; align-items: center; gap: 12px; margin: 4px 0; color: var(--ink-muted); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hint { margin: 0; color: var(--ink-muted); font-size: 15px; }
.who { margin: 0; font-weight: 600; }
.warn { margin: 0; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-sunken); font-size: 15px; }
.msg { margin: 0; font-size: 15px; }
.msg:empty { display: none; }
.msg.error { color: var(--berry); font-weight: 600; }
.msg.ok { color: var(--leaf); font-weight: 600; }
.linkish { font: inherit; padding: 0; border: 0; background: none; color: var(--berry); font-weight: 600; text-decoration: underline; cursor: pointer; }

.facts { padding: 8px 4px; }
.facts h2 { margin-top: 16px; }
.facts ul { margin: 0 0 12px; padding-left: 20px; }
.facts li { margin: 6px 0; }

.foot { max-width: 640px; margin: 0 auto; padding: 0 16px 32px; color: var(--ink-muted); font-size: 14px; }
.foot p { margin: 4px 0; }
