:root {
  color-scheme: light;
  --sky: #d5eaf3;
  --ink: #183e50;
  --sea: #38738b;
  --muted: #577782;
  --cream: #fff9e9;
  --position: 0%;
  --wave-y: 0px;
  --boat-angle: 0deg;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--sky);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; isolation: isolate; background: var(--sky); }
header, main { position: relative; z-index: 1; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.slider-shell, .slider-shell * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.rail, .boat-position, .boat-icon, .captain-position, .captain-face,
.track, input[type='range'] {
  outline: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 24px;
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.intensity {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 50px 20px;
}
.section-heading { text-align: center; }
h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.15;
}
#intensity-title { visibility: hidden; }
#intensity-title.is-revealed { visibility: visible; }
h2 em { font-style: italic; font-weight: 400; }
.slider-shell { margin-top: 18px; }
.rail {
  --waterline: 142px;
  position: relative;
  height: 165px;
  margin: 0 22px;
}
.captain-position {
  position: absolute;
  top: var(--wave-y);
  left: var(--position);
  width: 88px;
  height: 88px;
  transform: translateX(-50%);
  cursor: grab;
  touch-action: none;
  z-index: 4;
}
.captain-position:active, .boat-position:active { cursor: grabbing; }
.captain-face {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 85%;
  filter: drop-shadow(0 4px 2px rgb(24 62 80 / 12%));
}
.captain-position.is-wiggling .captain-face {
  animation: captain-wiggle 260ms ease-in-out infinite;
}
@keyframes captain-wiggle {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-4px); }
}
.track {
  position: absolute;
  top: calc(var(--waterline) - 20px);
  left: 0;
  width: 100%;
  height: 40px;
  overflow: visible;
  pointer-events: none;
}
.wave-base, .wave-fill {
  fill: none;
  stroke-width: 10px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.wave-base { stroke: #accddc; }
.wave-fill { stroke: var(--sea); }
.boat-position {
  position: absolute;
  top: calc(var(--waterline) + var(--wave-y));
  left: var(--position);
  width: 58px;
  height: 48.333px;
  transform: translate(-50%, -100%);
  cursor: grab;
  touch-action: none;
  z-index: 3;
}
.boat-icon {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--ink);
  transform: rotate(var(--boat-angle));
  transform-origin: 50% 95%;
  filter: drop-shadow(0 2px 0 rgb(24 62 80 / 10%));
}
input[type='range'] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: calc(var(--waterline) - 24px);
  left: -22px;
  width: calc(100% + 44px);
  height: 48px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  border-radius: 99px;
  border: 0;
  outline: none;
  box-shadow: none;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 12px;
  background: transparent;
}
input[type='range']::-moz-range-track {
  height: 12px;
  background: transparent;
}
input[type='range']::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  margin-top: -16px;
  background: transparent;
  border: 0;
}
input[type='range']::-moz-range-thumb {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
}
input[type='range']:focus,
input[type='range']:focus-visible {
  outline: none;
  box-shadow: none;
}
.slider-shell:not(.is-pointer-interaction):has(input[type='range']:focus-visible) .boat-icon {
  filter: drop-shadow(0 0 4px #fff9e9) drop-shadow(0 0 3px var(--sea));
}
.markers {
  position: relative;
  height: 76px;
  margin-top: 16px;
}
.marker {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 217px;
  min-height: 65px;
  padding: 13px 12px 12px;
  text-align: center;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgb(24 62 80 / 8%);
  box-shadow: 0 3px 0 rgb(24 62 80 / 6%);
  cursor: pointer;
  transition: background 150ms, box-shadow 150ms;
}
.marker::before {
  content: '';
  position: absolute;
  top: -7px;
  left: calc(50% - 19px);
  width: 38px;
  height: 13px;
  background: rgb(255 255 255 / 58%);
  transform: rotate(-3deg);
}
.marker-left { left: 0; transform: rotate(-3deg); }
.marker-middle { left: 50%; transform: translateX(-50%) rotate(2deg); }
.marker-right { right: 0; transform: rotate(-2deg); }
.marker-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.4px;
}
.marker.is-active {
  background: #fff4cd;
  box-shadow: 0 3px 0 rgb(24 62 80 / 13%);
}
.marker:hover { background: #fff4cd; }
.marker:focus-visible { outline: 2px solid var(--sea); outline-offset: 5px; }
.response {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 164px;
  padding-top: 24px;
  margin-top: 4px;
  text-align: center;
}
#intensity-message {
  width: 100%;
  min-width: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .5px;
  color: var(--ink);
  overflow: visible;
}
.response-lead, .contact-line, .response-footnote {
  max-width: 720px;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  overflow: visible;
}
.response-lead {
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -.6px;
}
.contact-line, .response-footnote {
  margin: 8px auto 0;
}
.response a {
  display: inline-block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  overflow: visible;
  text-overflow: clip;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-decoration-color: rgb(24 62 80 / 40%);
  text-underline-offset: 3px;
}
.response a:hover { text-decoration-color: var(--ink); }
.response a:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
.contact-list { display: flex; flex-direction: column; align-items: center; }
.business-alert {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .3px;
}

