:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f0f5f1;
  background: #101914;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: radial-gradient(ellipse at 50% 0%, #294333 0%, transparent 65%), #101914;
}

.card {
  width: 100%;
  max-width: 640px;
  padding: clamp(24px, 6vw, 48px);
  border: 1px solid #3a4c40;
  border-radius: 28px;
  background: #19251e;
  box-shadow: 0 24px 80px #0003;
  text-align: center;
}

.topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { font-weight: 750; letter-spacing: -0.8px; font-size: 20px; }
.brand-dot { color: #b2f18c; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #c5d7ca; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #b2f18c; }

.phone {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 94px;
  margin: 44px auto 30px;
  border: 2px solid #a3c7ae;
  border-radius: 16px;
  background: linear-gradient(150deg, #354f3e, #203427);
  transform: rotate(-8deg);
  box-shadow: 10px 10px 0 #b2f18c0a;
}
.phone-speaker { position: absolute; top: 8px; width: 20px; height: 3px; border-radius: 3px; background: #a3c7ae; }
.phone-home { position: absolute; bottom: 7px; width: 17px; height: 3px; border-radius: 3px; background: #a3c7ae; }
.code-symbol { font-size: 24px; font-weight: 700; color: #b2f18c; }
.eyebrow { margin: 0 0 14px; color: #b2f18c; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; line-height: 1.6; }
h1 { margin: 0 auto; max-width: 500px; font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -1.5px; text-wrap: balance; }
.description { max-width: 410px; margin: 22px auto 30px; font-size: 16px; line-height: 1.7; color: #bdcdc2; }

button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 54px;
  padding: 14px 26px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  background: #b2f18c;
  color: #15230f;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 150ms, transform 150ms;
}
button:hover { background: #c9ffaa; }
button:active { transform: translateY(2px); }
button:focus-visible { outline: 3px solid #f0f5f1; outline-offset: 5px; }
.result-slot { min-height: 60px; display: grid; place-items: center; }
#result { margin: 14px 0; font-size: 16px; font-weight: 600; color: #b2f18c; }
footer { border-top: 1px solid #34463a; padding-top: 24px; color: #a5bbad; font-size: 12px; letter-spacing: 0.6px; }
footer span { padding: 0 8px; color: #738b7b; }

@media (max-width: 380px) {
  .card { border-radius: 22px; padding: 24px 20px; }
  button { width: 100%; }
  .eyebrow { letter-spacing: 0.6px; }
}

@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
}
