/*
Theme Name: Chase Now
Theme URI: https://chasenow.app/
Author: Chase Now Labs, Inc.
Author URI: https://chasenow.app/about
Description: Conversion-focused marketing theme for the Chase Now browser extension. Ships a full single-page landing template, legal document templates, SEO metadata, JSON-LD and a one-click demo content installer.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chase-now
Tags: landing-page, one-column, custom-logo, custom-menu, featured-images, full-width-template, accessibility-ready, block-styles
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --ink-900: #0d1026;
  --ink-800: #15183a;
  --ink-700: #262a57;
  --ink-500: #4b5078;
  --ink-400: #6b7194;
  --ink-300: #9aa0bd;
  --line: #e7e9f3;
  --line-strong: #d7dbeb;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eef0f8;
  --brand-700: #3c2ad6;
  --brand-600: #4f3df5;
  --brand-500: #6a5bff;
  --brand-200: #d7d1ff;
  --brand-100: #ece9ff;
  --mint-700: #0b7d58;
  --mint-600: #0f9d6e;
  --mint-500: #14b981;
  --mint-100: #dcf6ea;
  --gold-500: #f5a623;
  --gold-100: #fdf0d8;
  --rose-500: #f2506b;
  --rose-100: #ffe4e9;

  --sky-1: #ffe3bd;
  --sky-2: #ffd6d9;
  --sky-3: #d9e9e0;
  --sky-4: #cdc9f6;

  --font-sans: "Chase Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Chase Display", "Chase Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 40px;

  --shadow-xs: 0 1px 2px rgba(13, 16, 38, 0.06);
  --shadow-sm: 0 2px 8px rgba(13, 16, 38, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(13, 16, 38, 0.18);
  --shadow-lg: 0 32px 70px -30px rgba(13, 16, 38, 0.3);
  --shadow-glow: 0 24px 60px -24px rgba(79, 61, 245, 0.45);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 8vw, 120px);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

::selection {
  background: var(--brand-200);
  color: var(--ink-900);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink-800);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-600);
  text-decoration: none;
}

a:hover {
  color: var(--brand-700);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

blockquote,
figure {
  margin: 0;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-3);
  border-radius: 6px;
  padding: 0.15em 0.4em;
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cn-skip {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -200%);
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.18s ease;
}

.cn-skip:focus {
  color: #fff;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.cn-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.cn-container--narrow {
  max-width: 860px;
}

.cn-section {
  padding-block: var(--section-y);
  position: relative;
}

.cn-section--tight {
  padding-block: clamp(40px, 5vw, 72px);
}

.cn-center {
  text-align: center;
}

.cn-heading {
  max-width: 720px;
}

.cn-heading--center {
  margin-inline: auto;
  text-align: center;
}

.cn-eyebrow {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 18px;
}

.cn-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.cn-h1 {
  font-size: clamp(38px, 6.4vw, 74px);
  letter-spacing: -0.032em;
}

.cn-h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.cn-h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: -0.022em;
}

.cn-h4 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.cn-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-500);
  line-height: 1.6;
  max-width: 58ch;
}

.cn-heading--center .cn-lede {
  margin-inline: auto;
}

.cn-muted {
  color: var(--ink-400);
}

.cn-gradient-text {
  background: linear-gradient(94deg, var(--brand-600) 8%, #a05ce6 46%, var(--gold-500) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cn-note {
  font-size: 13px;
  color: var(--ink-400);
}

/* ==========================================================================
   4. Buttons & pills
   ========================================================================== */
.cn-btn {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.cn-btn:active {
  transform: translateY(1px);
}

.cn-btn svg {
  flex: none;
}

.cn-btn--primary {
  background: var(--ink-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cn-btn--primary:hover {
  background: #05071b;
  color: #fff;
  box-shadow: 0 18px 40px -18px rgba(13, 16, 38, 0.55);
}

.cn-btn--brand {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.cn-btn--brand:hover {
  color: #fff;
  filter: saturate(1.08);
}

.cn-btn--soft {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--ink-800);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.cn-btn--soft:hover {
  background: #fff;
  color: var(--ink-900);
}

.cn-btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-800);
}

.cn-btn--outline:hover {
  border-color: var(--ink-300);
  color: var(--ink-900);
}

.cn-btn--light {
  background: #fff;
  color: var(--ink-900);
}

.cn-btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.cn-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.cn-btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.cn-btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

.cn-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cn-btn-row--center {
  justify-content: center;
}

.cn-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface-3);
  color: var(--ink-500);
  border: 1px solid transparent;
}

