:root {
  --ink: #171613;
  --paper: #FAF6EE;
  --surface: #FFFFFF;
  --muted: #5E5A52;
  --line: #171613;
  --accent: #FF4800;
  --neon-yellow: #FFE600;
  --neon-lime: #D4FF00;
  --neon-pink: #FF3388;
  --border-bold: 2.5px solid #171613;
  --border-mid: 2px solid #171613;
  --shadow-hard: 3px 3px 0px #171613;
  --shadow-hard-lg: 5px 5px 0px #171613;
  --shadow-hard-sm: 2px 2px 0px #171613;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(#ded5c5 1.2px, transparent 1.2px);
  background-size: 20px 20px;
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--neon-yellow) !important;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.section-shell {
  width: min(1160px, calc(100% - 30px));
  margin: auto;
}

/* App Bar */
.app-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4vw;
  background: rgba(248, 245, 238, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-bold);
  box-shadow: 0 2px 0 rgba(23, 22, 19, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--ink);
  object-fit: contain;
  flex-shrink: 0;
}
.brand span strong {
  font-size: 1.05rem;
}
.brand em {
  background: var(--neon-yellow);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 2px 6px;
  font-style: normal;
  font-weight: 900;
  font-size: 0.72rem;
  box-shadow: 1.5px 1.5px 0 var(--ink);
}

/* Buttons */
.primary-button, .ghost-button, .profile-button, .text-button, .unlock-button {
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.primary-button {
  min-height: 50px;
  border: var(--border-bold);
  border-radius: 14px;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  box-shadow: var(--shadow-hard);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}
.primary-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.primary-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.full-button {
  width: 100%;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  border-radius: 14px;
  flex: 0 0 52px;
}

.profile-button, .ghost-button {
  border: var(--border-mid);
  border-radius: 999px;
  padding: 8px 14px;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
  font-size: 0.8rem;
}
.profile-button:hover, .ghost-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.profile-button:active, .ghost-button:active {
  transform: translate(1.5px, 1.5px);
  box-shadow: 0 0 0 var(--ink);
}

.locale-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: var(--border-mid);
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow-hard-sm);
}
.locale-switch button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.7rem;
  cursor: pointer;
}
.locale-switch button[aria-pressed=true] {
  background: var(--ink);
  color: white;
}

/* Hero & App-First Intro Section */
.app-intro {
  padding: 36px 0 16px;
  text-align: left;
}
.app-intro-copy {
  max-width: 680px;
}
.app-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.app-intro h1 strong {
  display: block;
  margin-top: 0.12em;
  color: var(--accent);
  text-shadow: 2px 2px 0 var(--ink);
}
.app-intro-description {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  max-width: 52ch;
}
.flow-steps-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border: var(--border-mid);
  border-radius: 999px;
  background: white;
  box-shadow: 2px 2px 0 var(--ink);
  margin-top: 6px;
}
.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}
.flow-step.is-active {
  color: var(--ink);
  font-weight: 900;
}
.flow-step-num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EAE6DE;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
}
.flow-step.is-active .flow-step-num {
  background: var(--accent);
  color: white;
}
.flow-step-arrow {
  color: #C8C3B8;
  font-weight: 900;
  font-size: 0.8rem;
}
.empty-flow-art {
  display: block;
  margin: 14px auto;
  max-width: 130px;
  height: auto;
  border-radius: 14px;
  border: var(--border-mid);
  box-shadow: var(--shadow-hard-sm);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5vw;
  min-height: 580px;
  padding: 60px 0 50px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 4px 10px;
  background: var(--neon-yellow);
  border: var(--border-mid);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  transform: rotate(-1.5deg);
}
.hero h1 {
  max-width: 14ch;
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 900;
}
.hero h1 strong {
  display: block;
  margin-top: 0.15em;
  color: var(--accent);
  text-shadow: 2px 2px 0 var(--ink);
}
.hero-description {
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}
.price-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.price-strip span {
  display: grid;
  min-width: 100px;
  padding: 10px 14px;
  border: var(--border-mid);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-hard-sm);
}
.price-strip span b {
  font-size: 1.1rem;
  font-weight: 900;
}
.price-strip small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.text-button {
  background: transparent;
  border: 0;
  padding: 10px;
  font-weight: 900;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
}

