/* PinkLinq marketing site — one stylesheet, no framework. Colours measured from the brand board. */
:root {
  /* the PinkLinq brand board: navy text, pink-white page, green primary, pink secondary, hot-pink logo */
  --ink: #0a0c37;
  --ink-2: #2a2b58;
  --ink-3: #4a4b72;
  --paper: #fdf4fc;
  --card: #ffffff;
  --line: #f3e3ef;
  --lime: #8ab800;
  --lime-deep: #e0004f;
  --pink: #ff4d9a;
  --hot: #fd005d;
  --mint: #fee5f4;
  --sky: #eaf7d7;
  --peach: #ffeadb;
  --night: #20143b;
  --shadow: rgb(90 40 110 / 12%);
  --radius: 20px;
  --max: 1180px;
  --display: 'Poppins', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 700;
}
h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
}
h3 {
  font-size: 22px;
  font-weight: 650;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}
.muted {
  color: var(--ink-3);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-deep);
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  /* full-screen on a phone (the app, some browsers): stay clear of the status bar */
  padding-top: env(safe-area-inset-top);
  background: rgb(255 255 255 / 84%);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.brand img {
  width: auto;
  height: 56px;
}
.nav {
  display: flex;
  gap: 24px;
  margin-left: 12px;
}
.nav a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.top .actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  white-space: nowrap;
  border: 1px solid var(--pink);
  border-radius: 999px;
  background-color: var(--pink);
  background-image: linear-gradient(180deg, rgb(255 255 255 / 16%), rgb(0 0 0 / 5%));
  color: #fff;
  font: 600 15px var(--display);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px var(--shadow);
}
.btn.lime {
  border-color: var(--lime);
  background-color: var(--lime);
  color: #ffffff;
}
.btn.ghost {
  border-color: #ffc2dd;
  background: #fff;
  color: var(--lime-deep);
}
.menu-toggle {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0 96px;
  overflow: hidden;
}
/* the board's soft waves along the bottom of the hero */
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 150px;
  background: url('/assets/wave.svg') no-repeat bottom / 100% 100%;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 64%, rgb(255 77 154 / 30%) 64%);
}
.hero .lead {
  max-width: 540px;
  margin: 22px 0 30px;
  color: var(--ink-2);
  font-size: 20px;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .fine {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 14px;
}
.stage {
  position: relative;
  min-height: 560px;
}
.stage .desk {
  position: absolute;
  top: 30px;
  left: 0;
  width: 132%;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 80px var(--shadow);
  overflow: hidden;
  background: #fff;
}
.phone {
  position: relative;
  width: 260px;
  padding: 10px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 30px 70px rgb(90 40 110 / 26%);
}
.phone img {
  border-radius: 34px;
}
.stage .phone {
  position: absolute;
  right: -10px;
  bottom: -20px;
  z-index: 2;
}
.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob--pink {
  top: -80px;
  right: 10%;
  width: 420px;
  height: 420px;
  background: #ffc9e0;
}
.blob--green {
  bottom: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: #e3f2b8;
}
/* the infinity ribbon, big and soft, behind the hero */
.ribbon {
  position: absolute;
  top: -60px;
  left: 44%;
  z-index: -1;
  width: 560px;
  height: 560px;
  background: url('/assets/ribbon.svg') no-repeat center / contain;
  pointer-events: none;
}

/* ---------- sections ---------- */
section {
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 19px;
}
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.strip {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: #fff;
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-weight: 600;
}
.strip li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--lime-deep);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.split + .split {
  margin-top: 110px;
}
.split.reverse > :first-child {
  order: 2;
}
.split h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}
.split p.copy {
  margin: 18px 0 22px;
  color: var(--ink-2);
  font-size: 18px;
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 10px;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.shot {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px var(--shadow);
  overflow: hidden;
  background: #fff;
}
.panel {
  position: relative;
  padding: 36px;
  overflow: hidden;
  border-radius: 28px;
}
.panel::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: url('/assets/ribbon.svg') no-repeat center / contain;
  pointer-events: none;
}
.panel > * {
  position: relative;
  z-index: 1;
}
.panel.mint {
  background: var(--mint);
}
.panel.sky {
  background: var(--sky);
}
.panel.peach {
  background: var(--peach);
}
.panel .phone {
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
/* the board's glossy tiles */
.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 15px;
  background-image: linear-gradient(180deg, rgb(255 255 255 / 22%), rgb(0 0 0 / 7%));
  box-shadow: 0 6px 14px var(--shadow);
  color: #fff;
}
.tile--pink {
  background-color: #fe2488;
}
.tile--green {
  background-color: #77b509;
}
.tile--purple {
  background-color: #a268fa;
}
.tile--orange {
  background-color: #fe873a;
}
.tile--sky {
  background-color: #16b5f4;
}
.tile--cyan {
  background-color: #06c5ca;
}
.tile--amber {
  background-color: #fbb50f;
}
.tile--coral {
  background-color: #ff8a65;
}
.plan-tag {
  margin-top: 12px;
  color: var(--lime-deep);
  font-size: 13px;
  font-weight: 600;
}
.card h3 {
  font-size: 19px;
}
.card p {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 15.5px;
}

