/* ui_kits/web/site.css — page-level styles for the FuriosaAI marketing-site kit.
   Loaded once from index.html. Component styles can also live here so we don't
   ship a styles object per JSX file. */


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-1); color: var(--fg-1); }
body { font-family: var(--font-sans); }
img { display: block; max-width: 100%; }

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

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border-1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.site-header__left { display: flex; align-items: center; gap: 40px; min-width: 0; }
.site-header__wordmark { height: 20px; display: block; }
.site-header__wordmark img { height: 100%; width: auto; }
.site-nav { display: flex; gap: 30px; }
.site-nav__item { font-size: 14px; font-weight: 500; color: var(--furiosa-ink); cursor: pointer; position: relative; transition: color .16s; user-select: none; }
.site-nav__item:hover { color: var(--furiosa-red); }
.site-nav__item--menu::after { content: "▾"; margin-left: 5px; font-size: 9px; vertical-align: 1px; opacity: 0.7; }
.site-header__cta { display: flex; gap: 12px; align-items: center; }
.site-header__menu-btn { display: none; background: transparent; border: 1px solid var(--furiosa-ink); padding: 8px 14px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; cursor: pointer; }

.announcement-bar { background: #000; color: #fff; text-align: center; font-size: 13px; padding: 10px 24px; font-weight: 500; }
.announcement-bar a { color: var(--furiosa-red); text-decoration: none; margin-left: 8px; font-weight: 500; }
.announcement-bar a::after { content: " →"; }

.mobile-menu { display: none; padding: 18px 24px; border-top: 1px solid var(--border-1); flex-direction: column; gap: 18px; background: #fff; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 16px; font-weight: 500; color: var(--furiosa-ink); text-decoration: none; }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__menu-btn { display: block; }
}

/* ============ Buttons ============
   CTA buttons are pill-rounded, Bold weight, slight letter-spacing — a
   visually distinct treatment from running body type. Ghost and link
   variants keep text and line the SAME colour through every state. */
.btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  transition: background .16s, color .16s, border-color .16s;
  text-decoration: none;
}
.btn--primary { background: var(--furiosa-red); color: #fff; border-color: var(--furiosa-red); }
.btn--primary:hover { background: var(--furiosa-red-dark); border-color: var(--furiosa-red-dark); color: #fff; }
.btn--secondary { background: #000; color: #fff; border-color: #000; }
.btn--secondary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--furiosa-ink); border-color: var(--furiosa-ink); }
.btn--ghost:hover { color: var(--furiosa-red); border-color: var(--furiosa-red); }
.btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light:hover { color: var(--furiosa-red); border-color: var(--furiosa-red); }
.btn--link {
  background: transparent; border: 0; border-radius: 0;
  padding: 4px 0; color: var(--furiosa-ink); font-weight: 700;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px;
}
.btn--link::after { content: " →"; display: inline-block; transition: transform .16s; }
.btn--link:hover { color: var(--furiosa-red); }
.btn--link:hover::after { transform: translateX(3px); }
.btn--lg { padding: 15px 30px; font-size: 16px; }

/* ============ Eyebrow + section ============ */
.eyebrow { font-size: 13px; font-weight: 500; color: var(--furiosa-red); text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 18px; }
.eyebrow--ink { color: var(--furiosa-ink); }
.eyebrow--white { color: #fff; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: #000; color: #fff; }
.section--halftone-black { background: #000 url("../../assets/bg-blackhalftone.avif") center/cover no-repeat; color: #fff; }
.section--halftone-red { background: var(--furiosa-red) url("../../assets/bg-redhalftone.avif") center/cover no-repeat; color: #fff; }

.section__title { font-size: 56px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 14ch; }
.section__title--sm { font-size: 40px; max-width: 18ch; }
.section__body { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 60ch; margin: 0; }
.section--dark .section__body, .section--halftone-black .section__body, .section--halftone-red .section__body { color: rgba(255,255,255,0.78); }

/* ============ Hero ============ */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero__eyebrow-link { color: var(--furiosa-red); font-weight: 500; }
.hero__title { font-size: 96px; font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 24px; max-width: 11ch; }
.hero__body { font-size: 20px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 52ch; margin: 0 0 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero__title { font-size: 56px; }
  .section__title { font-size: 36px; }
  .section { padding: 64px 0; }
}

/* ============ Spec grid ============ */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.18); }
.spec-tile { background: #000; padding: 36px 28px; min-height: 168px; display: flex; flex-direction: column; gap: 12px; }
.spec-tile__value { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.spec-tile__unit { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.7); margin-left: 6px; vertical-align: 14px; }
.spec-tile__desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 1024px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .spec-grid { grid-template-columns: 1fr; } }

/* ============ Product / explainer split ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--image-right { grid-template-columns: 1fr 1fr; }
.split__image { background: #000; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.split__pad { display: flex; flex-direction: column; gap: 20px; }
.split__actions { display: flex; gap: 16px; margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ============ Three-up software stack ============ */
.threeup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-1); border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.threeup__cell { background: #fff; padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; }
.threeup__cell h4 { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -0.005em; }
.threeup__cell p  { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; }
@media (max-width: 900px) { .threeup { grid-template-columns: 1fr; } }

/* ============ Spec comparison table ============ */
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 18px 16px; text-align: left; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.18); color: #fff; }
.cmp th { font-weight: 500; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; border-top: 0; }
.cmp tr td:first-child, .cmp tr th:first-child { color: rgba(255,255,255,0.7); }
.cmp td:nth-child(2) { color: var(--furiosa-red); font-weight: 500; }
.cmp tr:first-child th { padding-bottom: 22px; }
.cmp__head { font-size: 18px; font-weight: 700; color: #fff; padding-bottom: 8px; }

/* ============ Blog grid ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; cursor: pointer; }
.blog-card__thumb { aspect-ratio: 16/9; background: var(--bg-3) center/cover no-repeat; transition: transform .42s var(--ease-out); }
.blog-card:hover .blog-card__thumb { transform: scale(1.02); }
.blog-card__category { font-size: 12px; font-weight: 500; color: var(--furiosa-red); text-transform: uppercase; letter-spacing: 0.1em; }
.blog-card__title { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; margin: 0; }
.blog-card__more { font-size: 13px; font-weight: 500; color: var(--furiosa-ink); margin-top: 4px; }
.blog-card__more::after { content: " →"; transition: transform .16s; display: inline-block; }
.blog-card:hover .blog-card__more { color: var(--furiosa-red); }
.blog-card:hover .blog-card__more::after { transform: translateX(3px); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============ Signup CTA ============ */
.cta-band { padding: 120px 0; text-align: left; }
.cta-band__title { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin: 0 0 24px; max-width: 14ch; }
.cta-band__body  { font-size: 18px; line-height: 1.5; max-width: 50ch; color: rgba(255,255,255,0.8); margin: 0 0 36px; }
.cta-band__form { display: flex; gap: 0; max-width: 520px; }
.cta-band__input { flex: 1; padding: 16px 18px; font-family: var(--font-sans); font-size: 16px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: #fff; border-right: 0; outline: none; }
.cta-band__input::placeholder { color: rgba(255,255,255,0.55); }
.cta-band__input:focus { border-color: #fff; }
.cta-band__btn { padding: 16px 28px; font-family: var(--font-sans); font-weight: 500; font-size: 16px; background: var(--furiosa-red); color: #fff; border: 0; cursor: pointer; transition: background .16s; }
.cta-band__btn:hover { background: var(--furiosa-red-dark); }
.cta-band__success { display: inline-block; padding: 12px 18px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 14px; }
@media (max-width: 600px) { .cta-band__title { font-size: 44px; } .cta-band__form { flex-direction: column; gap: 12px; } .cta-band__input { border-right: 1px solid rgba(255,255,255,0.4); } }

/* ============ Footer ============ */
.site-footer { background: #fff; padding: 80px 0 40px; border-top: 1px solid var(--border-1); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--border-1); }
.site-footer__brand img { width: 200px; opacity: 0.15; }
.site-footer__col h5 { font-size: 12px; font-weight: 500; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 18px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { font-size: 14px; color: var(--fg-1); text-decoration: none; }
.site-footer__col a:hover { color: var(--furiosa-red); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; }
.site-footer__copy { font-size: 12px; color: var(--fg-3); }
.site-footer__social { display: flex; gap: 18px; }
.site-footer__social a { color: var(--fg-2); }
.site-footer__social a:hover { color: var(--furiosa-red); }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }

/* ============ Logotype ribbon (customer logos placeholder) ============ */
.logos { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 24px 0; flex-wrap: wrap; }
.logos__item { font-family: var(--font-sans); font-weight: 500; font-size: 18px; color: var(--fg-3); letter-spacing: 0.04em; }
