@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999999;
  --gray-600: #555555;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --pad-x: 1.5rem;
  --radius: 0;
  --transition: 220ms ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

hr {
  border: none;
  border-top: 2px solid var(--black);
  margin: 0.75rem 0 1.25rem;
}

/* ── announce bar ── */
.announce-bar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem var(--pad-x);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── nav ── */
.site-nav {
  border-bottom: 2px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.site-nav > ol {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav > ol > li {
  display: flex;
}

.site-nav > ol > li > a {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  min-height: 3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-right: 1px solid var(--gray-200);
  transition: background var(--transition), color var(--transition);
}

.site-nav > ol > li > a:hover,
.site-nav > ol > li.active > a {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.site-nav > ol > li.brand-cell > a {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-left: 1px solid var(--gray-200);
  padding: 0 1.25rem;
}

/* ── buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  min-height: 2.75rem;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  text-decoration: none;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--black);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.75rem;
  min-height: 2.75rem;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── hero (home) ── */
.hero-section {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-article {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x) 8rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.hero-bg-text {
  position: absolute;
  left: -0.05em;
  bottom: 0;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 800;
  line-height: 0.85;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.hero-content {
  text-align: right;
  max-width: 700px;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.hero-article h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.hero-actions .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.hero-actions .btn-ghost {
  color: var(--white);
  border-color: var(--white);
}

.hero-actions .btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}

.hero-clip {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 6rem;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 4;
}

/* ── page hero bar (inner pages) ── */
.page-hero-bar {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x) 2rem;
  position: relative;
  z-index: 2;
  text-align: right;
}

.page-hero-bar h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 0.5rem;
}

.page-hero-bar .hero-sub {
  max-width: 560px;
  margin-left: auto;
  margin-top: 0.75rem;
}

.page-hero-bar .page-date {
  font-size: 0.875rem;
  opacity: 0.65;
  margin-top: 0.5rem;
}

.page-hero-bg {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.8125rem;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ── main layout ── */
main {
  background: var(--white);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* content + sidebar */
.content-section {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.content-prose {
  font-size: 1rem;
  line-height: 1.75;
}

.content-prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.5rem;
}

.content-prose h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.content-prose p {
  margin-bottom: 1rem;
}

.content-prose ul, .content-prose ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-prose ol {
  list-style: decimal;
}

.content-prose li {
  margin-bottom: 0.35rem;
}

.content-prose a {
  text-decoration: underline;
  font-weight: 600;
}

.content-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.content-prose th,
.content-prose td {
  border: 1px solid var(--gray-200);
  padding: 0.6rem 0.9rem;
  text-align: left;
}

.content-prose th {
  background: var(--gray-100);
  font-weight: 700;
}

.legal-prose {
  font-size: 0.9375rem;
}

.update-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
}

/* sidebar */
.sidebar {
  position: sticky;
  top: 4rem;
}

.sidebar-inner {
  border: 2px solid var(--black);
  padding: 1.5rem;
}

.sidebar-inner h2 {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1.5rem;
}

.sidebar-links li a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: padding-left var(--transition);
}

.sidebar-links li a:hover {
  padding-left: 0.5rem;
  text-decoration: none;
}

.sidebar-cta {
  border-top: 2px solid var(--black);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.sidebar-cta p {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sidebar-block {
  margin-top: 1.5rem;
  border-top: 2px solid var(--black);
  padding-top: 1rem;
}

.sidebar-block h2 {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-related {
  margin-top: 1.5rem;
  border-top: 2px solid var(--black);
  padding-top: 1rem;
}

.sidebar-related h2 {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── feature grid ── */
.features-section {
  padding: 3rem 0;
  border-top: 2px solid var(--black);
}

.features-section > h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feat-card {
  border: 2px solid var(--black);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition);
  position: relative;
}

.feat-card:hover {
  transform: translateY(-3px);
}

.feat-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-200);
  letter-spacing: -0.04em;
}

.feat-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

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

.feat-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  flex: 1;
}

.feat-link {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
  transition: letter-spacing var(--transition);
}

.feat-link:hover {
  letter-spacing: 0.06em;
  text-decoration: none;
}

/* ── nav cards grid ── */
.nav-cards-section,
.bottom-nav-section,
.about-links-section,
.faq-links-section {
  padding: 3rem 0;
  border-top: 2px solid var(--black);
}

.nav-cards-section > h2,
.bottom-nav-section > h2,
.about-links-section > h2,
.faq-links-section > h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.nav-card {
  border: 2px solid var(--black);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background var(--transition), color var(--transition);
}

.nav-card:hover {
  background: var(--black);
  color: var(--white);
}

.nav-card:hover hr {
  border-color: rgba(255,255,255,0.3);
}

.nav-card:hover h3 a {
  color: var(--white);
}

.nav-card:hover p {
  color: rgba(255,255,255,0.7);
}

.card-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-200);
  letter-spacing: -0.04em;
  transition: color var(--transition);
}

.nav-card:hover .card-num {
  color: rgba(255,255,255,0.15);
}

.nav-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.nav-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ── CTA article (home) ── */
.cta-section {
  padding: 3rem 0 4rem;
  border-top: 2px solid var(--black);
}

.cta-box {
  background: var(--black);
  color: var(--white);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.cta-box hr {
  border-color: rgba(255,255,255,0.3);
  width: 100%;
}

.cta-box p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  position: relative;
  z-index: 2;
}

.cta-box .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.cta-bg-num {
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ── pricing ── */
.pricing-highlight {
  padding: 3rem 0 2rem;
}

.pricing-free-box {
  border: 3px solid var(--black);
  padding: 2.5rem;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-tag {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  text-transform: uppercase;
}

.pricing-free-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pricing-features li {
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pricing-faq-section {
  padding: 3rem 0;
  border-top: 2px solid var(--black);
}

.pricing-faq-section > h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── faq list ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--black);
}

.faq-list > li {
  background: var(--white);
}

.faq-list > li > section {
  padding: 1.5rem;
}

.faq-list > li > section > h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-list > li > section > p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ── contact list ── */
.contact-methods {
  margin-top: 2rem;
}

.contact-methods h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list > li > section {
  border: 2px solid var(--black);
  padding: 1.25rem 1.5rem;
}

.contact-list > li > section > h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-list > li > section > p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ── footer ── */
footer {
  border-top: 3px solid var(--black);
  margin-top: 2rem;
}

.footer-cta {
  background: var(--black);
  color: var(--white);
  padding: 4rem var(--pad-x);
}

.footer-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-cta-inner p {
  font-size: 1rem;
  opacity: 0.75;
  max-width: 500px;
}

.footer-cta-inner .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.footer-cta-inner .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.footer-cols {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: color var(--transition);
  min-height: 1.75rem;
  display: flex;
  align-items: center;
}

.footer-col ul li a:hover {
  color: var(--black);
  text-decoration: none;
}

.footer-bottom {
  border-top: 2px solid var(--black);
  padding: 1.25rem var(--pad-x);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* ── scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── mobile ── */
@media (max-width: 900px) {
  .content-section {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-nav > ol {
    padding: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav > ol > li > a {
    padding: 0 0.75rem;
    font-size: 0.75rem;
    min-height: 2.75rem;
  }

  .hero-article {
    min-height: 70vh;
    padding: 3rem 1rem 6rem;
    align-items: stretch;
  }

  .hero-content {
    text-align: left;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-sub {
    margin-left: 0;
  }

  .page-hero-inner {
    text-align: left;
  }

  .page-hero-bg {
    right: -0.5rem;
    opacity: 0.5;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .nav-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-cta {
    padding: 3rem var(--pad-x);
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .pricing-free-box {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  :root {
    --pad-x: 1rem;
  }
}
