/* ============================================================
   K2S DESIGN SYSTEM — shared landing brand (ported from k2s.co)
   Scoped under .k2s so it never touches the admin/portal app.
   Fonts loaded via Google Fonts in index.html (Sora / Hanken
   Grotesk / Playfair Display); the var() fallbacks resolve to
   those families when the Next-style font vars are absent.
   ============================================================ */
.k2s {
  --black: #0c0b10;
  --black-2: #141218;
  --ink: #1a1820;
  --muted: #6b6770;
  --line: rgba(20, 18, 24, 0.1);
  --paper: #ffffff;
  --paper-2: #fbf8fa;

  --pink: #ec0e73;
  --pink-2: #ff2d9b;
  --pink-deep: #a30b53;
  --rose: #fbe3ee;

  --grad-btn: linear-gradient(135deg, #ff2d9b 0%, #d6006e 100%);
  --glow: 0 10px 30px -8px rgba(236, 14, 115, 0.55);

  /* Exact k2s.co type system: Sora display · Inter body · Hanken UI/buttons · Playfair italic accents */
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", -apple-system, "system-ui", sans-serif;
  --font-ui: "Hanken Grotesk", -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.k2s *,
.k2s *::before,
.k2s *::after {
  box-sizing: border-box;
}
.k2s a {
  color: inherit;
  text-decoration: none;
}
.k2s img {
  max-width: 100%;
  display: block;
}
.k2s ::selection {
  background: var(--pink);
  color: #fff;
}
.k2s .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* heading helpers */
.k2s .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pink);
}
.k2s .em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

/* buttons */
.k2s .btn {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border-radius: 40px;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.k2s .btn .arr {
  transition: transform 0.25s var(--ease);
}
.k2s .btn:hover .arr {
  transform: translate(3px, -3px);
}
.k2s .btn-pink {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--glow);
}
.k2s .btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(236, 14, 115, 0.7);
}
.k2s .btn-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.k2s .btn-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.k2s .btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.k2s .btn-line:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* ============ NAV ============ */
.k2s .nav-shell {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}
.k2s .nav {
  display: flex;
  align-items: center;
  gap: 26px;
  background: rgba(10, 9, 14, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  padding: 12px 14px 12px 26px;
  box-shadow: 0 24px 60px -30px rgba(236, 14, 115, 0.55);
  max-width: calc(var(--container) - 20px);
  width: 100%;
}
.k2s .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.k2s .brand .mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}
.k2s .brand .mark b {
  color: var(--pink-2);
  font-weight: 600;
}
.k2s .brand .dot {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-btn);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--glow);
}
.k2s .nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}
.k2s .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}
.k2s .nav-links a:hover {
  color: var(--pink-2);
}
.k2s .nav-cta {
  background: var(--grad-btn);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--glow);
  transition: transform 0.2s;
  cursor: pointer;
  border: none;
}
.k2s .nav-cta:hover {
  transform: translateY(-1px);
}
.k2s .nav-ghost {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 11px 8px;
}
.k2s .nav-ghost:hover {
  color: var(--pink-2);
}
.k2s .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ============ HERO (dark aurora) ============ */
.k2s .hero {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 190px 0 96px;
  text-align: center;
  overflow: hidden;
}
.k2s .aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.k2s .aurora::before,
.k2s .aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.85;
}
.k2s .aurora::before {
  width: 780px;
  height: 420px;
  left: -120px;
  top: -60px;
  background: radial-gradient(circle, #8e1fb0, transparent 65%);
}
.k2s .aurora::after {
  width: 820px;
  height: 460px;
  right: -140px;
  top: -40px;
  background: radial-gradient(circle, #ec0e73, transparent 62%);
}
.k2s .aurora .wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1300px;
  height: 600px;
  transform: translate(-50%, -46%);
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(160, 40, 170, 0.55), transparent 60%),
    radial-gradient(ellipse 55% 45% at 70% 45%, rgba(236, 14, 115, 0.5), transparent 60%);
  filter: blur(40px);
  opacity: 0.9;
}
.k2s .hero .wrap {
  position: relative;
  z-index: 1;
}
.k2s .hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 26px;
}
.k2s .hero .pill svg {
  color: var(--pink-2);
}
.k2s .hero .pill .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
.k2s .hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.k2s .hero h1 .em {
  color: #fff;
}
.k2s .hero p.sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
  margin: 24px auto 0;
  line-height: 1.6;
}
.k2s .hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.k2s .hero-stats {
  display: flex;
  gap: 44px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
}
.k2s .hero-stats .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  background: var(--grad-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.k2s .hero-stats .t {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ============ SECTION (light) ============ */
.k2s .section {
  padding: 90px 0;
}
.k2s .sec-head {
  margin-bottom: 46px;
}
.k2s .sec-head.center {
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.k2s .sec-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  margin-top: 12px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.k2s .sec-head h2 .em {
  color: var(--pink-deep);
}
.k2s .sec-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 14px;
  max-width: 56ch;
  line-height: 1.6;
}
.k2s .sec-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============ CARDS (3-up) ============ */
.k2s .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.k2s .card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.k2s .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -30px rgba(20, 18, 24, 0.4);
  border-color: rgba(236, 14, 115, 0.35);
}
.k2s .card .ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--rose);
  color: var(--pink-deep);
}
.k2s .card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 10px;
}
.k2s .card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============ FEATURE GRID (compact) ============ */
.k2s .feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.k2s .feat {
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}
.k2s .feat:hover {
  border-color: var(--line);
  background: var(--paper-2);
}
.k2s .feat .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.k2s .feat h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 7px;
}
.k2s .feat p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============ LIFECYCLE STRIP ============ */
.k2s .lifecycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.k2s .lifecycle .stage {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--pink-deep);
  background: var(--rose);
  padding: 8px 16px;
  border-radius: 40px;
}
.k2s .lifecycle .sep {
  color: rgba(20, 18, 24, 0.25);
}