.cn-pill--mint {
  background: var(--mint-100);
  color: var(--mint-700);
}

.cn-pill--brand {
  background: var(--brand-100);
  color: var(--brand-700);
}

.cn-pill--gold {
  background: var(--gold-100);
  color: #8a5a06;
}

.cn-pill--rose {
  background: var(--rose-100);
  color: #ad1f3c;
}

.cn-pill--outline {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink-500);
}

/* ==========================================================================
   5. Site header
   ========================================================================== */
.cn-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.cn-topbar.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(13, 16, 38, 0.07);
  padding: 8px 0;
}

/* Brand hairline: the identity gradient signs the sticky header. */
.cn-topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--brand-500) 42%, var(--mint-500));
  transition: opacity 0.25s ease;
}

.cn-topbar.is-stuck::after {
  opacity: 1;
}

.cn-topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cn-brand img,
.cn-brand svg {
  height: 30px;
  width: auto;
}

.cn-brand__text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.cn-nav {
  margin-inline: auto;
}

.cn-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.cn-nav__list a {
  font-family: var(--font-display);
  display: block;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  transition: background 0.16s ease, color 0.16s ease;
}

.cn-nav__list a:hover,
.cn-nav__list .current-menu-item > a {
  background: var(--surface-3);
  color: var(--ink-900);
}

.cn-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cn-topbar__login {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 6px;
}

.cn-burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.cn-burger span {
  display: block;
  width: 17px;
  height: 1.8px;
  background: var(--ink-800);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.cn-burger span::before,
.cn-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.8px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.cn-burger span::before {
  top: -5.5px;
}

.cn-burger span::after {
  top: 5.5px;
}

.cn-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  padding: 88px var(--gutter) 32px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  overflow-y: auto;
}

.cn-drawer.is-open {
  display: block;
}

.cn-drawer ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.cn-drawer ul a {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 650;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}

.cn-drawer .cn-btn {
  width: 100%;
}

body.cn-drawer-open {
  overflow: hidden;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.cn-hero {
  position: relative;
  padding-top: clamp(120px, 15vw, 172px);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}

.cn-hero__sky {
  position: absolute;
  inset: 0 0 auto;
  height: min(1180px, 138%);
  z-index: -2;
  background:
    radial-gradient(120% 70% at 12% 0%, rgba(255, 227, 189, 0.95) 0%, rgba(255, 227, 189, 0) 60%),
    radial-gradient(100% 62% at 88% 4%, rgba(255, 214, 217, 0.9) 0%, rgba(255, 214, 217, 0) 62%),
    radial-gradient(110% 70% at 50% 34%, rgba(205, 201, 246, 0.92) 0%, rgba(205, 201, 246, 0) 68%),
    linear-gradient(180deg, #fff3e0 0%, #ffe6e4 22%, #e6ecec 48%, #d9d6f7 70%, #ffffff 100%);
}

.cn-hero__mountains {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(300px, 40vw, 520px);
  z-index: -1;
  width: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.cn-hero__head {
  text-align: center;
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}

.cn-hero h1 {
  font-size: clamp(36px, 6.2vw, 76px);
  letter-spacing: -0.032em;
  line-height: 1.02;
}

.cn-hero__line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 14px;
}

.cn-hero__lede {
  margin: 22px auto 0;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink-700);
  max-width: 60ch;
}

.cn-hero .cn-btn-row {
  margin-top: 28px;
}

.cn-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-500);
}

.cn-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cn-hero__trust svg {
  flex: none;
}

/* Floating inline UI chips inside the headline */
.cn-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
  background: #fff;
  border: 1px solid rgba(231, 233, 243, 0.9);
  border-radius: 14px;
  padding: 9px 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-700);
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}

.cn-chip small {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: var(--ink-400);
  letter-spacing: 0;
}

.cn-chip__dot {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mint-100);
  color: var(--mint-700);
}

.cn-chip__dot--brand {
  background: var(--brand-100);
  color: var(--brand-700);
}

