/* =========================================================
   MBT bio — styles
   Palette, type and layout follow MBT Brand Guidelines v1.0
   ========================================================= */

:root {
  /* Primary */
  --rich-black: #021B1A;
  --dark-green: #032221;
  --bangladesh: #03624C;   /* logo green */
  --meadow: #2CC295;
  --caribbean: #00DF81;    /* accent, use sparingly */
  --white: #F1F7F6;        /* Anti-Flash White */

  /* Secondary & neutrals */
  --ink: #041010;
  --pine: #06302B;
  --basil: #0B453A;
  --forest: #095544;
  --frog: #17876D;
  --mint: #2FA98C;
  --stone: #707D7D;
  --pistachio: #AACBC4;

  --font: "Outfit", Arial, system-ui, sans-serif;
  --radius: 16px;
  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1200px;
  /* left edge that lines up with .container on wide screens */
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background: var(--ink);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--caribbean);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--light :focus-visible { outline-color: var(--bangladesh); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--caribbean);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type ---------- */

.label {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--meadow);
}
.label--light { color: var(--white); }
.section--light .label { color: var(--bangladesh); }

.display {
  font-size: clamp(4.5rem, 15vw, 8rem);
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.03em;
}

.h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -.02em;
}

.h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
}

.h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.bright { color: var(--caribbean); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 500 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--caribbean); color: var(--ink); }
.btn--primary:hover { background: var(--meadow); }
.btn--outline { border-color: rgba(241, 247, 246, .3); background: transparent; color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: var(--pine); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--basil);
  border-radius: 999px;
  background: transparent;
  color: var(--pistachio);
  font: 500 14px/1 var(--font);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-ghost .icon { width: 16px; height: 16px; }
.btn-ghost:hover { border-color: var(--pistachio); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "panel" "text";
  background: var(--ink);
}

.hero__head {
  grid-area: head;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
}
.hero__logo img { width: auto; height: 36px; }  /* ≈130px wide, above the 120px minimum */

.hero__panel {
  grid-area: panel;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  aspect-ratio: 1 / 1.05;
  background: var(--bangladesh);
}
.hero__chevron {
  position: absolute;
  top: -16%;
  right: -40%;
  width: 118%;
  max-width: none;
}
.hero__photo {
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  width: 58%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #e9e9e9;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  padding: 40px var(--gutter) 48px;
}
.hero__text .display { margin: 4px 0 16px; }
.hero__role {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.33;
  font-weight: 500;
}
.hero__company { margin-top: 4px; color: var(--pistachio); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--pine);
}
.hero__jump a {
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pistachio);
  text-decoration: none;
}
.hero__jump a:hover { color: var(--white); }

@media (max-width: 420px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "head panel" "text panel";
    min-height: min(100svh, 940px);
  }
  .hero__head { padding: 32px 48px 0 var(--edge); }
  .hero__panel { aspect-ratio: auto; min-height: 0; }
  .hero__chevron { top: -10%; right: -42%; width: 125%; }
  .hero__photo { left: 12%; width: min(64%, 420px); }
  .hero__text {
    justify-content: flex-end;
    padding: 64px 48px 72px var(--edge);
  }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--rich { background: var(--rich-black); border-top: 1px solid var(--pine); }
.section--ink { background: var(--ink); }
.section--dark { background: var(--dark-green); }
.section--light { background: var(--white); color: var(--ink); }
.section--green { background: var(--bangladesh); }

.section__head { max-width: 720px; margin-bottom: 48px; }
.section__intro { margin-top: 12px; color: var(--pistachio); }

/* ---------- 01 Bio ---------- */

.bio {
  display: grid;
  gap: 48px;
}
.quote {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.02em;
}
.bio__body p {
  max-width: 60ch;
  font-size: 18px;
  line-height: 28px;
  color: var(--pistachio);
}
.facts { margin-top: 32px; }
.facts div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--pine);
}
.facts dt {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--meadow);
}
.facts dd { font-weight: 500; }

