@import url("/quilter-assets/fonts.css");

:root {
  --green: #0f7b3f;
  --green-mid: #159847;
  --green-light: #24a94d;
  --green-deep: #07532a;
  --green-ink: #073d22;
  --mist: #eef7f0;
  --mist-deep: #dceee1;
  --white: #ffffff;
  --paper: #f8faf8;
  --ink: #333333;
  --muted: #66706a;
  --line: rgba(15, 123, 63, 0.2);
  --sans: "Open Sans", Arial, sans-serif;
  --serif: "Frank Ruhl Libre", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -52px;
  z-index: 20;
  padding: 11px 15px;
  background: var(--green-deep);
  color: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  min-height: 102px;
  padding: 10px clamp(24px, 5vw, 78px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 5px solid var(--green);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.quilter-brand,
.integrevise-brand { display: inline-flex; align-items: center; width: max-content; }
.quilter-brand img { display: block; width: 174px; height: 70px; object-fit: contain; object-position: left center; }
.integrevise-brand { justify-self: end; }
.integrevise-brand img { display: block; width: 148px; height: auto; }
.header-context { text-align: center; line-height: 1.2; }
.header-context strong {
  display: block;
  color: var(--green);
  font: 500 18px/1.1 var(--serif);
}
.header-context span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

main { overflow: hidden; }
.hero {
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(480px, .94fr);
  gap: clamp(46px, 6.5vw, 104px);
  align-items: center;
  padding: clamp(64px, 6vw, 90px) clamp(24px, 6vw, 96px);
  background: linear-gradient(90deg, #fff 0 58%, #f3f8f4 58% 100%);
  position: relative;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow > span {
  display: inline-block;
  min-width: 32px;
  margin-right: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid currentColor;
}
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; }
h1 {
  max-width: 730px;
  margin: 0;
  color: var(--green);
  font-size: clamp(56px, 5.8vw, 88px);
  line-height: .96;
}
h1 em { color: var(--green-deep); font-weight: 400; }
.lede {
  max-width: 660px;
  margin: 30px 0 24px;
  color: #4c554f;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.65;
}
.plain-definition { max-width: 580px; margin: 0 0 26px; font-size: 14px; line-height: 1.6; color: var(--green-deep); }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
}
.hero-points li::before { content: "✓"; margin-right: 8px; color: var(--green-mid); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.text-link:focus-visible,
.button:focus-visible,
.demo-toggle:focus-visible,
.site-header a:focus-visible { outline: 3px solid var(--green-light); outline-offset: 4px; }

.oral-demo {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid #afd0b9;
  border-radius: 10px;
  background: var(--mist);
  box-shadow: 0 24px 56px rgba(7, 83, 42, .12);
}
.hero-demo { z-index: 1; }
.demo-progress { position: absolute; inset: 0 0 auto; z-index: 5; height: 7px; background: #cae4d1; }
.demo-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green-mid);
  transform-origin: left;
  animation: demoProgress 16.8s linear infinite;
}
.demo-toggle {
  position: absolute;
  z-index: 6;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(15,123,63,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--green-deep);
  font: 700 10px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}
.pause-icon { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.oral-demo.is-paused .pause-icon { width: 0; height: 0; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.demo-title {
  margin: 0;
  padding: 52px 70px 18px;
  text-align: center;
  color: var(--green-deep);
  font: 600 clamp(21px, 2vw, 29px)/1.2 var(--serif);
}
.bubble-stage { position: relative; display: grid; z-index: 2; margin: 0 30px; padding: 12px 0 38px; }
.demo-bubble {
  position: relative;
  grid-area: 1 / 1;
  min-height: 184px;
  padding: 30px 36px;
  border-radius: 26px;
  background: var(--green-deep);
  color: white;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  animation: demoBubble 16.8s ease-in-out infinite;
  animation-delay: var(--delay);
}
.demo-bubble::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: -18px;
  border: 13px solid transparent;
  border-top-color: var(--green-deep);
  transform: rotate(9deg);
}
.demo-bubble.from-adviser { background: var(--green); }
.demo-bubble.from-adviser::after { right: auto; left: 48px; border-top-color: var(--green); transform: rotate(-9deg); }
.demo-bubble > span { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; font-weight: 700; }
.demo-bubble p { margin: 18px 0 0; font: 400 clamp(20px,1.7vw,27px)/1.34 var(--sans); }
.mini-wave { display: inline-flex; align-items: center; gap: 4px; height: 20px; }
.mini-wave b { display: block; width: 3px; border-radius: 2px; background: white; animation: miniWave .65s ease-in-out infinite alternate; }
.mini-wave b:nth-child(1), .mini-wave b:nth-child(5) { height: 7px; }
.mini-wave b:nth-child(2), .mini-wave b:nth-child(4) { height: 14px; animation-delay: .12s; }
.mini-wave b:nth-child(3) { height: 20px; animation-delay: .24s; }
.demo-image { position: relative; min-height: 0; border-top: 1px solid rgba(15,123,63,.13); background: var(--mist); }
.demo-image img { width: 100%; height: auto; display: block; }
.screen-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.oral-demo.is-paused *, .oral-demo.is-paused *::before, .oral-demo.is-paused *::after { animation-play-state: paused !important; }

@keyframes demoBubble {
  0%, 2% { opacity: 0; transform: translateY(10px) scale(.985); }
  6%, 21% { opacity: 1; transform: translateY(0) scale(1); }
  25%, 100% { opacity: 0; transform: translateY(-8px) scale(.99); }
}
@keyframes demoProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes miniWave { to { transform: scaleY(.45); } }

.value-section {
  padding: 112px clamp(24px, 6vw, 96px) 128px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.section-intro {
  display: grid;
  grid-template-columns: .52fr 1.48fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 62px;
}
.section-intro h2,
.fit-title h2,
.closing-copy h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.02;
}
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card {
  min-height: 355px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7,83,42,.06);
}
.value-card.feature { background: var(--mist); }
.card-number { color: var(--green-mid); font-size: 12px; font-weight: 700; }
.value-card h3 { margin: 70px 0 16px; color: var(--green-deep); font: 500 36px/1.06 var(--serif); }
.value-card p { margin: 0 0 34px; color: var(--muted); line-height: 1.65; }
.card-tag {
  margin-top: auto;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.discussion-section {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(56px, 7vw, 114px);
  padding: 122px clamp(24px, 7vw, 108px);
  align-items: center;
  background: var(--green-deep);
  color: white;
}
.discussion-section .eyebrow { color: #8ee1a5; }
.discussion-copy h2 { margin: 0 0 28px; color: white; font-size: clamp(50px, 5.1vw, 76px); line-height: .99; }
.discussion-copy > p:not(.eyebrow) { max-width: 610px; color: rgba(255,255,255,.78); line-height: 1.72; font-size: 18px; }
.discussion-copy .demo-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.6); }
.adaptive-points { border-top: 1px solid rgba(255,255,255,.24); }
.adaptive-points article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.adaptive-points article > span { color: #8ee1a5; font-size: 11px; font-weight: 700; }
.adaptive-points h3 { margin: 0 0 8px; color: white; font: 500 31px/1.1 var(--serif); }
.adaptive-points p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.55; }

.fit-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(60px, 8vw, 136px);
  padding: 124px clamp(24px, 6vw, 96px);
  background: var(--mist);
}
.evidence-section { padding: 108px clamp(24px, 6vw, 96px); background: var(--white); }
.evidence-intro { max-width: 700px; margin: 24px 0 0; color: var(--muted); line-height: 1.65; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.evidence-card { border-top: 3px solid var(--green); padding: 30px; background: var(--paper); }
.evidence-label { margin: 0 0 28px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.evidence-card h3 { margin: 0 0 18px; color: var(--green-deep); font: 500 34px/1.1 var(--serif); }
.evidence-card > p:not(.evidence-label), .quilter-relevance p { margin: 0; line-height: 1.65; color: var(--muted); }
.quilter-relevance { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.quilter-relevance strong { display: block; margin-bottom: 8px; font-size: 12px; color: var(--green-deep); }
.evidence-note { max-width: 880px; margin: 26px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.fit-title { position: sticky; top: 42px; align-self: start; }
.fit-list { border-top: 1px solid var(--line); }
.fit-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.fit-item > span { color: var(--green-mid); font-size: 11px; font-weight: 700; }
.fit-item h3 { margin: 0 0 9px; color: var(--green-deep); font: 500 31px/1.1 var(--serif); }
.fit-item p { margin: 0; max-width: 610px; color: var(--muted); line-height: 1.65; }

.closing-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 80px;
  align-items: end;
  padding: 112px clamp(24px, 7vw, 108px);
  background: var(--green);
  color: white;
}
.closing-section .eyebrow { color: #b4ebc2; }
.closing-copy h2 { color: white; }
.closing-action p { margin: 0 0 32px; max-width: 590px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.68; }
.button {
  display: inline-flex;
  justify-content: space-between;
  gap: 48px;
  padding: 17px 20px;
  border: 2px solid white;
  background: white;
  color: var(--green-deep);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.button:hover { background: transparent; color: white; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 27px clamp(24px, 5vw, 78px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 11px;
}
footer p, footer span { margin: 0; }
footer strong { color: var(--green); }
footer span { text-align: center; }
footer a { justify-self: end; color: var(--green); font-weight: 700; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: auto; background: linear-gradient(180deg, #fff 0 48%, #f3f8f4 48% 100%); }
  .section-intro, .fit-section, .closing-section, .discussion-section { grid-template-columns: 1fr; }
  .section-intro { gap: 12px; }
  .fit-title { position: static; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 280px; }
  .value-card h3 { margin-top: 44px; }
  .oral-demo { width: min(100%, 760px); justify-self: center; }
}

@media (max-width: 700px) {
  .site-header { min-height: 82px; padding: 6px 20px; grid-template-columns: 1fr 1fr; }
  .header-context { display: none; }
  .quilter-brand img { width: 126px; height: 64px; }
  .integrevise-brand img { width: 126px; }
  .hero, .value-section, .discussion-section, .fit-section, .closing-section { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 54px; padding-bottom: 70px; }
  h1 { font-size: clamp(48px, 14vw, 60px); }
  .hero-points { display: grid; gap: 9px; }
  .oral-demo { grid-template-rows: auto auto auto; }
  .demo-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .demo-toggle { top: 18px; right: 15px; padding: 8px; }
  .demo-title { padding: 48px 50px 14px; font-size: 20px; }
  .bubble-stage { margin: 0 18px; }
  .demo-bubble { min-height: 172px; padding: 25px 24px; border-radius: 22px; }
  .demo-bubble::after { bottom: -15px; border-width: 11px; }
  .demo-bubble p { margin-top: 14px; font-size: 18px; line-height: 1.32; }
  .value-section, .discussion-section, .fit-section, .closing-section { padding-top: 86px; padding-bottom: 90px; }
  .evidence-section { padding: 80px 20px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card { padding: 26px; }
  footer { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  footer span { text-align: left; }
  footer a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo-bubble:first-child { opacity: 1; transform: none; }
  .demo-bubble, .mini-wave b, .demo-progress span { animation: none; }
}