/* Visual */
.hero-visual {
  display: grid;
  place-items: center;
  border: var(--border-bold);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-hard-lg);
  padding: 24px;
  transform: rotate(1deg);
}
.hero-visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 14px;
}
.hero-visual p {
  margin: 12px 0 0;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Question Ribbon */
.question-ribbon {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 20px;
  padding: 28px;
  border: var(--border-bold);
  border-radius: 22px;
  background: #1B1A17;
  color: white;
  box-shadow: var(--shadow-hard-lg);
  margin: 40px auto;
}
.question-ribbon .section-label {
  color: var(--neon-yellow);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}
.question-ribbon h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.topic-scroller {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.topic-scroller button {
  flex: 0 0 92px;
  min-height: 84px;
  border: var(--border-mid);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  box-shadow: 2.5px 2.5px 0 var(--neon-yellow);
  cursor: pointer;
  padding: 10px 6px;
  text-align: center;
  transition: transform 0.1s ease;
}
.topic-scroller button:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0;
}
.topic-scroller span {
  display: block;
  font-size: 1.4rem;
}
.topic-scroller b {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-top: 4px;
}

/* Workspace */
.workspace {
  padding: clamp(24px, 5vw, 44px);
  border: var(--border-bold);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow-hard-lg);
  margin: 16px auto 40px;
}
.workspace-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: var(--border-mid);
  padding-bottom: 18px;
}
.workspace-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}
.privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: var(--border-mid);
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--neon-lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--ink);
}

.workspace-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 24px;
}

/* Birth Form */
.birth-card {
  border: var(--border-bold);
  border-radius: 20px;
  background: #FFFDF8;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  align-self: start;
  box-sizing: border-box;
}
@media (min-width: 901px) {
  .birth-card {
    position: sticky;
    top: 84px;
  }
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-group > label, .label-line > label, .modal-shell label span {
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.label-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.unknown-toggle, .check-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.unknown-toggle span, .check-line span {
  font-size: 0.78rem !important;
  font-weight: 800;
  color: var(--muted) !important;
}
.unknown-toggle input[type="checkbox"], .check-line input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid var(--ink) !important;
  border-radius: 4px !important;
  accent-color: var(--accent) !important;
  cursor: pointer;
  flex-shrink: 0;
}

.date-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 8px;
}
.time-grid, .split-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: start;
}
.time-grid {
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.time-grid.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(1);
}
.date-grid label, .time-grid label {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}
.date-grid span, .time-grid span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.76rem;
  pointer-events: none;
}

input:not([type="checkbox"]):not([type="radio"]), select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  box-sizing: border-box;
  border: var(--border-mid);
  border-radius: 12px;
  background: white;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
}
textarea {
  width: 100%;
  min-height: 80px;
  box-sizing: border-box;
  border: var(--border-mid);
  border-radius: 12px;
  background: white;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  resize: vertical;
  transition: box-shadow 0.1s ease, border-color 0.1s ease;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: var(--shadow-hard-sm);
  background: #FFFFFA;
}
select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B1A17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px !important;
}
.date-grid input, .time-grid input {
  padding-right: 30px !important;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  box-sizing: border-box;
  padding: 4px;
  border: var(--border-mid);
  border-radius: 12px;
  background: #EFE9DC;
  gap: 4px;
}
.segmented-control label {
  position: relative;
  display: flex;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.segmented-control input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.segmented-control span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--muted);
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.segmented-control input:checked + span {
  background: var(--ink);
  color: white;
  box-shadow: 1.5px 1.5px 0 rgba(0,0,0,0.25);
}

.field-help {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}
.form-error {
  margin: 0;
  color: #D92525;
  font-weight: 800;
  font-size: 0.78rem;
}