@media (min-width: 761px) {
  .hero { margin-top: 16px; }
  .hero-image {
    width: auto;
    max-width: 100%;
    max-height: min(30svh, max(90px, calc(100svh - 590px)), 320px);
    margin: 0 auto;
  }
}
@media (max-width: 760px) {
  .hero { padding: 0 16px; margin-top: 16px; }
  .intensity { padding: 60px 24px 24px; }
  h2 { letter-spacing: -1px; }
  .slider-shell { margin-top: 28px; }
  .rail { --waterline: 142px; margin: 0 40px; height: 165px; }
  .captain-position { width: 88px; height: 88px; }
  .boat-position { width: 58px; height: 48.333px; }
  .markers { margin-top: 18px; height: 89px; }
  .marker { width: 31%; padding: 13px 5px 10px; min-height: 70px; }
  .marker-label { font-size: 13px; line-height: 1.25; letter-spacing: -.3px; }
  .response { min-height: 206px; margin-top: 8px; }
  .slider-shell.is-pointer-interaction .marker:focus { outline: none; }
  .slider-shell:not(.is-pointer-interaction):has(input[type='range']:focus-visible) .boat-icon {
    filter: drop-shadow(0 2px 0 rgb(24 62 80 / 10%));
  }
}
@media (max-width: 390px) {
  .intensity { padding-left: 17px; padding-right: 17px; }
  .marker-label { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .captain-position.is-wiggling .captain-face { animation: none; }
  .marker { transition: none; }
}

@media (min-width: 761px) and (max-height: 680px) {
  .hero-image { max-height: 76px; }
  .rail { --waterline: 118px; height: 141px; }
  .captain-position { width: 72px; height: 72px; }
  .boat-position { width: 50px; height: 41.667px; }
  .response { min-height: 132px; }
  .response-lead { max-width: 860px; font-size: 22px; }
}

/* Decorative effects are behind the content and never intercept a touch. */
.water-effect {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  visibility: hidden;
  background: radial-gradient(ellipse at 50% 70%, rgb(95 189 224 / 16%), transparent 70%);
}
.is-splashing .water-effect { visibility: visible; }
.water-ring {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 110px;
  height: 55px;
  border: 7px solid rgb(255 255 255 / 64%);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgb(62 151 190 / 12%), inset 0 0 14px rgb(255 255 255 / 55%);
  opacity: 0;
}
.ring-two { left: 15%; top: 48%; }
.ring-three { left: 87%; top: 34%; }
.is-splashing .water-ring { animation: splash-ripple 1.3s ease-out 2 both; }
.is-splashing .ring-two { animation-delay: .2s; }
.is-splashing .ring-three { animation-delay: .4s; }
@keyframes splash-ripple {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; }
  15% { opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(10); opacity: 0; }
}
.water-droplet {
  position: absolute;
  left: 50%;
  top: 76%;
  width: 18px;
  height: 38px;
  border-radius: 65% 65% 55% 55%;
  background: rgb(255 255 255 / 65%);
  box-shadow: inset -4px -5px 0 rgb(59 150 190 / 20%);
  opacity: 0;
  --splash-x: -32vw;
  --splash-y: -42vh;
  --drop-turn: -25deg;
}
.drop-two { --splash-x: -19vw; --splash-y: -58vh; --drop-turn: -12deg; }
.drop-three { --splash-x: -5vw; --splash-y: -66vh; --drop-turn: -4deg; }
.drop-four { --splash-x: 10vw; --splash-y: -61vh; --drop-turn: 9deg; }
.drop-five { --splash-x: 23vw; --splash-y: -49vh; --drop-turn: 18deg; }
.drop-six { --splash-x: 39vw; --splash-y: -31vh; --drop-turn: 30deg; }
.is-splashing .water-droplet { animation: splash-drop 1.2s ease-out 2 both; }
.is-splashing .drop-two, .is-splashing .drop-five { animation-delay: .15s; }
.is-splashing .drop-three, .is-splashing .drop-six { animation-delay: .3s; }
@keyframes splash-drop {
  0% { transform: translate(0, 0) scale(.3); opacity: 0; }
  15% { opacity: .8; }
  60% { transform: translate(var(--splash-x), var(--splash-y)) rotate(var(--drop-turn)); opacity: .65; }
  100% { transform: translate(var(--splash-x), calc(var(--splash-y) + 24vh)) rotate(var(--drop-turn)) scale(.7); opacity: 0; }
}
.is-serious-alert { animation: serious-background 1s ease-in-out 3; }
@keyframes serious-background {
  0%, 100% { background-color: #d5eaf3; }
  50% { background-color: #f5d7e9; }
}
@media (prefers-reduced-motion: reduce) {
  .is-serious-alert, .is-splashing .water-ring, .is-splashing .water-droplet { animation: none; }
  .is-splashing .water-effect { visibility: hidden; }
}

/* One very specific, five-star endorsement. */
.testimonial-divider {
  width: calc(100% - 100px);
  max-width: 980px;
  margin: 32px auto 0;
  border: 0;
  border-top: 1px solid rgb(24 62 80 / 25%);
}
.testimonials {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 50px 64px;
}
.testimonials h2 {
  text-align: center;
  font-size: 28px;
  font-style: italic;
  letter-spacing: -.6px;
}
.testimonial {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 780px;
  margin: 32px auto 0;
}
.testimonial-screenshot {
  display: block;
  flex: 0 1 280px;
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.testimonial-copy { flex: 1; min-width: 0; }
.testimonial-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: .5px;
}
.testimonial-stars { color: #9b6d13; font-size: 25px; letter-spacing: 3px; }
.testimonial blockquote {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px, 3vw, 36px);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -.6px;
}
.testimonial blockquote p { margin: 0; }
.testimonial-attribution {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .5px;
}
@media (max-width: 760px) {
  .testimonial-divider { width: calc(100% - 48px); margin-top: 24px; }
  .testimonials { padding: 30px 24px 48px; }
  .testimonial { flex-direction: column; gap: 28px; margin-top: 28px; }
  .testimonial-screenshot {
    flex: none;
    width: auto;
    max-width: min(220px, 100%);
    height: auto;
    max-height: min(340px, 45svh);
  }
  .testimonial-copy { width: 100%; max-width: 380px; text-align: center; }
  .testimonial-rating { justify-content: center; margin-bottom: 16px; }
  .testimonial-attribution { margin-top: 16px; }
}