@media (min-width: 900px) {
  .bio { grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }
  .facts div { grid-template-columns: 120px 1fr; gap: 16px; }
}

/* ---------- 02 Gains ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.stats li {
  padding: 24px 0 32px;
  border-top: 1px solid var(--basil);
}
.stats strong {
  display: block;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.03em;
}
.stats span {
  display: block;
  max-width: 22ch;
  margin-top: 12px;
  color: var(--pistachio);
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
}

/* Client logos */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.logos li {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.logos__dark { background: var(--ink) !important; }
.logos__fill { padding: 0 !important; background: #e7e7e7 !important; }
.logos__fill img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.logos__more {
  max-width: 70ch;
  margin-top: 20px;
  color: var(--basil);
}

/* Live work showcase */
.work { margin-top: 72px; }
.work .h3 { margin-bottom: 4px; }
.work__hint { margin-bottom: 24px; color: var(--stone); }

/* phones: swipeable row that bleeds to the screen edge */
.showcase {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 340px);
  gap: 16px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--pistachio) transparent;
}
.showcase li { scroll-snap-align: start; min-width: 0; }

@media (min-width: 600px) {
  .showcase {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}
@media (min-width: 1000px) {
  .showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.shot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  text-decoration: none;
}
.shot__frame {
  display: block;
  padding: 8px;
  border-radius: var(--radius);
  background: #E2ECEA;
  transition: background-color .25s;
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 10px 10px 0 0;
  background: #fff;
  border-bottom: 1px solid #E2ECEA;
}
.shot__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pistachio);
}
.shot__bar span {
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  font-size: 10px;
  line-height: 12px;
  color: var(--forest);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shot__frame img {
  width: 100%;
  aspect-ratio: 800 / 505;
  object-fit: cover;
  object-position: top;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(4, 16, 16, .08);
  transition: transform .4s var(--ease);
}
.shot__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name arrow" "type arrow";
  align-items: center;
  gap: 2px 12px;
  padding-inline: 4px;
}
.shot__name { grid-area: name; font-size: 18px; line-height: 24px; font-weight: 500; }
.shot__type {
  grid-area: type;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bangladesh);
}
.shot__arrow {
  grid-area: arrow;
  color: var(--basil);
  transition: transform .2s var(--ease), color .2s;
}
.shot:hover .shot__frame { background: var(--pistachio); }
.shot:hover .shot__arrow { color: var(--bangladesh); transform: translate(3px, -3px); }
@media (prefers-reduced-motion: no-preference) {
  .shot__frame { overflow: hidden; }
  .shot:hover .shot__frame img { transform: translateY(-2px); }
}

/* ---------- 03 Produk ---------- */

.products { display: grid; gap: 24px; }

/* Each card wears its own product's colours */
.product {
  --bg: var(--pine);
  --accent: var(--caribbean);
  --accent-ink: var(--ink);
  --soft: var(--pistachio);
  --line: rgba(255, 255, 255, .12);
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg);
  color: #fff;
  isolation: isolate;
}
.product--goodhr {
  --bg: linear-gradient(235deg, #22427F 0%, #142852 45%, #0D1830 100%);
  --accent: #E8B24A;
  --accent-ink: #13213F;
  --soft: #B9C7E3;
}
.product--orbit {
  --bg: linear-gradient(115deg, #24197A 0%, #3F2FC4 50%, #6B58EE 100%);
  --accent: #fff;
  --accent-ink: #3B2DBF;
  --soft: #DCD6FF;
  --line: rgba(255, 255, 255, .18);
}

/* ---- screenshot stage ---- */
.stage {
  position: relative;
  display: block;
  padding: 40px 24px 48px;
  text-decoration: none;
}
/* faint dot grid + glow behind the screenshots */
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent) 50% 45% / 90% 80% no-repeat,
    radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.5px) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}

.stage__browser {
  display: block;
  width: 94%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease);
}
.stage__browser .shot__bar { border-radius: 0; }
.stage__browser img { width: 100%; }

