/* ============================================================
   FOUNDORA — foundora.com.au
   Softriver register · deep teal gradient · cream · Poppins
   ============================================================ */

:root {
  --teal-300: #079CA4;
  --teal-500: #07777D;
  --teal-700: #075257;
  --petrol:   #085058;
  --teal-flat:#087A82;
  --cream:    #FAF7F0;
  --ink:      #10201F;
  --ink-60:   rgba(16, 32, 31, .62);
  --ink-40:   rgba(16, 32, 31, .42);
  --line:     rgba(8, 80, 88, .14);
  --line-soft:rgba(8, 80, 88, .08);
  --white:    #FFFFFF;
  --amber:    #F0AE3C;
  --grad: linear-gradient(115deg, #079CA4 0%, #075257 100%);
  --shadow-card: 0 24px 48px -20px rgba(7, 82, 87, .14);
  --shadow-pop:  0 32px 64px -24px rgba(7, 82, 87, .22);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.mono { font-family: 'JetBrains Mono', 'SF Mono', monospace; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding: clamp(88px, 11vw, 148px) 0; position: relative; }
section { scroll-margin-top: 84px; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--petrol);
  margin: 18px 0 22px;
}
.display .dim { color: var(--ink-40); }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-flat);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.eyebrow.light { color: rgba(255,255,255,.78); }
.eyebrow.light::before { background: rgba(255,255,255,.5); }

p { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad);
  background-origin: border-box; /* stop the gradient wrapping under the transparent border */
  color: var(--white);
  box-shadow: 0 14px 28px -12px rgba(7, 122, 130, .55), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(7, 122, 130, .6), inset 0 1px 0 rgba(255,255,255,.28); }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); transform: translateY(-2px); }

.btn-outline {
  color: var(--petrol);
  border-color: rgba(8, 80, 88, .3);
  background: transparent;
}
.btn-outline:hover { border-color: var(--petrol); background: rgba(8, 122, 130, .06); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--petrol); }
.btn-sm { padding: 11px 22px; font-size: .88rem; }
.btn-lg { padding: 18px 38px; font-size: 1.02rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--teal-flat);
  border-bottom: 1.5px solid rgba(8, 122, 130, .25);
  padding-bottom: 3px;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.text-link:hover { gap: 13px; border-color: var(--teal-flat); }

/* ---------- Reveal system ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: box-shadow .45s var(--ease);
}
/* Solid backdrop lives on its own layer: a backdrop-filter on .nav itself
   makes Chrome raster-seam the logo and button edges over the canvas. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 247, 240, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.nav.solid::before { opacity: 1; }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Lockup rebuilt from the raster master: icon + alpha-extracted wordmark */
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo .logo-icon { height: 38px; width: 38px; }
.nav-logo .logo-word { height: 19px; width: auto; }
.nav .logo-word-petrol { display: none; }

.nav-links { display: flex; gap: clamp(18px, 3vw, 38px); }
.nav-links a {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav.solid {
  box-shadow: 0 1px 0 var(--line-soft), 0 12px 32px -24px rgba(7, 82, 87, .25);
}
.nav.solid .logo-word-white { display: none; }
.nav.solid .logo-word-petrol { display: block; }
.nav.menu-open .logo-word-white { display: block; }
.nav.menu-open .logo-word-petrol { display: none; }
.nav.solid .nav-links a { color: var(--ink); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  align-items: center;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.nav.solid .nav-burger span, .nav.menu-open .nav-burger span { background: var(--petrol); }
.nav.menu-open .nav-burger span { background: var(--white); }
.nav.menu-open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: linear-gradient(150deg, #087A82, #075257 55%, #0A3336);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(28px, 8vw, 48px) 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav > a {
  color: var(--white);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease) calc(.06s * var(--i)), transform .5s var(--ease) calc(.06s * var(--i));
}
.mobile-menu nav > a.btn { font-size: 1.05rem; margin-top: 22px; align-self: flex-start; padding: 16px 34px; color: var(--petrol); }
.mobile-menu.open nav > a { opacity: 1; transform: none; }
.mobile-menu-foot {
  position: absolute;
  bottom: 34px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ============================================================
   HERO — scroll-scrubbed flight
   ============================================================ */
.hero { height: 460vh; position: relative; }

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--ink);
}

.hero-media { position: absolute; inset: 0; }

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/hero/poster.jpg') center / cover no-repeat;
  /* Colour grade lives in the canvas draw (ctx.filter), not CSS —
     a composited CSS filter on a scroll-repainting layer causes
     raster seams on neighbouring fixed elements. */
}

