/* ==============
   TKTS Form Styles
   ============== */
:root {
  --bg: #ffffff;           /* slate-900 */
  --bg-accent: #0b1228;    /* deeper accent */
  --card: #0b132e;         /* indigo-tinted slate */
  --text: #e5e7eb;         /* gray-200 */
  --muted: #a3a3a3;        /* neutral-400 */
  --primary: #6366f1;      /* indigo-500 */
  --primary-strong: #4f46e5; /* indigo-600 */
  --ring: rgba(99, 102, 241, .35);
  --error: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 20px 45px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.25);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.25);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: #555658;
  background: #ffffff; /* solid white background */
  background-attachment: fixed;
}

.page-wrap {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: clamp(16px, 4vw, 32px);
}

.site-header {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  color:rgb(8, 16, 24);
}

.brand {
  margin: 0 0 .5rem 0;
  font-size: clamp(1.5rem, 2.4vw + 1rem, 2.25rem);
  font-weight: 800;
  letter-spacing: .2px;
}

.brand .sub {
  display: inline-block;
  font-weight: 600;
  opacity: .85;
  margin-left: .5ch;
  font-size: .8em;
}

.intro {
  margin: .25rem auto 0;
  max-width: 60ch;
  color: #334155;
  font-size: clamp(.95rem, .5vw + .8rem, 1rem);
}

.card {
  max-width: 980px;
  margin-inline: auto;
  background: #d1d1d1; /* light steel gray */
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: clamp(16px, 3.5vw, 36px);
  color: #111827; /* dark text for contrast */
}

.section { margin-block: 1.25rem 1.75rem; }
.section-title {
  margin: 0 0 .75rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d1e20; /* indigo-200 */
}

.grid {
  display: grid;
  gap: clamp(12px, 1.2vw, 18px);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid-span-2 { grid-column: span 2; }
.grid-span-3 { grid-column: span 3; }

@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-span-2, .grid-span-3 { grid-column: auto; }
}

.field label {
  display: inline-block;
  margin-bottom: .4rem;
  font-weight: 600;
}

.req { color: #fca5a5; }
.muted { color: #334155; font-weight: 500; }
.denom-row { padding:11px; }
.demom-select { font-size:16px; font-weight:normal; margin-left:20px;margin-top:10px;}

input[type="text"],
input[type="email"],
textarea,select,
input[type="month"],
input[type="date"],
input[type="number"] {
  width: 100%;
  appearance: none;
  background-color: #ffffff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #111827;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease, transform .06s ease;
  box-shadow: var(--shadow-sm);
}

input::placeholder { color: #94a3b8; }



select:focus,
textarea:focus,
input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring), var(--shadow-sm);
  transform: translateY(-1px);
  background-color: #ffffff;
}

textarea:invalid:focus,
input:invalid:focus {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(239,68,68,.35), var(--shadow-sm);
}

.hint {
  margin: .35rem 0 0;
  font-size: .85rem;
  color: #334155;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 10px 24px rgba(99,102,241,.32), 0 2px 6px rgba(0,0,0,.2);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: #111827;
  border-color: rgba(255,255,255,.22);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.06);
}

.disclaimer {
  margin-top: 10px;
  color: #334155;
  font-size: .9rem;
}

.site-footer {
  text-align: center;
  color: #334155;
  font-size: .9rem;
  margin-top: .5rem;
}