.stage__phone {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 29%;
  max-width: 200px;
  padding: 5px;
  border-radius: 24px;
  background: #0B0F14;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease);
}
.stage__phone img { width: 100%; border-radius: 19px; }

/* floating status chips, data taken from each product's own site */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 62%;
  padding: 9px 14px 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #13213F;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .45);
}
.chip small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #6B7A99;
}
.chip__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}
.product--goodhr .chip__dot--accent { background: #E8B24A; box-shadow: 0 0 0 4px rgba(232, 178, 74, .22); }
.product--orbit .chip__dot--accent { background: #7C3AED; box-shadow: 0 0 0 4px rgba(124, 58, 237, .2); }

.product--goodhr .chip--a { top: 18px; left: 40%; }
.product--goodhr .chip--b { bottom: 22px; left: 14px; }
.product--orbit .chip--a { top: 18px; right: 14px; }

/* POS receipt card for Orbitbase */
.receipt {
  position: absolute;
  left: 14px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 6px;
  width: 44%;
  max-width: 230px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #1E1B4B;
  font-size: 11px;
  line-height: 15px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .5);
}
.receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px dashed #D4D0F5;
  font-size: 12px;
  font-weight: 600;
}
.receipt__head em {
  padding: 1px 8px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}
.receipt__row, .receipt__total { display: flex; justify-content: space-between; gap: 8px; }
.receipt__row span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #4B5563; }
.receipt__total {
  padding-top: 6px;
  border-top: 1px dashed #D4D0F5;
  font-size: 13px;
  font-weight: 600;
}
.receipt__note { color: #16A34A; font-weight: 500; }
.receipt__note::before { content: "● "; }

@media (prefers-reduced-motion: no-preference) {
  .chip, .receipt { animation: float 6s ease-in-out infinite alternate; }
  .chip--b { animation-delay: -3s; }
  .receipt { animation-delay: -2s; }
  .product:hover .stage__browser { transform: translateY(-6px); }
  .product:hover .stage__phone { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

/* ---- text side ---- */
.product__body {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 32px;
}
.product__kind {
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--soft);
}
.product__name { margin: 20px 0 14px; line-height: 1; }
.product__logo--goodhr { width: auto; height: 34px; }
.product__logo--orbit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.04em;
}
.product__logo--orbit img {
  width: 44px;
  height: 44px;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
}
.product__wordmark > span { color: #C4B5FD; }

.product__pitch {
  max-width: 34ch;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.01em;
}

.product__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-top: 24px;
}
.product__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 20px;
  color: var(--soft);
}
.product__features .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  stroke-width: 3.5;
}

