/* KALYX brand tokens — shared by landing + CRM. Change here, everything follows. */
:root {
  --bg: #0b120b;          /* deep forest black */
  --bg-2: #111b11;        /* raised surface */
  --bg-3: #172417;        /* inputs */
  --line: rgba(209, 168, 92, .22);
  --green: #2f4a2a;       /* logo green, lifted for dark UI */
  --green-deep: #1b2a16;  /* logo green as printed */
  --gold: #d1a85c;        /* logo gold */
  --gold-hi: #e7c98a;
  --cream: #f3eede;       /* logo paper */
  --muted: #a9ad9a;
  --danger: #e58f7b;
  --wa: #25d366;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; color: var(--cream); font: 400 17px/1.5 var(--sans);
  background:
    radial-gradient(90% 55% at 50% -5%, rgba(47, 74, 42, .75), transparent 70%),
    radial-gradient(60% 40% at 50% 105%, rgba(209, 168, 92, .10), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 20px 6px; max-width: 1080px; margin: 0 auto; }
.wordmark { height: 22px; width: auto; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 7px 13px; font-size: 13px; letter-spacing: .12em; color: var(--muted); cursor: pointer; min-height: 36px; }
.lang button.on { background: var(--gold); color: var(--bg); font-weight: 600; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 4px 18px 28px; display: grid; gap: 18px; }
.hero { text-align: center; }
.orb {
  width: 148px; height: 148px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(209, 168, 92, .22), rgba(47, 74, 42, .35) 55%, transparent 72%);
  box-shadow: 0 0 0 1px var(--line), 0 0 70px rgba(209, 168, 92, .22);
  animation: breathe 6s ease-in-out infinite;
}
.orb img { height: 124px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5)); }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px var(--line), 0 0 110px rgba(209, 168, 92, .36); } }
.eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 10.5vw, 68px); }
h1 em { font-style: italic; color: var(--gold-hi); display: block; }
h2 { font-size: 34px; }
.sub { color: var(--muted); margin: 10px auto 0; max-width: 34ch; }
.countdown { display: inline-grid; grid-auto-flow: column; gap: 8px; margin-top: 14px; }
.countdown div { min-width: 62px; padding: 8px 6px 6px; border: 1px solid var(--line); border-radius: 12px; background: rgba(17, 27, 17, .6); }
.countdown b { display: block; font: 500 26px/1 var(--serif); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.count { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.count b { color: var(--cream); }

.card { background: linear-gradient(180deg, rgba(23, 36, 23, .92), rgba(13, 21, 13, .96)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 16px; padding: 0; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 2px solid rgba(243, 238, 222, .12); }
.steps i { font: 500 15px/26px var(--serif); font-style: normal; width: 26px; height: 26px; flex: none; text-align: center; border-radius: 50%; border: 1px solid var(--line); }
.steps li.on { color: var(--cream); border-color: var(--gold); }
.steps li.on i { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.on { display: grid; gap: 10px; animation: in .28s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.step > label:first-child { font: 500 26px/1.15 var(--serif); }
input[type=text], input[type=tel], input[type=email], input[type=search], input[type=password], select {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(243, 238, 222, .16);
  background: var(--bg-3); color: var(--cream); font-size: 17px; outline: none; appearance: none;
}
input::placeholder { color: #7f8574; }
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(209, 168, 92, .2); }
.phone { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.phone select { padding: 0 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #151a0f; font-weight: 600; font-size: 17px; letter-spacing: .04em; text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}
.btn:active { transform: scale(.985); }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.ghost, .btn.back { background: transparent; color: var(--cream); border: 1px solid var(--line); font-weight: 500; }
.btn.back { width: auto; flex: none; padding: 0 18px; color: var(--muted); }
.btn.wa { background: var(--wa); color: #06270f; }
.row { display: flex; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty { display: none; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; font-size: 15px; }
.chip small { color: var(--muted); margin-left: 6px; font-size: 12px; }
.chip.on { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 600; }
.chip.on small { color: rgba(11, 18, 11, .7); }
.hint { margin: 0; font-size: 13px; color: var(--muted); min-height: 0; }
.hint:empty { display: none; }
.err { margin: -4px 0 0; font-size: 14px; color: var(--danger); }
.err:empty { display: none; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.4; color: var(--muted); cursor: pointer; padding: 6px 0; }
.consent input { width: 26px; height: 26px; margin: 0; accent-color: var(--gold); }
.trust { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

.done { text-align: center; display: grid; gap: 12px; animation: in .4s ease both; }
.ticket { border: 1px dashed var(--gold); border-radius: 16px; padding: 16px; background: rgba(209, 168, 92, .07); }
.ticket span { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.ticket b { display: block; font: 500 46px/1.1 var(--serif); color: var(--gold-hi); letter-spacing: .04em; }
.ticket small { color: var(--muted); }

.foot { max-width: 640px; margin: 0 auto; padding: 8px 20px max(28px, env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 13px; }
.foot .tag { font: 400 14px var(--serif); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.foot summary { cursor: pointer; padding: 10px; }
.foot details p { text-align: left; line-height: 1.55; }

@media (min-width: 900px) {
  .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; min-height: calc(100dvh - 190px); padding-top: 24px; }
  .hero { text-align: left; }
  .orb { margin: 0 0 22px; width: 190px; height: 190px; }
  .orb img { height: 160px; }
  .sub { margin-left: 0; font-size: 19px; }
  .card { padding: 28px; }
  .wordmark { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
