:root {
  --orange: #ff6534;
  --orange-dark: #df4c20;
  --orange-soft: #fff0e9;
  --ink: #171716;
  --ink-soft: #292926;
  --muted: #696862;
  --line: #deddd7;
  --paper: #f3f1eb;
  --white: #fff;
  --green: #1e7a58;
  --yellow: #9b6b08;
  --shadow: 0 18px 55px rgba(23, 23, 22, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.tool-header {
  width: min(1440px, calc(100% - 32px));
  min-height: 70px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  position: sticky;
  top: 10px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(222, 221, 215, .8);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 35px rgba(23,23,22,.06);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; justify-self: start; }
.brand-mark { width: 40px; height: 40px; background: url("/assets/ov-calendar-logo-v3.svg") center/contain no-repeat; filter: drop-shadow(0 6px 7px rgba(120,37,9,.23)); }
.brand-name { font: 800 18px/1 Outfit, sans-serif; letter-spacing: -.5px; }
.brand-name span { color: var(--orange); }
.tool-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.tool-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(30,122,88,.12); }
.ghost-button, .copy-button {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}
.ghost-button { min-height: 42px; padding: 0 16px; justify-self: end; }
.ghost-button:hover, .copy-button:hover { border-color: var(--orange); color: var(--orange-dark); }

.workspace { width: min(1380px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 90px; }
.tool-intro { margin-bottom: 40px; display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.eyebrow, .output-label { color: var(--orange-dark); font-size: 11px; font-weight: 900; letter-spacing: 1.25px; text-transform: uppercase; }
.tool-intro h1, h2 { margin: 0; font-family: Outfit, sans-serif; line-height: 1.05; letter-spacing: -.035em; }
.tool-intro h1 { max-width: 780px; margin-top: 13px; font-size: clamp(40px, 5vw, 68px); }
.tool-intro p { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; }

.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr); gap: 22px; align-items: start; }
.lead-form { display: grid; gap: 16px; }
.form-card, .output-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(23,23,22,.045);
}
.form-card { padding: 28px; }
.card-heading { margin-bottom: 25px; display: flex; gap: 15px; align-items: center; }
.card-heading > span { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-size: 11px; font-weight: 900; }
.card-heading h2 { font-size: 27px; }
.card-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.field-grid { display: grid; gap: 18px 14px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field:not(.field-grid .field) { margin-top: 18px; }
.field > span, .choice-group legend { color: #44433f; font-size: 12px; font-weight: 850; }
.field small { margin-top: -2px; color: #83817a; font-size: 11px; line-height: 1.45; }
input, select, textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #d5d3cc;
  border-radius: 11px;
  outline: none;
  background: #fffefa;
  color: var(--ink);
  transition: border .18s ease, box-shadow .18s ease;
}
textarea { min-height: 104px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,101,52,.12); }
input::placeholder, textarea::placeholder { color: #aaa8a1; }

.choice-group { margin: 22px 0 0; padding: 0; border: 0; }
.choice-group + .field-grid, .choice-group + .field { margin-top: 22px; }
.choice-group legend { margin-bottom: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { position: relative; }
.choice-row input { width: 1px; height: 1px; min-height: 0; position: absolute; opacity: 0; }
.choice-row span { min-height: 38px; padding: 8px 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #faf9f5; color: #55544f; font-size: 12px; font-weight: 750; }
.choice-row input:checked + span { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); box-shadow: inset 0 0 0 1px var(--orange); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(255,101,52,.2); }

.assistant-panel { position: sticky; top: 96px; display: grid; gap: 12px; }
.assistant-topline { padding: 0 4px 4px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 11px; font-weight: 700; }
.status-pill { padding: 6px 9px; border-radius: 999px; background: #eeeae0; color: var(--yellow); }
.status-pill.qualified { background: #e5f4ed; color: var(--green); }
.status-pill.risk { background: #fff0e9; color: #b33d1a; }
.output-card { padding: 22px; }
.primary-output { border-color: transparent; background: var(--ink); color: white; box-shadow: var(--shadow); }
.primary-output .output-label { color: #ffb99e; }
.primary-output h2 { margin-top: 9px; font-size: 30px; }
.primary-output p { margin: 10px 0 0; color: #bbb9b2; }
.output-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.copy-button { min-height: 34px; padding: 0 11px; font-size: 11px; }
.message-preview { margin-top: 15px; padding: 17px; border-radius: 16px 16px 4px 16px; background: #e8f7ee; color: #163d2d; white-space: pre-wrap; line-height: 1.6; }
.whatsapp-button { width: 100%; min-height: 43px; margin-top: 12px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: #1e7a58; color: white; font-weight: 800; }
.recommendation { margin-top: 13px; }
.recommendation strong { display: block; font: 800 24px/1.12 Outfit, sans-serif; }
.recommendation p { margin: 8px 0 0; color: var(--muted); }
.recommendation .monthly { margin-top: 14px; padding: 13px; border-radius: 11px; background: var(--orange-soft); color: #7a321a; font-size: 12px; }
.numbers { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.numbers div { padding: 11px; border-radius: 11px; background: #f3f1eb; }
.numbers span, .numbers strong { display: block; }
.numbers span { min-height: 30px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.numbers strong { margin-top: 5px; font-size: 16px; }
.watch-list { margin: 12px 0 0; padding: 0; list-style: none; }
.watch-list li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid #eceae4; color: #55544f; font-size: 13px; }
.watch-list li:first-child { border-top: 0; }
.watch-list li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.hypothesis-card { border-style: dashed; background: #fffaf4; }
.hypothesis-card p { margin: 9px 0 0; color: #665c52; font-size: 12px; }
.prices-card { padding: 0; overflow: hidden; }
.prices-card summary { padding: 18px 22px; cursor: pointer; font-weight: 850; }
.price-list { padding: 0 22px 20px; }
.price-list p { margin: 0; padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #eceae4; font-size: 12px; }
.price-list p span { color: var(--muted); text-align: right; }
.price-list hr { margin: 5px 0; border: 0; border-top: 2px solid var(--ink); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .tool-intro { grid-template-columns: 1fr; gap: 18px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .assistant-panel { position: static; }
}
@media (max-width: 680px) {
  .tool-header { width: calc(100% - 20px); grid-template-columns: 1fr auto; }
  .tool-status { display: none; }
  .brand-name { font-size: 16px; }
  .workspace { width: calc(100% - 24px); padding-top: 44px; }
  .tool-intro h1 { font-size: 42px; }
  .tool-intro p { font-size: 15px; }
  .form-card { padding: 21px 17px; }
  .two-columns { grid-template-columns: 1fr; }
  .card-heading h2 { font-size: 24px; }
  .numbers { grid-template-columns: 1fr; }
  .numbers span { min-height: 0; }
  .assistant-topline { align-items: flex-start; flex-direction: column; }
}
