*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f8f9fa;
  --white: #ffffff;
  --border: #e8eaed;
  --text: #202124;
  --text-2: #5f6368;
  --text-3: #80868b;
  --blue: #1a73e8;
  --blue-hover: #1765cc;
  --blue-bg: #e8f0fe;
  --green: #1e8e3e;
  --amber: #c26401;
  --amber-bg: #fef7e0;
  --gold: #f9a825;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --font: "Google Sans", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Google Sans Mono", "SFMono-Regular", "Menlo", monospace;
}

html, body {
  min-height: 100%;
}

[hidden] {
  display: none !important;
}

body {
  font-family: var(--font);
  background-color: #f6f8fc;
  background-image:
    radial-gradient(ellipse 70rem 28rem at 50% -12rem, rgba(26, 115, 232, 0.10), transparent 68%),
    radial-gradient(ellipse 54rem 24rem at 50% -8rem, rgba(130, 99, 226, 0.08), transparent 72%),
    linear-gradient(180deg, #f3f6fb 0%, #f7f8fc 42rem, #f8f9fa 100%);
  background-repeat: no-repeat;
  background-size: 100% 40rem, 100% 34rem, 100% 100%;
  color: var(--text);
}

.landing-hero {
  padding: 16px 12px 14px;
  text-align: center;
}

.landing-hero h1 {
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 600;
  color: #182033;
  white-space: nowrap;
}

.product-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0 16px 2px;
}

.product-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
  font-size: 13px;
}

.product-trust svg { color: var(--green); flex: 0 0 auto; }

.how-it-works h2 {
  margin-top: 7px;
  font-size: 25px;
  line-height: 1.2;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.how-grid div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 5px 10px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fbfcff;
}

.how-grid div > span {
  grid-row: 1 / 3;
  align-self: start;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
  font-weight: 600;
}

.how-grid strong { font-size: 14px; }
.how-grid p { color: var(--text-2); font-size: 13px; line-height: 1.45; }

