:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #666666;
  --light-gray: #f5f5f5;
  --border: #e8e8e8;
  --max: 1380px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Header ───────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: var(--max);
  height: 64px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 44px;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: block;
  height: 40px;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-nav a {
  font-size: 14px;
  color: #1a1a1a;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Pill buttons ─────────────────────────────── */

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-weight: 400;
}

.pill-secondary {
  background: #f5f5f5;
  color: #1a1a1a;
}

.pill-secondary:hover {
  background: #ececec;
}

.pill-primary {
  background: #0a0a0a;
  color: #fff;
  gap: 6px;
}

.pill-primary:hover {
  background: #222;
}

.pill-primary span {
  font-size: 12px;
}

/* ── Hero ──────────────────────────────────────── */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 260px 40px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-heading {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 48px;
  color: #1a1a1a;
}

.prompt-field {
  width: 740px;
  max-width: 90vw;
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 20px 60px 20px 24px;
  min-height: 104px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.prompt-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  resize: none;
  background: transparent;
  color: #1a1a1a;
  min-height: 64px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.prompt-placeholder {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prompt-placeholder.is-fading {
  opacity: 0;
}

.prompt-submit {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.prompt-submit:hover {
  background: #e0e0e0;
  color: #555;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 12px;
  color: #666;
  transition: border-color 0.2s, color 0.2s;
}

.chip:hover {
  border-color: #bbb;
  color: #1a1a1a;
}

/* ── Featured section ──────────────────────────── */

.featured-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 40px 120px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.featured-grid {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 32px;
  grid-template-rows: auto;
  align-items: start;
}

.featured-card {
  cursor: pointer;
}

.card-image {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light-gray);
  margin-bottom: 18px;
  transition: transform 0.3s ease;
  border: 1px solid #e8e8e8;
}

.featured-card.large .card-image {
  border: 1px solid #e8e8e8;
}

.featured-card:hover {
  cursor: pointer;
}

.featured-card {
  padding: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card.large .card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}

.featured-card.large .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-right {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.featured-right .featured-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.featured-right .featured-card .card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}



.card-content {
  padding: 0 2px;
}

.card-category {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.card-title {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 40px;
}

.hero-date {
  font-size: 13px;
}

.card-description {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
  max-width: 520px;
}

.featured-right .card-description {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.card-date {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-arrow {
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.2s ease;
}

.featured-card:hover .card-arrow {
  gap: 5px;
}

.featured-right .card-title {
  font-size: 14px;
  margin-bottom: 3px;
}

.featured-right .card-description {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.featured-right .card-date {
  font-size: 11px;
  margin-top: 2px;
}

.featured-right .card-category {
  margin-bottom: 4px;
  font-size: 11px;
}

.featured-card .card-image-rag {
  background: linear-gradient(135deg, #eef5f8, #e0e8f0);
}

/* ── Section shared ────────────────────────────── */

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

@media (max-width: 850px) {
  .section-header-row {
    margin-bottom: 32px;
  }
}

.section-heading {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.view-more-link {
  font-size: 14px;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-more-link:hover {
  color: #000;
}

/* ── News section ──────────────────────────────── */

.news-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px 140px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.news-card {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  cursor: pointer;
}

.news-card + .news-card {
  border-top: 1px solid var(--border);
}

.news-thumb {
  width: 185px;
  height: 185px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 12px;
}

.news-title {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.news-meta {
  font-size: 14px;
  display: flex;
  gap: 12px;
}

.meta-category {
  color: #1a1a1a;
}

.meta-detail {
  color: var(--muted);
}

/* ── Footer ────────────────────────────────────── */

footer {
  padding: 80px 40px 0;
  margin-top: 0;
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-copyright {
  font-size: 13px;
  color: #6b6b68;
}

.footer-social-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social-row a {
  font-size: 13px;
  color: #6b6b68;
  transition: color 160ms ease;
}

.footer-social-row a:hover {
  color: #111;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: #151515;
  margin-bottom: 18px;
}

.footer-link {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #6b6b68;
  margin-bottom: 12px;
  transition: color 160ms ease;
}

.footer-link:hover {
  color: #111;
}

.footer-divider {
  max-width: 1340px;
  margin: 56px auto 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-bottom {
  max-width: 1340px;
  margin: 0 auto;
  padding: 24px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b6b68;
}

.footer-bottom-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-bottom-link {
  color: #6b6b68;
  transition: color 160ms ease;
}

.footer-bottom-link:hover {
  color: #111;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 850px) {
  footer {
    padding: 60px 20px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.menu-button {
  display: none;
}

/* ── Mobile menu overlay ────────────────────────── */

.menu-button {
  display: none;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 40px;
}

.mobile-overlay.is-open {
  display: flex;
}

.mobile-overlay a {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.mobile-overlay .pill-btn {
  font-size: 16px;
  height: 44px;
  padding: 0 28px;
}

@keyframes mobileFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-overlay.is-open a {
  animation: mobileFadeIn 0.35s ease both;
}

.mobile-overlay.is-open a:nth-child(2) { animation-delay: 0.05s; }
.mobile-overlay.is-open a:nth-child(3) { animation-delay: 0.10s; }
.mobile-overlay.is-open a:nth-child(4) { animation-delay: 0.15s; }
.mobile-overlay.is-open a:nth-child(5) { animation-delay: 0.20s; }

@media (max-width: 850px) {
  .site-header {
    padding: 0 20px;
  }

  .header-left {
    gap: 24px;
  }

  .site-nav {
    display: none;
  }

  .header-right .pill-btn {
    display: none;
  }

  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    position: relative;
    z-index: 101;
  }

  .pill-secondary {
    display: none;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero-heading {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .prompt-field {
    width: 100%;
    border-radius: 18px;
    padding: 16px 50px 16px 18px;
    min-height: 80px;
  }

  .prompt-input {
    font-size: 15px;
    min-height: 48px;
  }

  .featured-section {
    padding: 80px 20px 80px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-right {
    grid-template-rows: auto;
    gap: 32px;
    height: auto;
  }

  .featured-right .featured-card .card-image {
    aspect-ratio: 1 / 1;
  }

  .card-title {
    font-size: 32px;
  }

  .news-section {
    padding: 0 20px 100px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-thumb {
    width: 120px;
    height: 120px;
  }

  footer {
    padding: 60px 20px 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }





