/*
  Pages copied from the live site (next/copied.js): the live page's content styled by /site.css, brought into the
  new design here. Loaded after base.css; everything is scoped to body.nx-copied, so no other /next page changes.
*/
.nx-copied {
  --frame: var(--page);             /* same page width as the rest of /next (1600px) */
  --font-sans: var(--font);
  --font-display: var(--font);
}

/* Undo base.css element resets that site.css does not make (lists keep their bullets, icons stay inline), at element weight. */
:where(.nx-copied main) :is(ul, ol) { list-style: revert; }
:where(.nx-copied main) svg { display: revert; }

/* Buttons: the new pill buttons (base.css .btn) */
.nx-copied main .button {
  height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 550; letter-spacing: -0.01em;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.nx-copied main .button:hover { transform: translateY(-1px); border-color: var(--ink-4); box-shadow: var(--shadow-1); background: var(--bg); }
.nx-copied main .button.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.nx-copied main .button.primary:hover { background: #1c1c22; border-color: #1c1c22; opacity: 1; box-shadow: 0 8px 24px -8px rgb(109 40 217 / 0.55); }
.nx-copied main .button.ghost { border-color: transparent; }
.nx-copied main .button.lg { height: 52px; padding: 0 24px; font-size: 16px; }
.nx-copied main .button.small { height: 36px; padding: 0 14px; font-size: 14px; }

/* =========================================================================
   The copied pages in the new design (owner 2026-11-13). Same markup as the live pages; only the look changes:
   rounder white cards with soft shadows, pastel hero light, violet accents, pill chips, dark closing band.
   ========================================================================= */
.nx-copied main[data-product] {
  --radius-scale: 1.6;                                   /* controls 13px, cards 19px, panels 26px */
  --accent: var(--violet); --accent-ink: var(--violet); --accent-subtle: var(--violet-soft);
  --elev-window: var(--shadow-3);
  --glow-alpha: 85%;
}

/* Type */
.nx-copied main .display { font-weight: 640; letter-spacing: -0.045em; }
.nx-copied main .title { font-weight: 620; letter-spacing: -0.035em; max-width: 22ch; }
.nx-copied main :is(h2, h3) { font-weight: 600; }
.nx-copied main .text-gradient { background-image: linear-gradient(100deg, var(--ink) 35%, #4c1d95 100%); }
.nx-copied main .lead { color: var(--ink-2); }
.nx-copied main .eyebrow { color: var(--violet); }
.nx-copied main .kicker { border-radius: 999px; border-color: var(--violet-line); background: rgb(255 255 255 / .7); color: var(--violet); font-weight: 500; backdrop-filter: blur(6px); }
.nx-copied main .kicker .dot { background: var(--violet); }
.nx-copied main .badge { border-radius: 999px; }

/* Hero: the new pastel light and the square grid, instead of column lines */
.nx-copied main .hero { border-bottom: 0; isolation: isolate; }
.nx-copied main .hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent); }
.nx-copied main .hero > .grid-overlay {
  background: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  -webkit-mask: radial-gradient(ellipse 60% 70% at 30% 40%, #000 10%, transparent 75%); mask: radial-gradient(ellipse 60% 70% at 30% 40%, #000 10%, transparent 75%);
}
.nx-copied main .glow.g-hero { filter: blur(80px); background:
  radial-gradient(30% 45% at 22% 20%, color-mix(in srgb, var(--lilac) 90%, transparent), transparent 70%),
  radial-gradient(26% 40% at 60% 30%, color-mix(in srgb, var(--sky) 70%, transparent), transparent 70%),
  radial-gradient(26% 40% at 85% 70%, color-mix(in srgb, var(--pink) 60%, transparent), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .nx-copied main .glow.g-hero { animation: nx-drift 18s ease-in-out infinite alternate; }
}
@keyframes nx-drift { to { transform: translate(30px, 20px) scale(1.05); } }

/* Sections */
.nx-copied main .section { padding-block: clamp(56px, 7vw, 96px); }
.nx-copied main .section.tight { padding-block: clamp(40px, 5vw, 64px); }
.nx-copied main .section-head { gap: 14px; }

/* Cards: white, rounder, lift on hover */
.nx-copied main .card { background: #fff; border-radius: var(--r-xl); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 200ms; }
.nx-copied main :is(a.card, .card.link, .post-card):hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--violet-line); }
.nx-copied main .post-card .post-link { border-radius: inherit; }
.nx-copied main .card-body { gap: 10px; }
.nx-copied main .go { color: var(--violet); font-weight: 550; }

/* Cells: separate cards instead of a hairline grid */
.nx-copied main .cells { gap: 16px; border: 0; background: none; border-radius: 0; overflow: visible; }
.nx-copied main .cells > * { border: 1px solid var(--border); border-radius: var(--r-xl); background: #fff; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 200ms; }
.nx-copied main .cells > *:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--violet-line); }
.nx-copied main .icon-box { border-radius: 12px; border-color: var(--violet-line); background: var(--violet-soft); color: var(--violet); }
.nx-copied main .num-tag { color: var(--violet); }

/* Screens and pictures */
.nx-copied main .window { border-radius: var(--r-xl); }
.nx-copied main .shot img { border-radius: 14px; }

/* Plan cards, ticks, tags */
.nx-copied main .pro-tag { background: var(--violet); }
.nx-copied main .pro-tick { background: var(--violet-soft); color: var(--violet); }

/* FAQ: like the new pages */
.nx-copied main .faq-list summary { font-size: 17px; font-weight: 550; letter-spacing: -0.01em; }
.nx-copied main .faq-list details[open] summary .icon { color: var(--violet); }
.nx-copied main .faq-list .answer a { color: var(--violet); }

/* Closing call to action: the new dark band with violet light */
.nx-copied main .closing { padding-block: 24px 72px; border-top: 0; overflow: visible; }
.nx-copied main .closing > .glow, .nx-copied main .closing > .grid-overlay { display: none; }
.nx-copied main .closing-inner { max-width: none; padding: clamp(64px, 8vw, 104px) 24px; border-radius: 32px; overflow: hidden; isolation: isolate; color: #c9c3dc;
  background: radial-gradient(50% 70% at 50% 115%, var(--violet) 0%, transparent 70%), radial-gradient(30% 50% at 12% 0%, rgb(236 72 153 / .35), transparent 70%), radial-gradient(30% 50% at 88% 0%, rgb(56 189 248 / .25), transparent 70%), #0d0a1a; }
.nx-copied main .closing-inner > * { max-width: 48rem; }
.nx-copied main .closing h2, .nx-copied main .closing .text-gradient { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.nx-copied main .closing .lead, .nx-copied main .closing .trust, .nx-copied main .closing .muted { color: #c9c3dc; }
.nx-copied main .closing .button { background: transparent; color: #fff; border-color: rgb(255 255 255 / .28); }
.nx-copied main .closing .button:hover { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .6); }
.nx-copied main .closing .button.primary { background: #fff; color: var(--ink); border-color: #fff; }
.nx-copied main .closing .button.primary:hover { box-shadow: 0 10px 30px -8px rgb(139 92 246 / .8); }
.nx-copied main .closing a:not(.button) { color: #fff; }

/* Long reads: blog posts, guides, legal pages */
.nx-copied main .prose a { color: var(--violet); text-decoration-color: var(--violet-line); }
.nx-copied main .prose a:hover { text-decoration-color: var(--violet); }
.nx-copied main .prose h2 { font-weight: 620; letter-spacing: -0.03em; }
.nx-copied main .prose p.tldr { border-left-color: var(--violet); background: var(--violet-soft); border-color: var(--violet-line); }
.nx-copied main .prose blockquote { border-left-color: var(--violet); }
.nx-copied main .prose img { border-radius: 16px; }
.nx-copied main .prose .author-box, .nx-copied main .aside-card { border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-1); }
.nx-copied main .prose li::marker { color: var(--violet); }

/* Tables (comparisons, prices) */
.nx-copied main .table-scroll { border-radius: 16px; }
.nx-copied main table { border-radius: 16px; }

/* Pills: filters, pager, jump links, chips */
.nx-copied main :is(.chips a, .pager a, .pager span, .jump a, .tabs a) { border-radius: 999px; }
.nx-copied main .chips a[aria-current], .nx-copied main .chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.nx-copied main .kicker.border-pastel::before { border-radius: 999px; }

/* Blog posts on phones (SEO audit 2026-11-15): the date line above the title wrapped to two lines only once the mono
   font arrived, pushing the whole post down (layout shift 0.2-0.6). The author goes on its own line from the start. */
@media (max-width: 640px) {
  .post-meta .byline { flex-basis: 100%; font-size: 0; }
  .post-meta .byline a { font-size: .6875rem; }
}