/* Chart Card & Results */
.chart-card {
  border: var(--border-bold);
  border-radius: 20px;
  background: #FAF6ED;
  box-shadow: var(--shadow-hard);
  min-height: 520px;
  position: relative;
}
.empty-chart {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100%;
  padding: 40px;
  text-align: center;
}
.empty-symbol {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.empty-symbol span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 60px;
  border: var(--border-mid);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow-hard-sm);
  font: 900 1.3rem Georgia, serif;
}
.empty-chart h3 {
  margin: 12px 0 6px;
  font-size: 1.3rem;
  font-weight: 900;
}
.empty-chart p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.chart-result {
  padding: 22px;
  animation: chartPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes chartPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Day Master Line */
.vibe-badge-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.vibe-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--neon-yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-1deg);
}
.day-master-line {
  display: flex;
  align-items: center;
  gap: 16px;
}
.day-master-line > strong {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: var(--border-bold);
  border-radius: 18px;
  background: var(--ink);
  color: white;
  font: 900 2.3rem Georgia, serif;
  box-shadow: var(--shadow-hard-sm);
}
.day-master-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.day-master-title-wrap h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
}
.day-master-archetype {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--accent);
  background: #FFEFE8;
  padding: 2px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
}
.day-master-line p {
  margin: 6px 0 0;
  color: #333;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 8px;
  border: var(--border-mid);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.1s ease;
}
.pillar:hover {
  transform: translateY(-2px);
}
.pillar.is-day {
  background: var(--neon-yellow);
  box-shadow: 3px 3px 0 var(--ink);
}
.pillar small {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}
.pillar-char {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  margin: 2px 0;
  padding: 4px 0 2px;
  border-radius: 8px;
  line-height: 1.05;
}
.char-hanja {
  font: 900 1.55rem Georgia, serif;
}
.char-sub {
  font-size: 0.58rem;
  font-weight: 900;
  font-family: Pretendard, sans-serif;
  opacity: 0.85;
}
/* Five elements badge colors */
.pillar-char.elem-木 { color: #007A5A; background: rgba(0, 122, 90, 0.08); }
.pillar-char.elem-火 { color: #D9381E; background: rgba(217, 56, 30, 0.08); }
.pillar-char.elem-土 { color: #8F6B00; background: rgba(143, 107, 0, 0.1); }
.pillar-char.elem-金 { color: #3A3A3C; background: rgba(0, 0, 0, 0.06); }
.pillar-char.elem-水 { color: #0052CC; background: rgba(0, 82, 204, 0.08); }

.pillar.is-day .pillar-char {
  background: rgba(23, 22, 19, 0.06);
}
.pillar.is-day .pillar-char.elem-木 { color: #005F45; }
.pillar.is-day .pillar-char.elem-火 { color: #B32400; }
.pillar.is-day .pillar-char.elem-土 { color: #6E5200; }
.pillar.is-day .pillar-char.elem-金 { color: #171613; }
.pillar.is-day .pillar-char.elem-水 { color: #003E99; }

/* Ohaeng Section */
.element-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: var(--border-mid);
}
.element-title {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 900;
}
.element-bars {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.element-bar {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
}
.element-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.element-bar-head label {
  font-size: 0.78rem;
  font-weight: 900;
}
.element-bar-head .stat-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}
.element-bar output {
  font-weight: 900;
  font-size: 0.8rem;
}
.element-track {
  height: 12px;
  border: var(--border-mid);
  border-radius: 999px;
  background: white;
  overflow: hidden;
}
.element-fill {
  height: 100%;
  border-right: 1.5px solid var(--ink);
}

/* Alerts */
.ohaeng-alerts {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}
.lucide-icon {
  display: inline-block;
  vertical-align: -0.2em;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.topic-scroller button .lucide-icon {
  vertical-align: middle;
}
.element-bar-head label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.element-bar-head .lucide-icon {
  opacity: 0.85;
}
.vibe-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: var(--border-mid);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
}
.vibe-alert.dominant {
  background: #FFEFE8;
  color: var(--ink);
}
.vibe-alert.dominant .vibe-alert-icon {
  color: #FF4800;
}
.vibe-alert.lacking {
  background: #EBF4FF;
  color: var(--ink);
}
.vibe-alert.lacking .vibe-alert-icon {
  color: #0070F3;
}
.vibe-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-badge {
  padding: 2px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 900;
  background: white;
  flex-shrink: 0;
}

/* Chart Note */
.chart-note {
  margin-top: 16px;
  padding: 10px 14px;
  border: var(--border-mid);
  border-radius: 12px;
  background: #FFF9E6;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-note .note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

/* Saju Receipt Card (처방 영수증 스타일) */
.saju-vibe-card {
  margin-top: 22px;
  padding: 20px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: var(--shadow-hard-lg);
  position: relative;
  font-family: "Courier New", Courier, monospace, Pretendard, sans-serif;
}
.vibe-receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.receipt-brand {
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.receipt-stamp {
  display: inline-block;
  padding: 3px 8px;
  border: 2.5px solid #D92525;
  border-radius: 6px;
  color: #D92525;
  font-weight: 900;
  font-size: 0.75rem;
  transform: rotate(-7deg);
  letter-spacing: -0.02em;
  box-shadow: 1px 1px 0 rgba(217, 37, 37, 0.4);
}
.receipt-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
.receipt-divider {
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: -1px;
  color: #BDB3A4;
  font-size: 0.75rem;
  margin: 6px 0 10px;
}
.vibe-card-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  font-family: Pretendard, sans-serif;
}
.vibe-card-desc {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #333;
  line-height: 1.45;
  background: #FAF6ED;
  padding: 10px 12px;
  border: var(--border-mid);
  border-radius: 10px;
  font-family: Pretendard, sans-serif;
  font-weight: 600;
}
.vibe-card-points {
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  font-family: Pretendard, sans-serif;
  margin-bottom: 12px;
}
.vibe-card-points div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.vibe-card-points span {
  flex-shrink: 0;
  font-weight: 900;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vibe-card-points span .lucide-icon {
  color: var(--ink);
}
.vibe-card-points strong {
  font-weight: 700;
}
.receipt-barcode {
  text-align: center;
  font-weight: 900;
  letter-spacing: 4px;
  font-size: 1.1rem;
  margin: 10px 0 14px;
  color: var(--ink);
}
.share-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border: var(--border-bold);
  border-radius: 12px;
  background: var(--neon-yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.84rem;
  box-shadow: var(--shadow-hard-sm);
  cursor: pointer;
  font-family: Pretendard, sans-serif;
}
.share-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.share-button:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0;
}
.receipt-actions {
  display: grid;
  gap: 8px;
}
.receipt-story-tip {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: Pretendard, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
}
.receipt-story-tip .lucide-icon {
  color: var(--accent);
  flex-shrink: 0;
}

/* Reading Teaser Box */
.reading-teaser-box {
  margin-top: 18px;
  padding: 14px 16px;
  border: var(--border-mid);
  border-radius: 14px;
  background: #FFFDF8;
  box-shadow: 2px 2px 0 var(--ink);
}
.teaser-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.teaser-badge {
  background: var(--neon-lime);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 1px 1px 0 var(--ink);
}
.teaser-head p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink);
}
.teaser-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.teaser-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 9px;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
}

/* Unlock CTA */
.unlock-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  border: var(--border-bold);
  border-radius: 16px;
  background: var(--accent);
  color: white;
  padding: 15px 18px;
  box-shadow: var(--shadow-hard);
  text-align: left;
}
.unlock-button span { display: grid; gap: 2px; }
.unlock-button small { font-size: 0.72rem; font-weight: 800; opacity: 0.95; }
.unlock-button b { font-size: 1.05rem; font-weight: 900; }
.unlock-button i { font-size: 1.3rem; font-style: normal; font-weight: 900; }
.unlock-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.unlock-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.storage-promise {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

/* New question-first controls inherit the original bold visual language. */
.first-question-card {
  margin-top: 18px;
  padding: 16px;
  border: var(--border-mid);
  border-radius: 14px;
  background: #FFFDF8;
  box-shadow: var(--shadow-hard-sm);
  scroll-margin-top: 84px;
}
.question-card-heading { display: flex; align-items: center; gap: 8px; }
.question-card-heading .section-label { margin: 0; font-size: .74rem; font-weight: 900; }
.question-spark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--neon-yellow);
  box-shadow: 1px 1px 0 var(--ink);
}
.first-question-card h2 { margin: 12px 0 6px; font-size: 1.25rem; line-height: 1.35; font-weight: 900; letter-spacing: -.035em; }
.question-card-description { margin: 0 0 14px; color: var(--muted); font-size: .82rem; font-weight: 650; }
#firstQuestionInput { min-height: 108px; font-size: 16px; line-height: 1.5; }
#firstSuggestionRow { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; padding-bottom: 3px; }
#firstSuggestionRow button {
  min-height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  padding: 8px 10px;
  background: white;
  color: var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
  font-size: .77rem;
  font-weight: 800;
  cursor: pointer;
}
#firstSuggestionRow button:hover { background: var(--neon-yellow); }
.initial-question-preview { margin: 10px 0; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--neon-yellow); color: var(--ink); font-size: .82rem; overflow-wrap: anywhere; }
.question-privacy { margin: 12px 0 0; color: var(--muted); font-size: .74rem; font-weight: 600; line-height: 1.6; }
.first-question-card .unlock-button { gap: 8px; }
#dailyFortuneButton { min-height: 44px; margin-top: 12px; }
.free-badge { display: inline-block; padding: 2px 6px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--neon-lime); color: var(--ink); font-size: .68rem; font-weight: 900; }

/* Journey & Trust Section */
.journey, .trust-section { padding: 80px 0; }
.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 25px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}
.journey-grid, .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  list-style: none;
}
.journey-grid li, .trust-grid article {
  padding: 22px;
  border: var(--border-bold);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-hard);
}
.journey-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
}
.journey-grid li > span, .trust-grid article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: var(--border-mid);
  border-radius: 10px;
  background: var(--neon-yellow);
  color: var(--ink);
  font: 900 1.1rem Georgia, serif;
  box-shadow: 2px 2px 0 var(--ink);
}
.journey-grid b, .trust-grid h3 {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.journey-grid p, .trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Reading section, dialog, footer */
.reading-section {
  margin-top: 30px;
  border: var(--border-bold);
  border-radius: 26px;
  background: #1B1A17;
  color: white;
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(20px, 5vw, 50px);
}
.reading-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.reading-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
}
.credit-badge {
  border: var(--border-mid);
  border-color: white;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  font-size: 0.8rem;
  box-shadow: 2px 2px 0 white;
}
.credit-badge:before { content: 'Q '; font-weight: 900; }