.cn-chip--tilt-a {
  transform: rotate(-3.5deg);
  animation: cn-float 7s ease-in-out infinite;
}

.cn-chip--tilt-b {
  transform: rotate(2.8deg);
  animation: cn-float 8.5s ease-in-out -2s infinite;
}

@keyframes cn-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

.cn-hero__shot {
  margin-top: clamp(40px, 5vw, 64px);
  position: relative;
}

.cn-hero__shot-frame {
  position: relative;
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13, 16, 38, 0.06);
  background: #fff;
}

.cn-hero__shot-frame img {
  width: 100%;
}

.cn-hero__shot-pop {
  position: absolute;
  right: 1.5%;
  bottom: -7%;
  width: min(212px, 23%);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  background: #fff;
}

/* ==========================================================================
   7. Logo strip
   ========================================================================== */
.cn-logos {
  padding-block: clamp(40px, 5vw, 72px);
}

.cn-logos__label {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 26px;
}

.cn-logos__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px) clamp(16px, 3vw, 40px);
  align-items: center;
  justify-items: center;
}

.cn-logos__grid img {
  height: 34px;
  width: auto;
  opacity: 0.72;
  filter: saturate(0);
  transition: opacity 0.2s ease;
}

.cn-logos__grid img:hover {
  opacity: 1;
}

/* ==========================================================================
   8. Connector between chapters
   ========================================================================== */
.cn-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-block: 8px;
}

.cn-connector__line {
  width: 1px;
  height: clamp(36px, 4.5vw, 68px);
  background: linear-gradient(180deg, rgba(120, 127, 170, 0) 0%, var(--line-strong) 100%);
}

.cn-connector__line--out {
  background: linear-gradient(180deg, var(--line-strong) 0%, rgba(120, 127, 170, 0) 100%);
}

.cn-connector__node {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.cn-chapter {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.cn-chapter .cn-lede {
  margin-inline: auto;
  margin-top: 14px;
}

/* ==========================================================================
   9. Bento grid
   ========================================================================== */
.cn-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.cn-bento-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 26px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cn-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.cn-bento-card--6 {
  grid-column: span 6;
}

.cn-bento-card--8 {
  grid-column: span 8;
}

.cn-bento-card--5 {
  grid-column: span 5;
}

.cn-bento-card--7 {
  grid-column: span 7;
}

.cn-bento-card--12 {
  grid-column: span 12;
}

.cn-bento-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.cn-bento-card__media img {
  width: 100%;
}

.cn-bento-card__body {
  margin-top: auto;
}

.cn-bento-card__body h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.cn-bento-card__body p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.55;
}

.cn-bento-card--wide {
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.cn-bento-card--wide .cn-bento-card__media {
  flex: 1 1 56%;
  min-width: 0;
}

.cn-bento-card--wide .cn-bento-card__body {
  flex: 1 1 44%;
  margin: 0;
}

.cn-bento-card--wide .cn-bento-card__body h3 {
  font-size: clamp(21px, 2vw, 26px);
}

/* ==========================================================================
   10. Stat band
   ========================================================================== */
.cn-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(79, 61, 245, 0.1) 0%, rgba(79, 61, 245, 0) 60%),
    var(--surface-2);
  border: 1px solid var(--line);
}

.cn-stat__num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  line-height: 1;
}

.cn-stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-500);
}

/* ==========================================================================
   11. Tools / platforms
   ========================================================================== */
.cn-tools {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.cn-tools__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cn-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--shadow-xs);
}

.cn-tool-chip__glyph {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 750;
  color: #fff;
  background: var(--ink-700);
  letter-spacing: 0;
}

.cn-tool-chip--muted {
  color: var(--ink-400);
  background: var(--surface-2);
  box-shadow: none;
}

/* ==========================================================================
   11b. Cards, networks & issuers
   ========================================================================== */
#cards {
  isolation: isolate;
}

#cards::before {
  content: "";
  position: absolute;
  inset: 4% 0 auto;
  height: 70%;
  z-index: -1;
  background: url("assets/img/brand-glow.svg") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.cn-networks {
  margin-top: clamp(26px, 3vw, 40px);
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(79, 61, 245, 0.07) 0%, rgba(79, 61, 245, 0) 62%),
    var(--surface);
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.cn-networks__label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.cn-networks__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 54px);
}

