/* Optimal Automations: /try/ funnel (build your receptionist, then call her). Uses the site's tokens from styles.css. */
.try-step[hidden], .try-part[hidden] { display: none !important; }
.tryflow .step2-hi { margin-bottom: 4px; }
.tryflow .btn { margin-top: 0; }
.tryflow .try-step > .btn, .tryflow .try-choice .btn, .tryflow form.try-step .btn { margin-top: 18px; }
.opt { font-weight: 400; color: var(--ink-2); }

/* offer: build mine or play the sample */
.try-choice { margin-top: 16px; padding: 18px; border: 1.5px solid var(--rule); border-radius: var(--radius); background: var(--paper); }
.try-choice-main { border: 2px solid var(--hivis); background: color-mix(in srgb, var(--paper) 93%, var(--hivis)); }
.try-tag { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hivis-ink); }
.try-choice-h { margin-top: 4px; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.try-choice p { margin-top: 6px; }
.try-checks { margin-top: 12px; font-size: 0.9375rem; }
/* the button after the contact form: a small greeting above the action; it is still one button */
.btn-hello { flex-direction: column; gap: 0.25em; line-height: 1.15; }
.btn-hello .hello-line { display: block; max-width: 100%; font-size: 0.8125em; font-weight: 600; overflow-wrap: anywhere; }
.btn-hello .hello-act { display: block; }
.tryflow > .try-step > .linkbtn, .try-nav .linkbtn { margin-top: 14px; }

/* in-depth form */
.try-progress p { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.try-bar { height: 4px; margin-top: 8px; overflow: hidden; background: var(--rule); border-radius: 2px; }
.try-bar span { display: block; width: 33.4%; height: 100%; background: linear-gradient(90deg, var(--hivis), var(--hivis-hi)); transition: width 0.3s var(--ease-mech); }
.try-part { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.try-part-intro { margin-bottom: 4px; }
.field textarea {
  width: 100%; min-height: 76px; padding: 12px 14px; resize: vertical;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius);
}
.field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 10px; }
.hours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 380px) { .price-grid, .hours-grid { grid-template-columns: 1fr; } }
.price-grid.price-grid-1 { grid-template-columns: minmax(0, 1fr); }
.try-gap { margin-top: 18px; }
.chips-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.chips-field legend { margin-bottom: 8px; padding: 0; font-size: 0.9375rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 13px;
  font-size: 0.9375rem; line-height: 1.2; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--rule-strong); border-radius: 999px; cursor: pointer; user-select: none;
}
.chip span:hover { border-color: var(--ink-2); }
.chip input:checked + span { font-weight: 600; background: var(--tint); border-color: var(--hivis); }
.chip input:checked + span::before { content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.chips-days .chip span { justify-content: center; min-width: 54px; }
.try-other { margin-top: 10px; }
.try-nav { display: grid; justify-items: start; gap: 0; }
.try-nav .btn { justify-self: stretch; }

/* what she'll say, live while they fill the form */
.try-says { margin-top: 16px; padding: 12px 14px; background: var(--paper-2); border-left: 3px solid var(--hivis); border-radius: var(--radius); }
.try-says-label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hivis-ink); }
.try-says-line { margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }

/* the short "building" moment: what she just learned ticks off one line at a time */
.try-building { display: grid; justify-items: center; gap: 16px; padding: 40px 8px 44px; text-align: center; }
.try-building-h { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
.try-build-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.try-build-list li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink-2); opacity: 0.55; transition: opacity 0.25s ease, color 0.25s ease; overflow-wrap: anywhere; }
.try-build-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border: 2px solid var(--rule-strong); border-radius: 50%; }
.try-build-list li.is-done { color: var(--ink); opacity: 1; }
.try-build-list li.is-done::before { border-color: var(--go); background: var(--go); }
.try-build-list li.is-done::after { content: ""; position: absolute; left: 6px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(-45deg); }