/* a soft pink band, white cards on it */
.band {
  background: linear-gradient(180deg, #ffe6f4 0%, var(--paper) 100%);
}
.band .card {
  border-color: transparent;
  box-shadow: 0 8px 24px var(--shadow);
}

/* ---------- pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.plan.hot {
  border: 2px solid var(--pink);
  box-shadow: 0 20px 50px var(--shadow);
}
.plan .badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan h3 {
  font-size: 24px;
}
.plan .price {
  margin: 14px 0 4px;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan .price small {
  color: var(--ink-3);
  font: 500 15px var(--body);
}
.plan .limits {
  margin: 4px 0 18px;
  color: var(--ink-2);
  font-size: 15px;
}
.plan ul {
  flex: 1;
  margin: 0 0 22px;
  font-size: 15px;
}
.plan .btn {
  width: 100%;
}
.compare {
  margin-top: 56px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.compare table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare tbody th {
  font-weight: 500;
  text-align: left;
}
.compare thead th {
  position: sticky;
  top: 72px;
  background: #fff;
  font-family: var(--display);
  font-size: 18px;
}
.compare .group th {
  padding-top: 22px;
  background: var(--paper);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}
.yes {
  color: var(--lime-deep);
  font-weight: 700;
}
.no {
  color: #c9c7d9;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--lime-deep);
  font-size: 26px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding: 0 0 22px;
  color: var(--ink-2);
}

/* ---------- CTA + form ---------- */
.cta-band {
  padding: 72px 0;
}
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  padding: 56px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(160deg, #ff4d9a, #fc1472);
  box-shadow: 0 24px 60px rgb(252 20 114 / 28%);
  color: #fff;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-card h2 {
  color: #fff;
}
.cta-card p {
  margin-top: 16px;
  color: #fff;
  font-size: 18px;
}
form.lead {
  display: grid;
  gap: 12px;
}
form.lead .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form.lead input,
form.lead select,
form.lead textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 15px var(--body);
}
form.lead input::placeholder,
form.lead textarea::placeholder {
  color: var(--ink-3);
}
form.lead .hp {
  position: absolute;
  left: -9999px;
}
form.lead .status {
  min-height: 22px;
  font-size: 14px;
}

/* ---------- download ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 16px;
  background: var(--night);
  color: #fff;
  text-decoration: none;
}
.store small {
  display: block;
  color: #e6def5;
  font-size: 12px;
}
.store strong {
  font-size: 18px;
}
.store.soon {
  opacity: 0.6;
}

/* ---------- legal ---------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal h1 {
  font-size: 48px;
}
.legal h2 {
  margin: 40px 0 12px;
  font-size: 26px;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal p + p {
  margin-top: 12px;
}
.note {
  margin: 24px 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--peach);
  font-size: 15px;
}

/* ---------- footer ---------- */
footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-line {
  max-width: 320px;
  margin-top: 12px;
}
footer h4 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer a {
  color: var(--ink-2);
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}
footer .base {
  margin-top: 40px;
  color: var(--ink-3);
  font-size: 14px;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap,
  .split,
  .cta-card {
    grid-template-columns: 1fr;
  }
  .split.reverse > :first-child {
    order: 0;
  }
  .stage {
    min-height: 460px;
  }
  .stage .desk {
    width: 100%;
  }
  .grid,
  .plans {
    grid-template-columns: 1fr 1fr;
  }
  footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .top .wrap {
    gap: 10px;
    height: 68px;
    padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  }
  .brand img {
    height: 42px;
  }
  .top .btn {
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .ribbon {
    display: none;
  }
  body {
    font-size: 16px;
  }
  .nav,
  .top .actions .ghost {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: none;
    font-size: 26px;
    cursor: pointer;
  }
  .top .actions {
    margin-left: 0;
  }
  .top.open .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .top.open .nav a {
    padding: 12px 0;
    font-size: 18px;
  }
  .wrap {
    padding: 0 16px;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding-top: 40px;
  }
  .stage {
    min-height: 380px;
  }
  .stage .phone {
    width: 170px;
    right: 0;
  }
  .grid,
  .plans,
  form.lead .row {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 32px 22px;
  }
  .panel {
    padding: 24px;
  }
  .phone {
    width: 220px;
  }
}

/* ---------- status ---------- */
.status-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.status-card .state {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
}
.status-card .state.ok::before,
.status-card .state.down::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--lime-deep);
}
.status-card .state.down::before {
  background: var(--hot);
}
.bars {
  display: grid;
  grid-template-columns: repeat(90, 1fr);
  gap: 2px;
  margin: 24px 0 8px;
}
.bar {
  height: 36px;
  border-radius: 3px;
  background: #efe7f2;
}
.bar.ok {
  background: var(--lime);
}
.bar.warn {
  background: #ffca44;
}
.bar.down {
  background: var(--hot);
}
.status-card .modules {
  margin-top: 28px;
}
.status-card .modules h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.status-card .modules ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.status-card .modules li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.status-card .modules li span:first-child {
  text-transform: none;
}
.mod-state {
  font-weight: 600;
  white-space: nowrap;
}
.mod-state.operational {
  color: #2f7d00;
}
.mod-state.degraded {
  color: #a86f00;
}
.mod-state.outage {
  color: var(--lime-deep);
}
.status-card .incident {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 4px solid #ffca44;
  border-radius: 10px;
  background: #fff8e1;
}
.status-card .incident p {
  margin: 4px 0 0;
}

/* the narrowest phones: the logo gives way so nothing spills over */
@media (max-width: 380px) {
  .brand img {
    height: 34px;
  }
  .top .btn {
    padding: 0 12px;
  }
}
