/* PerkArrow — light sky corridor, rainbow stripe, arrow path steps */

:root {
  --sky: #eef4ff;
  --sky-deep: #d6e4ff;
  --navy: #1e3a5f;
  --navy-soft: rgba(30, 58, 95, 0.72);
  --white: #ffffff;
  --pipe-blue: #7dd3fc;
  --pipe-green: #86efac;
  --rainbow: linear-gradient(90deg, #f43f5e, #f97316, #eab308, #22c55e, #3b82f6, #a855f7);
  --shadow: 0 16px 40px rgba(30, 58, 95, 0.1);
  --radius: 22px;
  --radius-pill: 999px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --leading-body: 1.75;
  --leading-title: 1.25;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--leading-body);
  color: var(--navy);
  background: var(--sky);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.sky-wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(165deg, var(--sky) 0%, #f8fbff 50%, #f0fdf4 100%);
}

.pipe {
  position: absolute;
  width: 120px;
  height: 48px;
  border-radius: 24px;
  opacity: 0.45;
  filter: blur(0.5px);
}

.pipe--a {
  top: 15%;
  left: -20px;
  background: var(--pipe-blue);
  transform: rotate(-25deg);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.08);
}

.pipe--b {
  bottom: 20%;
  right: -30px;
  width: 160px;
  background: var(--pipe-green);
  transform: rotate(15deg);
}

/* Corridor nav */
.corridor-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem 0;
}

.corridor-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.corridor-nav.is-scrolled .corridor-nav__inner {
  box-shadow: 0 20px 48px rgba(30, 58, 95, 0.14);
}

.corridor-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  text-decoration: none;
}

.corridor-nav__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px 8px 8px 2px;
  background: var(--sky-deep);
  color: #2563eb;
}

.corridor-nav__mark svg {
  width: 18px;
  height: 18px;
}

.corridor-nav__brand img {
  border-radius: 10px;
}

.corridor-nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  margin-right: 0.35rem;
}

.corridor-nav__links a {
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-soft);
  border-radius: 8px;
  text-decoration: none;
}

.corridor-nav__links a:hover {
  background: var(--sky-deep);
  color: var(--navy);
  text-decoration: none;
}

.corridor-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.corridor-nav__links ~ .corridor-nav__actions {
  margin-left: 0;
}

.corridor-nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--sky-deep);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.corridor-nav__burger span {
  display: block;
  height: 2px;
  margin: 0 10px;
  background: var(--navy);
}

.corridor-nav__stripe {
  max-width: 1120px;
  margin: 0.35rem auto 0;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--rainbow);
  opacity: 0.85;
}

@media (min-width: 920px) {
  .corridor-nav__links {
    display: flex;
  }
  .corridor-nav__burger {
    display: none;
  }
}

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 5.5rem 1.25rem 2rem;
  background: rgba(238, 244, 255, 0.98);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-sheet[hidden] {
  display: none;
}

.nav-sheet a {
  font-weight: 600;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-radius: 12px;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--sky-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn--sm {
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
}

.btn--lg {
  font-size: 1rem;
  padding: 0.78rem 1.35rem;
}

.btn--xl {
  font-size: 1.05rem;
  padding: 0.92rem 1.6rem;
}

.btn--block {
  width: 100%;
}

.btn--rainbow {
  background: var(--rainbow);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn--soft {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--sky-deep);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero__banner {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.hero__banner img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.hero__split {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero__split {
    grid-template-columns: 1.08fr 0.85fr;
    align-items: center;
  }
}

.hero__copy {
  padding: 1.4rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--sky-deep);
  box-shadow: var(--shadow);
}

.hero__kicker {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2563eb;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

.hero h1 span {
  color: #2563eb;
}

.hero__tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin: 0.35rem 0 1rem;
}

.hero__lead {
  margin: 0 0 0.85rem;
  color: var(--navy-soft);
  line-height: 1.78;
  font-size: 1rem;
}

.hero__mantra {
  margin: 0.5rem 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  text-transform: uppercase;
  background: var(--rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__phone {
  margin: 0 auto;
  max-width: 280px;
  padding: 0.55rem;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 2px solid var(--sky-deep);
}

.hero__phone img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #f1f5f9;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-head .eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: #2563eb;
  margin: 0 0 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  line-height: var(--leading-title);
  margin: 0;
  font-weight: 700;
}

.section-head h2 span {
  color: #059669;
}

.section-head__lead {
  margin: 0.75rem 0 0;
  color: var(--navy-soft);
  line-height: 1.72;
}

.arrow-grid {
  margin-top: 4.5rem;
}

.arrow-grid__cells {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .arrow-grid__cells {
    grid-template-columns: repeat(2, 1fr);
  }
}

.arrow-card {
  position: relative;
  padding: 1.35rem 1.2rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--sky-deep);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.06);
  overflow: hidden;
}

.arrow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rainbow);
}

.arrow-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sky-deep);
  color: var(--navy);
}

.arrow-card__icon svg {
  width: 22px;
  height: 22px;
}

.arrow-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 0.45rem;
  font-weight: 700;
}

.arrow-card p {
  margin: 0;
  color: var(--navy-soft);
  line-height: 1.72;
  font-size: 0.98rem;
}

.arrow-grid__outro {
  margin: 1.5rem auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--navy-soft);
  line-height: 1.78;
}

.howto {
  margin-top: 4rem;
}

.howto__path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}

.howto__path::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: var(--rainbow);
  border-radius: 3px;
  opacity: 0.65;
}

.howto__step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  align-items: start;
}

.howto__node {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--white);
  border: 2px solid var(--sky-deep);
  border-radius: 10px;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.howto__step p {
  margin: 0.35rem 0 0;
  color: var(--navy-soft);
  line-height: 1.72;
}

.shift-gallery {
  margin-top: 4.5rem;
}

.shift-gallery__row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  align-items: flex-end;
}

.shift-frame {
  flex: 0 0 min(66vw, 185px);
  margin: 0;
  scroll-snap-align: center;
  padding: 0.45rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2px solid var(--sky-deep);
  transition: transform 0.25s ease;
}

.shift-frame--left {
  transform: rotate(-2deg) translateY(6px);
}

.shift-frame--right {
  transform: rotate(2deg) translateY(6px);
}

.shift-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
}

@media (min-width: 960px) {
  .shift-gallery__row {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
  .shift-frame {
    flex: 0 0 170px;
  }
}

.download {
  margin-top: 4.5rem;
}

.download__turn {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--sky-deep);
  position: relative;
  overflow: hidden;
}

.download__turn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--rainbow);
}

.download__icon {
  margin: 0 auto 1rem;
  border-radius: 16px;
}

.download__turn h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.22;
  margin: 0 0 0.35rem;
}

.download__lead {
  font-weight: 600;
  line-height: 1.5;
  color: #2563eb;
  margin: 0 0 0.35rem;
}

.download__turn p {
  color: var(--navy-soft);
  line-height: 1.72;
  margin: 0 0 1.25rem;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer {
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-top: 2px solid var(--sky-deep);
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer__links a {
  font-weight: 600;
  font-size: 0.92rem;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--navy-soft);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 95, 0.45);
}

.modal__panel {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 24px 60px rgba(30, 58, 95, 0.2);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--sky);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__arrow {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 12px 12px 12px 4px;
  background: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.modal__panel h2 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.modal__panel p {
  color: var(--navy-soft);
  line-height: 1.72;
  margin: 0 0 1.25rem;
}