/* Photoreal establishing still: the resting hero, dissolves into the flight */
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A3B40, #10201F);
  z-index: 3;
  transition: opacity .8s var(--ease);
}
.hero-loader img { animation: loaderPulse 1.6s var(--ease) infinite; border-radius: 14px; }
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hero-loader.done { opacity: 0; pointer-events: none; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(16,32,31,.5), transparent 22%),
    linear-gradient(to top, rgba(16,32,31,.55), transparent 44%),
    radial-gradient(120% 90% at 12% 88%, rgba(16,32,31,.42), transparent 55%);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,60,65,.82) 0%, rgba(7,60,65,.35) 52%, rgba(7,60,65,.05) 100%);
  opacity: 0;
  transition: opacity .6s ease-out;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.stage {
  position: absolute;
  left: clamp(22px, 7vw, 110px);
  bottom: clamp(88px, 16vh, 170px);
  max-width: 760px;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  pointer-events: none;
}
.stage.on { opacity: 1; transform: none; }

.stage h1, .stage h2 {
  color: var(--white);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.06;
  font-size: clamp(2.35rem, 5.4vw, 4.3rem);
  text-shadow: 0 3px 26px rgba(16,32,31,.45);
}
.stage-3 h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--teal-300);
  border-radius: 2px;
}

.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  max-width: 47ch;
  margin-top: 22px;
  text-shadow: 0 2px 16px rgba(16,32,31,.4);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stage-3.on { pointer-events: auto; }

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-family: 'JetBrains Mono', monospace;
  font-size: .66rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: opacity .5s var(--ease);
}
.hero-cue i {
  width: 1.5px;
  height: 42px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero-cue i::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 45%;
  background: var(--white);
  border-radius: 2px;
  animation: cueDrop 1.8s var(--ease) infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(240%); }
}
.hero-cue.hide { opacity: 0; }

.hero-spine {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 130px;
  background: rgba(255,255,255,.22);
  border-radius: 2px;
  z-index: 5;
  overflow: hidden;
}
.hero-spine i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--teal-300);
  border-radius: 2px;
  transform: scaleY(var(--p, 0));
  transform-origin: top;
}

/* ============================================================
   THE GAP
   ============================================================ */
.gap-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.gap-copy p { color: var(--ink-60); margin-bottom: 16px; }

.serp {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--shadow-card);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.serp-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F2F0E9;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: .92rem;
  color: var(--ink-60);
  margin-bottom: 20px;
}
.serp-bar svg { color: var(--teal-flat); flex-shrink: 0; }

.serp-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 6px;
}
.serp-row + .serp-row { border-top: 1px solid var(--line-soft); }

.serp-pin {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--grad);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.serp-body strong { font-size: .98rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.serp-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--ink-40);
  margin-top: 4px;
  flex-wrap: wrap;
}
.serp-meta em { font-style: normal; font-weight: 600; color: var(--ink-60); font-size: .78rem; }

.serp-you { opacity: .62; }
.serp-you .serp-pin { background: none; border: 1.5px dashed rgba(8,80,88,.4); color: var(--petrol); }
.serp-note {
  margin-top: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-40);
  text-align: right;
}

/* ---------- Stars ---------- */
.stars {
  display: inline-block;
  height: 14px;
  width: 74px;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.7l2.5 5.2 5.7.7-4.2 3.9 1.1 5.6-5.1-2.8-5.1 2.8 1.1-5.6L1.8 7.6l5.7-.7z'/%3E%3C/svg%3E") left center / 14.8px 14px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.7l2.5 5.2 5.7.7-4.2 3.9 1.1 5.6-5.1-2.8-5.1 2.8 1.1-5.6L1.8 7.6l5.7-.7z'%3E%3C/path%3E%3C/svg%3E") left center / 14.8px 14px repeat-x;
}
.stars.s4 { width: 59.2px; }
.stars.sm { height: 11px; width: 58px; -webkit-mask-size: 11.6px 11px; mask-size: 11.6px 11px; }
.stars.sm.s4 { width: 46.4px; }

