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

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

:root {
  --canvas: #f5f1ec;
  --surface: #ffffff;
  --surface-2: #ede9e3;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --hairline: #d3cec6;
  --hairline-soft: #e5e1db;
  --accent: #ff5600;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-muted); }

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

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

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
  height: 56px;
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s;
}

/* HERO */
.hero {
  padding: 96px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.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;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-meta {
  font-size: 13px;
  color: var(--ink-subtle);
}

.hero-image-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* SECTIONS */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: 24px;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--canvas);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin-bottom: 10px;
}

.card-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ARTICLES SECTION */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(17,17,17,0.08);
}

.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
}

.article-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.article-card-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.article-card-date {
  font-size: 12px;
  color: var(--ink-subtle);
}

.article-card a {
  text-decoration: none;
  color: inherit;
}

/* CHECKLIST SECTION */
.checklist-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.checklist-image {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.checklist-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.checklist-content h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.checklist-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.checklist-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

.checklist-list li::before {
  content: '✓';
  color: var(--ink-muted);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CONTACT FORM */
.contact-section {
  background: var(--surface);
  border-radius: var(--radius-xxl);
  border: 1px solid var(--hairline);
  padding: 64px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-section p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ink-muted);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
  min-height: 40px;
}

.btn-primary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 32px rgba(17,17,17,0.2);
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.cookie-banner p a { color: #d3cec6; text-decoration: underline; }

.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-accept {
  background: #ffffff;
  color: var(--ink);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cookie-reject {
  background: transparent;
  color: #d3cec6;
  border: 1px solid #626260;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline-soft);
  padding: 64px 32px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 260px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--ink-muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-subtle);
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--ink-subtle);
  max-width: 500px;
  line-height: 1.5;
  text-align: right;
}

/* ARTICLE PAGE */
.article-header {
  padding: 64px 0 48px;
  max-width: 800px;
}

.article-tag-large {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.article-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.0px;
  color: var(--ink);
  margin-bottom: 20px;
}

.article-meta {
  font-size: 13px;
  color: var(--ink-subtle);
  display: flex;
  gap: 16px;
  align-items: center;
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  margin-bottom: 48px;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--ink);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.3;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover { color: var(--ink-muted); }

.article-info-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: 28px;
  margin: 32px 0;
}

.article-info-box h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.article-info-box p, .article-info-box li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-table th {
  background: var(--canvas);
  font-weight: 500;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}

.article-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--ink-muted);
  vertical-align: top;
}

.article-table tr:last-child td { border-bottom: none; }

.related-articles {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline-soft);
}

.related-articles h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 24px;
}

/* PAGE (about / privacy / terms) */
.page-header {
  padding: 64px 0 40px;
}

.page-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.0px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-updated {
  font-size: 13px;
  color: var(--ink-subtle);
}

.page-body {
  max-width: 760px;
  padding-bottom: 96px;
}

.page-body h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 40px 0 14px;
}

.page-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 24px 0 10px;
}

.page-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.page-body ul, .page-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.page-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.page-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--ink-subtle);
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--ink-subtle); }

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--hairline-soft); margin: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-inner { gap: 40px; }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .site-nav .container { position: relative; }
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
  .hero-lead { font-size: 16px; }
  .hero-image-card img { height: 240px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .cards-grid, .articles-grid { grid-template-columns: 1fr; }
  .checklist-section { grid-template-columns: 1fr; gap: 32px; }
  .checklist-content h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
  .contact-section { padding: 32px 24px; }
  .contact-section h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .article-title { font-size: 32px; }
  .article-hero-img { height: 240px; }
  .page-title { font-size: 32px; }
  .cookie-banner { flex-direction: column; gap: 16px; bottom: 16px; }
  .cookie-buttons { justify-content: flex-end; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .article-title { font-size: 26px; }
}