.cn-networks__row img {
  height: 30px;
  width: auto;
}

.cn-networks__note {
  display: inline-flex;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--ink-400);
  max-width: 62ch;
}

.cn-networks__note svg {
  flex: none;
  margin-top: 2px;
  color: var(--mint-600);
}

.cn-card-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.cn-card-tile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cn-card-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.cn-card-tile > img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 24px -12px rgba(13, 16, 38, 0.45);
}

.cn-card-tile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.cn-card-tile__body h3 {
  font-size: 18px;
}

.cn-card-tile__issuer {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-400);
}

.cn-card-tile__rewards {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.5;
}

.cn-card-tile--more {
  grid-column: 1 / -1;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(79, 61, 245, 0.1) 0%, rgba(79, 61, 245, 0) 60%),
    var(--surface);
  border-style: dashed;
  border-color: var(--line-strong);
}

.cn-card-tile--more .cn-card-tile__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px clamp(18px, 3vw, 34px);
}

.cn-card-tile--more h3 {
  grid-column: 2;
  grid-row: 1;
}

.cn-card-tile--more .cn-card-tile__rewards {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.cn-card-tile--more .cn-btn {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.cn-card-tile__count {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand-600);
}

.cn-issuers {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
}

.cn-issuers__label {
  margin: 0 0 clamp(18px, 2vw, 26px);
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.cn-issuers__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 36px);
  align-items: center;
  justify-items: center;
}

.cn-issuers__grid img {
  height: 32px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cn-issuers__grid img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.cn-issuers__legal {
  margin: clamp(22px, 3vw, 32px) auto 0;
  max-width: 92ch;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

/* ==========================================================================
   12. Personas
   ========================================================================== */
.cn-personas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.cn-persona {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cn-persona__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-600);
}

.cn-persona h3 {
  font-size: 17px;
}

.cn-persona p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

.cn-persona__meta {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--mint-700);
  background: var(--mint-100);
  border-radius: 999px;
  padding: 5px 11px;
  align-self: flex-start;
}

/* ==========================================================================
   13. Dark "hardened" section
   ========================================================================== */
.cn-fortify {
  border-radius: var(--radius-2xl);
  padding: clamp(32px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(90% 120% at 84% 6%, rgba(122, 96, 255, 0.55) 0%, rgba(122, 96, 255, 0) 55%),
    radial-gradient(70% 90% at 12% 92%, rgba(79, 61, 245, 0.5) 0%, rgba(79, 61, 245, 0) 60%),
    linear-gradient(160deg, #14173a 0%, #1b1550 52%, #4a2ae0 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cn-fortify h2,
.cn-fortify h3 {
  color: #fff;
}

.cn-fortify__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 52px);
}

.cn-fortify__lede {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  margin-top: 16px;
  max-width: 42ch;
}

.cn-fortify__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
}

.cn-fortify-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 18px;
  backdrop-filter: blur(2px);
}

.cn-fortify-card svg {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 26px;
}

.cn-fortify-card h3 {
  font-size: 16.5px;
  letter-spacing: -0.015em;
  line-height: 1.28;
}

.cn-fortify-card code {
  background: rgba(255, 255, 255, 0.16);
  color: #f1efff;
}

.cn-fortify-card p {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.5;
}

/* ==========================================================================
   14. Simplicity split
   ========================================================================== */
.cn-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.cn-steps {
  margin-top: 30px;
  display: grid;
  gap: 22px;
}

.cn-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
}

.cn-step__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-100);
  color: var(--brand-700);
}

.cn-step h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.cn-step p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.55;
}

.cn-split__media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: clamp(14px, 1.6vw, 22px);
  box-shadow: var(--shadow-md);
}

.cn-split__media img {
  border-radius: var(--radius-sm);
  width: 100%;
}

/* ==========================================================================
   15. Testimonials
   ========================================================================== */
.cn-quotes-wrap {
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(205, 201, 246, 0.4) 0%, rgba(205, 201, 246, 0) 70%),
    url("assets/img/brand-pattern.svg") 0 0 / 240px 240px repeat,
    var(--surface-2);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 64px) clamp(18px, 3vw, 48px);
}