/* ============================================================
   PRODUCT BENTO
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head .display { margin-bottom: 0; }
.section-head-side {
  color: var(--ink-60);
  max-width: 36ch;
  font-size: .98rem;
  padding-bottom: 8px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}
.tile-reviews  { grid-column: span 7; }
.tile-inbox    { grid-column: span 5; }
.tile-listings { grid-column: span 5; }
.tile-rank     { grid-column: span 4; }
.tile-report   { grid-column: span 3; }

.tile-visual {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.4vw, 32px);
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover .tile-visual { transform: translateY(-5px); box-shadow: var(--shadow-pop); }

.tile-cap { padding: 18px 8px 0; }
.tile-cap h3 { font-size: 1.06rem; font-weight: 600; color: var(--petrol); letter-spacing: -0.015em; }
.tile-cap p { font-size: .9rem; color: var(--ink-60); margin-top: 5px; max-width: 44ch; }

/* SMS tile */
.sms { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.sms-bubble {
  padding: 13px 17px;
  border-radius: 20px;
  font-size: .88rem;
  line-height: 1.55;
  max-width: 88%;
}
.sms-out {
  background: var(--grad);
  color: var(--white);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  box-shadow: 0 10px 22px -12px rgba(7,122,130,.5);
}
.sms-link {
  align-self: flex-start;
  background: rgba(8,122,130,.08);
  border: 1px solid rgba(8,122,130,.16);
  color: var(--teal-flat);
  font-size: .74rem;
  padding: 7px 14px;
  border-radius: 999px;
}
.sms-in {
  background: #F2F0E9;
  color: var(--ink);
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}
.sms-stars { display: flex; gap: 6px; align-self: flex-end; margin-top: 4px; }
.sms-stars .st {
  width: 22px; height: 22px;
  fill: var(--amber);
  opacity: 0;
  transform: scale(.4);
  animation: starPop 6.5s var(--ease) infinite;
  animation-delay: calc(.9s + var(--n, 0) * .28s);
}
.sms-stars .st:nth-child(1) { --n: 0; }
.sms-stars .st:nth-child(2) { --n: 1; }
.sms-stars .st:nth-child(3) { --n: 2; }
.sms-stars .st:nth-child(4) { --n: 3; }
.sms-stars .st:nth-child(5) { --n: 4; }
@keyframes starPop {
  0%, 4% { opacity: 0; transform: scale(.4); }
  8%, 80% { opacity: 1; transform: scale(1); }
  88%, 100% { opacity: 0; transform: scale(.7); }
}

/* Inbox tile */
.inbox { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.inbox-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  animation: rowGlow 7.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2.5s);
}
@keyframes rowGlow {
  0%, 100% { background: #FFFFFF; border-color: var(--line-soft); }
  8%, 22% { background: rgba(7,156,164,.07); border-color: rgba(7,156,164,.3); }
  30% { background: #FFFFFF; border-color: var(--line-soft); }
}
.src {
  width: 34px; height: 34px;
  border-radius: 12px;
  background: #F2F0E9;
  color: var(--petrol);
  font-size: .72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inbox-row strong { font-size: .84rem; font-weight: 600; margin-right: 8px; }
.inbox-row p {
  font-size: .78rem;
  color: var(--ink-40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.chip {
  border: 1px solid rgba(8,122,130,.28);
  color: var(--teal-flat);
  background: transparent;
  font-size: .68rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover { background: rgba(8,122,130,.1); }
.chip:active { transform: scale(.95); }
.chip-drafted { background: var(--grad); background-origin: border-box; color: var(--white); border-color: transparent; }

/* Listings tile */
.listings { width: 100%; display: flex; flex-direction: column; }
.listing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 6px;
  font-size: .88rem;
  font-weight: 500;
}
.listing-row + .listing-row { border-top: 1px solid var(--line-soft); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--teal-flat);
  position: relative;
}
.status i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-300);
  animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: .55; }
}
.status.fix i { background: var(--amber); animation: fixDot 7s ease-in-out infinite; }
@keyframes fixDot {
  0%, 42% { background: var(--amber); }
  50%, 100% { background: var(--teal-300); }
}
.status.fix em { font-style: normal; }
.fix-a, .fix-b { transition: opacity .4s; }
.fix-a { color: var(--amber); animation: fixA 7s ease-in-out infinite; }
.fix-b { position: absolute; right: 0; color: var(--teal-flat); animation: fixB 7s ease-in-out infinite; }
@keyframes fixA { 0%, 42% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fixB { 0%, 42% { opacity: 0; } 50%, 100% { opacity: 1; } }

/* Rank tile */
.rankgrid {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  grid-auto-rows: 44px;
  gap: 8px;
}
.rankgrid span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: .78rem;
  font-weight: 600;
  background: rgba(7,156,164,.09);
  color: var(--petrol);
}
.rankgrid span:nth-child(5n+4) { background: rgba(7,156,164,.05); color: var(--ink-40); }
.rankgrid span:nth-child(5n)   { background: rgba(16,32,31,.04); color: var(--ink-40); }
.rankgrid span:nth-child(-n+3),
.rankgrid span:nth-child(6),
.rankgrid span:nth-child(8),
.rankgrid span:nth-child(11),
.rankgrid span:nth-child(12) { background: rgba(7,156,164,.2); }
.rankgrid .you {
  background: var(--grad);
  color: var(--white);
  position: relative;
}
.rankgrid .you::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(7,156,164,.55);
  border-radius: 16px;
  animation: youRing 2.4s var(--ease) infinite;
}
@keyframes youRing {
  0% { transform: scale(.82); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scale(1.16); opacity: 0; }
}