/* ============ DARK BAND ============ */
.k2s .dark {
  background: var(--black);
  color: #fff;
  padding: 90px 0;
}
.k2s .dark .sec-head h2 {
  color: #fff;
}
.k2s .dark .sec-head h2 .em {
  color: var(--pink-2);
}
.k2s .dark .sec-head p {
  color: rgba(255, 255, 255, 0.55);
}
.k2s .dark .eyebrow {
  color: var(--pink-2);
}
.k2s .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.k2s .step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}
.k2s .step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
}
.k2s .step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ============ PRICING ============ */
.k2s .toggle {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 5px;
  margin: 0 auto 40px;
}
.k2s .toggle button {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.k2s .toggle button.on {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--glow);
}
.k2s .ptable-wrap {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.k2s table.ptable {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
}
.k2s table.ptable th,
.k2s table.ptable td {
  padding: 18px;
  text-align: center;
}
.k2s table.ptable th:first-child,
.k2s table.ptable td:first-child {
  text-align: left;
  color: var(--ink);
  font-weight: 500;
  width: 40%;
}
.k2s table.ptable thead th {
  vertical-align: bottom;
  border-bottom: 1px solid var(--line);
}
.k2s .col-feat {
  background: rgba(236, 14, 115, 0.045);
}
.k2s .tier-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.k2s .tier-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  margin-top: 4px;
}
.k2s .tier-sub {
  font-size: 11.5px;
  color: var(--muted);
}
.k2s .tier-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-btn);
  padding: 4px 10px;
  border-radius: 40px;
  margin-bottom: 8px;
}
.k2s .tier-cta {
  display: inline-block;
  width: 100%;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.k2s .tier-cta.solid {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: var(--glow);
}
.k2s .tier-cta.solid:hover {
  transform: translateY(-1px);
}
.k2s .tier-cta.line {
  border: 1px solid var(--line);
  color: var(--ink);
}
.k2s .tier-cta.line:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.k2s table.ptable tbody tr {
  border-top: 1px solid var(--line);
}
.k2s .chk {
  color: var(--pink);
}
.k2s .dash {
  color: rgba(20, 18, 24, 0.22);
}
.k2s .price-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* ============ CTA BAND ============ */
.k2s .cta-band {
  background: var(--black);
  color: #fff;
  border-radius: 28px;
  padding: 72px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 auto;
}
.k2s .cta-band::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 320px;
  right: -120px;
  top: -80px;
  background: radial-gradient(circle, rgba(236, 14, 115, 0.5), transparent 62%);
  filter: blur(70px);
}
.k2s .cta-band h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}
.k2s .cta-band h2 .em {
  color: var(--pink-2);
}
.k2s .cta-band p {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px auto 0;
  max-width: 46ch;
}
.k2s .cta-band .actions {
  position: relative;
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ============ TRUST STRIP ============ */
.k2s .replaces {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  text-align: center;
}
.k2s .replaces p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ FOOTER ============ */
.k2s .foot {
  background: var(--black);
  color: #fff;
  padding: 64px 0 34px;
}
.k2s .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.k2s .foot .mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.k2s .foot .mark .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--grad-btn);
  display: grid;
  place-items: center;
}
.k2s .foot p.about {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  max-width: 40ch;
  margin-top: 16px;
  line-height: 1.6;
}
.k2s .foot .by {
  color: rgba(255, 255, 255, 0.28);
  font-size: 12.5px;
  margin-top: 22px;
}
.k2s .foot .by a {
  color: var(--pink-2);
  font-weight: 600;
}
.k2s .foot .by a:hover {
  color: #fff;
}
.k2s .foot h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.k2s .foot ul {
  list-style: none;
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
}
.k2s .foot ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.k2s .foot ul a:hover {
  color: #fff;
}
.k2s .foot-bottom {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.k2s .foot-bottom .links {
  display: flex;
  gap: 18px;
}

/* ============ K2S ECOSYSTEM BAND (shared footer) ============ */
/* Unscoped on purpose: `.eco-band` is footer-only, so it works inside the
   k2s .foot AND the static-template dark .footer without an ancestor. */
.eco-band {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.eco-band .eco-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.eco-band .eco-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.eco-band .eco-links a {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  border-radius: 40px;
  transition: all 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  text-decoration: none;
  display: inline-block;
}
.eco-band .eco-links a:hover {
  color: #fff;
  border-color: rgba(236, 14, 115, 0.5);
  background: rgba(236, 14, 115, 0.12);
}
.eco-band .eco-links a.here {
  color: #ff2d9b;
  border-color: rgba(236, 14, 115, 0.4);
  background: rgba(236, 14, 115, 0.1);
  cursor: default;
}

/* ============ MOBILE NAV ============ */
.k2s .nav-mobile {
  display: none;
}
.k2s .nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.k2s .nav-mobile a:last-child {
  border-bottom: none;
}
.k2s .nav-mobile .m-cta {
  margin-top: 8px;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 600;
  border-radius: 40px;
  text-align: center;
  padding: 13px;
  box-shadow: var(--glow);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .k2s .nav-links {
    display: none;
  }
  .k2s .nav {
    position: relative;
    flex-wrap: wrap;
  }
  .k2s .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .k2s .nav-cta,
  .k2s .nav-ghost {
    display: none;
  }
  .k2s .nav-mobile[hidden] {
    display: none;
  }
  .k2s .nav-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: navdrop 0.22s var(--ease);
  }
  @keyframes navdrop {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .k2s .cards-3,
  .k2s .feat-grid,
  .k2s .steps,
  .k2s .foot-grid {
    grid-template-columns: 1fr;
  }
  .k2s .feat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .k2s .hero {
    padding: 150px 0 72px;
  }
  .k2s .foot-grid {
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .k2s .feat-grid {
    grid-template-columns: 1fr;
  }
  .k2s .hero-stats {
    gap: 28px;
  }
}