.cn-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.cn-quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.cn-quote__stars {
  display: flex;
  gap: 3px;
  color: var(--gold-500);
}

.cn-quote p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700);
}

.cn-quote__person {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 11px;
}

.cn-quote__person img {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  flex: none;
}

.cn-quote__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}

.cn-quote__role {
  font-size: 12.5px;
  color: var(--ink-400);
}

/* ==========================================================================
   16. Award badges
   ========================================================================== */
.cn-awards__title {
  margin-top: clamp(40px, 5vw, 72px);
  text-align: center;
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.02em;
}

.cn-awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 2.4vw, 34px);
  margin-top: clamp(26px, 3vw, 40px);
}

.cn-awards img {
  height: clamp(116px, 13vw, 152px);
  width: auto;
}

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.cn-faq {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin-inline: auto;
}

.cn-faq details {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cn-faq details[open] {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.cn-faq summary {
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.cn-faq summary::-webkit-details-marker {
  display: none;
}

.cn-faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink-400);
  border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.cn-faq details[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
}

.cn-faq__answer {
  padding: 0 0 18px;
  font-size: 15.5px;
  color: var(--ink-500);
  line-height: 1.62;
  max-width: 72ch;
}

/* ==========================================================================
   18. Final CTA
   ========================================================================== */
.cn-cta {
  position: relative;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  margin-top: clamp(40px, 6vw, 96px);
  padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(48px, 6vw, 88px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(70% 90% at 50% -10%, rgba(178, 149, 255, 0.85) 0%, rgba(178, 149, 255, 0) 62%),
    radial-gradient(60% 80% at 8% 0%, rgba(123, 78, 240, 0.7) 0%, rgba(123, 78, 240, 0) 60%),
    linear-gradient(180deg, #2a1f63 0%, #191c46 40%, #14163a 100%);
}

.cn-cta__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto clamp(20px, 2.4vw, 28px);
  filter: drop-shadow(0 18px 40px rgba(13, 16, 38, 0.45));
}

.cn-cta h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 60px);
}

.cn-cta p {
  margin: 16px auto 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 1.3vw, 18px);
}

.cn-cta .cn-btn-row {
  margin-top: 30px;
}

.cn-cta__micro {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   19. Footer
   ========================================================================== */
.cn-footer {
  background: #14163a;
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(40px, 5vw, 72px) 0 36px;
}

.cn-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.cn-footer__brand img {
  height: 42px;
  width: auto;
}

.cn-footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
  line-height: 1.6;
}

.cn-footer h2,
.cn-footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.cn-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.cn-footer a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
}

.cn-footer a:hover {
  color: #fff;
}

.cn-footer__bottom {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.cn-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}

.cn-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cn-footer__social {
  display: flex;
  gap: 8px;
}

.cn-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cn-footer__social a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cn-footer__disclaimer {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
  max-width: 96ch;
}

/* ==========================================================================
   20. Inner pages (legal, generic, 404)
   ========================================================================== */
.cn-page-hero {
  position: relative;
  padding: clamp(120px, 14vw, 168px) 0 clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, #fff5e6 0%, #f3eefb 46%, #ffffff 100%);
}

.cn-page-hero__crumbs {
  font-size: 13px;
  color: var(--ink-400);
  margin-bottom: 14px;
}

.cn-page-hero__crumbs a {
  color: var(--ink-500);
  font-weight: 600;
}

.cn-page-hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
}

.cn-page-hero__summary {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-500);
  max-width: 62ch;
}

.cn-page-hero__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cn-legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 56px) var(--section-y);
}

.cn-toc {
  position: sticky;
  top: 104px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.cn-toc__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 12px;
}

.cn-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.cn-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  line-height: 1.35;
}

.cn-toc a:hover {
  background: #fff;
  color: var(--ink-900);
}

.cn-prose {
  font-size: 16.5px;
  color: var(--ink-700);
  line-height: 1.72;
  max-width: 76ch;
}

.cn-prose h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 44px;
  margin-bottom: 12px;
  scroll-margin-top: 110px;
}

.cn-prose h2:first-child {
  margin-top: 0;
}

.cn-prose h3 {
  font-size: 19px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.cn-prose ul,
.cn-prose ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}

