/* Editorial light theme for the Warded home. */
body.openai-home {
  --text-p: #101010;
  --text-s: rgba(16, 16, 16, .62);
  --text-m: rgba(16, 16, 16, .40);
  --surface: rgba(16, 16, 16, .045);
  --surface-h: rgba(16, 16, 16, .075);
  --border: rgba(16, 16, 16, .14);
  --border-h: rgba(16, 16, 16, .28);
  color: #101010;
  background: #f6f6f2;
  background-image: none;
}

.openai-home #hk-fluid { display: none; }
.openai-home #hk-prog { background: #101010; box-shadow: none; }
.openai-home .warded-wordmark { filter: none; opacity: 1; }

/* Animated Warded wave hero */
.openai-home .gradient-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #f6f6f2;
}
.openai-home .gradient-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 72%, rgba(36, 80, 245, .62), transparent 35%),
    radial-gradient(circle at 82% 32%, rgba(111, 140, 255, .55), transparent 38%),
    #f6f6f2;
}
.openai-home .gradient-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.openai-home .gradient-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 51% 48% at 50% 48%, rgba(246, 246, 242, .90) 0%, rgba(246, 246, 242, .72) 46%, rgba(246, 246, 242, .18) 76%, transparent 100%),
    linear-gradient(180deg, rgba(246, 246, 242, .60) 0%, transparent 30%, transparent 72%, #f6f6f2 100%);
}

