@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

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

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede8e1;
  --hairline: #d3cec6;
  --hairline-soft: #e0dbd3;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --fin-orange: #ff5600;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-xxl: 24px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.5; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* NAV */
.top-nav { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; height: 56px; }
.top-nav .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--ink-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* HERO */
.hero { padding: 96px 0 80px; }
.hero-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: 16px; }
.hero h1 { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; max-width: 680px; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--ink-muted); max-width: 560px; line-height: 1.5; margin-bottom: 32px; }
.hero-img { margin-top: 48px; border-radius: var(--rounded-xl); overflow: hidden; border: 1px solid var(--hairline); background: var(--surface-1); }
.hero-img img { width: 100%; height: 420px; object-fit: cover; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: 12px; }
.section h2 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 16px; }
.section-lead { font-size: 18px; color: var(--ink-muted); max-width: 600px; line-height: 1.5; margin-bottom: 48px; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 24px; }
.card h3 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.3px; margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; }
.card-img { border-radius: var(--rounded-md); overflow: hidden; margin-bottom: 16px; }
.card-img img { width: 100%; height: 180px; object-fit: cover; }
.card-meta { font-size: 12px; color: var(--ink-tertiary); margin-top: 12px; }
.card a.card-link { font-size: 14px; font-weight: 500; color: var(--ink); border-top: 1px solid var(--hairline-soft); margin-top: 16px; padding-top: 12px; display: block; }
.card a.card-link:hover { text-decoration: underline; }

/* ARTICLE CARDS */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); overflow: hidden; }
.article-card-body { padding: 20px 24px 24px; }
.article-card h3 { font-size: 20px; font-weight: 500; line-height: 1.30; letter-spacing: -0.2px; margin-bottom: 8px; }
.article-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 12px; }
.article-card .tag { font-size: 12px; font-weight: 500; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--rounded-xs); padding: 2px 8px; color: var(--ink-muted); display: inline-block; margin-bottom: 12px; }
.article-card img { width: 100%; height: 200px; object-fit: cover; }

/* DARK STRIP */
.dark-strip { background: var(--inverse-canvas); padding: 64px 0; }
.dark-strip blockquote { font-size: 28px; font-weight: 500; color: var(--inverse-ink); line-height: 1.3; letter-spacing: -0.5px; max-width: 720px; }
.dark-strip cite { font-size: 14px; color: #888; margin-top: 16px; display: block; font-style: normal; }

/* INFO BOXES */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.info-box { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 24px; }
.info-box h4 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.info-box p, .info-box li { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.info-box ul { padding-left: 20px; }

/* FORM */
.form-section { padding: 96px 0; }
.form-wrap { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-xl); padding: 48px; max-width: 640px; }
.form-wrap h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 8px; }
.form-wrap p { font-size: 16px; color: var(--ink-muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 10px 14px; font-size: 16px; font-family: inherit; color: var(--ink); transition: border-color 0.2s; min-height: 44px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--ink); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-primary { background: var(--ink); color: #fff; border: none; border-radius: var(--rounded-md); padding: 10px 18px; font-size: 15px; font-weight: 500; cursor: pointer; transition: opacity 0.2s; min-height: 40px; }
.btn-primary:hover { opacity: 0.85; }
.btn-secondary { background: var(--surface-1); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 10px 18px; font-size: 15px; font-weight: 500; cursor: pointer; min-height: 40px; }
#form-message { margin-top: 16px; font-size: 15px; color: var(--ink-muted); display: none; }

/* FOOTER */
.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 32px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--ink-subtle); line-height: 1.6; margin-top: 8px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 12px; color: var(--ink-subtle); }
.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--hairline-soft); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: var(--ink-tertiary); }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 720px; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-xl); padding: 20px 24px; display: flex; align-items: center; gap: 20px; z-index: 999; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
#cookie-banner p { font-size: 14px; color: var(--ink-muted); flex: 1; line-height: 1.5; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ARTICLE PAGE */
.article-page { padding: 64px 0 96px; }
.article-header { margin-bottom: 40px; }
.article-header h1 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 16px; max-width: 740px; }
.article-header .article-meta { font-size: 14px; color: var(--ink-tertiary); }
.article-hero-img { border-radius: var(--rounded-xl); overflow: hidden; margin-bottom: 40px; border: 1px solid var(--hairline); }
.article-hero-img img { width: 100%; height: 380px; object-fit: cover; }
.article-content { max-width: 740px; }
.article-content h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; margin: 36px 0 12px; }
.article-content h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; margin: 28px 0 10px; }
.article-content p { font-size: 16px; line-height: 1.6; margin-bottom: 16px; color: var(--ink); }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { font-size: 16px; line-height: 1.6; margin-bottom: 6px; }
.article-content .note-box { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 20px 24px; margin: 28px 0; font-size: 15px; color: var(--ink-muted); }
.breadcrumb { font-size: 13px; color: var(--ink-tertiary); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--ink); }

/* PAGE */
.page-content { padding: 64px 0 96px; max-width: 780px; }
.page-content h1 { font-size: 40px; font-weight: 500; letter-spacing: -0.8px; margin-bottom: 32px; }
.page-content h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; margin: 28px 0 10px; }
.page-content p, .page-content li { font-size: 16px; line-height: 1.6; color: var(--ink-muted); margin-bottom: 12px; }
.page-content ul { padding-left: 24px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .card-grid, .articles-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
  .section h2 { font-size: 28px; }
  .card-grid, .articles-grid, .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); flex-direction: column; padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .dark-strip blockquote { font-size: 22px; }
  .form-wrap { padding: 28px 20px; }
  .article-header h1 { font-size: 28px; }
  .hero-img img { height: 240px; }
  .article-hero-img img { height: 220px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
}