@media (max-width: 700px) {
  .landing-hero { padding: 14px 12px 10px; }
  .landing-hero h1 { font-size: clamp(27px, 8.4vw, 38px); }
  .product-trust { flex-wrap: wrap; justify-content: flex-start; gap: 9px 18px; padding: 2px 4px 4px; }
  .how-grid { grid-template-columns: 1fr; }
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand-wordmark {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  color: #1a5fd0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}

.brand-wordmark::after {
  content: "";
  width: 52px;
  height: 2px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(26, 95, 208, 0), #1a5fd0 25%, #6b7ee8 75%, rgba(107, 126, 232, 0));
}

.layout {
  width: 100%;
  max-width: 900px;
  margin: 12px auto 32px;
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.address-card {
  background: var(--white);
  border: 1px solid #dfe4ec;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(38, 55, 77, .10), 0 2px 6px rgba(38, 55, 77, .06);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ad-card {
  width: 100%;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 20px 24px;
}

.ad-rail {
  display: none;
}

.ad-mobile {
  min-height: 290px;
}

.ad-desktop {
  display: none;
  min-height: 130px;
}

@media (min-width: 768px) {
  .ad-mobile {
    display: none;
  }

  .ad-desktop {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .ad-slot.ad-rail {
    display: block;
    position: fixed;
    top: 144px;
    z-index: 1;
    width: 180px;
    min-height: 0;
    padding: 10px;
  }

  .ad-rail-left {
    left: max(0px, calc(50% - 640px));
  }

  .ad-rail-right {
    right: max(0px, calc(50% - 640px));
  }

  .ad-rail ins,
  .ad-rail iframe {
    display: block;
    width: 160px;
    height: 600px;
    min-height: 0;
  }
}

.address-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.address-info {
  flex: 1;
  min-width: 0;
}

.address-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-badge {
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.address-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.address-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.countdown-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
  background: var(--amber-bg);
  border-radius: 99px;
  padding: 4px 12px;
}

.countdown-label strong {
  font-family: var(--mono);
  color: var(--amber);
}

.mailbox-expired .countdown-label {
  background: #f1f3f4;
}

.mailbox-expired .countdown-label strong {
  color: var(--text-3);
}

.address-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px;
  height: 36px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.1s, box-shadow 0.1s;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-sm {
  height: 30px;
  font-size: 13px;
  padding: 0 12px;
}

.btn-outlined {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--border);
}

.btn-outlined:hover {
  background: var(--blue-bg);
  border-color: #c5d8fb;
}

.btn-filled {
  background: var(--blue);
  color: #fff;
}

.btn-filled:hover {
  background: var(--blue-hover);
  box-shadow: var(--shadow-1);
}

.btn-filled.success {
  background: var(--green);
}

.inbox-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: filter 180ms ease, opacity 180ms ease;
  min-height: 480px; /* Fixed minimum height */
  display: flex;
  flex-direction: column;
}

.inbox-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

/* ... existing code ... */

.msg-list {
  list-style: none;
  flex: 1;
  overflow-y: auto;
}

.msg {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  min-height: 56px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  cursor: pointer;
  transition: background 0.1s;
  animation: slideIn 0.3s ease-out;
}

.msg:hover {
  background: #f8f9fa;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Message Detail View (Gmail Style) */
.msg-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.15s ease;
  background: var(--white);
}

.detail-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: background 0.2s;
}

.btn-icon:hover {
  background: rgba(60, 64, 67, 0.08);
  color: var(--text);
}

.detail-header-gmail {
  padding: 24px 24px 16px;
  flex-shrink: 0;
}

.detail-subject-gmail {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 20px 56px;
  line-height: 1.2;
}

.detail-meta-gmail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.detail-meta-text {
  flex: 1;
  min-width: 0;
}

.detail-from-line {
  font-size: 14px;
  margin-bottom: 2px;
}

.detail-sender-name {
  font-weight: 700;
  color: var(--text);
}

.detail-sender-email {
  color: var(--text-2);
  font-size: 12px;
  margin-left: 4px;
}

.detail-to-line {
  font-size: 12px;
  color: var(--text-2);
}

.detail-date {
  font-size: 12px;
  color: var(--text-2);
}

.msg-read {
  background: #fafafa;
}

.msg-read .msg-from,
.msg-read .msg-subject {
  font-weight: 400;
  color: var(--text-2);
}

/* Gmail Style Improvements */
.msg-item {
  transition: background 0.1s;
}

.msg-item:not(.msg-read) .msg-from,
.msg-item:not(.msg-read) .msg-subject {
  font-weight: 700;
}

/* Mobile Adjustments for Detail View */
@media (max-width: 600px) {
  .detail-subject-gmail {
    margin-left: 0;
    font-size: 18px;
    padding: 0 16px;
  }

  .detail-body-gmail {
    padding: 0 16px 24px;
    font-size: 15px;
  }
  
  .detail-meta-gmail {
    padding: 0 16px;
  }
}

.detail-html-container {
  width: 100%;
  min-height: 420px;
  height: min(70vh, 720px);
  border: none;
  background: #fff;
}

.inbox-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

.inbox-status {
  font-size: 12px;
  color: var(--text-3);
}

.mailbox-expired .address-card,
.mailbox-expired .inbox-card {
  filter: grayscale(1);
  opacity: 0.72;
}

.msg-list {
  list-style: none;
}

.msg {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  min-height: 56px;
  border-bottom: 1px solid var(--border);
  color: inherit;
}

.msg:last-child {
  border-bottom: none;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.msg-body {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.msg-from {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-dash {
  color: var(--text-3);
  flex-shrink: 0;
  font-size: 14px;
}

.msg-subject {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-preview {
  font-size: 14px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.msg-time {
  font-size: 12px;
  color: var(--text-3);
  flex-shrink: 0;
}

.empty {
  padding: 64px 24px;
  text-align: center;
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--blue-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.empty-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 6px;
}

.empty-sub {
  font-size: 14px;
  color: var(--text-3);
}

.expired-actions {
  margin-top: 18px;
}

.expired-actions .btn {
  height: 40px;
  border-radius: 20px;
}

.ad-slot {
  width: 100%;
  min-height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.ad-banner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-banner ins {
  display: block;
  max-width: 100%;
}

@media (max-width: 359px) {
  .ad-mobile {
    padding-inline: 0;
  }
}

.ad-slot--loaded {
  background: var(--border);
}

.ad-placeholder {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.upsell-card {
  background: linear-gradient(135deg, #e8f0fe 0%, #f3e8ff 100%);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #c5d8fb;
}

.upsell-content {
  font-size: 14px;
  color: var(--text-2);
}

.upsell-content strong {
  color: var(--text);
}

.articles-section,
.content-panel {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

.section-link,
.blog-back,
.blog-back-button {
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover,
.blog-back:hover,
.blog-back-button:hover,
.article-card a:hover h3 {
  text-decoration: underline;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.article-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  min-height: 156px;
  overflow: hidden;
}

.article-card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.article-meta {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-card h3 {
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-panels {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seo-copy {
  max-width: none;
}

.seo-copy h2 {
  margin-top: 6px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 600;
}

.seo-copy p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.seo-copy .seo-points {
  margin-top: 20px;
}

.seo-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seo-points div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.seo-points strong,
.faq-list h3 {
  color: var(--text);
  font-weight: 600;
}

.seo-points span {
  display: block;
  margin-top: 6px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

.latest-posts-section,
.faq-list {
  border-top: 0;
}

.latest-posts-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.latest-posts-header h3,
.faq-list h3 {
  font-size: 17px;
  line-height: 1.3;
}

.latest-posts-header p {
  margin-top: 5px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.latest-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.latest-post-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.latest-post-media,
.post-thumb,
.article-hero-media {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 14px;
  background: linear-gradient(135deg, #e8f0fe 0%, #f1f8e9 100%);
  color: var(--text);
  text-decoration: none;
}

.cat-foundational.post-thumb,
.cat-foundational.latest-post-media,
.cat-foundational.article-hero-media {
  background: linear-gradient(135deg, #e3f2fd 0%, #e0f2f1 100%);
}
.cat-foundational .thumb-icon { color: #0288d1; }

.cat-utility-productivity.post-thumb,
.cat-utility-productivity.latest-post-media,
.cat-utility-productivity.article-hero-media {
  background: linear-gradient(135deg, #fff8e1 0%, #fce4ec 100%);
}
.cat-utility-productivity .thumb-icon { color: #f57c00; }

.cat-utility.post-thumb,
.cat-utility.latest-post-media,
.cat-utility.article-hero-media {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}
.cat-utility .thumb-icon { color: #388e3c; }

.cat-tech-advanced.post-thumb,
.cat-tech-advanced.latest-post-media,
.cat-tech-advanced.article-hero-media {
  background: linear-gradient(135deg, #ede7f6 0%, #e8eaf6 100%);
}
.cat-tech-advanced .thumb-icon { color: #5e35b1; }

.cat-security-privacy.post-thumb,
.cat-security-privacy.latest-post-media,
.cat-security-privacy.article-hero-media {
  background: linear-gradient(135deg, #fce4ec 0%, #fff3e0 100%);
}
.cat-security-privacy .thumb-icon { color: #c62828; }

.cat-professional-qa.post-thumb,
.cat-professional-qa.latest-post-media,
.cat-professional-qa.article-hero-media {
  background: linear-gradient(135deg, #eceff1 0%, #e0f7fa 100%);
}
.cat-professional-qa .thumb-icon { color: #546e7a; }

.cat-privacy-security.post-thumb,
.cat-privacy-security.latest-post-media,
.cat-privacy-security.article-hero-media {
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
}
.cat-privacy-security .thumb-icon { color: #c2185b; }

.cat-lifestyle-tech.post-thumb,
.cat-lifestyle-tech.latest-post-media,
.cat-lifestyle-tech.article-hero-media {
  background: linear-gradient(135deg, #e0f7fa 0%, #e3f2fd 100%);
}
.cat-lifestyle-tech .thumb-icon { color: #0097a7; }

.cat-business-professional.post-thumb,
.cat-business-professional.latest-post-media,
.cat-business-professional.article-hero-media {
  background: linear-gradient(135deg, #e8f5e9 0%, #e0f2f1 100%);
}
.cat-business-professional .thumb-icon { color: #2e7d32; }

.thumb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(60, 64, 67, 0.12);
}

.thumb-icon svg {
  width: 34px;
  height: 34px;
}

.thumb-label {
  display: inline-flex;
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 6px 9px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.latest-post-body {
  padding: 16px;
}

.post-category {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.post-category:hover {
  text-decoration: underline;
}

.latest-post-card h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.latest-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.latest-post-card h3 a:hover,
.blog-post-card h2 a:hover {
  color: var(--blue);
}

.latest-post-card p {
  margin-top: 9px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.4;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.faq-list p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.blog-layout {
  width: 100%;
  max-width: 1120px;
  margin: 32px auto;
  padding: 0 16px 32px;
  flex: 1;
}

.blog-index {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 34px 40px;
}

.blog-index-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.blog-index-header .article-meta {
  margin-bottom: 8px;
}

.blog-index-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.blog-index-header h1 {
  color: var(--text);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
}

.blog-index-header p:not(.article-meta) {
  max-width: 560px;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

.blog-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 4px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
}

.blog-chip:hover,
.blog-chip.is-active {
  border-color: #c5d8fb;
  color: var(--blue);
  background: var(--blue-bg);
}

.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
}

.blog-post-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.blog-post-card:last-child {
  border-bottom: 1px solid var(--border);
}

.blog-post-card .post-thumb {
  min-height: 152px;
}

.blog-post-card .post-copy {
  padding: 16px;
}

.blog-post-card h2 {
  margin-top: 9px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.blog-post-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-post-card p:not(.article-meta) {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}

.blog-article {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 34px 44px 44px;
}

.blog-back-form {
  margin-bottom: 22px;
}

.blog-back-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 1px rgba(60, 64, 67, 0.08);
}

.blog-back-button:hover {
  border-color: #c5d8fb;
  background: var(--blue-bg);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: stretch;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.article-hero-copy {
  min-width: 0;
}

.article-hero h1 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 600;
}

.article-dek {
  max-width: 620px;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.6;
}

.article-byline {
  margin-top: 18px;
}

.article-hero-media {
  min-height: 260px;
  border-radius: 10px;
  overflow: hidden;
}

.article-hero-media .thumb-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
}

.article-hero-media .thumb-icon svg {
  width: 46px;
  height: 46px;
}

.article-content {
  max-width: 720px;
  margin: 34px auto 0;
}

.article-content h1 {
  display: none;
}

.article-content h2 {
  margin: 32px 0 12px;
  color: var(--text);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 600;
}

.article-content h3 {
  margin: 24px 0 10px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.article-content p,
.article-content li,
.article-content blockquote {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.78;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 22px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.article-content a {
  color: var(--blue);
}

.article-content blockquote {
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin: 24px 0;
  background: var(--blue-bg);
  color: var(--text);
}

.article-content code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: #f1f3f4;
  border-radius: 4px;
  padding: 2px 5px;
}

.article-content pre {
  background: #f1f3f4;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  padding: 12px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-sticky {
  margin-top: auto;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  color: var(--text-3);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}

.legal-layout {
  width: 100%;
  max-width: 860px;
  margin: 32px auto;
  padding: 0 16px 32px;
  flex: 1;
}

.legal-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: 32px 28px;
}

.legal-card h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 24px;
}

.legal-card h2 {
  font-size: 20px;
  margin: 24px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 15px;
}

.legal-card ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-card a {
  color: var(--blue);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .brand-wordmark { margin-top: 23px; font-size: 22px; }

  .address-card {
    flex-wrap: wrap;
  }

  .address-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .msg-avatar {
    display: none;
  }

  .inbox-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .upsell-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-grid,
  .article-grid-full {
    grid-template-columns: 1fr;
  }

  .seo-points {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
  }

  .latest-posts-header,
  .blog-index-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-post-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-card {
    min-width: 0;
  }

  .post-thumb {
    min-height: 150px;
  }

  .blog-article {
    padding: 24px 20px;
  }

  .article-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 26px;
  }

  .article-hero h1 {
    font-size: 32px;
  }

  .article-dek {
    font-size: 16px;
  }

  .article-hero-media {
    min-height: 190px;
  }

  .article-content {
    margin-top: 26px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .blog-index {
    padding: 24px 20px;
  }

  .blog-index-header h1 {
    font-size: 30px;
  }

  .blog-post-card h2 {
    font-size: 22px;
  }

  .legal-card {
    padding: 24px 20px;
  }

  .legal-card h1 {
    font-size: 28px;
  }
}
