.bo-root {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background:
    radial-gradient(ellipse at top, #f7eed8 0%, #efe2bf 60%, #e8d6a8 100%);
  min-height: 100vh;
  padding: 48px 20px;
  color: #1f1a14;
  position: relative;
  overflow-x: hidden;
}
.bo-root::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(120,90,40,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(60,80,40,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.bo-grain {
  position: absolute; inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.1 0 0 0 0.15 0'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
}
.bo-container {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bo-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6b5a30;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
}
.bo-eyebrow span {
  background: #f4e8c8;
  padding: 6px 14px;
  border: 1px solid #c9b88b;
  border-radius: 2px;
}
.bo-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-align: center;
  color: #1f3a2a;
  margin: 0 0 8px;
}
.bo-title em {
  font-style: italic;
  font-weight: 400;
  color: #8a6a18;
}
.bo-subtitle {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: #5a4a28;
  margin: 0 auto 36px;
  max-width: 520px;
  line-height: 1.5;
}
.bo-form {
  background: #fbf3df;
  border: 1px solid #c9b88b;
  border-radius: 4px;
  padding: 32px;
  box-shadow:
    0 1px 0 #fff inset,
    0 20px 40px -20px rgba(80,60,20,0.25),
    0 4px 8px -2px rgba(80,60,20,0.1);
  position: relative;
}
.bo-form::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid #d9c79b;
  border-radius: 2px;
  pointer-events: none;
}
.bo-input-wrap {
  position: relative;
  margin-bottom: 16px;
}
.bo-input {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  background: #fff8e6;
  border: 1.5px solid #b8a070;
  border-radius: 3px;
  color: #1f1a14;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.bo-input::placeholder {
  color: #a89058;
  font-style: italic;
}
.bo-input:focus {
  border-color: #2d5034;
  box-shadow: 0 0 0 3px rgba(45,80,52,0.15);
}
.bo-button {
  width: 100%;
  padding: 16px 24px;
  background: #1f3a2a;
  color: #f4e8c8;
  border: none;
  border-radius: 3px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 0 #0e2418, 0 6px 12px -4px rgba(0,0,0,0.3);
}
.bo-button:hover:not(:disabled) {
  background: #2d5034;
}
.bo-button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #0e2418, 0 3px 6px -2px rgba(0,0,0,0.3);
}
.bo-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.bo-examples {
  margin-top: 22px;
}
.bo-examples-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7440;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}
.bo-examples-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px;
  justify-content: center;
  justify-items: center;
}
@media (max-width: 600px) {
  .bo-examples-row {
    grid-template-columns: repeat(2, auto);
  }
}
.bo-examples-hint {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  color: #8a7440;
  opacity: 0.78;
  text-align: center;
}
.bo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e6;
  border: 1px solid #c9b88b;
  color: #4a3a1c;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 14px;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: all 0.15s;
}
.bo-pill:hover {
  background: #1f3a2a;
  color: #f4e8c8;
  border-color: #1f3a2a;
}
.bo-pill-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.bo-refusal {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 248, 220, 0.4);
  border: 1px dashed rgba(120, 100, 60, 0.3);
  border-radius: 12px;
  margin: 16px auto;
  max-width: 600px;
}
.bo-refusal-icon {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1;
}
.bo-refusal-text {
  font-size: 16px;
  font-style: italic;
  color: #4a3f2a;
  margin-bottom: 12px;
  line-height: 1.45;
}
.bo-refusal-hint {
  font-size: 13px;
  color: #8a7d5e;
}
.bo-loading {
  margin-top: 32px;
  text-align: center;
  padding: 40px 20px;
  background: #fbf3df;
  border: 1px dashed #c9b88b;
  border-radius: 4px;
}
.bo-loading-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #5a4a28;
}
.bo-dots {
  display: inline-flex; gap: 4px; margin-left: 8px;
}
.bo-dots span {
  width: 6px; height: 6px; background: #8a6a18; border-radius: 50%;
  animation: bo-blink 1.4s infinite;
}
.bo-dots span:nth-child(2) { animation-delay: 0.2s; }
.bo-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bo-blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}
.bo-result {
  margin-top: 32px;
  background: #fbf3df;
  border: 1px solid #c9b88b;
  border-radius: 4px;
  padding: 36px 32px 32px;
  position: relative;
  box-shadow:
    0 1px 0 #fff inset,
    0 20px 40px -20px rgba(80,60,20,0.3),
    0 4px 8px -2px rgba(80,60,20,0.12);
  animation: bo-fade-in 0.6s ease;
}
.bo-result::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid #d9c79b;
  border-radius: 2px;
  pointer-events: none;
}
@keyframes bo-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bo-stamp {
  position: absolute;
  top: -22px; right: 28px;
  padding: 10px 20px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 2.5px solid currentColor;
  border-radius: 2px;
  background: var(--stamp-bg);
  color: var(--stamp-color);
  transform: rotate(-3deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.bo-stamp::before, .bo-stamp::after {
  content: '\2605';
  margin: 0 6px;
  font-size: 10px;
  vertical-align: middle;
}
.bo-stamp.yes { --stamp-bg: #dde7d8; --stamp-color: #2d5034; }
.bo-stamp.no  { --stamp-bg: #ecd9d3; --stamp-color: #7a2418; }
.bo-stamp.maybe { --stamp-bg: #ece1c9; --stamp-color: #7a5a18; }

.bo-company {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8a7440;
  font-weight: 600;
  margin-bottom: 10px;
}
.bo-verdict {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.bo-verdict.yes { color: #2d5034; }
.bo-verdict.no  { color: #7a2418; }
.bo-verdict.maybe { color: #7a5a18; }
.bo-moat {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: #5a4a28;
  background: rgba(184,148,31,0.15);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid #c9b88b;
}
.bo-moat-label {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  margin-right: 6px;
  color: #8a7440;
}
.bo-reasoning {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d9c79b;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2a2218;
}
.bo-catchphrase {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid #8a6a18;
  background: rgba(184,148,31,0.08);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #5a4a28;
  line-height: 1.5;
}
.bo-catchphrase::before {
  content: '\2014  ';
  color: #8a6a18;
}
.bo-signature {
  margin-top: 22px;
  text-align: right;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #8a7440;
}
.bo-signature strong {
  font-weight: 500;
  color: #5a4a28;
}
.bo-error {
  margin-top: 24px;
  padding: 14px 18px;
  background: #ecd9d3;
  border-left: 3px solid #7a2418;
  color: #7a2418;
  border-radius: 3px;
  font-size: 14px;
}

/* === Freedom Finance CTA === */
.bo-freedom {
  margin-top: 48px;
  background: linear-gradient(135deg, #1f3a2a 0%, #15291e 100%);
  border-radius: 6px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.35);
}
.bo-freedom::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(184,148,31,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.bo-freedom-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a847;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
}
.bo-freedom-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  color: #f4e8c8;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  position: relative;
}
.bo-freedom-title em {
  font-style: italic;
  color: #c9a847;
}
.bo-freedom-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244,232,200,0.85);
  margin: 0 0 18px;
  position: relative;
  max-width: 540px;
}
.bo-freedom-perks {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
  position: relative;
}
.bo-freedom-perk {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  color: #f4e8c8;
  background: rgba(244,232,200,0.08);
  border: 1px solid rgba(201,168,71,0.3);
  padding: 6px 12px;
  border-radius: 100px;
}
.bo-freedom-perk::before {
  content: '\2713  ';
  color: #c9a847;
  margin-right: 4px;
}
.bo-freedom-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: #c9a847;
  color: #1f1a14;
  border-radius: 3px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 0 #8a6a18;
  position: relative;
}
.bo-freedom-button:hover {
  background: #d6b855;
}
.bo-freedom-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8a6a18;
}
.bo-freedom-button .arrow {
  transition: transform 0.2s;
}
.bo-freedom-button:hover .arrow {
  transform: translateX(3px);
}
.bo-freedom-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(244,232,200,0.55);
  font-style: italic;
  line-height: 1.5;
  position: relative;
}

.bo-disclaimer {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: #8a7440;
  font-style: italic;
  line-height: 1.5;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .bo-form, .bo-result, .bo-freedom { padding: 24px 18px; }
  .bo-stamp { right: 14px; font-size: 12px; padding: 8px 14px; }
  .bo-verdict { font-size: 28px; }
  .bo-reasoning { font-size: 16px; }
  .bo-freedom-title { font-size: 22px; }
  .bo-freedom-text { font-size: 15px; }
}

@media (min-width: 768px) {
  #buffett-result:not([style*="display"]) { min-height: 600px; }
}
