/* AGENT GrokOS site styles. Own identity: paper background, ink text, one strong blue. */

:root {
  --paper: #fcfcfa;
  --surface: #ffffff;
  --ink: #17171f;
  --ink-soft: #4c4c58;
  --line: #e3e3dd;
  --blue: #0b3dff;
  --blue-deep: #0a2fc4;
  --green: #00a86b;
  --violet: #6c3df0;
  --amber: #e8a100;
  --radius: 6px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.sectionTitle {
  margin: 0 0 56px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btnPrimary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 0 var(--blue-deep);
}

.btnPrimary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btnPrimary:active { transform: translateY(1px); box-shadow: none; }

.btnDark {
  background: var(--ink);
  color: #fff;
}

.btnDark:hover { background: #000; transform: translateY(-1px); }

.btnOutline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btnOutline:hover { background: var(--ink); color: #fff; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.navInner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brandMark {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brandName {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navLinks {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.navLinks a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.navLinks a:hover { color: var(--ink); text-decoration: underline; }

.navCta { padding: 8px 16px; }

/* ---------- Hero ---------- */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 84px 24px 72px;
  text-align: center;
}

.heroLogo {
  width: 170px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.heroTitle {
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8.2vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.heroTitle span { display: block; }
.heroTitle .accent { color: var(--blue); }

.heroSub {
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 19px;
  color: var(--ink-soft);
}

.accessGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.accessCard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(23, 23, 31, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.accessCard:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(23, 23, 31, 0.10);
}

.accessIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #e8edff;
  color: var(--blue);
}

.accessIconGreen { background: #e2f5ec; color: var(--green); }
.accessIconViolet { background: #efe9ff; color: var(--violet); }

.accessCard h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.accessCard p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.accessCard .btn { margin-top: auto; align-self: flex-start; }

.heroNote {
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Features ---------- */

.features {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.feature {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 28px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.featureNum {
  margin: 0;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
}

.featureText h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.featureText p {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  color: var(--ink-soft);
}

.visual {
  grid-column: 2;
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* Visual 1: chats */
.chatRow { display: flex; align-items: center; gap: 14px; }
.chatChip {
  flex: 0 0 96px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e8edff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.chipGreen { background: #e2f5ec; color: var(--green); }
.chipViolet { background: #efe9ff; color: var(--violet); }
.chatBubble {
  background: #f2f2ee;
  border-radius: 4px 14px 14px 14px;
  padding: 9px 14px;
  font-size: 15px;
}

/* Visual 2: memory */
.memoryItem { display: flex; align-items: center; gap: 12px; }
.memoryDot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; }
.dotBlue { background: var(--blue); }
.dotGreen { background: var(--green); }
.dotViolet { background: var(--violet); }
.memoryBar { height: 12px; border-radius: 999px; background: #e8edff; }
.barLong { width: 46%; }
.barMid { width: 32%; }
.barShort { width: 20%; }
.memoryLabel { font-size: 14px; color: var(--ink-soft); }

/* Visual 3: schedule */
.schedHead { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.schedDot { width: 10px; height: 10px; border-radius: 50%; background: #d8d8d2; }
.schedTitle { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.schedRow { display: flex; align-items: center; gap: 14px; }
.schedTime { flex: 0 0 48px; font-size: 14px; font-weight: 600; }
.schedBar { height: 14px; width: 38%; border-radius: 999px; background: #c9d6ff; }
.barGreen { background: #bfe8d4; }
.barViolet { background: #ddd2ff; }
.schedTag { font-size: 14px; color: var(--ink-soft); }

/* Visual 4: subagents */
.agentMain {
  align-self: center;
  padding: 12px 26px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.agentBranch { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.agentNode {
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

/* Visual 5: web */
.webBar { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.webDot { width: 10px; height: 10px; border-radius: 50%; background: #d8d8d2; }
.webUrl {
  margin-left: 10px;
  padding: 4px 12px;
  background: #f2f2ee;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
}
.webLine { height: 12px; border-radius: 999px; background: #ececea; }
.lineLong { width: 82%; }
.lineMid { width: 64%; }
.lineShort { width: 44%; }

/* Visual 6: skills */
.visualSkills { flex-direction: row; flex-wrap: wrap; }
.skillCard {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
}
.skillPlus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Pricing ---------- */

.pricing {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px;
}

.pricingIntro {
  max-width: 600px;
  margin: -32px 0 40px;
  font-size: 18px;
  color: var(--ink-soft);
}

.tableWrap { overflow-x: auto; }

.priceTable {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 16px;
}

.priceTable th,
.priceTable td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.priceTable thead th {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--ink);
}

.priceTable thead th[data-recommended="true"] {
  background: #eef2ff;
  box-shadow: inset 0 3px 0 var(--blue);
}

.priceTable tbody th { font-weight: 600; color: var(--ink-soft); }
.priceTable tbody td[data-recommended="true"],
.priceTable thead th[data-recommended="true"] { background: #eef2ff; }

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
}

.check { color: var(--green); font-weight: 700; font-size: 18px; }
.notIncluded { color: var(--ink-soft); font-size: 14px; }

.pricingNote {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faqs {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.accordion { border-top: 1px solid var(--line); }

.faqItem { border-bottom: 1px solid var(--line); }

.faqQ {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.faqQ:hover { color: var(--blue); }

.faqIcon {
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faqItem.open .faqIcon { transform: rotate(45deg); }

.faqA {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faqA p {
  margin: 0;
  padding: 0 4px 24px;
  max-width: 720px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--blue);
  color: #fff;
}

.footerInner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.footerCols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footerBrandCol p {
  max-width: 280px;
  margin: 18px 0 0;
  color: #dbe4ff;
  font-size: 15px;
}

.footer .brandMark { background: #fff; border-radius: 8px; padding: 4px; box-sizing: border-box; }

.footerCol h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footerCol a {
  display: block;
  margin-bottom: 10px;
  color: #dbe4ff;
  font-size: 15px;
  text-decoration: none;
}

.footerCol a:hover { color: #fff; text-decoration: underline; }

.footerBottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  color: #dbe4ff;
}

.footerBottom p { margin: 0; }
.footerBottom a { color: #fff; }

/* ---------- Terminal ---------- */

.terminalLabel {
  margin: 0 auto 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.terminalGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: left;
}

.terminal {
  background: var(--ink);
  border-radius: 10px;
  padding: 16px 18px 18px;
  box-shadow: 0 8px 24px rgba(23, 23, 31, 0.16);
}

.termHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #aab2d6;
}

.termCopy {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.termCopy:hover { background: rgba(255, 255, 255, 0.12); }

.termBody {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.7;
  color: #eef1ff;
  white-space: pre-wrap;
  word-break: break-word;
}

.termComment { color: #8a93b8; }

/* ---------- Platform ---------- */

.platform {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 20px;
}

/* ---------- Pricing: coming soon ---------- */

.soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  white-space: nowrap;
}

.btnSoon {
  background: #ececea;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .terminalGrid { grid-template-columns: 1fr; }
  .navLinks { display: none; }
  .navCta { margin-left: auto; }
  .accessGrid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .feature { grid-template-columns: 1fr; gap: 12px; }
  .visual { grid-column: 1; }
  .featureNum { font-size: 34px; }
  .footerCols { grid-template-columns: 1fr 1fr; }
  .footerBrandCol { grid-column: 1 / -1; }
  .priceTable th,
  .priceTable td { padding: 14px 12px; font-size: 14px; }
}
