@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

/* NovaPicksMedia — shared site styles */

:root {
  --space: #0a0f1f;
  --space-2: #111a36;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --ink: #0f172a;
  --text: #475569;
  --muted: #64748b;
  --line: #e4e8f4;
  --bg: #f6f7fc;
  --card: #ffffff;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
}

a {
  color: var(--indigo);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.wide {
  max-width: 1120px;
}

/* ---------- Header (light, translucent) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand b {
  font-weight: 500;
  color: var(--indigo);
}

.brand:hover {
  text-decoration: none;
}

.logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--grad);
  box-shadow: 0 6px 18px -6px rgba(124, 58, 237, 0.8);
}

.logo svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  color: #475569;
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--indigo);
}

.site-nav a.pill {
  margin-left: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(124, 58, 237, 1);
}

.site-nav a.pill[aria-current="page"] {
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.9);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 16px 34px -14px rgba(124, 58, 237, 0.95);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px -14px rgba(124, 58, 237, 1);
}

.btn-glass {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.35);
}

.btn-glass:hover {
  border-color: rgba(79, 70, 229, 0.5);
}

.btn-light {
  background: #ffffff;
  color: #3730a3;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.6);
}

/* ---------- Inner pages (about, contact, privacy, ...) ---------- */

main.container {
  padding-top: 64px;
  padding-bottom: 96px;
}

main.container h1 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

main.container h2 {
  margin: 38px 0 10px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

main.container p,
main.container li {
  color: var(--text);
  font-size: 1.04rem;
}

main.container a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

main.container ul {
  padding-left: 22px;
}

main.container .eyebrow {
  color: var(--indigo);
  font-size: 0.78rem;
}

main.container .page-title em {
  font-style: normal;
  color: var(--indigo);
}

main.container .page-lead {
  max-width: 640px;
}

/* ---------- Eyebrow ---------- */

.eyebrow {
  margin: 0;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Home: hero (light: sea green to soft yellow) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--ink);
  border-radius: 0 0 40px 40px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background:
    radial-gradient(640px 340px at 10% 4%, rgba(94, 234, 212, 0.6), transparent 70%),
    radial-gradient(600px 320px at 92% 2%, rgba(253, 224, 71, 0.55), transparent 70%),
    linear-gradient(180deg, #dcf7ee 0%, #eefaea 52%, #fff7d6 100%);
}

.hero .container {
  position: relative;
  padding-top: 88px;
  padding-bottom: 92px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #0f5f58;
  font-size: 0.74rem;
}

.hero .eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22);
}

.hero h1 {
  max-width: 880px;
  margin: 26px auto 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.grad {
  background: linear-gradient(120deg, #0f766e 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 660px;
  margin: 0 auto 36px;
  color: #334155;
  font-size: 1.14rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  color: #3b4a63;
  font-size: 0.92rem;
}

.checks li::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 9px;
  vertical-align: -2px;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>");
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
}

.section.white {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  margin: 12px 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

/* ---------- Site cards (bento grid) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bento > li {
  grid-column: span 2;
}

.bento > li:nth-child(n + 4) {
  grid-column: span 3;
}

.bento > li:nth-child(n + 4) .thumb {
  aspect-ratio: 16 / 9;
}

.site-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 12px 30px -22px rgba(15, 23, 42, 0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-card:hover {
  text-decoration: none;
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 34px 60px -30px rgba(79, 70, 229, 0.55);
}

.thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef0fb;
  border-bottom: 1px solid var(--line);
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.site-card:hover .thumb img {
  transform: scale(1.05);
}

/* Product photo on a soft tile (Recommended page) */
.thumb.product {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, #ffffff 0, #ebe8ff 75%);
}

.thumb.product img {
  width: 62%;
  height: auto;
  max-height: 86%;
  object-fit: contain;
}

/* Designed tile (no photo) */
.thumb.tile {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%);
}

.thumb.tile::before,
.thumb.tile::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.thumb.tile::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -50px;
}