.cn-prose li {
  margin-bottom: 8px;
}

.cn-prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cn-prose strong {
  color: var(--ink-900);
}

.cn-table-scroll {
  margin: 18px 0 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xs);
}

.cn-prose .legal-table,
.cn-prose table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.cn-prose th,
.cn-prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.cn-prose th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}

.cn-legal__foot-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

.cn-legal__foot {
  margin-top: 46px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-500);
}

.cn-error {
  padding: clamp(140px, 18vw, 220px) 0 var(--section-y);
  text-align: center;
}

.cn-error__code {
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
}

.cn-entry-meta {
  font-size: 14px;
  color: var(--ink-400);
  margin-bottom: 8px;
}

/* WordPress core content classes */
.alignleft {
  float: left;
  margin: 6px 24px 18px 0;
}

.alignright {
  float: right;
  margin: 6px 0 18px 24px;
}

.aligncenter {
  margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption {
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 8px;
}

.sticky,
.gallery-caption,
.bypostauthor {
  display: block;
}

/* ==========================================================================
   20b. Spacing utilities + cookie consent banner
   ========================================================================== */
.cn-mt-sm {
  margin-top: 12px;
}

.cn-mt-md {
  margin-top: 22px;
}

.cn-mt-lg {
  margin-top: clamp(28px, 4vw, 56px);
}

.cn-center {
  text-align: center;
}

.cn-mx-auto {
  margin-inline: auto;
}

.cn-prose--page {
  padding-block: clamp(32px, 4vw, 56px) var(--section-y);
}

.cn-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 120;
  width: min(680px, calc(100vw - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: cn-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cn-consent[hidden] {
  display: none;
}

.cn-consent__body {
  flex: 1 1 320px;
}

.cn-consent__body strong {
  display: block;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.cn-consent__body p {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.5;
}

.cn-consent__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@keyframes cn-rise {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ==========================================================================
   21. Reveal animation
   ========================================================================== */
.cn-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cn-reveal.is-in {
  opacity: 1;
  transform: none;
}

.no-js .cn-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .cn-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   22. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .cn-nav {
    display: none;
  }

  .cn-burger {
    display: inline-flex;
  }

  .cn-topbar__inner {
    justify-content: space-between;
  }

  .cn-topbar__login {
    display: none;
  }

  .cn-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cn-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .cn-bento-card,
  .cn-bento-card--5,
  .cn-bento-card--7,
  .cn-bento-card--8 {
    grid-column: span 6;
  }

  .cn-bento-card--wide {
    grid-column: span 12;
  }

  .cn-fortify__layout,
  .cn-tools,
  .cn-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .cn-split__media {
    order: 2;
  }

  .cn-quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-card-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-issuers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cn-personas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-legal {
    grid-template-columns: minmax(0, 1fr);
  }

  .cn-toc {
    position: static;
  }

  .cn-logos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .cn-hero__shot-pop {
    display: none;
  }

  .cn-chip {
    font-size: 11.5px;
    padding: 7px 11px;
    border-radius: 12px;
  }

  .cn-chip__dot {
    width: 22px;
    height: 22px;
  }

  .cn-bento-card,
  .cn-bento-card--5,
  .cn-bento-card--6,
  .cn-bento-card--7,
  .cn-bento-card--8 {
    grid-column: span 12;
  }

  .cn-bento-card--wide {
    flex-direction: column;
    align-items: stretch;
  }

  .cn-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-quotes,
  .cn-personas,
  .cn-card-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .cn-issuers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-networks__row {
    gap: 18px 28px;
  }

  .cn-card-tile--more .cn-card-tile__body {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cn-card-tile--more .cn-btn {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

  .cn-fortify__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cn-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cn-hero__trust {
    gap: 6px 14px;
    font-size: 12.5px;
  }

  /* The header CTA does not fit next to the burger on phones; the drawer carries it. */
  .cn-topbar__actions > .cn-btn {
    display: none;
  }

  .cn-topbar {
    padding: 10px 0;
  }

  .cn-btn {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .cn-logos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-awards img {
    height: 84px;
  }
}

@media print {
  .cn-topbar,
  .cn-cta,
  .cn-footer__social,
  .cn-toc {
    display: none !important;
  }

  body {
    color: #000;
  }
}