/* Navigation */
.openai-home .hk-nav { padding: 0 14px; }
.openai-home .hk-nav-in {
  max-width: 1060px;
  margin-top: 14px;
  padding: 7px 8px 7px 16px;
  min-height: 54px;
  border-radius: 18px;
  color: #101010;
  background: rgba(246, 246, 242, .88);
  border: 1px solid rgba(16, 16, 16, .13);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .055), inset 0 1px 0 rgba(255, 255, 255, .72);
}
.openai-home .hk-nav-in.sc {
  background: rgba(246, 246, 242, .96);
  border-color: rgba(16, 16, 16, .18);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .08);
}
.openai-home .hk-nav-links { gap: 24px; }
.openai-home .hk-nav-links a { color: rgba(16, 16, 16, .58); font-size: 12px; }
.openai-home .hk-nav-links a:hover { color: #101010; }
.openai-home .hk-nav-act { gap: 7px; }
.openai-home .hk-nav-act .btn-glass,
.openai-home .hk-nav-act .btn-call {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 13px;
  font-size: 12px;
  box-shadow: none;
}
.openai-home .btn-glass {
  color: #101010;
  background: transparent;
  border-color: rgba(16, 16, 16, .18);
}
.openai-home .btn-glass:hover { color: #101010; background: rgba(16, 16, 16, .055); border-color: rgba(16, 16, 16, .30); }
.openai-home .btn-call { color: #fff; background: #2450f5; border-color: #2450f5; }
.openai-home .btn-call:hover { color: #fff; background: #153bd1; box-shadow: 0 10px 28px rgba(36, 80, 245, .20); }

/* Hero */
.openai-home .hk-hero {
  min-height: 100svh;
  padding: 150px 24px 72px;
  background: transparent;
  position: relative;
  z-index: 2;
}
.openai-home .hk-hero::before {
  display: none;
}
.openai-home .hk-badge {
  margin-bottom: 28px;
  color: rgba(16, 16, 16, .60);
  background: rgba(255, 255, 255, .48);
  border-color: rgba(16, 16, 16, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}
.openai-home .badge-sep { background: rgba(16, 16, 16, .16); }
.openai-home .badge-dot { background: #2450f5; box-shadow: 0 0 10px rgba(36, 80, 245, .54); }
.openai-home .badge-arrow { color: #fff; background: #2450f5; }
.openai-home .hk-h1 {
  width: 100%;
  max-width: 900px;
  color: #101010;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.052em;
  margin: 0 auto 26px;
  text-align: center;
}
.openai-home .hk-h1-line--accent {
  color: #2450f5;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-family: inherit;
  font-weight: 300;
  font-style: normal;
  letter-spacing: -.058em;
}
.openai-home .hk-sub { max-width: 520px; margin-left: auto; margin-right: auto; color: rgba(16, 16, 16, .60); font-size: 16px; text-align: center; }
.openai-home .btn-solid { color: #fff; background: #2450f5; border-color: #2450f5; border-radius: 14px; box-shadow: 0 12px 34px rgba(36, 80, 245, .18); }
.openai-home .btn-solid:hover { background: #153bd1; box-shadow: 0 16px 38px rgba(36, 80, 245, .24); }
.openai-home .btn-ghost { color: #101010; background: transparent; border-color: rgba(16, 16, 16, .22); border-radius: 14px; }
.openai-home .btn-ghost:hover { color: #101010; background: rgba(16, 16, 16, .055); border-color: rgba(16, 16, 16, .34); }
.openai-home .mockup-shell {
  background: #111;
  border-color: #111;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .18);
}
.openai-home .hk-mockup::after { background: linear-gradient(to bottom, transparent 30%, #f6f6f2); }

/* Editorial sections */
.openai-home .hk-lc { background: #fff; border-color: rgba(16, 16, 16, .12); }
.openai-home .lc-label { color: rgba(16, 16, 16, .38); }
.openai-home .lc-item { color: rgba(16, 16, 16, .23); }
.openai-home .lc-track:hover .lc-item { color: rgba(16, 16, 16, .58); }
.openai-home .hk-stats-wrap { padding-top: 72px; padding-bottom: 72px; }
.openai-home .stat-card {
  background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,255,255,.48));
  border-color: rgba(255,255,255,.94);
  border-radius: 21px;
  box-shadow: 0 18px 52px rgba(34,49,91,.08), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(1.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
}
.openai-home .stat-card::before { display: none; }
.openai-home .stat-card:hover { background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.66)); border-color: #fff; }
.openai-home .stat-n { color: #2450f5; background: none; -webkit-text-fill-color: currentColor; font-weight: 400; }
.openai-home .stat-l { color: rgba(16, 16, 16, .50); }
.openai-home .hk-sec,
.openai-home .hk-sec-full { padding-top: 120px; padding-bottom: 120px; }
.openai-home .hk-sec-stripe { background: #ecece8; border-color: rgba(16, 16, 16, .12); }
.openai-home .eyebrow {
  color: #2450f5;
  background: transparent;
  border-color: rgba(36, 80, 245, .24);
  border-radius: 999px;
  box-shadow: none;
}
.openai-home .sec-h {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  color: #101010;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.043em;
  text-wrap: balance;
}

/* Services */
.openai-home .b-card { color: #101010; background: #fff; border-color: rgba(16, 16, 16, .12); border-radius: 22px; }
.openai-home .b-card:hover { background: #fff; border-color: rgba(16, 16, 16, .30); box-shadow: 0 24px 70px rgba(0, 0, 0, .09); }
.openai-home .b-card::before { background: #101010; opacity: .10; }
.openai-home .b-meta,
.openai-home .b-desc,
.openai-home .b-cta { color: rgba(16, 16, 16, .52); }
.openai-home .b-title { color: #101010; font-weight: 500; }
.openai-home .b-tag,
.openai-home .b-status { color: rgba(16, 16, 16, .58); background: rgba(16, 16, 16, .045); border-color: rgba(16, 16, 16, .09); }
.openai-home .b-status::before { background: #2450f5; }
.openai-home .b-bgnum { color: rgba(16, 16, 16, .028); }
.openai-home .b-dots { background-image: radial-gradient(circle, rgba(16, 16, 16, .045) 1px, transparent 1px); }
.openai-home .svc-name { color: rgba(16, 16, 16, .88); }
.openai-home .svc-desc-inline { color: rgba(16, 16, 16, .50); }

/* Work and differentiators */
.openai-home .cases-head { max-width: 1120px; margin: 0 auto; text-align: center; }
.openai-home .cases-desc { max-width: 590px; margin: 20px auto 0; color: rgba(16, 16, 16, .50); }
.openai-home .case-gallery {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: calc(100% - 48px);
  max-width: 1120px;
  height: 440px;
  margin: 48px auto 0;
}
.openai-home .case-gallery-item {
  position: relative;
  flex: .72 1 0;
  min-width: 76px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #d8d8d2;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px);
  transition: flex .6s cubic-bezier(.22,1,.36,1), opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.openai-home .case-gallery.is-visible .case-gallery-item { opacity: 1; transform: translateY(0); }
.openai-home .case-gallery-item.is-active { flex: 4.3 1 0; box-shadow: 0 22px 56px rgba(16,16,16,.16); }
.openai-home .case-gallery-item:focus-visible { outline: 3px solid rgba(36,80,245,.42); outline-offset: 3px; }
.openai-home .case-gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.openai-home .case-gallery-item.is-active img { transform: scale(1.035); }
.openai-home .case-gallery-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.82)); opacity: .38; transition: opacity .35s ease; }
.openai-home .case-gallery-item.is-active .case-gallery-shade { opacity: 1; }
.openai-home .case-gallery-copy { position: absolute; inset: auto 0 0; display: grid; gap: 7px; padding: 24px; text-align: left; opacity: 0; transform: translateY(14px); transition: opacity .35s ease .12s, transform .45s cubic-bezier(.22,1,.36,1) .08s; }
.openai-home .case-gallery-item.is-active .case-gallery-copy { opacity: 1; transform: translateY(0); }
.openai-home .case-gallery-copy strong { font-size: 18px; font-weight: 550; letter-spacing: -.025em; }
.openai-home .case-gallery-copy span { max-width: 36ch; color: rgba(255,255,255,.76); font-size: 12.5px; line-height: 1.5; }
.openai-home .case-gallery-hint { margin: 18px auto 0; color: rgba(16,16,16,.42); font-size: 11px; letter-spacing: .04em; text-align: center; }
.openai-home .diff-item { color: #101010; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,255,255,.48)); border-color: rgba(255,255,255,.94); border-radius: 21px; box-shadow: 0 18px 52px rgba(34,49,91,.08), inset 0 1px 0 #fff; backdrop-filter: blur(24px) saturate(1.24); -webkit-backdrop-filter: blur(24px) saturate(1.24); }
.openai-home .diff-item:hover { background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.66)); border-color: #fff; }
.openai-home .diff-item::before { display: none; }
.openai-home .diff-n,
.openai-home .diff-body,
.openai-home .diff-cta { color: rgba(16, 16, 16, .48); }
.openai-home .diff-title { color: #101010; font-weight: 500; }
.openai-home .diff-status { color: rgba(16, 16, 16, .58); background: rgba(16, 16, 16, .06); }
.openai-home .diff-status::before { background: #2450f5; }

/* Process, FAQ and portal preview */
.openai-home .proc-card { min-height: 238px; padding: 22px; display: flex; flex-direction: column; color: #101010; background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,255,255,.48)); border-color: rgba(255,255,255,.94); border-radius: 21px; box-shadow: 0 18px 52px rgba(34,49,91,.08), inset 0 1px 0 #fff; backdrop-filter: blur(24px) saturate(1.24); -webkit-backdrop-filter: blur(24px) saturate(1.24); }
.openai-home .proc-card:hover { background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,255,255,.66)); border-color: #fff; }
.openai-home .proc-card::before { display: none; }
.openai-home .proc-n { display: grid; place-items: center; width: 35px; height: 35px; margin: 0; border: 1px solid rgba(36,80,245,.12); border-radius: 11px; color: #2450f5; background: linear-gradient(145deg, rgba(36,80,245,.16), rgba(111,140,255,.08)); box-shadow: 0 8px 20px rgba(36,80,245,.08), inset 0 1px 0 rgba(255,255,255,.9); font-size: 10px; font-weight: 600; letter-spacing: 0; }
.openai-home .proc-title { margin-top: auto; margin-bottom: 12px; font-size: 21px; line-height: 1.12; font-weight: 400; letter-spacing: -.032em; }
.openai-home .proc-desc { color: rgba(16, 16, 16, .54); font-size: 13px; line-height: 1.6; }
.openai-home .faq-item-card { background: transparent; border-color: rgba(16, 16, 16, .13); border-radius: 16px; }
.openai-home .faq-item-card:hover { background: rgba(255, 255, 255, .54); border-color: rgba(16, 16, 16, .22); }
.openai-home .faq-item-card button span:first-child { color: rgba(16, 16, 16, .90) !important; }
.openai-home .faq-item-card button span span { background: rgba(16, 16, 16, .50) !important; }
.openai-home .faq-item-card p { color: rgba(16, 16, 16, .58) !important; }
.openai-home .cal-card { color: #101010; background: #fff; border-color: rgba(16, 16, 16, .14); border-radius: 22px; box-shadow: 0 26px 80px rgba(0, 0, 0, .08); }
.openai-home .cal-card::before { background: #101010; opacity: .10; }
.openai-home .cal-hd,
.openai-home .cal-ft { border-color: rgba(16, 16, 16, .10); }
.openai-home .cal-day { border-color: rgba(16, 16, 16, .07); }
.openai-home .cal-av { background: rgba(16, 16, 16, .08); }
.openai-home .cal-sub,
.openai-home .cal-wk,
.openai-home .cal-dl { color: rgba(16, 16, 16, .44); }
.openai-home .cal-nb { color: rgba(16, 16, 16, .48); border-color: rgba(16, 16, 16, .14); }
.openai-home .cal-nb:hover { color: #101010; background: rgba(16, 16, 16, .06); }
.openai-home .cal-bs { color: rgba(16, 16, 16, .62); background: rgba(16, 16, 16, .055); }
.openai-home .cal-bp { color: #fff; background: #101010; }

/* Contact and footer remain high-contrast editorial anchors */
.openai-home .ct-wrap { color: #fff; background: #2450f5; padding-top: 130px; padding-bottom: 130px; }
.openai-home .ct-h { color: #fff; font-size: clamp(32px, 3.5vw, 48px); font-weight: 400; line-height: 1.04; letter-spacing: -.043em; }
.openai-home .ct-sub { color: rgba(255, 255, 255, .55); }
.openai-home .ct-card { color: #101010; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,248,255,.92)); border-color: rgba(255, 255, 255, .96); border-radius: 22px; backdrop-filter: blur(22px) saturate(1.12); -webkit-backdrop-filter: blur(22px) saturate(1.12); box-shadow: 0 28px 78px rgba(7, 20, 79, .24), inset 0 1px 0 #fff; }
.openai-home .ct-card::before { background: linear-gradient(90deg, transparent, rgba(36,80,245,.34), transparent); }
.openai-home .ct-card-t { color: #101010; }
.openai-home .fi,
.openai-home .fta,
.openai-home .btn-sub,
.openai-home .btn-wa { border-radius: 13px; }
.openai-home .fi,
.openai-home .fta { color: #101010; background: #f1f2f6; border-color: rgba(16,16,16,.11); }
.openai-home .fi::placeholder,
.openai-home .fta::placeholder { color: rgba(16,16,16,.42); }
.openai-home .fic { color: rgba(36,80,245,.70); }
.openai-home .fi:focus,
.openai-home .fta:focus {
  background: #fff;
  border-color: rgba(36,80,245,.48);
  box-shadow: 0 0 0 3px rgba(36, 80, 245, .18);
}
.openai-home .btn-sub { color: #fff; background: #2450f5; }
.openai-home .btn-sub:hover { background: #153bd1; box-shadow: 0 10px 28px rgba(36, 80, 245, .24); }
.openai-home .f-div { color: rgba(16,16,16,.34); }
.openai-home .f-div::before,
.openai-home .f-div::after { background: rgba(16,16,16,.10); }
.openai-home .btn-wa { color: rgba(16,16,16,.68); background: rgba(36,80,245,.055); border-color: rgba(36,80,245,.17); }
.openai-home .btn-wa:hover { color: #101010; background: rgba(36,80,245,.10); border-color: rgba(36,80,245,.28); }
.openai-home .ct-card .beam { display: none; }
.openai-home .ct-card .corner-glow { background: #2450f5; opacity: .5; }
.openai-home .hk-ft { color: #fff; background: #101010; border-color: rgba(255, 255, 255, .16); }
.openai-home .hk-ft .warded-wordmark { filter: brightness(0) invert(1); }
.openai-home .ft-tag,
.openai-home .ft-links,
.openai-home .ft-copy { color: rgba(255, 255, 255, .48); }
.openai-home .hk-ft-legal a,
.openai-home .hk-ft-legal .cookie-settings-link { color: rgba(255, 255, 255, .38); }

@media (max-width: 900px) {
  .openai-home .hk-h1 { max-width: 720px; font-size: clamp(39px, 7vw, 60px); }
}
@media (max-width: 600px) {
  .openai-home .hk-nav { padding: 0 8px; }
  .openai-home .hk-nav-in { margin-top: 8px; min-height: 50px; padding: 6px 7px 6px 12px; border-radius: 16px; }
  .openai-home .hk-nav-act .btn-glass { display: none; }
  .openai-home .hk-nav-act .btn-call { min-height: 37px; border-radius: 12px; }
  .openai-home .hk-hero { padding: 124px 18px 54px; }
  .openai-home .hk-h1 { max-width: 480px; font-size: clamp(36px, 10.5vw, 48px); line-height: 1; }
  .openai-home .hk-sub { font-size: 15px; }
  .openai-home .case-gallery { width: 100%; height: 370px; margin-top: 38px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .openai-home .case-gallery::-webkit-scrollbar { display: none; }
  .openai-home .case-gallery-item { flex: 0 0 68px; min-width: 68px; border-radius: 18px; scroll-snap-align: center; }
  .openai-home .case-gallery-item.is-active { flex-basis: min(76vw, 340px); }
  .openai-home .case-gallery-copy { padding: 20px; }
  .openai-home .gradient-hero-shade {
    background:
      radial-gradient(ellipse 72% 48% at 50% 47%, rgba(246, 246, 242, .94) 0%, rgba(246, 246, 242, .78) 52%, rgba(246, 246, 242, .25) 82%, transparent 100%),
      linear-gradient(180deg, rgba(246, 246, 242, .72) 0%, transparent 30%, transparent 68%, #f6f6f2 100%);
  }
  .openai-home .hk-sec,
  .openai-home .hk-sec-full { padding-top: 82px; padding-bottom: 82px; }
  .openai-home .ct-wrap { padding-top: 90px; padding-bottom: 90px; }
}
