:root {
  color-scheme: dark;
  --bg: #0d0719;
  --panel: rgba(34, 20, 58, 0.78);
  --panel-strong: #24153e;
  --text: #fbf6ff;
  --muted: #c7b8d5;
  --gold: #edc878;
  --violet: #9d76d5;
  --line: rgba(237, 200, 120, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  font-family: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(117, 72, 169, 0.32), transparent 32rem),
    radial-gradient(circle at 10% 45%, rgba(214, 154, 91, 0.14), transparent 28rem),
    var(--bg);
}

a { color: inherit; }

.topbar,
main {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}

.brand-mark { color: var(--gold); }

.language {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
}

.language a { text-decoration: none; }
.language a[aria-current='page'] { color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 48px;
  align-items: center;
  min-height: 480px;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 { margin-top: 0; font-weight: 500; }

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 640px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.75;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
}

.orb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 200, 120, 0.19), rgba(121, 76, 168, 0.12) 40%, transparent 68%);
  box-shadow: inset 0 0 70px rgba(237, 200, 120, 0.08);
}

.orb-inner {
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(237, 200, 120, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: clamp(4rem, 10vw, 8rem);
  filter: drop-shadow(0 0 22px rgba(237, 200, 120, 0.32));
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 34px;
}

.reading-card,
.human-service,
.consultation-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(44, 25, 70, 0.86), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.reading-card { padding: 30px; }
.card-symbol { margin-bottom: 28px; color: var(--gold); font-size: 1.5rem; }
.reading-card h2 { margin-bottom: 12px; font-size: 1.65rem; }
.reading-card p,
.human-service p,
.development-note {
  color: var(--muted);
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.primary { color: #24152d; background: var(--gold); }
.secondary { color: var(--gold); background: transparent; }
.primary:disabled { cursor: not-allowed; opacity: 0.5; }

.human-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 10px 0 30px;
  padding: 32px;
}

.human-service h2 { margin-bottom: 8px; font-size: 2rem; }
.human-service p { max-width: 690px; margin-bottom: 0; }

.ai-notice {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 0 60px;
  color: #9f91ad;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.consultation-page { display: grid; place-items: center; padding: 24px; }
.consultation-shell { width: min(760px, 100%); }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--muted); font-family: system-ui, sans-serif; text-decoration: none; }
.consultation-card { padding: clamp(26px, 6vw, 54px); }
.consultation-card h1 { font-size: clamp(2.2rem, 8vw, 4.2rem); }
.consultation-card label { display: block; margin: 30px 0 12px; font-family: system-ui, sans-serif; font-weight: 700; }
.consultation-card textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  padding: 18px;
  color: var(--text);
  background: rgba(7, 4, 14, 0.52);
  font: 1rem/1.6 system-ui, sans-serif;
}
.consultation-card textarea:focus { border-color: var(--gold); }
.development-note { margin-top: 24px; font-size: 0.82rem; }

.reading-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 70px; }
.reading-header { max-width: 760px; margin: 28px 0 24px; }
.reading-header h1 { font-size: clamp(2.5rem, 7vw, 5rem); margin: 8px 0 14px; }
.reading-header > p:last-child { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.question-summary { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; margin: 24px 0 34px; }
.question-summary span, .card-reading span { color: var(--gold); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.question-summary p { margin: 7px 0 0; }
.tarot-spread { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tarot-card { animation: rise .7s both; animation-delay: var(--delay); }
.card-face { aspect-ratio: 3 / 4.35; border: 1px solid rgba(202,169,101,.55); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; background: radial-gradient(circle at 50% 36%, rgba(122,73,155,.48), transparent 38%), linear-gradient(145deg,#25113e,#10091f); box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.card-number { align-self: flex-start; color: var(--gold); font-family: Georgia,serif; }
.card-sigil { font-size: 4rem; color: var(--gold); text-shadow: 0 0 30px rgba(202,169,101,.48); }
.card-face h2 { font-family: Georgia,serif; font-size: clamp(1.4rem,3vw,2rem); margin: 0; }
.card-reading { padding: 18px 7px; }
.card-reading p { color: var(--muted); line-height: 1.65; }
.demo-chat { margin-top: 42px; padding: clamp(20px,4vw,38px); border: 1px solid var(--line); border-radius: 24px; background: rgba(31,17,53,.8); }
.demo-chat h2 { margin-top: 0; font-family: Georgia,serif; font-size: 1.8rem; }
.chat-log { display: flex; flex-direction: column; gap: 12px; max-height: 340px; overflow: auto; padding: 6px 0 18px; }
.chat-bubble { max-width: 78%; padding: 13px 16px; border-radius: 17px; line-height: 1.55; margin: 0; }
.chat-bubble.guide { background: rgba(122,73,155,.3); border: 1px solid var(--line); align-self: flex-start; }
.chat-bubble.client { background: var(--gold); color: #1b1128; align-self: flex-end; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; border-radius: 999px; border: 1px solid var(--line); background: #110a20; color: white; padding: 0 18px; min-width: 0; }
.chat-form .primary { width: auto; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .tarot-spread { grid-template-columns: 1fr; } .tarot-card { display: grid; grid-template-columns: minmax(130px, .65fr) 1fr; gap: 12px; align-items: center; } .chat-form { flex-direction: column; } .chat-form input { min-height: 52px; } }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 44px 0; }
  .orb { width: min(300px, 80vw); margin: 0 auto; }
  .reading-grid { grid-template-columns: 1fr; }
  .human-service { align-items: flex-start; flex-direction: column; }
  .human-service .secondary { width: 100%; }
}

