:root {
  --bg: #ffffff;
  --surface: #f9fafb;
  --muted: #6b7280;   /* neutral gray for text */
  --text: #1f2937;    /* dark gray for main text */
  --brand: #D4AF37;   /* bright luxury gold */
  --brand-600: #B8860B; /* deeper gold for hover/contrast */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 12px;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.30); /* gold glow */
}

.brand-name { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.3px; }
.brand-tag  { margin: 2px 0 0 0; color: var(--muted); font-size: 0.95rem; }

.hero { margin-top: 10px; margin-bottom: 16px; }

.card {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

label { display: block; margin-bottom: 16px; }
label > span { display: inline-block; margin-bottom: 6px; font-weight: 600; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.28); /* gold focus */
}

textarea { resize: vertical; }

/* IMPORTANT: scope global button styles so they DON'T hit the slider handle */
.button,
button:not(.ba-handle) {
  display: inline-block;
  background: var(--brand);
  border: 1px solid #000000;         /* thin black border */
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}

.button:hover,
button:not(.ba-handle):hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  text-decoration: none;
}

.small { font-size: 0.85rem; color: var(--muted); }
.disclaimer { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

.faq { margin-top: 28px; }
.faq h3 { margin-bottom: 8px; }

.footer {
  margin-top: 32px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.hidden {
  position: absolute !important;
  left: -50000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success { text-align: center; padding-top: 20vh; }
.brand-logo { height: 100px; width: auto; display: block; }

/* A11y helper */
.visually-hidden{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* --- Slider --- */
.ba { margin-top: 8px; margin-bottom: 18px; }

.ba-frame{
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;

  /* gold border + thin black OUTER line */
  border: 4px solid var(--brand);
  box-shadow: 0 0 0 1px #000;   /* outer black line */

  background: #000;
  user-select: none;
  touch-action: none;
  aspect-ratio: 4 / 3;
}

.ba-frame::after{
  content: "";
  position: absolute;
  inset: 0px;                          /* slightly less than border width */
  border: 1px solid #000;              /* inner black line */
  border-radius: calc(10px - 3px);     /* adjust radius */
  pointer-events: none;
  box-sizing: border-box;
  z-index: 2;
}

/* Images stacked */
.ba-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Start 50/50 */
.ba-after{ clip-path: inset(0 50% 0 0); }

/* Gold divider that tracks the split */
.ba-divider{
  position: absolute; top: 0; bottom: 0;
  width: 3px; background: var(--brand);
  left: 50%; transform: translateX(-1.5px);
  pointer-events: none;
    box-shadow: 0 0 0 1px #000000;           /* thin black outline */
}

/* Handle: fixed box, centered; never changes on hover/focus/active */
.ba-handle{
  position:absolute;
  top:50%; left:50%;
  transform: translate(-50%, -50%);
  width:40px; height:40px;
  padding:0; margin:0; border:0;
  background: transparent;
  line-height:0;
  box-sizing:border-box;
  cursor: col-resize;
  outline:none !important;
  -webkit-tap-highlight-color: transparent;
}

.ba-handle:hover,
.ba-handle:focus,
.ba-handle:active{
  transform: translate(-50%, -50%);
  background: transparent !important;
  border:0; outline:none !important;
  box-shadow:none !important;
  transition: none !important;
}

/* Only show the round knob; hide the legacy vertical line */
.ba-handle-line{ display:none; }

.ba-handle-knob{
  display:block;
  width:20px; height:20px;
  border-radius:50%;
  background:#000;
  border:3px solid var(--brand);           /* gold border */
  box-sizing:border-box;
  margin:auto; /* center inside 40x40 handle box */
    box-shadow: 0 0 0 1px #000000;           /* thin black outline */
}

.ba-handle-knob:hover,
.ba-handle-knob:active,
.ba-handle-knob:focus{
  border-width:3px;
  transform:none;
}

/* Arrow hint */
.ba-arrow{
  position:absolute;
  right:-25px;         /* scoot it out a little if needed */
  top:50%;
  transform:translateY(-50%);
  color: var(--brand);
  font-size: 24px;
  animation: wiggle 1.5s infinite ease-in-out;
  pointer-events:none;

  text-shadow:
  -1px -1px 0 #000000,
    1px -1px 0 #000000,
  -1px  1px 0 #000000,
    1px  1px 0 #000000;
}

@keyframes wiggle{
  0%,100% { transform: translateY(-50%) translateX(0); }
  25%     { transform: translateY(-50%) translateX(4px); }
  50%     { transform: translateY(-50%) translateX(0); }
  75%     { transform: translateY(-50%) translateX(6px); }
}

/* Limit slider size on large screens */
.slider-wrapper {
  max-width: 800px !important;   /* smaller box */
  margin: 0 auto;     /* center it horizontally */
}

/* On tablets/phones, let it be full width */
@media (max-width: 768px) {
  .slider-wrapper {
    max-width: 100%;
  }
}

h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; }
body { font-family: 'Open Sans', sans-serif; }

h3 {
  font-weight: 600 !important;   /* bold */
}