/* Report tile */
.report { width: 100%; }
.report-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 16px;
}
.spark { width: 100%; height: 74px; margin-bottom: 16px; }
.spark-fill { fill: url(#sparkGrad); fill: rgba(7,156,164,.12); }
.spark-line {
  stroke: var(--teal-flat);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: sparkDraw 6s var(--ease) infinite;
}
@keyframes sparkDraw {
  0% { stroke-dashoffset: 300; }
  40%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.report-line { font-size: .85rem; color: var(--ink-60); line-height: 1.6; }

/* ============================================================
   DASHBOARD BAND
   ============================================================ */
.dash-band {
  background: linear-gradient(165deg, #075257 0%, #093A3E 46%, #10201F 100%);
  color: var(--white);
  overflow: hidden;
}
.dash-band::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7,156,164,.28), transparent 65%);
  pointer-events: none;
}
.dash-band .display { color: var(--white); }
.dash-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); position: relative; }
.dash-lede { color: rgba(255,255,255,.72); }

.dash {
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 48px 96px -32px rgba(4, 22, 24, .6), inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
  position: relative;
  color: var(--ink);
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: #FCFBF7;
}
.dash-chrome span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(16,32,31,.12);
}
.dash-chrome em {
  font-style: normal;
  font-size: .68rem;
  color: var(--ink-40);
  background: #F2F0E9;
  border-radius: 8px;
  padding: 4px 46px;
  margin: 0 auto;
}

.dash-body { display: grid; grid-template-columns: 190px 1fr; min-height: 470px; }

.dash-side {
  border-right: 1px solid var(--line-soft);
  background: #FCFBF7;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-side img { margin: 0 0 18px 10px; border-radius: 8px; }
.dash-side a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-60);
  padding: 9px 14px;
  border-radius: 12px;
  cursor: default;
}
.dash-side a.on { background: rgba(7,122,130,.1); color: var(--petrol); font-weight: 600; }

