:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2b1b16;
  background: #fff7ef;
  font-synthesis: none;
  --muted: #69534a;
  --accent: #a43809;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  padding: clamp(22px, 6vw, 78px) 16px 20px;
  background: radial-gradient(ellipse at 12% 0, #ffe4cb 0, transparent 54%), #fff7ef;
}

.shell {
  max-width: 920px;
  min-height: 470px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border: 1px solid #f1d7c5;
  border-radius: 32px;
  background: #fffdfa;
  overflow: hidden;
  box-shadow: 0 24px 75px #7d3a131c;
}

.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(148deg, #fff0df 4%, #ffc798 48%, #ff9d63 100%);
}

.logo { position: relative; z-index: 1; display: block; width: min(100%, 205px); height: auto; }
.brand-label { position: relative; z-index: 1; margin: 0; color: #54220e; font-weight: 650; }
.paw { position: absolute; width: 128px; fill: #a73d0a18; }
.paw-top { top: 22px; left: -18px; transform: rotate(-24deg); }
.paw-bottom { width: 190px; bottom: -46px; right: -24px; transform: rotate(20deg); }

.panel { padding: clamp(28px, 5vw, 52px); }
.symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 17px;
  background: #ffe9d7;
  color: var(--accent);
}
.symbol svg { width: 27px; height: 27px; }
h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.45rem); line-height: 1.12; letter-spacing: -0.045em; }
.description { margin: 12px 0 24px; color: var(--muted); line-height: 1.55; }
label { display: block; font-size: .94rem; font-weight: 700; margin-bottom: 7px; }
input:not([type=checkbox]) {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d9c3b5;
  border-radius: 13px;
  background: white;
  color: inherit;
  font: inherit;
}
input::placeholder { color: #77655a; }
.help { font-size: .875rem; line-height: 1.5; color: var(--muted); }
#requirements { margin: 8px 0 16px; }
.toggle { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 550; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
button, .app-link { font: inherit; font-weight: 700; }
button { cursor: pointer; }
.primary {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 12px 17px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, #9f340b, #bd470c);
  color: white;
}
.primary:disabled { cursor: default; opacity: .72; }
.text-button, .app-link {
  display: block;
  width: fit-content;
  border: 0;
  padding: 9px 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app-link { margin: 15px 0 0; }
.app-help { margin: 0; }
.error { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; color: #8c241b; background: #fff0ed; }
:focus-visible { outline: 3px solid #ab461a; outline-offset: 3px; }
footer { margin-top: 22px; text-align: center; font-size: .875rem; color: var(--muted); }

@media (max-width: 650px) {
  body { padding-top: 16px; }
  .shell { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .brand { min-height: 137px; padding: 22px 14px; gap: 7px; }
  .logo { width: 123px; }
  .paw { width: 90px; }
  .paw-bottom { width: 126px; bottom: -27px; right: -15px; }
  .panel { padding: 24px; }
}
