/* FrontPocket one-page site
   Clean consolidated stylesheet
   Sections:
   01. Tokens / reset
   02. Layout / shared components
   03. Header
   04. Hero
   05. Audio demo
   06. Flow section
   07. FAQ
   08. CTA / footer
   09. Motion / responsive
*/

/* 01. Tokens / reset */
:root {
  --navy: #061b46;
  --navy-2: #0a2a66;
  --blue: #075eea;
  --teal: #079b92;
  --green: #2ca74f;
  --ink: #0c1832;
  --muted: #5a6780;
  --line: #dce5f2;
  --soft: #f6f9fd;
  --panel: rgba(255, 255, 255, 0.92);
  --shadow: 0 24px 70px rgba(6, 27, 70, 0.13);
  --soft-shadow: 0 14px 40px rgba(6, 27, 70, 0.08);
  --container: 1180px;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Manrope, Inter, system-ui, sans-serif;
  --font-hand: "Shadows Into Light", cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: #fff;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 88% 8%, rgba(7, 94, 234, 0.035), transparent 34rem),
    linear-gradient(180deg, #fff 0%, #fcfdff 34%, #fff 58%, #fbfdff 82%, #fff 100%);
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

svg {
  fill: currentColor;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* 02. Layout / shared components */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section-pad {
  padding: clamp(78px, 9vw, 126px) 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--soft);
  box-shadow: var(--soft-shadow);
}


.page-glows {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.24;
  transform: translate3d(0, 0, 0);
}

.page-glow-demo {
  width: min(980px, 92vw);
  height: 430px;
  top: clamp(920px, 94vh, 1140px);
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(7, 94, 234, 0.075) 0%, rgba(7, 94, 234, 0.024) 46%, transparent 78%);
}

.page-glow-flow {
  width: min(880px, 86vw);
  height: 440px;
  top: clamp(1580px, 168vh, 1940px);
  left: 20%;
  background: radial-gradient(ellipse at center, rgba(7, 155, 146, 0.058) 0%, rgba(7, 155, 146, 0.018) 48%, transparent 78%);
}

.page-glow-faq {
  width: min(760px, 82vw);
  height: 460px;
  top: clamp(2360px, 252vh, 2920px);
  left: 50%;
  opacity: 0.18;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(7, 94, 234, 0.06) 0%, rgba(7, 94, 234, 0.018) 50%, transparent 78%);
}

.page-glow-side {
  width: min(700px, 72vw);
  height: 480px;
  top: clamp(1380px, 148vh, 1680px);
  right: -260px;
  opacity: 0.18;
  background: radial-gradient(ellipse at center, rgba(44, 167, 79, 0.052) 0%, rgba(44, 167, 79, 0.017) 48%, transparent 78%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.26s var(--ease),
    box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease),
    background-color 0.26s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  box-shadow: 0 14px 30px rgba(7, 94, 234, 0.22);
}

.button-secondary {
  color: var(--navy-2);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(7, 94, 234, 0.42);
  box-shadow: 0 10px 24px rgba(6, 27, 70, 0.04);
}

