.page-main { padding-top: 82px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 164, 27, .13), transparent 24%),
    linear-gradient(135deg, #f8fbf6 0%, #fff 56%, #eef5ed 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 410px;
  height: 410px;
  border: 2px dashed rgba(0, 80, 80, .12);
  border-radius: 50%;
}

.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) .7fr; gap: 90px; align-items: end; }
.page-hero h1 { max-width: 830px; margin-bottom: 26px; font-size: clamp(3rem, 6vw, 5.4rem); }
.page-hero h1 em { display: block; }
.page-lead { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-aside { position: relative; z-index: 2; padding: 28px; color: white; background: var(--teal); border-radius: 20px; box-shadow: var(--shadow); }
.hero-aside strong { display: block; margin-bottom: 8px; color: var(--orange); font-family: Georgia, serif; font-size: 17px; }
.hero-aside p { margin: 0; color: #cae0dd; font-size: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; color: #687673; font-size: 12px; font-weight: 700; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden="true"] { color: #9eaaa7; }
.primary-nav a[aria-current="page"]::after { right: 0 !important; }

.page-section { padding: 90px 0; }
.page-section.soft { background: var(--cream); }
.page-section.pale { background: var(--pale); }
.page-section.teal { color: white; background: var(--teal); }
.page-section.compact { padding-block: 64px; }
.content-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 95px; align-items: start; }
.content-grid.reverse { grid-template-columns: 1.2fr .8fr; }
.content-grid > .section-heading { position: sticky; top: 120px; }
.section-heading h2 em { display: block; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.page-section.teal .section-heading p:not(.eyebrow) { color: #c5dcda; }

.prose { color: var(--muted); font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 64px 0 20px; color: var(--ink); font-size: clamp(2rem, 3.7vw, 3rem); }
.prose h3 { margin: 38px 0 12px; color: var(--ink); font-size: 22px; }
.prose h4 { margin: 30px 0 10px; color: var(--ink); font-size: 17px; }
.prose p, .prose li { line-height: 1.75; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 32px 0; padding: 22px 26px; color: var(--teal); background: var(--pale); border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; font-family: Georgia, serif; font-size: 20px; }
.prose blockquote p { margin: 0; }
.prose hr { margin: 55px 0; border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; margin: 30px 0; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 15px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.prose th { color: var(--teal); background: var(--pale); }
.prose code { padding: 2px 5px; color: var(--teal); background: #edf3ef; border-radius: 5px; font-size: .9em; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.info-card { position: relative; min-height: 235px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.info-card.teal { color: white; background: var(--teal); border-color: var(--teal); }
.info-card.orange { background: #fff8ea; border-color: #f7ddb2; }
.info-card .card-number { display: block; margin-bottom: 28px; color: var(--orange-dark); font-family: Georgia, serif; font-size: 14px; }
.info-card h2, .info-card h3 { margin-bottom: 12px; font-size: 21px; letter-spacing: -.02em; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; }
.info-card.teal p { color: #c5dcda; }
.info-card .text-link { margin-top: 24px; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 24px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { z-index: 1; display: grid; width: 49px; height: 49px; place-items: center; color: var(--teal); background: var(--pale); border: 1px solid #d4e4ce; border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.timeline-item h3 { margin: 3px 0 8px; font-size: 20px; }
.timeline-item p { margin: 0; color: var(--muted); }

.check-list { display: grid; gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 18px 20px 18px 52px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 13px; line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; top: 17px; left: 18px; display: grid; width: 23px; height: 23px; place-items: center; color: var(--teal); background: var(--pale); border-radius: 50%; font-weight: 900; }

.notice { margin: 0 0 35px; padding: 22px 25px; background: #fff8e9; border: 1px solid #f0d39f; border-radius: 15px; color: #695126; }
.notice strong { display: block; margin-bottom: 5px; color: #654100; }
.notice.draft { background: #fff3f0; border-color: #efc0b6; color: #74483f; }
.notice.draft strong { color: #892f1f; }

.cta-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 52px 58px; color: white; background: var(--teal); border-radius: 25px; }
.cta-band h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.1rem); }
.cta-band h2 em { color: var(--orange); }
.cta-band p { max-width: 650px; margin: 0; color: #c5dcda; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; color: var(--ink); font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; color: var(--teal); border: 1px solid var(--line); border-radius: 50%; font-size: 19px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 55px 22px 0; color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; min-height: 420px; overflow: hidden; flex-direction: column; color: inherit; background: white; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 50, 50, .09); }
.blog-card-visual { position: relative; min-height: 175px; overflow: hidden; background: var(--pale); }
.blog-card-visual::before { content: ""; position: absolute; inset: 30px 40px; border: 2px dashed rgba(0, 80, 80, .18); border-radius: 50%; }
.blog-card-visual::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 5px; background: repeating-linear-gradient(90deg, var(--orange), var(--orange) 9px, transparent 9px, transparent 18px); transform: rotate(-8deg); }
.blog-card:nth-child(2) .blog-card-visual { background: #edf4f2; }
.blog-card:nth-child(3) .blog-card-visual { background: #fff6e5; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 16px; color: #71807c; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-card h2, .blog-card h3 { margin-bottom: 13px; font-size: 23px; letter-spacing: -.025em; }
.blog-card p { color: var(--muted); font-size: 14px; }
.blog-card .read-more { margin-top: auto; color: var(--teal); font-weight: 800; }

.article-hero { padding-bottom: 60px; }
.article-shell { display: grid; grid-template-columns: 220px minmax(0, 750px); justify-content: center; gap: 70px; }
.article-aside { position: sticky; top: 120px; align-self: start; }
.article-aside p { margin-bottom: 6px; color: #71807c; font-size: 12px; }
.article-aside strong { display: block; margin-bottom: 24px; color: var(--ink); font-size: 14px; }
.article-aside nav { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-aside a { color: var(--muted); font-size: 13px; text-decoration: none; }
.article-aside a:hover { color: var(--teal); text-decoration: underline; }
.article-body { color: #35433f; font-size: 18px; }
.article-body .article-intro { color: var(--ink); font-size: 22px; line-height: 1.65; }
.article-body h2 { margin: 58px 0 18px; font-size: clamp(2rem, 4vw, 2.75rem); scroll-margin-top: 115px; }
.article-body h3 { margin: 35px 0 12px; font-size: 22px; }
.article-body p, .article-body li { line-height: 1.8; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.article-callout { margin: 36px 0; padding: 26px 28px; background: var(--pale); border-left: 4px solid var(--orange); border-radius: 0 15px 15px 0; }
.article-callout strong { display: block; margin-bottom: 8px; color: var(--teal); }
.article-callout p { margin: 0; }
.article-checklist { margin: 30px 0; padding: 0; list-style: none; counter-reset: item; }
.article-checklist li { position: relative; margin: 0; padding: 18px 18px 18px 54px; border-bottom: 1px solid var(--line); }
.article-checklist li::before { counter-increment: item; content: counter(item, decimal-leading-zero); position: absolute; top: 19px; left: 4px; color: var(--orange-dark); font-family: Georgia, serif; font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { padding: 30px; background: white; border: 1px solid var(--line); border-radius: 20px; }
.contact-card span { display: grid; width: 46px; height: 46px; margin-bottom: 30px; place-items: center; color: var(--teal); background: var(--pale); border-radius: 14px; font-weight: 900; }
.contact-card h2 { margin-bottom: 12px; font-size: 21px; }
.contact-card p { color: var(--muted); font-size: 14px; }
.contact-card small { display: block; margin-top: 24px; color: #82908d; }

.privacy-content { max-width: 900px; margin-inline: auto; }
.privacy-content .prose h2:first-child { margin-top: 0; }
.privacy-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-bottom: 35px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.empty-state { padding: 55px; text-align: center; background: var(--pale); border-radius: 20px; }
.empty-state h2 { margin-bottom: 12px; font-size: 27px; }
.empty-state p { max-width: 600px; margin: 0 auto 24px; color: var(--muted); }

@media (max-width: 1020px) {
  .page-hero-grid { gap: 45px; }
  .content-grid, .content-grid.reverse { gap: 55px; }
  .article-shell { grid-template-columns: 180px minmax(0, 700px); gap: 45px; }
}

@media (max-width: 760px) {
  .page-main { padding-top: 72px; }
  .page-hero { padding: 68px 0 62px; }
  .page-hero-grid, .content-grid, .content-grid.reverse { grid-template-columns: 1fr; }
  .page-hero-grid { gap: 38px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .content-grid > .section-heading { position: static; }
  .page-section { padding: 70px 0; }
  .card-grid, .card-grid.two, .blog-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta-band .button { width: 100%; }
  .article-shell { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
  .article-aside nav { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .article-body { font-size: 17px; }
  .article-body .article-intro { font-size: 20px; }
  .prose { font-size: 16px; }
  .prose table { display: block; overflow-x: auto; white-space: normal; }
  .privacy-content { max-width: 100%; }
}

@media (max-width: 460px) {
  .page-hero h1 { font-size: 3.15rem; }
  .hero-aside, .info-card, .contact-card { padding: 24px; }
  .article-aside { grid-template-columns: 1fr; }
  .article-aside nav { grid-template-columns: 1fr; }
  .empty-state { padding: 38px 22px; }
}