.dash-main { padding: clamp(18px, 2.6vw, 30px); }
.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dash-top strong { font-size: 1rem; letter-spacing: -0.01em; }
.dash-user {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-size: .68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.stat {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-label { font-size: .68rem; font-weight: 500; color: var(--ink-40); letter-spacing: .02em; }
.stat-num { font-size: 1.7rem; font-weight: 600; color: var(--petrol); line-height: 1.2; }
.stat-sub { font-size: .7rem; color: var(--ink-40); }
.stat-sub.up { color: var(--teal-flat); font-weight: 600; }

.dash-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.dash-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 12px;
}
.dash-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.dash-review + .dash-review { border-top: 1px solid var(--line-soft); }
.dash-review strong { font-size: .84rem; margin-right: 8px; }
.dash-review p { font-size: .8rem; color: var(--ink-60); margin-top: 4px; max-width: 40ch; }

.health-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--ink-60);
  padding: 7px 0;
}
.tick {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(7,122,130,.12);
  position: relative;
}
.tick::after {
  content: "";
  position: absolute;
  left: 5px; top: 4.5px;
  width: 6px; height: 3.5px;
  border-left: 2px solid var(--teal-flat);
  border-bottom: 2px solid var(--teal-flat);
  transform: rotate(-48deg);
}
.health-row.warn .dot {
  width: 8px; height: 8px;
  margin: 0 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: breathe 2.2s ease-in-out infinite;
}
.pos-title { margin-top: 20px; }
.posbars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 72px;
}
.posbars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(to top, rgba(7,122,130,.25), var(--teal-300));
  transform: scaleY(.06);
  transform-origin: bottom;
  transition: transform 1s var(--ease) calc(.35s + var(--bi, 0) * .07s);
}
.posbars i:nth-child(1) { --bi: 0; } .posbars i:nth-child(2) { --bi: 1; }
.posbars i:nth-child(3) { --bi: 2; } .posbars i:nth-child(4) { --bi: 3; }
.posbars i:nth-child(5) { --bi: 4; } .posbars i:nth-child(6) { --bi: 5; }
.posbars i:nth-child(7) { --bi: 6; }
.dash.in .posbars i { transform: scaleY(1); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.how-intro { position: sticky; top: 120px; }
.how-intro p { color: var(--ink-60); }

.how-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: clamp(16px, 2.5vw, 34px);
  padding: clamp(26px, 3vw, 40px) 0;
}
.how-step + .how-step { border-top: 1px solid var(--line); }
.how-num {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-flat);
  padding-top: 8px;
  position: relative;
}
.how-num::after {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.how-step h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--petrol);
  margin-bottom: 10px;
}
.how-step p { color: var(--ink-60); font-size: .96rem; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { padding: clamp(88px, 11vw, 148px) 0; overflow: hidden; }
.industries .display { margin-bottom: clamp(36px, 4vw, 56px); }

.marquee {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marq 42s linear infinite;
}
.marquee-rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--petrol);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 24px -18px rgba(7,82,87,.25);
}
.marquee-track span.hot {
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
}
.industries-note {
  margin-top: clamp(30px, 4vw, 46px);
  color: var(--ink-60);
  font-size: .98rem;
}

/* ============================================================
   AUSSIE BAND
   ============================================================ */
.aussie {
  background: var(--grad);
  color: var(--white);
  overflow: hidden;
}
.aussie .display { color: var(--white); }
.aussie-mark {
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 560px;
  opacity: .07;
  pointer-events: none;
  filter: brightness(0) invert(1);
}
.aussie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
  position: relative;
}
.aussie-lede { color: rgba(255,255,255,.78); }

.aussie-points { display: flex; flex-direction: column; }
.aussie-point { padding: clamp(20px, 2.6vw, 30px) 0; }
.aussie-point + .aussie-point { border-top: 1px solid rgba(255,255,255,.18); }
.aussie-point h3 {
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.aussie-point p { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ============================================================
   PRICING
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }

.plan h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; color: var(--petrol); }
.plan-for { font-size: .86rem; color: var(--ink-40); margin-top: 4px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
.plan-price span { font-size: 2.6rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.plan-price em { font-style: normal; font-size: .85rem; color: var(--ink-40); }
.plan-eq { font-size: .78rem; color: var(--ink-40); margin-bottom: 22px; }
.plan-hot .plan-eq { color: rgba(255,255,255,.6); }

.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; flex: 1; }
.plan li {
  font-size: .89rem;
  color: var(--ink-60);
  padding-left: 28px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(7,122,130,.12);
}
.plan li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 8px;
  width: 6.5px; height: 3.5px;
  border-left: 2px solid var(--teal-flat);
  border-bottom: 2px solid var(--teal-flat);
  transform: rotate(-48deg);
}

.plan-hot {
  background: linear-gradient(150deg, #087A82 0%, #075257 70%, #06444A 100%);
  border: none;
  color: var(--white);
  box-shadow: 0 36px 72px -28px rgba(7, 82, 87, .5), inset 0 1px 0 rgba(255,255,255,.2);
}
.plan-hot h3, .plan-hot .plan-price span { color: var(--white); }
.plan-hot .plan-for, .plan-hot .plan-price em { color: rgba(255,255,255,.65); }
.plan-hot li { color: rgba(255,255,255,.85); }
.plan-hot li::before { background: rgba(255,255,255,.16); }
.plan-hot li::after { border-color: #7FE3E0; }
.plan-hot .btn-primary {
  background: var(--white);
  color: var(--petrol);
  box-shadow: 0 14px 28px -12px rgba(4,22,24,.4);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--white);
  color: var(--petrol);
  border: 1px solid rgba(8,122,130,.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(7,82,87,.35);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro p { color: var(--ink-60); }

.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--petrol);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal-flat); }
.faq-list summary i {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(8,122,130,.3);
  position: relative;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.8px;
  border-radius: 2px;
  background: var(--teal-flat);
  transform: translate(-50%, -50%);
  transition: background-color .4s var(--ease);
}
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(45deg); background: var(--grad); border-color: transparent; }
.faq-list details[open] summary i::before,
.faq-list details[open] summary i::after { background: var(--white); }