.reading-document {
  max-width: 780px;
  margin: auto;
  color: var(--ink);
  line-height: 1.8;
  padding-bottom: 220px;
}
.reading-document h2, .reading-document h3 { color: var(--ink); }
.reading-document strong {
  background: var(--neon-yellow);
  padding: 1px 4px;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 900;
}
.reading-document .report-subheading {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 28px;
  letter-spacing: -0.02em;
}
.reading-document .chat-block {
  margin-top: 28px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-block.is-private {
  background: transparent;
  border: none;
}
.chat-bubble-user {
  align-self: flex-end;
  max-width: 86%;
  padding: 12px 16px;
  border: 2px solid #000000;
  border-radius: 18px 18px 4px 18px;
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 3px 3px 0 #000000;
}
.chat-bubble-user .chat-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 5px;
}
.chat-bubble-user .chat-block-head span {
  padding: 2px 6px;
  border: 1px solid #000000;
  border-radius: 4px;
  background: #1B1A17;
  color: #FAFF00;
  font-size: 0.65rem;
  font-weight: 900;
  box-shadow: 1px 1px 0 #000000;
}
.chat-block.is-private .chat-bubble-user {
  background: #E8501C;
  border-style: dashed;
}
.chat-block.is-private .chat-bubble-user .chat-block-head span {
  background: #1B1A17;
  color: #FFD84D;
}
.chat-bubble-user .chat-block-head small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.64rem;
  font-weight: 600;
  text-align: right;
}
.chat-bubble-user .chat-q-wrap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}
.chat-bubble-user .chat-q-label {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #1B1A17;
  color: #FAFF00;
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 1px 1px 0 #000000;
}
.chat-bubble-user h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  word-break: break-word;
}
.chat-bubble-ai {
  align-self: flex-start;
  width: 100%;
  max-width: 100%;
}
.ai-profile-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  padding-left: 2px;
}
.ai-avatar {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--neon-yellow);
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 1.5px 1.5px 0 var(--accent);
}
.ai-profile-head strong {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ai-profile-head small {
  font-size: 0.66rem;
  font-weight: 700;
  color: #7A756D;
}
.chat-answer {
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 4px 20px 20px 20px;
  background: #FFFFFF;
  color: #1B1A17;
  line-height: 1.75;
  box-shadow: 3.5px 3.5px 0 var(--ink);
  margin-top: 0;
}
.chat-answer,
.chat-answer * {
  box-sizing: border-box;
}
.chat-answer .report-subheading,
.chat-answer h1,
.chat-answer h2,
.chat-answer h3,
.chat-answer h4,
.chat-answer h5,
.chat-answer h6 {
  color: #1B1A17 !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  margin: 16px 0 8px !important;
  letter-spacing: -0.02em !important;
  display: block !important;
}
.chat-answer > .report-subheading:first-child,
.chat-answer > :is(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0 !important;
}
.chat-answer .chapter-lede {
  color: #1B1A17 !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
}
.chat-answer p,
.chat-answer li,
.chat-answer td,
.chat-answer th {
  color: #1B1A17 !important;
  font-size: 0.95rem;
  font-weight: 600;
}
.chat-answer p {
  margin: 0 0 12px;
}
.chat-answer p:last-child {
  margin-bottom: 0;
}
.chat-answer blockquote {
  border-left: 3.5px solid var(--accent) !important;
  background: rgba(255, 91, 36, 0.08) !important;
  padding: 8px 12px !important;
  margin: 12px 0 !important;
  border-radius: 0 8px 8px 0 !important;
}
.chat-answer blockquote p {
  color: #262420 !important;
  margin: 0 !important;
}
.chat-answer .report-divider {
  border: 0 !important;
  border-top: 1.5px solid rgba(0, 0, 0, 0.12) !important;
  margin: 16px 0 !important;
}
.chat-answer table {
  border: 1.5px solid rgba(0, 0, 0, 0.18) !important;
  background: #FFFDF8 !important;
  width: 100% !important;
  border-collapse: collapse !important;
}
.chat-answer th,
.chat-answer td {
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #1B1A17 !important;
  padding: 8px 10px !important;
}
.chat-answer strong {
  background: var(--neon-yellow);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.14);
  color: var(--ink);
  font-weight: 900;
}
.streaming-wait {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.typing-cursor {
  display: inline-block;
  width: 9px;
  height: 1.15em;
  vertical-align: -0.18em;
  margin-left: 4px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 1px 1px 0 var(--ink);
  animation: cursor-pulse 0.75s infinite;
}
@keyframes cursor-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0; transform: scaleY(0.7); }
}
.reading-document-meta.is-pending {
  opacity: 0.7;
}
.save-choice.is-private {
  opacity: 0.85;
}