.product__fit {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 4px 14px 14px 4px;
  background: rgba(255, 255, 255, .07);
}
.product__fit-label {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.product__fit p:last-child { color: #fff; }

/* social proof / trust row */
.product__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--soft);
}
.proof-logos { display: flex; gap: 8px; }
.proof-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  padding: 4px 6px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.proof-logos img { display: block; width: auto; height: auto; max-width: 100%; max-height: 32px; }
.proof-logos__fill { padding: 4px !important; background: #EB1E2D !important; }
.proof-logos__fill img { max-height: 32px; }

.product__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.product__trust li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
  color: var(--soft);
}
.product__trust li::before { content: "✓ "; color: #fff; font-weight: 600; }

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.product__actions .btn { min-height: 50px; }
.product__cta { background: var(--accent); color: var(--accent-ink); }
.product__cta:hover { background: #fff; color: var(--accent-ink); }
.product--orbit .product__cta:hover { background: #EDE9FE; }
.product__cta .icon { transition: transform .2s var(--ease); }
.product__cta:hover .icon { transform: translate(3px, -3px); }
.product__share { border-color: rgba(255, 255, 255, .35); }
.product__share:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.product__refer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .3);
  text-underline-offset: 4px;
}
.product__refer .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.product__refer:hover { color: #fff; text-decoration-color: #fff; }
.product__refer:hover .icon { transform: translate(3px, -3px); }

@media (max-width: 899px) {
  .product--orbit .stage { padding-bottom: 104px; }
  .product--orbit .stage__browser { margin-left: auto; }
  .receipt { width: 52%; bottom: 14px; }
}

@media (max-width: 420px) {
  .product__actions .btn { flex: 1 1 auto; }
  .product__features { grid-template-columns: 1fr; }
  .chip { font-size: 11px; padding: 7px 10px; }
  .product--goodhr .chip--a { left: auto; right: 14px; }
}

@media (min-width: 900px) {
  .products { gap: 32px; }
  .product { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
  .stage { padding: 64px 24px 72px 40px; }
  .stage__browser { width: 100%; }
  .stage__phone { right: 24px; bottom: 32px; }
  .product--goodhr .chip--a { top: 36px; left: 46%; }
  .product--goodhr .chip--b { bottom: 40px; left: 28px; }
  .product--orbit .chip--a { top: 36px; right: 28px; }
  .product--orbit .receipt { left: 0; bottom: 28px; }
  .product--orbit .stage { padding-bottom: 96px; }
  .product__body { padding: 56px 48px 56px 8px; }
  /* Orbitbase: screenshots on the right */
  .product:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .product:nth-child(even) .stage { order: 2; padding: 64px 40px 72px 24px; }
  .product:nth-child(even) .product__body { padding: 56px 8px 56px 48px; }
}

/* ---------- 04 Referral ---------- */

.tiers {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tier {
  --rule: rgba(241, 247, 246, .16);
  --muted: var(--pistachio);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
}
.tier--bread { background: var(--pine); border: 1px solid var(--basil); }
.tier--cheese { background: var(--bangladesh); --muted: rgba(241, 247, 246, .86); }
.tier--meat {
  background: var(--caribbean);
  color: var(--ink);
  --rule: rgba(4, 16, 16, .2);
  --muted: var(--dark-green);
}

.tier__size { display: flex; gap: 8px; margin-bottom: 20px; }
.tier__size i {
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.tier--bread .tier__size i:nth-child(-n+1),
.tier--cheese .tier__size i:nth-child(-n+2),
.tier--meat .tier__size i { background: currentColor; }

.tier__name {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
}
.tier__tag {
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier__lead { font-size: 18px; line-height: 26px; font-weight: 500; }

.tier__list li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}
.tier__list strong {
  display: block;
  font-weight: 500;
  color: var(--white);
}
.tier--meat .tier__list strong { color: var(--ink); }

.tier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-weight: 500;
  text-decoration: none;
}
.tier__cta .icon { transition: transform .2s var(--ease); }
.tier__cta:hover .icon { transform: translate(3px, -3px); }

.trigger {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--pine);
}
.trigger__quotes q {
  display: block;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.025em;
  quotes: "“" "”";
}
.trigger__quotes q + q { margin-top: 8px; }
.trigger__then {
  margin-top: 24px;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--caribbean);
}

/* ---------- 05 Kontak ---------- */

.contact {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
}

.contact__list { display: grid; gap: 8px; }
.contact__row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--basil);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .2s;
}
.contact__row:hover { background: var(--pine); }
.contact__row small {
  display: block;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pistachio);
}
.contact__row--primary { background: var(--caribbean); color: var(--ink); }
.contact__row--primary small { color: var(--dark-green); }
.contact__row--primary:hover { background: var(--meadow); }
.contact__arrow { transition: transform .2s var(--ease); }
.contact__row:hover .contact__arrow { transform: translate(3px, -3px); }

/* ---------- Footer ---------- */

.footer { padding: 40px 0 48px; background: var(--ink); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  font-size: 14px;
  color: var(--pistachio);
}
.footer__logo { margin-right: auto; }
.footer__logo img { width: auto; height: 36px; }

/* ---------- Sticky CTA (phones) ---------- */

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  transform: translateY(calc(100% + 32px));
  transition: transform .35s var(--ease);
}
.sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(2, 27, 26, .55); }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
