/* Hinterland Times + Sunny Coast Media advertising advisor.
   Paper and ink, not the Business Automation page. Mobile first. */
:root {
  --paper: #f3eee4;
  --paper-2: #fffaf3;
  --ink: #1c1914;
  --muted: #5e584e;
  --line: #e3d7c4;
  --green: #1b7a34;
  --green-d: #125826;
  --gold: #b6893f;
  --card: #fffdf8;
  --shadow: 0 1px 2px rgba(40, 30, 10, .04), 0 16px 40px -24px rgba(40, 30, 10, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.55 Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(27, 122, 52, .08), transparent 55%),
    radial-gradient(900px 380px at 110% 0%, rgba(182, 137, 63, .16), transparent 50%),
    var(--paper);
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2.05rem, 8vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
p { margin: 0 0 1em; }
a { color: var(--green-d); }
img { max-width: 100%; display: block; }
button, [role="button"], input[type="range"] { cursor: pointer; }
:focus-visible { outline: 3px solid #1b7a34; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 9; background: #fff; padding: 8px 12px; }
.wrap { width: min(920px, calc(100% - 32px)); margin: 0 auto; }
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(243, 238, 228, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 14px; min-height: 72px; flex-wrap: wrap; padding: 10px 0; }
.logos { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logos img { height: 42px; width: auto; }
.logos img.scm { height: 36px; }
.word { margin-left: auto; text-align: right; }
.word b { display: block; font: 600 .78rem Outfit; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); }
.word a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero { padding: 36px 0 10px; }
.eyebrow { font: 600 .78rem Outfit; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.rule { height: 3px; width: 72px; background: linear-gradient(90deg, var(--green), var(--gold)); border: 0; margin: 18px 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin: 18px 0;
}
fieldset { border: 0; margin: 0 0 18px; padding: 0; }
legend { font-weight: 600; margin-bottom: 8px; }
.hint { color: var(--muted); font-size: .92rem; margin: -4px 0 10px; }
label.fld { display: block; font-weight: 600; margin: 0 0 14px; }
label.fld span.opt { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; color: var(--ink);
  padding: 14px 14px; border-radius: 14px;
  border: 1px solid #d9cdb8; background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(27, 122, 52, .18); }
.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 14px;
  border-radius: 16px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600;
}
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--green); flex: none; }
.choice:has(input:checked) { border-color: var(--green); background: #f3faf4; box-shadow: inset 0 0 0 1px var(--green); }
.budget-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.budget-readout { font-family: Fraunces, Georgia, serif; font-size: 1.8rem; line-height: 1; color: var(--green-d); }
.slider-wrap { padding: 8px 2px 0; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; background: transparent; margin: 0;
}
input[type="range"]:focus { outline: none; }
input[type="range"]:focus-visible { outline: 3px solid #1b7a34; outline-offset: 4px; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--green) var(--pct, 0%), #e6dccb var(--pct, 0%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -10px;
  border-radius: 50%; background: #fff; border: 3px solid var(--green);
  box-shadow: 0 2px 8px rgba(28, 25, 20, .18);
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #e6dccb; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--green); }
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--green);
}
.ticks { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; margin-top: -4px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.presets button, .btn {
  font: 600 .95rem Outfit, sans-serif;
  border-radius: 999px; border: 1.5px solid transparent;
  min-height: 44px; padding: 10px 16px;
}
.presets button { background: #fff; border-color: var(--line); color: var(--ink); }
.presets button[aria-pressed="true"] { background: #f3faf4; border-color: var(--green); color: var(--green-d); }
.btn { background: var(--green); color: #fff; padding: 14px 22px; }
.btn:hover { background: var(--green-d); }
.btn:disabled { opacity: .55; cursor: wait; }
.err { color: #8d1d1d; font-weight: 600; min-height: 1.2em; }
.note {
  background: #fbf6ea; border-left: 4px solid var(--gold);
  padding: 12px 14px; border-radius: 12px; color: var(--ink);
}
.results { display: grid; gap: 14px; }
.option {
  display: flex; flex-direction: column; gap: 8px;
  text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  padding: 16px; box-shadow: var(--shadow); color: inherit; font: inherit;
}
.option.is-picked { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green), var(--shadow); }
.pick {
  align-self: flex-start; margin-top: 6px;
  font: 600 .95rem Outfit, sans-serif; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--green); background: #fff; color: var(--green-d);
}
.pick[aria-pressed="true"] { background: var(--green); color: #fff; }
.option .kicker { font: 600 .75rem Outfit; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.option h3 { font-size: 1.35rem; }
.option .price { font-family: Fraunces, Georgia, serif; font-size: 1.7rem; color: var(--green-d); }
.option .was { color: var(--muted); font-size: .9rem; margin-left: 8px; font-family: Outfit, sans-serif; }
.option .why { color: var(--muted); }
.option .shop { font-weight: 600; }
#results, .enquiry { scroll-margin-top: 96px; }
a[href^="tel:"] { white-space: nowrap; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); margin: 8px 0 14px; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 3px; accent-color: var(--green); flex: none; }
.ok { background: #f3faf4; border-radius: 16px; padding: 16px; }
.side { color: var(--muted); font-size: .95rem; }
.foot { padding: 28px 0 48px; color: var(--muted); font-size: .92rem; }
.foot-logos { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.foot-logos img { height: 36px; width: auto; }
.foot-logos img.scm { height: 30px; }
.noscript { background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: 12px; }
@media (min-width: 640px) {
  .card { padding: 28px 28px; }
  .choices.three { grid-template-columns: repeat(3, 1fr); }
  .choices.two { grid-template-columns: 1fr 1fr; }
  .results { grid-template-columns: 1fr 1fr; }
  .logos img { height: 52px; }
  .logos img.scm { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
