/* Helix Pay 2026 preview: a calm editorial surface around a dimensional payment lens. */
:root {
  --ink: #081523;
  --ink-soft: #17304a;
  --navy: #080665;
  --emerald: #078637;
  --mint: #65f6ac;
  --ice: #e9fcf6;
  --canvas: #eef5f3;
  --paper: #fffefa;
  --line: rgba(15, 60, 67, .13);
  --display: "Sora", "Avenir Next", sans-serif;
  --body: "DM Sans", "Avenir Next", sans-serif;
  --blue: var(--navy);
  --blue2: #1527a3;
  --bg: var(--canvas);
  --text: var(--ink);
  --muted: #4e6674;
  --border: var(--line);
  --border2: rgba(7, 134, 55, .38);
  --shadow: 0 25px 70px rgba(11, 45, 54, .14);
}

html { scroll-behavior: smooth; overflow-x: clip; }
html.js .sr { opacity: 1; transform: none; transition: none; }
body {
  font-family: var(--body);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
}
body:after { display: none !important; }
::selection { background: #68f1a7; color: #082019; }
a { color: #0b517d; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #36c97c;
  outline-offset: 3px;
}
.wrap { max-width: 1280px; padding: 0 36px; }

header {
  isolation: isolate;
  overflow: visible;
  color: #f4fff8;
  background:
    radial-gradient(closest-side at 76% 50%, rgba(45, 222, 142, .25), transparent 80%),
    radial-gradient(ellipse at 21% -5%, rgba(58, 95, 247, .35), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(6, 179, 157, .20), transparent 40%),
    linear-gradient(138deg, #090948 0%, #081d37 53%, #043f3d 100%);
  border-bottom: 0;
}
header:before {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(167, 255, 212, .055) 42.1% 42.25%, transparent 42.35%),
    linear-gradient(125deg, transparent 0 61%, rgba(167, 255, 212, .045) 61.1% 61.2%, transparent 61.3%);
  animation: none;
  z-index: -1;
}
header:after {
  inset: 0;
  opacity: .06;
  mix-blend-mode: screen;
  transform: none;
  z-index: -1;
}
header .wrap { position: relative; padding-top: 22px; padding-bottom: 78px; }

.topbar {
  z-index: 10;
  display: flex;
  flex-wrap: nowrap;
  min-height: 76px;
  padding: 10px 13px 10px 19px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 21px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 12px 45px rgba(0, 16, 43, .16), inset 0 1px 1px #fff;
  backdrop-filter: blur(24px) saturate(1.2);
}
.brand { gap: 13px; min-width: 0; }
.brand img { width: 170px; height: auto; max-width: none; display: block; }
.kicker {
  padding: 5px 0 5px 13px;
  border: 0;
  border-left: 1px solid rgba(11, 56, 65, .18);
  border-radius: 0;
  background: transparent;
  color: #496274;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  white-space: nowrap;
}
nav { gap: 3px; align-items: center; flex-wrap: nowrap; }
nav a {
  color: #183047;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
nav a:hover, nav a[aria-current="page"] {
  background: #e7f7f0;
  color: #075531;
  text-decoration: none;
  transform: none;
}
nav a[href="contact.html"] {
  background: #0c8550;
  color: white;
  padding: 11px 17px;
  margin-left: 4px;
  box-shadow: 0 6px 16px rgba(0, 109, 67, .25);
}
nav a[href="contact.html"]:hover { background: #076d41; color: white; }

.hero { padding: 95px 0 22px; }
.pageHero {
  isolation: isolate;
  overflow: clip;
  min-height: 385px;
  padding-right: min(25vw, 320px);
}
.pageHero:before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2%;
  top: 17px;
  width: clamp(260px, 31vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(202, 255, 230, .36);
  border-radius: 45% 55% 49% 51% / 55% 42% 58% 45%;
  background:
    radial-gradient(circle at 31% 25%, rgba(255, 255, 255, .67), transparent 15%),
    radial-gradient(circle at 31% 27%, rgba(102, 247, 183, .45), transparent 38%),
    radial-gradient(circle at 74% 70%, rgba(17, 205, 191, .26), transparent 40%),
    linear-gradient(136deg, rgba(238, 255, 250, .16), rgba(78, 248, 176, .06));
  box-shadow: inset 18px 24px 40px rgba(255, 255, 255, .21), inset -30px -36px 50px rgba(0, 33, 67, .38), 0 38px 75px rgba(0, 7, 36, .3), 0 0 100px rgba(68, 236, 160, .18);
  backdrop-filter: blur(20px) saturate(1.4);
  transform: rotate(-21deg);
  animation: orbFloat 9s ease-in-out infinite;
}
.pageHero:after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -1%;
  top: 8%;
  width: clamp(310px, 37vw, 490px);
  aspect-ratio: 1;
  border: 1px solid rgba(141, 255, 206, .25);
  border-radius: 50%;
  transform: rotateX(58deg) rotate(-32deg);
  box-shadow: 0 0 45px rgba(113, 248, 189, .1);
}
@keyframes orbFloat { 0%, 100% { transform: translateY(0) rotate(-21deg); } 50% { transform: translateY(-17px) rotate(-15deg); } }
.heroGrid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 45px; }
.h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 5.7vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.076em;
  margin: 0 0 25px;
  max-width: 12ch;
  color: #f6fff9;
  text-wrap: balance;
}
.heroGrid .h1::after {
  content: "";
  display: block;
  width: 94px;
  height: 5px;
  border-radius: 10px;
  margin-top: 28px;
  background: linear-gradient(90deg, #60f09a, #9be4ed);
  box-shadow: 0 0 25px rgba(96, 240, 154, .35);
}
.heroGrid .h1 { text-shadow: 0 12px 44px rgba(2, 20, 40, .22); }
.sub { font-size: 18px; line-height: 1.7; max-width: 55ch; color: #cbdfe3; }
.sub b { color: #e8fff0; font-weight: 600; }
.hero .muted { color: #b2d6d1; }
.actions { gap: 12px; margin-top: 28px; }
.btn {
  min-height: 46px;
  padding: 12px 21px;
  border-radius: 13px;
  border: 1px solid rgba(8, 69, 68, .18);
  background: rgba(255, 255, 255, .84);
  color: #102b37;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(5, 26, 37, .10), inset 0 1px 1px rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-3px); text-decoration: none; box-shadow: 0 17px 30px rgba(5, 26, 37, .16); }
.btn.primary {
  color: #05231b;
  border-color: #8cfcb6;
  background: linear-gradient(137deg, #9cf7b9, #4cdfa4);
  box-shadow: 0 14px 32px rgba(36, 221, 139, .22), inset 0 1px 1px #ecfff2;
}
.btn.primary:hover { background: linear-gradient(137deg, #b5ffca, #5af0ad); }
.hero .actions .btn:not(.primary) { border-color: rgba(221, 255, 246, .29); color: #f5fff9; background: rgba(255, 255, 255, .08); }

.chips { gap: 7px; margin-top: 28px; }
.chip {
  color: #eafff2;
  border-color: rgba(181, 252, 213, .27);
  background: rgba(255,255,255,.09);
  font-family: var(--body);
  font-weight: 650;
  backdrop-filter: blur(18px);
  transition: transform .2s ease, background .2s ease;
}
.chip:hover { transform: translateY(-2px); border-color: rgba(156, 247, 185, .6); background: rgba(255,255,255,.15); }
.chip.ghost { color: #b7d8d8; background: transparent; border-color: rgba(181, 252, 213, .18); }

.mock {
  position: relative;
  overflow: visible;
  transform: perspective(1300px) rotateY(-9deg) rotateX(5deg);
  border: 1px solid rgba(229,255,249,.55);
  border-radius: 27px;
  background: rgba(235, 255, 250, .82);
  box-shadow: 0 50px 80px rgba(0,11,31,.45), 0 0 90px rgba(76, 240, 170, .2), inset 0 1px 0 white;
  backdrop-filter: blur(30px) saturate(1.4);
  animation: lensFloat 7s ease-in-out infinite;
}
.mock:before {
  content: "";
  position: absolute;
  inset: -14% -12%;
  z-index: -1;
  border: 1px solid rgba(127,251,186,.25);
  border-radius: 34%;
  transform: translateZ(-65px) rotate(-14deg);
  background: radial-gradient(circle at 25% 35%, rgba(77,244,161,.27), transparent 60%);
  filter: blur(1px);
}
.mock:after {
  content: "PROCESSING · CLEARER VIEW";
  position: absolute;
  right: -23px;
  bottom: -28px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(221,255,239,.62);
  background: rgba(6, 70, 58, .72);
  color: #dcffe7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  box-shadow: 0 25px 55px rgba(0,20,29,.28);
  backdrop-filter: blur(14px);
  transform: translateZ(35px);
}
.mockTop { border-radius: 26px 26px 0 0; background: rgba(255,255,255,.75); }
.badge { color: #086941; background: #d7f8e4; border-color: #a0e6bd; }
.mockBody { border-radius: 0 0 26px 26px; background: linear-gradient(160deg, rgba(255,255,255,.8), rgba(221,248,246,.85)); }
.mockBody:before { background: radial-gradient(250px 250px at var(--mx, 30%) var(--my, 40%), rgba(4, 173, 110, .22), transparent 60%); }
@keyframes lensFloat {
  0%,100% { transform: perspective(1300px) rotateY(-9deg) rotateX(5deg) translateY(0); }
  50% { transform: perspective(1300px) rotateY(-6deg) rotateX(7deg) translateY(-13px); }
}

main { position: relative; }
main:before {
  content: "";
  position: absolute;
  top: 6%; right: 0;
  width: 48%; height: 42%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(25,195,139,.12), transparent 70%);
  z-index: -1;
}
.section { padding: 78px 0; }
.divider { border-color: rgba(19, 68, 64, .11); }
.k {
  padding: 0;
  border-radius: 0;
  color: #087448;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  background: none;
}
.k:before { display: none; }
.v {
  margin-top: 12px;
  color: #0a2630;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.15vw, 2.35rem);
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -.04em;
}
.muted { color: #4c6870; font-size: 15px; line-height: 1.65; }
.list { color: #3b5962; line-height: 1.75; font-size: 14px; }
.card, .quote, .timeline .step, .timeline .detail, .media {
  border: 1px solid rgba(255,255,255,.89);
  border-radius: 25px;
  background: linear-gradient(143deg, rgba(255,255,255,.88), rgba(244,255,251,.59));
  box-shadow: 0 16px 48px rgba(15,67,62,.09), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px);
}
.card { min-height: 175px; padding: 28px; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 23px 55px rgba(15,67,62,.14), inset 0 1px 0 #fff; }
.card .v { font-size: 19px; }
.card .muted { margin-bottom: 0; }
.icon { background: #e5f8eb; border: 1px solid #b2e8c7; color: #077144; }
.grid3 { gap: 18px; }
.seg { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.media { padding: 8px; overflow: hidden; }
.media img, .media img.terminalImg {
  border: 0;
  border-radius: 19px;
  box-shadow: none;
  height: auto;
  min-height: 320px;
  max-height: 445px;
  object-fit: cover;
}
.media .cap { padding: 14px 13px 10px; color: #567079; }
.tabs { gap: 8px; }
.tab {
  padding: 12px 18px;
  border-radius: 999px;
  color: #24484a;
  border: 1px solid #c3dcd3;
  background: rgba(255,255,255,.64);
  font-family: var(--body);
  font-weight: 750;
}
.tab[aria-selected="true"] { background: #0b6a4b; color: white; border-color: #0b6a4b; box-shadow: 0 10px 26px rgba(8,118,79,.22); }
.timeline .step { padding: 22px; margin-bottom: 14px; }
.timeline .step.active { border-color: rgba(34,189,114,.46); box-shadow: 0 22px 55px rgba(9,113,78,.14); }
.timeline .step .num { background: #dcf8e8; color: #087448; border-color: #a5e6c3; }
.timeline .detail { padding: 30px; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(229,250,245,.78)); }
.timelineViz { border: 1px solid #bbe5d1; box-shadow: 0 14px 30px rgba(10,88,74,.10); }
.quote { padding: 28px; min-height: 170px; }
.quote .q { font-family: var(--display); font-size: 18px; font-weight: 620; line-height: 1.45; }
.quote .who { color: #558073; }
form input, form textarea {
  font-family: var(--body);
  font-size: 15px;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  border: 1px solid #b9d6cf !important;
  padding: 14px 16px !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px 2px rgba(0,30,37,.03);
}
form input:focus, form textarea:focus { border-color: #0b9962 !important; outline-color: #0b9962; }
form textarea { resize: vertical; }
form .honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

footer { background: #071d2b; color: #a9c9ca; border-top: 0; }
footer .wrap { padding-top: 38px; padding-bottom: 40px; }
footer a { color: #bcf9d5; }
.cookieCard, .stickyCta {
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(248,255,252,.91);
  box-shadow: 0 25px 60px rgba(4,40,42,.22);
  backdrop-filter: blur(28px) saturate(1.25);
}
.cookieCard { border-radius: 22px; padding: 16px 20px; }
.stickyCta { border-radius: 19px; }
.ctaHint { background: #f0fff5; border-color: #b3e6ca; }

@media (max-width: 1080px) {
  .kicker { display: none; }
  nav a { padding: 10px 8px; }
  .heroGrid { gap: 22px; }
}
@media (max-width: 900px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .topbar { display: block; padding: 12px 15px; }
  .brand { justify-content: center; }
  nav { justify-content: center; overflow-x: auto; scrollbar-width: none; margin-top: 9px; }
  nav::-webkit-scrollbar { display: none; }
  .hero { padding-top: 65px; }
  .pageHero { padding-right: 0; min-height: 0; }
  .pageHero:before { opacity: .18; right: -100px; top: 20px; }
  .pageHero:after { display: none; }
  .heroGrid, .seg { grid-template-columns: 1fr; }
  .mock { max-width: 660px; margin: 55px auto 15px; }
  .section { padding: 58px 0; }
  .timeline .steps { position: relative; top: auto; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  header .wrap { padding-top: 14px; padding-bottom: 54px; }
  .topbar { border-radius: 17px; }
  .brand img { width: 145px; }
  nav { justify-content: center; flex-wrap: wrap; overflow: visible; margin-inline: -4px; }
  nav a { font-size: 11px; padding: 9px 8px; }
  nav a[href="contact.html"] { padding: 9px 12px; }
  .hero { padding-top: 57px; }
  .h1 { font-size: clamp(3.3rem, 13vw, 4.7rem); letter-spacing: -.07em; }
  .sub { font-size: 16px; }
  .hero .actions .btn { width: 100%; }
  .chips { margin-top: 20px; }
  .mock { margin-top: 44px; transform: none; animation: none; }
  .mock:after { right: -6px; bottom: -20px; font-size: 8px; }
  .mockBody { padding: 6px; }
  .section { padding: 44px 0; }
  .grid3, .quotes { grid-template-columns: 1fr; }
  .card, .quote { min-height: 0; padding: 22px; }
  .media img, .media img.terminalImg { min-height: 230px; }
  .stickyCta .mini, .ctaHint { display: none; }
  .stickyCta { padding: 8px; }
  .stickyCta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mock, .pageHero:before, .card, .btn, .chip { animation: none !important; transition-duration: 0.01ms !important; }
  html.js .sr { opacity: 1 !important; transform: none !important; transition: none !important; }
}