.thumb.tile::after {
  width: 150px;
  height: 150px;
  bottom: -60px;
  left: -30px;
}

.thumb.tile svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thumb.tile span {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 26px;
}

.tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef0fb;
  color: #3730a3;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.recipes { background: #fff0e4; color: #9a3412; }
.tag.ai      { background: #f1ebff; color: #5b21b6; }
.tag.calc    { background: #dff7f3; color: #0f766e; }
.tag.crypto  { background: #fff4d6; color: #92400e; }
.tag.picks   { background: #ffe6ef; color: #9d174d; }
.tag.sleep   { background: #e3ecff; color: #1e40af; }

.card-body h3 {
  margin: 14px 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.card-body p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--text);
  font-size: 0.97rem;
}

.go {
  color: var(--indigo);
  font-size: 0.92rem;
  font-weight: 600;
}

.go span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.site-card:hover .go span {
  transform: translateX(5px);
}

/* Recommended-products page: same cards in an auto-fill grid */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

main.container .cards-grid {
  padding-left: 0;
}

/* Cards keep their own colours/sizes inside the generic page-content rules. */
main.container .site-card,
main.container .site-card:hover {
  color: inherit;
  text-decoration: none;
}

main.container .card-body p {
  font-size: 0.97rem;
}

/* ---------- Trust cards ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.trust-card .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 12px 24px -12px rgba(124, 58, 237, 0.8);
}

.trust-card .ico svg {
  width: 22px;
  height: 22px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.trust-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.97rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 24px 0 96px;
}

.band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 52px 56px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(120deg, #4338ca 0%, #7c3aed 60%, #a21caf 100%);
  box-shadow: 0 40px 70px -40px rgba(79, 70, 229, 0.8);
}

.band::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -90px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}

.band > * {
  position: relative;
}

.band > div {
  flex: 1 1 380px;
  min-width: 0;
}

.band .btn {
  flex: none;
}

.band h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.band p {
  margin: 0;
  max-width: 520px;
  color: #e4defc;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 60px 0 36px;
  background: var(--space);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9fb0d4;
  font-size: 0.95rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .brand b {
  color: #a5b4fc;
}

.site-footer a:focus-visible {
  outline-color: var(--cyan);
}

.footer-note {
  max-width: 340px;
  margin: 16px 0 0;
  color: #8a9bc2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  max-width: 460px;
}

.footer-links a {
  color: #d6def2;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-legal {
  margin: 26px 0 0;
  color: #6f80a8;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento > li,
  .bento > li:nth-child(n + 4) {
    grid-column: span 1;
  }

  .bento > li:last-child {
    grid-column: span 2;
  }

  .bento > li:nth-child(n + 4) .thumb {
    aspect-ratio: 16 / 10;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .site-nav a:not(.pill) {
    display: none;
  }

  .site-nav a.pill {
    margin-left: 0;
    padding: 9px 16px;
    font-size: 0.88rem;
  }

  .site-header .brand {
    gap: 9px;
    font-size: 1.05rem;
  }

  .site-header .logo {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .hero {
    border-radius: 0 0 28px 28px;
  }

  .hero .container {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento > li:last-child {
    grid-column: span 1;
  }

  .cta-band {
    padding-bottom: 64px;
  }

  .band {
    padding: 34px 24px;
  }

  main.container {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-card,
  .thumb img,
  .go span,
  .btn,
  .site-nav a.pill {
    transition: none;
  }

  .site-card:hover,
  .site-card:hover .thumb img,
  .site-card:hover .go span,
  .btn:hover,
  .site-nav a.pill:hover {
    transform: none;
  }
}

/* Anchor targets sit clear of the sticky header */
#picks,
#sites {
  scroll-margin-top: 76px;
}

/* Pinterest board links */
.board-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.board-list a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.board-list a:hover { border-color: var(--indigo); color: var(--indigo); }
