:root{
  --bg: #2b2b2b;
  --fg: #f3e9a6;
  --muted: rgba(243,233,166,.75);
  --border: rgba(243,233,166,.35);
  --focus: rgba(243,233,166,.55);
  --radius: 16px;
  --max: 760px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px;
  letter-spacing: 0.2px;
}

.wrap{
  width: 100%;
  max-width: var(--max);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}

/* Logo */
.logo{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.logo img{
  width: 140px;
  max-width: 40vw;
  height: auto;
  display: block;

  /* Gentle fade-in */
  opacity: 0;
  transform: translateY(6px);
  animation: logoFadeIn 900ms ease-out 120ms forwards;
}

@keyframes logoFadeIn{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce){
  .logo img{
    animation: none;
    opacity: 1;
    transform: none;
  }
}

h1{
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px 0;
}

p{
  margin: 0 0 18px 0;
  line-height: 1.55;
  color: var(--muted);
  font-size: 15px;
}

form{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 6px 0;
}

input[type="email"]{
  flex: 1 1 260px;
  min-width: 220px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  outline: none;
}

input[type="email"]::placeholder{ color: rgba(243,233,166,.45); }

input[type="email"]:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(243,233,166,.12);
}

button{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: transform .04s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}

button:hover{ border-color: var(--focus); }
button:active{ transform: translateY(1px); }

button:disabled{
  opacity: .6;
  cursor: default;
}

.fineprint{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(243,233,166,.6);
}

.counter{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  color: rgba(243,233,166,.75);
  font-size: 13px;
}

.counter strong{
  color: var(--fg);
  font-weight: 600;
}

/* Honeypot off-screen */
#company{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
}

@media (max-width: 420px){
  .wrap{ padding: 22px 16px; }
  h1{ font-size: 18px; }
  .logo img{ width: 110px; }
}