.button-accent {
  color: #fff;
  background: linear-gradient(135deg, #08a78d, var(--green));
  box-shadow: 0 14px 30px rgba(44, 167, 79, 0.24);
}

.button-large {
  min-height: 58px;
  padding-inline: 28px;
  border-radius: 14px;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto clamp(44px, 5vw, 64px);
  text-align: center;
}

.section-heading span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(7, 94, 234, 0.12);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(7, 94, 234, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.flow-copy h2,
.faq-copy h2,
.cta-panel h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p,
.flow-copy p,
.faq-copy p {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

/* 03. Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(220, 229, 242, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.22s ease, background 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(6, 27, 70, 0.08);
}

.nav-shell {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.44rem, 1.9vw, 1.84rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 32px;
}

.nav-links {
  display: flex;
  gap: 38px;
  margin-left: auto;
  color: var(--navy);
  font-weight: 700;
}

.nav-links a {
  position: relative;
  font-size: 0.94rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: 0.18s;
}

.menu-button.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 04. Hero */
.section-hero {
  position: relative;
  min-height: clamp(700px, 52vw, 820px);
  overflow: hidden;
  padding: clamp(54px, 6vw, 84px) 0 clamp(72px, 8vw, 110px);
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 1;
  background-image: url("assets/hero-man-background.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
}

.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(245, 247, 250, 0.985) 0%,
    rgba(245, 247, 250, 0.985) 28%,
    rgba(245, 247, 250, 0.92) 39%,
    rgba(245, 247, 250, 0.66) 50%,
    rgba(245, 247, 250, 0.25) 61%,
    rgba(245, 247, 250, 0) 73%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: clamp(700px, 52vw, 820px);
  display: grid;
  grid-template-columns: minmax(500px, 0.9fr) minmax(520px, 1fr);
  gap: clamp(28px, 3.5vw, 54px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-2);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(44, 167, 79, 0.12);
}

h1 {
  max-width: 11.8ch;
  margin: 32px 0 24px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(3.65rem, 5.25vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-lede {
  max-width: 36rem;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 42rem;
  margin-top: 30px;
  color: var(--navy-2);
  font-size: 0.94rem;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.hero-visual-workflow {
  min-height: clamp(560px, 44vw, 700px);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-workflow-art {
  width: min(660px, 45vw);
  max-width: 100%;
  transform: translateX(0);
  filter: drop-shadow(0 18px 32px rgba(6, 27, 70, 0.06));
}

.hero-workflow-art img,
.hero-mobile-art img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-mobile-art {
  display: none;
  max-width: min(460px, 100%);
  margin: 28px auto 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

/* 05. Audio demo */
.real-call-section {
  position: relative;
  overflow: visible;
  background: transparent;
}

.audio-demo-card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(220, 229, 242, 0.95);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: visible;
}

.audio-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.audio-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #087c80, #0a5d66);
  box-shadow: 0 14px 26px rgba(7, 155, 146, 0.22);
}

.audio-icon svg {
  width: 30px;
}

.audio-meta h3 {
  margin: 0 0 2px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.audio-meta p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.play-hint {
  position: absolute;
  left: clamp(-118px, -8.5vw, -86px);
  top: 120px;
  width: 148px;
  color: var(--teal);
  font-family: var(--font-hand);
  font-size: 1.95rem;
  font-weight: 400;
  line-height: 0.95;
  transform: rotate(-4deg);
  pointer-events: none;
  opacity: 0.96;
}

.play-hint span {
  display: block;
  margin-left: -20px;
  margin-bottom:-2px;
}

.play-hint svg {
  width: 132px;
  height: 86px;
  margin-top: 2px;
  overflow: visible;
}

.play-hint path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
}

.audio-player-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.audio-play {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #087c80, #0a5d66);
  box-shadow: 0 20px 42px rgba(7, 155, 146, 0.26);
  cursor: pointer;
}

.audio-play svg {
  width: 36px;
}

.audio-play .pause-icon {
  display: none;
}

.audio-demo-card.is-playing .play-icon {
  display: none;
}

.audio-demo-card.is-playing .pause-icon {
  display: block;
}

.waveform-shell {
  position: relative;
  width: 100%;
  min-width: 0;
}

.waveform {
  width: 100%;
  min-height: 112px;
  display: block;
  position: relative;
  overflow: hidden;
}

.waveform canvas {
  max-width: 100%;
}

.waveform.wavesurfer-loading::after {
  content: "Loading waveform…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.waveform-fallback {
  --progress: 0%;
  width: 100%;
  min-height: 112px;
  display: none;
  align-items: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
}

.waveform-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--progress);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7, 155, 146, 0.14), rgba(44, 167, 79, 0.12));
  transition: width 180ms linear;
}

.waveform-fallback span {
  width: 5px;
  min-height: 16px;
  height: var(--h);
  position: relative;
  z-index: 1;
  border-radius: 999px;
  opacity: 0.55;
  background: linear-gradient(180deg, #0a6d78, #0aa091);
  transform-origin: center;
}

.audio-demo-card.is-fallback-waveform .waveform {
  display: none;
}

.audio-demo-card.is-fallback-waveform .waveform-fallback {
  display: flex;
}

.audio-demo-card.is-playing .waveform-fallback span {
  animation: wave-pulse 0.85s ease-in-out infinite alternate;
  opacity: 0.9;
}

.audio-demo-card.is-playing .waveform-fallback span:nth-child(3n) {
  animation-delay: 120ms;
}

.audio-demo-card.is-playing .waveform-fallback span:nth-child(4n) {
  animation-delay: 220ms;
}

@keyframes wave-pulse {
  from { transform: scaleY(0.82); }
  to { transform: scaleY(1.1); }
}

.audio-time {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.audio-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.demo-note {
  margin: 28px 0 0;
  color: var(--muted);
  text-align: center;
}

.demo-note a {
  color: var(--blue);
  font-weight: 700;
}

/* 06. Flow section */
.call-flow-section {
  position: relative;
  overflow: visible;
  margin-top: 0;
  background: transparent;
}

.flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(220, 229, 242, 0.92);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.flow-copy > .section-kicker {
  padding: 0;
  border: 0;
  color: var(--teal);
  background: transparent;
}

.flow-copy h2 {
  max-width: 530px;
}

.flow-copy > p {
  max-width: 520px;
  margin-left: 0;
}

.flow-steps {
  display: grid;
  gap: 22px;
  position: relative;
  margin-top: 42px;
  padding-left: 54px;
}

.flow-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(220, 229, 242, 0.95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 27, 70, 0.07);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.flow-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.flow-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -36px;
  top: calc(50% + 26px);
  height: calc(100% + 14px);
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(7, 155, 146, 0.62) 0 6px,
    transparent 6px 14px
  );
  pointer-events: none;
}

.flow-number {
  position: absolute;
  left: -54px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 12px 26px rgba(7, 155, 146, 0.22);
  font-weight: 700;
  transform: translateY(-50%);
}

.flow-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #0a6d78;
  background: rgba(7, 155, 146, 0.1);
  font-size: 1.35rem;
  padding:9px;
}
.flow-icon-lg{
  padding:3px;
}
.flow-step-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.flow-step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.flow-phone-wrap {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 20px;
}

.mini-phone-image {
  width: min(410px, 100%);
  padding: 0;
  border-radius: 36px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.mini-phone-image::before {
  display: none;
}

.mini-phone-image picture,
.mini-phone-image img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-phone-image img {
  border-radius: 34px;
  filter: none;
  box-shadow: none;
}

.no-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.no-dashboard span {
  width: 26px;
  height: 26px;
  padding:4px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
}

/* 07. FAQ */
.faq-section {
  background: transparent;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(50px, 7vw, 96px);
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq {
  min-height: 560px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  text-align: left;
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.accordion-trigger:hover {
  color: var(--blue);
  padding-left: 6px;
}

.accordion-trigger svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  transition: transform 0.26s ease;
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 36px 0 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transform: translateY(-4px);
  transition:
    max-height 0.32s var(--ease),
    opacity 0.24s ease,
    padding 0.32s var(--ease),
    transform 0.32s var(--ease);
}

.accordion-panel.is-open {
  max-height: 220px;
  opacity: 1;
  padding-bottom: 22px;
  transform: translateY(0);
}

.accordion-panel p {
  margin: 0;
}

/* 08. CTA / footer */
.final-cta {
  padding: 0 0 64px;
}

.cta-panel {
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 48px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 27, 70, 0.98), rgba(6, 42, 103, 0.98));
  box-shadow: 0 26px 70px rgba(6, 27, 70, 0.18);
}

.cta-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--navy-2);
  background: #fff;
  font-size: 2rem;
  padding:12px;
}