.faq-a { overflow: hidden; }
.faq-a p { padding: 0 44px 26px 4px; color: var(--ink-60); font-size: .96rem; }
details[open] .faq-a { animation: faqOpen .55s var(--ease); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { padding-bottom: clamp(88px, 10vw, 130px); }
.cta-inner {
  background: linear-gradient(150deg, #087A82 0%, #075257 60%, #06444A 100%);
  border-radius: 40px;
  padding: clamp(52px, 7vw, 104px) clamp(28px, 6vw, 104px);
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 48px 96px -36px rgba(7, 82, 87, .5);
}
.cta-inner::before {
  content: "";
  position: absolute;
  top: -180px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7,156,164,.5), transparent 65%);
  pointer-events: none;
}
.cta-inner .display { color: var(--white); position: relative; }
.cta-inner p { color: rgba(255,255,255,.82); position: relative; max-width: 52ch; }
.cta-mark {
  border-radius: 18px;
  margin-bottom: 26px;
  box-shadow: 0 16px 32px -14px rgba(4,22,24,.5);
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
  position: relative;
}
.cta-alt { font-size: .9rem; color: rgba(255,255,255,.7); }
.cta-alt a { color: var(--white); font-weight: 600; border-bottom: 1.5px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.cta-alt a:hover { border-color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: clamp(56px, 7vw, 92px) 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 80px);
  flex-wrap: wrap;
  padding-bottom: 48px;
}
.footer-lockup { display: flex; align-items: center; gap: 9px; }
.footer-lockup img:first-child { height: 40px; width: 40px; }
.footer-lockup img:last-child { height: 20px; width: auto; }
.footer-motto {
  margin-top: 16px;
  font-size: .92rem;
  color: rgba(255,255,255,.45);
}
.footer-cols { display: flex; gap: clamp(40px, 6vw, 96px); flex-wrap: wrap; }
.footer-cols p {
  font-family: 'JetBrains Mono', monospace;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  font-size: .9rem;
  padding: 5px 0;
  color: rgba(255,255,255,.66);
  transition: color .3s var(--ease);
}
.footer-cols a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-reviews, .tile-inbox { grid-column: span 1; }
  .tile-listings { grid-column: span 1; }
  .tile-rank { grid-column: span 1; }
  .tile-report { grid-column: span 2; }
  .dash-cols { grid-template-columns: 1fr; }
  .rankgrid { grid-template-columns: repeat(5, 40px); grid-auto-rows: 40px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
  .gap-grid, .how-grid, .aussie-grid, .faq-grid { grid-template-columns: 1fr; }
  .how-intro, .faq-intro { position: static; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head-side { padding-bottom: 0; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .dash-body { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { flex-direction: row; align-items: center; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line-soft); padding: 12px 16px; }
  .dash-side img { margin: 0 8px 0 0; }
  .dash-side a { white-space: nowrap; padding: 7px 12px; font-size: .78rem; }
  .dash-stats { grid-template-columns: 1fr; }
  .hero { height: 420vh; }
  .stage { right: clamp(22px, 7vw, 110px); bottom: clamp(96px, 15vh, 150px); }
  .hero-spine { display: none; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-report { grid-column: span 1; }
  .inbox-row p { max-width: 110px; }
  .dash-chrome em { padding: 4px 18px; }
  .cta-actions { align-items: flex-start; flex-direction: column; }
  .marquee-track span { padding: 11px 20px; font-size: .84rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .serp, .sms-stars .st, .inbox-row, .status i, .spark-line,
  .rankgrid .you::after, .hero-cue i::after, .hero-loader img,
  .marquee-track, .fix-a, .fix-b, .status.fix i { animation: none !important; }
  .sms-stars .st { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask: none; -webkit-mask: none; }
  .spark-line { stroke-dashoffset: 0; }
  .posbars i { transform: scaleY(1); transition: none; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: 100dvh; }
  .hero-cue, .hero-spine, .hero-still { display: none; }
  .stage { position: absolute; opacity: 0; }
  .stage-3 { opacity: 1; transform: none; pointer-events: auto; }
  .hero-veil { opacity: 1; }
  .btn, .tile-visual, .plan { transition: none; }
}
