
    /* HERO */
    .page-hero {
      padding-top: 64px;
      padding-bottom: 56px;
      padding-left: 24px;
      padding-right: 24px;
      margin-top: 61px;
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
      color: #fff; text-align: center;
    }
    .page-hero img {
      width: 52px; height: 52px; object-fit: contain;
      margin-bottom: 16px; opacity: 0.95;
    }
    .page-hero h1 {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      line-height: 1.15; margin-bottom: 10px;
    }
    .page-hero p {
      font-size: 0.9rem; font-weight: 300; opacity: 0.88;
    }

    /* CONTENT */
    .page-content {
      max-width: 780px; margin: 0 auto;
      padding: 64px 24px 100px;
    }

    .section-block {
      margin-bottom: 56px;
    }

    .section-block h2 {
      font-family: 'DM Serif Display', serif;
      font-size: 1.55rem; font-weight: 400;
      color: var(--text); margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }

    .section-block p {
      font-size: 0.92rem; color: var(--muted);
      line-height: 1.85; margin-bottom: 14px;
    }

    .feedback-link {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
      transition: opacity 0.2s ease;
    }
    
    .feedback-link:hover {
      opacity: 0.8;
    }
    
    .feedback-link:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }

    .section-block ul {
      list-style: none; margin-top: 6px;
    }

    .section-block ul li {
      font-size: 0.92rem; color: var(--muted);
      padding: 7px 0 7px 20px;
      border-bottom: 1px solid var(--border);
      position: relative; line-height: 1.6;
    }

    .section-block ul li::before {
      content: '→';
      position: absolute; left: 0;
      color: var(--accent); font-weight: 600;
    }

    .disclosure-box {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
      border-radius: 8px;
      padding: 20px 24px;
      margin-top: 6px;
    }

    .disclosure-box p {
      margin-bottom: 0;
      font-size: 0.85rem;
    }

    /* ── LEGAL PAGES: privacy-policy, terms-and-conditions ── */
    .legal-meta {
      font-size: 0.75rem;
      color: var(--muted);
      margin-bottom: 48px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }

    .legal-section {
      margin-bottom: 44px;
    }

    .legal-section h2 {
      font-family: 'DM Serif Display', serif;
      font-size: 1.3rem;
      font-weight: 400;
      color: var(--text);
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }

    .legal-section p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.9;
      margin-bottom: 12px;
    }

    .legal-section ul {
      list-style: none;
      margin: 8px 0 12px;
    }

    .legal-section ul li {
      font-size: 0.88rem;
      color: var(--muted);
      padding: 5px 0 5px 18px;
      position: relative;
      line-height: 1.7;
    }

    .legal-section ul li::before {
      content: '·';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-weight: 700;
      font-size: 1.1rem;
    }

    .highlight-box {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
      border-radius: 8px;
      padding: 18px 22px;
      margin: 16px 0;
    }

    .highlight-box p {
      margin-bottom: 0;
      font-size: 0.84rem;
    }

    /* BACK LINK */
    .back-link {
      display: inline-flex; align-items: center; gap: 6px;
      margin-bottom: 40px;
      font-size: 0.78rem; font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--accent); text-decoration: none;
      transition: gap 0.2s;
    }
    .back-link:hover { gap: 10px; }

    /* ── SAVED PAGE ── */
    .saved-hero {
      padding: 56px 24px 48px;
      margin-top: 61px;
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
      color: #fff;
      text-align: center;
    }

    .saved-hero h1 {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      line-height: 1.15;
      margin-bottom: 10px;
    }

    .saved-hero p {
      font-size: 0.9rem;
      font-weight: 300;
      opacity: 0.88;
    }

    .saved-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 48px 24px 80px;
    }

    #savedPinsGrid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
    }

    .empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 80px 24px;
      gap: 16px;
    }

    .empty-state h2 {
      font-family: 'DM Serif Display', serif;
      font-size: 1.6rem;
      font-weight: 400;
      color: var(--text);
    }

    .empty-state p {
      font-size: 0.9rem;
      color: var(--muted);
      max-width: 320px;
      line-height: 1.7;
    }

    .browse-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 11px 24px;
      background: var(--accent);
      color: #fff;
      border-radius: 999px;
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.03em;
      transition: opacity 0.2s, transform 0.18s;
    }

    .browse-btn:hover {
      opacity: 0.88;
      transform: translateY(-1px);
    }

    /* Saved page card meta tags */
    .meta-row {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }

    .meta-tag {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 2px 7px;
    }

    /* Card styles needed on saved page (duplicated from global.css scope) */
    .saved-wrap .card {
      display: flex;
      flex-direction: column;
      border-radius: 14px;
      overflow: hidden;
      background: var(--card);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      text-decoration: none;
      color: inherit;
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .saved-wrap .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    }

    .saved-wrap .card-img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
    }

    .saved-wrap .card-body {
      padding: 12px 14px 14px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }

    .saved-wrap .card h3 {
      font-size: 0.82rem;
      font-weight: 500;
      color: var(--text);
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .saved-wrap .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: auto;
    }

    .saved-wrap .card-cta {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--accent);
      letter-spacing: 0.02em;
    }

    .saved-wrap .save-btn {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: transparent;
      border: 1px solid var(--border);
      cursor: pointer;
      color: var(--accent);
      transition: background 0.2s, transform 0.15s;
      flex-shrink: 0;
    }

    .saved-wrap .save-btn:hover {
      background: var(--bg2);
      transform: scale(1.1);
    }

    .saved-wrap .save-btn svg {
      width: 13px;
      height: 13px;
      fill: var(--accent);
      stroke: var(--accent);
    }

    @media (max-width: 600px) {
      #savedPinsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }

      .saved-wrap {
        padding: 32px 16px 60px;
      }
    }

    /* FOOTER */
    .site-footer {
      width: 100%;
      margin-top: 80px;
    
      background: var(--card);
      border-top: 1px solid var(--border);
    
      padding: 34px 24px;
    }
    
    .footer-inner {
      max-width: 1180px;
      margin: 0 auto;
    
      text-align: center;
    
      font-size: 0.72rem;
      color: var(--muted);
    }
    
    .footer-inner a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
    
      transition: opacity 0.2s ease;
    }
    
    .footer-inner a:hover {
      opacity: 0.8;
    }

    /* ── SUBPAGE HEADER ── */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 200;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 40px;
      background: var(--card);
      border-bottom: 1px solid var(--border);
      backdrop-filter: blur(8px);
      transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                  background 0.35s, color 0.35s;
      will-change: transform;
    }

    header.header-hidden {
      transform: translateY(-110%);
    }

    /* ── MOBILE HAMBURGER ── */
    .mobile-menu-btn {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 4px;
      border-radius: 6px;
      transition: background 0.2s;
    }

    .mobile-menu-btn:hover { background: var(--bg2); }

    .mobile-menu-btn span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--muted);
      border-radius: 2px;
      transition: background 0.2s;
    }

    .mobile-menu-btn:hover span { background: var(--accent); }

    /* ── MOBILE NAV DRAWER ── */
    .mobile-nav-drawer {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      z-index: 99999;
      pointer-events: none;
      visibility: hidden;
      transition: visibility 0s linear 0.35s;
    }

    .mobile-nav-drawer.open {
      pointer-events: all;
      visibility: visible;
      transition: visibility 0s linear 0s;
    }

    .mobile-nav-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.4);
      backdrop-filter: blur(3px);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .mobile-nav-drawer.open .mobile-nav-overlay { opacity: 1; }

    .mobile-nav-panel {
      position: fixed;
      top: 0; right: 0;
      width: 260px;
      max-width: 82vw;
      height: 100vh;
      background: var(--card);
      border-left: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: -8px 0 48px rgba(0,0,0,0.18);
      will-change: transform;
      z-index: 1;
    }

    .mobile-nav-drawer.open .mobile-nav-panel { transform: translateX(0); }

    .mobile-nav-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
    }

    .mobile-nav-title {
      font-family: 'DM Serif Display', serif;
      font-size: 1rem;
      color: var(--text);
    }

    .mobile-nav-close {
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      background: transparent; border: none;
      cursor: pointer; color: var(--muted);
      font-size: 1.3rem; border-radius: 50%;
      transition: background 0.2s, color 0.2s;
    }

    .mobile-nav-close:hover { background: var(--bg2); color: var(--accent); }

    .mobile-nav-links {
      display: flex;
      flex-direction: column;
      padding: 12px 0;
      flex: 1;
    }

    .mobile-nav-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 20px;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text);
      border-bottom: 1px solid var(--border);
      transition: background 0.18s, color 0.18s;
    }

    .mobile-nav-link:last-child { border-bottom: none; }
    .mobile-nav-link:hover { background: var(--bg2); color: var(--accent); }
    .mobile-nav-link svg { flex-shrink: 0; opacity: 0.7; }

    .mobile-nav-divider {
      height: 1px;
      background: var(--border);
      margin: 8px 20px;
    }

    .sub-page-nav {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .sub-page-nav-link {
      display: inline-flex;
      align-items: center;
      padding: 6px 14px;
      border-radius: 999px;
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--muted);
      background: transparent;
      border: 1px solid transparent;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }

    .sub-page-nav-link:hover {
      color: var(--accent);
      border-color: var(--border);
      background: var(--bg2);
    }

    .sub-nav-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .sub-saved-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 36px;
      padding: 0 14px;
      border-radius: 999px;
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--muted);
      background: transparent;
      border: none;
      transition: color 0.2s ease, transform 0.18s ease;
      white-space: nowrap;
    }

    .sub-saved-btn:hover { color: var(--accent); transform: translateY(-1px); }

    .theme-btn {
      background: transparent;
      border: none;
      transition: color 0.2s, transform 0.18s;
    }

    .theme-btn:hover { color: var(--accent); transform: scale(1.15); }

    /* Footer */
    .site-footer { margin-top: 0; }

    .sub-footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      padding-bottom: 20px;
      margin-bottom: 16px;
      border-bottom: 1px solid var(--border);
    }

    .sub-footer-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: 'DM Serif Display', serif;
      font-size: 1rem;
      color: var(--text);
    }

    .sub-footer-links {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .sub-footer-links a {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .sub-footer-links a:hover { color: var(--accent); }

    .sub-back-top {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 7px 16px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s, transform 0.15s;
    }

    .sub-back-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

    .sub-footer-copy {
      font-size: 0.7rem;
      color: var(--muted);
      opacity: 0.7;
      text-align: center;
    }

    .footer-inner { padding: 28px 40px 24px; max-width: 1200px; }

    @media (max-width: 768px) {
      .sub-page-nav { display: none; }
      .mobile-menu-btn { display: flex; }
    }

    @media (min-width: 769px) {
      .mobile-menu-btn { display: none !important; }
      .mobile-nav-drawer { visibility: hidden !important; pointer-events: none !important; }
    }

    @media (max-width: 600px) {
      header { padding: 12px 18px; }
      .logo { font-size: 1.25rem; }
      .logo-img { width: 34px; height: 34px; }
      .page-hero { padding: 48px 20px 40px; }
      .page-content { padding: 40px 20px 72px; }
      .footer-inner { padding: 24px 20px 20px; }
      .sub-footer-top { flex-direction: column; align-items: flex-start; gap: 12px; }
      .sub-footer-links { gap: 12px; }

      /* Legal pages mobile */
      .legal-section h2 { font-size: 1.1rem; }
      .legal-section p,
      .legal-section ul li { font-size: 0.85rem; }
      .highlight-box { padding: 14px 16px; }
      .legal-meta { margin-bottom: 32px; }

      /* Section blocks mobile */
      .section-block h2 { font-size: 1.25rem; }
      .section-block p,
      .section-block ul li { font-size: 0.88rem; }
    }