.cta-panel .section-kicker {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.cta-panel h2 {
  margin-bottom: 6px;
  color: #fff;
}

.cta-panel p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid #edf2f8;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #7c879b;
  font-weight: 600;
}

.footer-grid .brand {
  font-size: 1.45rem;
}

.footer-grid .brand-mark {
  width: 30px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid p:last-child {
  justify-self: end;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--blue);
}

/* 09. Motion / responsive */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-visual-workflow.reveal,
.hero-visual-workflow.reveal.is-visible {
  filter: none !important;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .page-loader {
    display: none;
  }
}

@media (max-width: 1180px) {
  .section-hero {
    min-height: clamp(660px, 58vw, 760px);
  }

  .section-hero::before {
    background-position: calc(100% + 70px) center;
  }

  .section-hero::after {
    background: linear-gradient(
      90deg,
      rgba(245, 247, 250, 0.99) 0%,
      rgba(245, 247, 250, 0.99) 35%,
      rgba(245, 247, 250, 0.9) 46%,
      rgba(245, 247, 250, 0.54) 60%,
      rgba(245, 247, 250, 0.1) 72%,
      rgba(245, 247, 250, 0) 82%
    );
  }

  .hero-grid {
    grid-template-columns: minmax(420px, 0.92fr) minmax(420px, 0.9fr);
    min-height: clamp(660px, 58vw, 760px);
  }

  h1 {
    max-width: 10.6ch;
    font-size: clamp(3.35rem, 5.2vw, 4.8rem);
  }

  .hero-lede {
    max-width: 33rem;
  }

  .hero-workflow-art {
    width: min(560px, 42vw);
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .nav-shell {
    height: 74px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links.is-open {
    position: fixed;
    inset: 82px 18px auto 18px;
    z-index: 80;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 15px 14px;
    border-radius: 12px;
  }

  .section-hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 72px;
  }

  .section-hero::before,
  .section-hero::after {
    display: none;
  }

  .hero-grid,
  .flow-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 0;
  }

  .hero-copy {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy .eyebrow {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    margin: 0 auto 18px;
  }

  h1 {
    max-width: 10.5ch;
    margin: 0 auto 18px;
    font-size: clamp(3.1rem, 12vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .hero-lede {
    max-width: 34rem;
    margin: 0 auto;
    font-size: clamp(1.08rem, 4.4vw, 1.28rem);
    line-height: 1.6;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 26px;
  }

  .hero-visual-workflow {
    display: none;
  }

  .hero-mobile-art {
    display: block;
  }

  .trust-row {
    justify-content: center;
    margin: 24px auto 0;
    max-width: 34rem;
  }

  .play-hint {
    display: none;
  }

  .audio-demo-card {
    padding-top: clamp(28px, 4vw, 44px);
  }

  .flow-panel {
    gap: 44px;
  }

  .faq-copy {
    position: static;
    top: auto;
  }

  .faq {
    min-height: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-grid p:last-child {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section-pad {
    padding: 68px 0;
  }

  .section-hero {
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .hero-copy .eyebrow {
    padding: 8px 12px;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  h1 {
    max-width: 9.2ch;
    margin-bottom: 16px;
    font-size: clamp(2.85rem, 14.5vw, 4.1rem);
  }

  .hero-lede {
    max-width: 31ch;
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .button {
    width: min(100%, 320px);
  }

  .hero-mobile-art {
    max-width: min(92vw, 430px);
    margin: 24px auto 0;
    border-radius: 24px;
  }

  .button-large {
    width: 100%;
  }

  .trust-row {
    gap: 10px 16px;
    max-width: 320px;
    font-size: 0.92rem;
  }

  .audio-player-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }

  .waveform,
  .waveform-fallback {
    min-height: 86px;
  }

  .waveform-fallback {
    justify-content: center;
    gap: 5px;
  }

  .waveform-fallback span {
    width: 4px;
  }

  .flow-steps {
    padding-left: 42px;
  }

  .flow-step-card {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .flow-step-card:not(:last-child)::after {
    left: -29px;
    top: calc(50% + 22px);
    height: calc(100% + 16px);
  }

  .flow-number {
    left: -42px;
    width: 32px;
    height: 32px;
    border-width: 3px;
  }

  .flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .summary-bubble {
    min-height: 350px;
    padding: 28px 24px 18px;
  }

  .mini-phone-image {
    width: min(340px, 100%);
  }

  .cta-panel {
    padding: 32px 24px;
  }
}

/* v29: mobile breathing pass */
@media (max-width: 640px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .section-pad {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .flow-copy h2,
  .faq-copy h2,
  .cta-panel h2 {
    font-size: clamp(1.85rem, 9.2vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .section-heading p,
  .flow-copy p,
  .faq-copy p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  h1 {
    max-width: 11.5ch;
    font-size: clamp(2.65rem, 12.5vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .hero-lede {
    max-width: 29ch;
    font-size: 1rem;
    line-height: 1.65;
  }

  .audio-demo-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .audio-meta {
    gap: 14px;
    margin-bottom: 26px;
  }

  .audio-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .audio-meta h3 {
    font-size: 1.28rem;
  }

  .audio-play {
    width: 76px;
    height: 76px;
  }

  .audio-play svg {
    width: 30px;
  }

  .waveform,
  .waveform-fallback {
    min-height: 76px;
  }

  .audio-copy {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .demo-note {
    max-width: 28ch;
    margin: 24px auto 0;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .flow-panel {
    padding: 30px 20px;
    border-radius: 26px;
    gap: 38px;
  }

  .flow-copy {
    text-align: center;
  }

  .flow-copy h2 {
    max-width: 12ch;
    margin-inline: auto;
  }

  .flow-copy > p {
    max-width: 29ch;
    margin-inline: auto;
  }

  .flow-steps {
    padding-left: 0;
    margin-top: 34px;
    gap: 26px;
  }

  .flow-step-card {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 24px 16px 20px;
    border-radius: 18px;
  }

  .flow-step-card:not(:last-child)::after {
    display: none;
  }

  .flow-number {
    left: 16px;
    top: -13px;
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
    transform: none;
  }

  .flow-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .flow-step-card h3 {
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .flow-step-card p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .mini-phone-image {
    width: min(280px, 88%);
  }

  .no-dashboard {
    max-width: 270px;
    font-size: 0.95rem;
    line-height: 1.55;
    align-items: flex-start;
  }

  .audio-demo-card,
  .flow-panel,
  .cta-panel {
    box-shadow: 0 16px 42px rgba(6, 27, 70, 0.1);
  }
}

@media (max-width: 640px) {
  .flow-steps {
    padding-left: 0;
    gap: 18px;
  }

  .flow-step-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 22px;
    text-align: left;
  }

  .flow-step-card:not(:last-child)::after,
  .flow-number {
    display: none;
  }

  .flow-icon {
    width: 48px;
    height: 48px;
  }

  .flow-step-card h3 {
    margin-bottom: 8px;
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .flow-step-card p {
    font-size: 1rem;
    line-height: 1.58;
  }
}