.question-dock {
  position: sticky;
  bottom: 16px;
  max-width: 780px;
  margin: 28px auto 0;
  padding: 12px 14px 10px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: rgba(27, 26, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28), 3px 3px 0 var(--neon-yellow);
  z-index: 90;
}
.suggestion-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.suggestion-row::-webkit-scrollbar {
  display: none;
}
.suggestion-row button {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #F8F4EE;
  padding: 6px 13px;
  font-size: 0.77rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.15s ease;
}
.suggestion-row button:hover {
  background: var(--neon-yellow);
  color: var(--ink);
  border-color: var(--neon-yellow);
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 white;
}
.suggestion-row button:active {
  transform: translateY(1px);
}
.question-form {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}
.question-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}
.question-row textarea {
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  max-height: 120px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: #FFFDF8;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  resize: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.question-row textarea:focus {
  background: #FFFFFF;
  box-shadow: 0 0 0 2px var(--neon-yellow), 2px 2px 0 var(--ink);
}
.question-row button {
  flex: 0 0 auto;
  height: 44px;
  min-width: 82px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 0 14px;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.question-row button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 white;
}
.question-row button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 white;
}
.question-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 4px 0;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.key-hint {
  display: inline;
}
.char-count {
  color: rgba(255, 255, 255, 0.6);
}
.btn-send-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  line-height: 1;
}
.btn-send-label .send-icon {
  flex-shrink: 0;
}
.question-form button small {
  font-size: 0.62rem;
  font-weight: 800;
  opacity: 0.9;
}
.question-notice {
  margin: 5px 4px 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.64rem;
  font-weight: 600;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 20px;
  padding: 36px max(15px, calc((100% - 1160px)/2));
  border-top: var(--border-bold);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

/* Modal */
.modal {
  width: min(450px, calc(100% - 24px));
  border: var(--border-bold);
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-hard-lg);
  padding: 0;
}
.modal::backdrop {
  background: rgba(23, 22, 19, 0.6);
}
.modal-shell {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: var(--border-mid);
  border-radius: 50%;
  background: white;
  width: 34px;
  height: 34px;
  font-weight: 900;
  cursor: pointer;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 3px;
  background: #EFE9DC;
  border: var(--border-mid);
  border-radius: 12px;
}
.auth-tabs button {
  border: 0;
  background: transparent;
  padding: 8px;
  font-weight: 900;
}
.auth-tabs button[aria-selected=true] {
  background: var(--ink);
  color: white;
  border-radius: 9px;
}
.wallet-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: var(--border-mid);
  border-radius: 16px;
  background: var(--ink);
  color: white;
}
.wallet-balance button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 900;
  padding: 8px 12px;
}
.saved-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border: var(--border-mid);
  border-radius: 12px;
  box-shadow: 2px 2px 0 var(--ink);
  background: white;
}
.toast {
  position: fixed;
  z-index: 99;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 10px 18px;
  border: var(--border-bold);
  border-radius: 999px;
  background: var(--neon-yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.8rem;
  box-shadow: var(--shadow-hard);
}

/* Media Queries */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 0; }
  .question-ribbon, .section-heading, .workspace-grid, .site-footer { grid-template-columns: 1fr; }
  .journey-grid, .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand em, .install-button { display: none !important; }
  .section-shell { width: calc(100% - 20px); }
  .app-intro { padding: 20px 0 12px; }
  .app-intro h1 { font-size: clamp(1.85rem, 8.5vw, 2.4rem); }
  .app-intro-description { font-size: 0.88rem; margin-bottom: 14px; }
  .flow-steps-bar { gap: 6px; padding: 5px 12px; }
  .flow-step { font-size: 0.74rem; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.6rem); }
  .price-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
  .price-strip span { min-width: 0; padding: 8px 6px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .question-ribbon { padding: 18px 14px; }
  .workspace { margin: 10px auto 26px; padding: 16px 12px; }
  .workspace-head, .reading-head { align-items: flex-start; flex-direction: column; }
  .birth-card { padding: 16px; }
  .split-fields { grid-template-columns: 1fr; }
  .chart-result { padding: 14px; }
  .pillars { gap: 5px; }
  .site-footer { padding-inline: 16px; }
  .key-hint { display: none; }
  .question-dock {
    padding: 8px 10px 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    border-radius: 18px;
    margin-top: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.3), 2.5px 2.5px 0 var(--accent);
  }
  .question-form { gap: 2px; }
  .question-row { gap: 6px; }
  .question-row textarea { min-height: 44px; padding: 9px 12px; font-size: 16px; border-radius: 12px; }
  .question-row button { min-width: 68px; height: 44px; padding: 0 10px; border-radius: 12px; }
  .btn-send-label { font-size: 0.84rem; gap: 3px; }
  .chat-block { padding: 0; }
  .chat-answer { padding: 14px 14px; }
}