/* the call */
.try-call-h, .try-done-h { margin-top: 6px; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.try-call-h:focus, .try-done-h:focus { outline: none; }
.try-call-sub { margin-top: 10px; color: var(--ink-2); }
.try-tips { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; font-size: 0.9375rem; list-style: none; }
.try-tips li { padding: 8px 12px; background: var(--paper-2); border-left: 3px solid var(--hivis); border-radius: var(--radius); }
.try-call { display: grid; justify-items: center; gap: 10px; margin-top: 18px; padding: 22px 18px; text-align: center; background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--radius); }
.try-orb { --lvl: 0; position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--hivis-hi), var(--hivis) 60%, var(--hivis-ink)); box-shadow: 0 12px 30px -12px var(--spark-glow); }
.try-orb span { position: absolute; inset: -9px; border: 3px solid var(--hivis); border-radius: 50%; opacity: calc(0.18 + var(--lvl) * 0.82); transform: scale(calc(1 + var(--lvl) * 0.35)); transition: transform 0.08s linear, opacity 0.08s linear; }
.try-call[data-call-state="idle"] .try-orb, .try-call[data-call-state="ended"] .try-orb { filter: saturate(0.35); opacity: 0.85; }
.motion .try-call[data-call-state="connecting"] .try-orb span { animation: try-pulse 1.2s ease-in-out infinite; }
@keyframes try-pulse { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.75; transform: scale(1.22); } }
.try-call-status { font-weight: 600; }
.try-timer { font-family: var(--font-mono); font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.try-timer.is-low { color: var(--hivis-ink); }
.try-call-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.try-call-btns .btn { margin-top: 0 !important; }
.try-call-btns .btn-block { flex: 1 1 100%; }
.try-call-note { font-size: 0.8125rem; color: var(--ink-2); }
.try-call-error { font-size: 0.9375rem; font-weight: 600; color: var(--err); }
.try-call-error a { color: inherit; }
.try-call-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.try-offer { margin-top: 12px; font-size: 1.0625rem; }
.try-done-note { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-2); }
.try-step[data-step="done"] > .btn { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .try-orb span, .try-bar span, .try-build-list li { transition: none; }
}

/* the hero darkens lists for its night background; inside the white card they need the page's ink */
.tryflow .checks { color: var(--ink); }
.tryflow .checks li::before { background: var(--go); }
.tryflow .nw { white-space: nowrap; }

/* in-app browsers (Facebook, Instagram): the way out to Chrome or Safari */
.try-inapp-hint { font-size: 0.875rem; color: var(--ink-2); }
.try-inapp-hint .linkbtn { font-size: inherit; color: var(--ink); }
.try-inapp { display: grid; gap: 10px; margin-top: 16px; padding: 16px; background: color-mix(in srgb, var(--paper) 93%, var(--hivis)); border: 2px solid var(--hivis); border-radius: var(--radius); }
.try-inapp-h:focus { outline: none; }
.try-inapp .btn { margin-top: 4px !important; }
.try-inapp .hint { overflow-wrap: anywhere; }

/* after the call: their numbers, the guarantee, then the calendar */
.try-value { margin-top: 12px; padding: 12px 14px; font-size: 1.0625rem; font-weight: 600; background: var(--paper-2); border-left: 3px solid var(--go); border-radius: var(--radius); }
.try-book { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.try-book-h { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.6rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
.try-book-sub { margin-top: 6px; color: var(--ink-2); }
.try-cal { min-height: 520px; }
.try-book .btn { margin-top: 16px; }

/* trade picker (step 1): one tap, and the whole page speaks their trade */
.niche-picker { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.niche-picker legend { margin-bottom: 8px; padding: 0; font-size: 0.9375rem; font-weight: 600; }
.niche-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; }
.niche-tile { position: relative; display: block; }
.niche-tile input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.niche-tile span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; text-align: center;
  font-size: 0.9375rem; line-height: 1.2; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; user-select: none;
}
.niche-tile span:hover { border-color: var(--ink-2); }
.niche-tile input:checked + span { font-weight: 700; background: var(--tint); border-color: var(--hivis); box-shadow: inset 0 0 0 1px var(--hivis); }
.niche-tile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.niche-picker.is-preset .niche-tiles, .niche-picker.is-preset legend { display: none; }
.niche-chosen { font-size: 0.9375rem; }
.niche-chosen .linkbtn { margin-left: 6px; }
.niche-soon { margin: 0 0 14px; padding: 10px 12px; font-size: 0.9375rem; background: var(--paper-2); border-left: 3px solid var(--hivis); border-radius: var(--radius); }
.niche-soon[hidden], .niche-chosen[hidden] { display: none; }

/* the AI-and-recording notice sits right above the Call button */
.try-consent { max-width: 34em; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.try-consent a { color: inherit; }
.field select { width: 100%; }
