@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/caprasimo-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/figtree-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  font-family: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5ead8;
  color: #201e1d;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 28px 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(198, 113, 57, .14), transparent 28rem),
    #f5ead8;
}

.verify-shell {
  width: min(100%, 540px);
  margin: 7vh auto 0;
}

.verify-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px 4px;
  color: #201e1d;
  text-decoration: none;
  font-family: 'Caprasimo', system-ui, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.verify-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.verify-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 44px);
  border: 1px solid #dcd3c4;
  border-radius: 30px;
  background: #f9f4ed;
  box-shadow: 0 18px 45px rgba(46, 43, 37, .12);
}

.verify-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #c67139;
}

.verify-kicker {
  margin: 0 0 14px;
  color: #8c491a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-family: 'Caprasimo', system-ui, sans-serif;
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

.verify-intro {
  max-width: 440px;
  margin: 0 0 30px;
  color: #645c50;
  font-size: 17px;
  line-height: 1.62;
}

label {
  display: block;
  margin: 0 0 8px;
  color: #474238;
  font-size: 13px;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #c0b6a5;
  border-radius: 16px;
  padding: 0 15px;
  outline: none;
  background: #fffaf3;
  color: #201e1d;
  font: inherit;
  font-size: 16px;
}

input:hover { border-color: #a19786; }
input:focus {
  border-color: #c67139;
  box-shadow: 0 0 0 3px rgba(198, 113, 57, .16);
}

button {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  border: 0;
  border-radius: 16px;
  padding: 0 20px;
  background: #c67139;
  color: #f5ead8;
  font-family: 'Caprasimo', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

button:hover:not(:disabled) { background: #b2622d; }
button:active:not(:disabled) { transform: translateY(1px); background: #8c491a; }
button:disabled { opacity: .58; cursor: wait; }

.verify-helper {
  margin: 16px 0 0;
  color: #82796a;
  font-size: 12.5px;
  line-height: 1.55;
}

.verify-message {
  min-height: 22px;
  margin: 16px 0 0;
  color: #645c50;
  font-size: 14px;
  line-height: 1.55;
}
.verify-message[data-state='error'] { color: #8c491a; }
.verify-message[data-state='success'] { color: #56633f; }

.verify-recovery {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid #dcd3c4;
  color: #645c50;
  font-size: 13px;
  line-height: 1.55;
}

.verify-recovery a {
  color: #8c491a;
  font-weight: 800;
  text-underline-offset: 3px;
}

[hidden] { display: none !important; }

/* HANDSLAUNC-414 — follow the site appearance. preferences.js sets data-theme
   from the saved choice or, when there is none, the system setting. */
:root[data-theme='dark'] {
  color-scheme: dark;
  background: #171613;
  color: #f4eadc;
}
:root[data-theme='dark'] body {
  background:
    radial-gradient(circle at 12% 0%, rgba(233, 149, 93, .10), transparent 28rem),
    #171613;
}
:root[data-theme='dark'] .verify-brand { color: #f4eadc; }
:root[data-theme='dark'] .verify-card {
  border-color: #423c33;
  background: #211f1b;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
}
:root[data-theme='dark'] .verify-card::before { background: #d47d49; }
:root[data-theme='dark'] .verify-kicker { color: #f3aa78; }
:root[data-theme='dark'] .verify-intro { color: #bdb1a0; }
:root[data-theme='dark'] label { color: #ddd3c5; }
:root[data-theme='dark'] input {
  border-color: #5b5347;
  background: #24211d;
  color: #f4eadc;
}
:root[data-theme='dark'] input:hover { border-color: #786e5f; }
:root[data-theme='dark'] input:focus {
  border-color: #e9955d;
  box-shadow: 0 0 0 3px rgba(233, 149, 93, .22);
}
:root[data-theme='dark'] .verify-helper { color: #9a8f7e; }
:root[data-theme='dark'] .verify-message { color: #bdb1a0; }
:root[data-theme='dark'] .verify-message[data-state='error'] { color: #f3aa78; }
:root[data-theme='dark'] .verify-message[data-state='success'] { color: #b9d68f; }
:root[data-theme='dark'] .verify-recovery {
  border-top-color: #423c33;
  color: #bdb1a0;
}
:root[data-theme='dark'] .verify-recovery a { color: #f3aa78; }

@media (max-width: 520px) {
  body { padding: 18px 14px 28px; }
  .verify-shell { margin-top: 4vh; }
  .verify-brand { margin-left: 6px; margin-bottom: 18px; font-size: 20px; }
  .verify-brand img { width: 38px; height: 38px; }
  .verify-card { padding: 30px 24px 28px; border-radius: 26px; }
  h1 { font-size: clamp(39px, 12vw, 50px); }
  .verify-intro { font-size: 16px; margin-bottom: 26px; }
}
