:root{
  --oxford:#002147;
  --white:#FFFFFF;
  --silver:#F5F5F7;

  --text:#0B1220;
  --muted:rgba(11,18,32,0.72);

  --border:rgba(0,0,0,0.10);
  --border2:rgba(0,0,0,0.14);
  --shadow:0 10px 28px rgba(0,0,0,0.06);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--white);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.container{
  max-width:1240px;
  margin:0 auto;
  padding:0 20px;
}

/* TOP BAR */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

/* Desktop: logo | centered nav | right controls */
.topbar__inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap:18px;
  padding:14px 0;
  min-width:0;
}

/* brand */
.brand{
  display:flex;
  align-items:center;
  min-width:0;
  color:var(--oxford);
  font-weight:800;
  letter-spacing:0.2px;
}
.brand a{display:flex;align-items:center;min-width:0}
.logo{
  height:28px;
  max-height:28px;
  width:auto;
  max-width:220px;
  display:block;
}

/* centered nav */
.topbar__nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  min-width:0;
  white-space:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.topbar__nav a{
  font-weight:600;
  font-size:14px;
  color:var(--muted);
}
@media (hover:hover){
  .topbar__nav a:hover{color:var(--oxford)}
}
.topbar__nav::-webkit-scrollbar{height:6px}

/* right controls */
.topbar__right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-width:0;
}
.lang-inline{
  display:flex;
  align-items:center;
  gap:14px;
  white-space:nowrap;
}

/* LANGUAGE DROPDOWN */
.lang-select{position:relative}
.lang-select select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  background:var(--white);
  border:1px solid var(--border2);
  border-radius:12px;

  padding:8px 30px 8px 12px;
  font-weight:600;
  font-size:14px;
  color:var(--muted);

  cursor:pointer;
  line-height:1;
}
.lang-select::after{
  content:"▾";
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  color:var(--muted);
  font-size:12px;
}

/* HERO */
.hero{
  padding:72px 0 44px 0;
  text-align:center;
}
.hero h1{
  margin:0 0 10px 0;
  font-size:42px;
  line-height:1.1;
  color:var(--oxford);
}
.hero h2{
  margin:0 auto 14px auto;
  max-width:980px;
  font-size:22px;
  font-weight:600;
  line-height:1.35;
  color:rgba(0,33,71,0.85);
}
.subheadline{
  margin:0 auto;
  max-width:860px;
  font-size:16px;
  color:var(--muted);
}

/* SECTIONS */
section{padding:44px 0}
.section-head{
  text-align:center;
  margin:0 0 18px 0;
}
.section-head h3{
  margin:0 0 10px 0;
  font-size:20px;
  color:var(--oxford);
}
.section-head p{
  margin:0 auto;
  max-width:980px;
  color:var(--muted);
}

/* DIAGNOSTIC */
.diagnostic{
  background:var(--silver);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

/* PROMPTS GRID */
.grid3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:28px;
  margin-top:22px;
}
@media (max-width:1024px){
  .grid3{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width:640px){
  .grid3{grid-template-columns:1fr}
}

/* TERMINAL CARDS */
.terminal{
  position:relative;
  background:var(--white);
  border:1px solid var(--border2);
  border-radius:14px;
  padding:18px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow);
  transition:box-shadow .25s ease, transform .25s ease;
  min-width:0;
}
.terminal::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:0;
  background:var(--oxford);
  border-radius:14px 14px 0 0;
  transition:height .25s ease;
}
@media (hover:hover){
  .terminal:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 40px rgba(0,0,0,.10);
  }
  .terminal:hover::before{height:4px}
}

/* fixed card heights (align across columns) */
.terminal--fixed{
  min-height:520px;
}

/* STACKED HEADER: icon -> name -> copy */
.terminal__top--stack{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  padding:6px 0 14px 0;
  flex:0 0 auto;
}

/* icon */
.tool-icon--big{
  width:72px;
  height:72px;
  object-fit:contain;
  display:block;
}

/* service name under icon */
.tool-name{
  font-weight:800;
  color:var(--oxford);
  font-size:16px;
  line-height:1.1;
}

/* Prompt window base */
.terminal__body{
  margin:0;
  border-top:1px solid var(--border);
  padding-top:12px;

  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:13px;
  line-height:1.38;
  color:#000;

  white-space:pre-wrap;
  word-break:break-word;
}

/* Scroll prompt */
.terminal__body--scroll{
  flex:0 0 auto;
  max-height:260px;
  overflow:auto;
  padding-right:10px;
}
.terminal__body--scroll::-webkit-scrollbar{width:10px}
.terminal__body--scroll::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,0.14);
  border-radius:10px;
}
.terminal__body--scroll::-webkit-scrollbar-track{
  background:rgba(0,0,0,0.06);
  border-radius:10px;
}

/* BUTTONS */
.btn{
  border:1px solid var(--border2);
  background:var(--white);
  color:var(--oxford);
  padding:10px 16px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
}
.btn--ghost{
  background:var(--silver);
  border-color:var(--border2);
  color:var(--text);
}
.btn--copy{
  padding:7px 10px;
  border-radius:10px;
  font-weight:800;
  font-size:12px;
  background:var(--silver);
  color:var(--text);
}
@media (hover:hover){
  .btn--copy:hover{
    border-color:rgba(0,33,71,0.35);
    background:#fff;
    transform:translateY(-1px);
  }
}
.btn--copy:active{transform:translateY(0)}
.btn--copy.is-copied{
  background:rgba(0,33,71,0.10);
  border-color:rgba(0,33,71,0.30);
}

/* CTA (centered, same style as before) */
.cta{background:var(--white); padding:44px 0}
.cta__card{
  max-width:980px;
  margin:0 auto;
  text-align:center;
  background:var(--white);
  border:1px solid var(--border2);
  border-radius:16px;
  padding:22px;
  box-shadow:var(--shadow);
}
.cta__card h3{margin:0 0 6px 0;color:var(--oxford)}
.cta__card p{margin:0 0 16px 0;color:var(--muted)}

/* ABOUT */
.about{background:var(--white)}
.about-toggle-wrap{
  display:flex;
  justify-content:center;
  margin:18px 0 0 0;
}
.founders{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
  max-width:820px;
  margin:22px auto 0 auto;
  align-items:stretch;
}
@media (max-width:640px){
  .founders{grid-template-columns:1fr}
}

/* Founders cards (frames restored) */
.founders a.founder-card,
.founders .founder-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:var(--white);
  border:1px solid var(--border2);
  border-radius:16px;
  padding:26px 20px;
  box-shadow:var(--shadow);
  text-decoration:none;
  color:inherit;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (hover:hover){
  .founders a.founder-card:hover,
  .founders .founder-card:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 40px rgba(0,0,0,.10);
    border-color:rgba(0,33,71,0.35);
  }
}
.founder-name{
  font-weight:800;
  font-size:18px;
  color:var(--oxford);
  margin-bottom:6px;
  text-align:center;
}
.founder-role{
  font-size:14px;
  color:var(--muted);
  margin-bottom:14px;
  text-align:center;
}
.founder-link{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:var(--oxford);
  text-align:center;
}
.founder-link::before{
  content:"in";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  background:#0A66C2;
  color:#fff;
  font-weight:800;
  font-size:12px;
  border-radius:4px;
}
.founders--collapsed{display:none !important}

/* FOOTER */
.footer{
  background:var(--silver);
  border-top:1px solid var(--border);
  padding:18px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.footer__brand{display:flex;align-items:center;min-width:0}
.footer__logo{height:18px;width:auto;display:block}
.muted{color:var(--muted)}

/* MOBILE */
@media (max-width:860px){
  .topbar__inner{
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand right"
      "nav nav";
    align-items:center;
    column-gap:12px;
    row-gap:10px;
    padding:12px 0;
  }
  .brand{grid-area:brand;justify-self:start}
  .topbar__right{grid-area:right;justify-self:end}
  .topbar__nav{
    grid-area:nav;
    width:100%;
    justify-content:center;
    border-top:1px solid var(--border);
    padding-top:10px;
    margin-top:2px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    white-space:nowrap;
  }
}
@media (max-width:520px){
  .logo{max-width:160px}
  .topbar__nav{gap:16px}
  .terminal--fixed{min-height:540px}
  .tool-icon--big{width:64px;height:64px}
  .terminal__body--scroll{max-height:260px}
}

/* ===================== DOC PAGE (ADDED) ===================== */
.doc-page .doc-container{
  max-width:980px;
}

.doc-page .doc-hero{
  padding:56px 0 28px 0;
}

.doc-page .doc-hero h1{
  text-align:left;
  margin:0 0 10px 0;
}

.doc-page .doc-hero h2{
  text-align:left;
  margin:0 0 14px 0;
  max-width:none;
}

.doc-page .doc-hero .subheadline{
  text-align:left;
  margin:0;
  max-width:none;
}

.doc-hero__inner{
  display:grid;
  grid-template-columns:1.3fr 0.9fr;
  gap:22px;
  align-items:start;
}

.doc-hero__card{
  padding:18px;
}

.doc-hero__card:hover{
  transform:none !important;
  box-shadow:var(--shadow) !important;
}

.doc-hero__card::before{
  height:0 !important;
}

.doc-hero__kicker{
  font-weight:800;
  color:var(--oxford);
  font-size:13px;
  margin-bottom:10px;
}

.doc-bullets{
  margin:0 0 14px 18px;
  padding:0;
  color:var(--muted);
  line-height:1.55;
  font-size:14px;
}

.doc-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
}

.doc-section{
  padding:28px 0;
}

.doc-head-left{
  text-align:left;
  margin-bottom:14px;
}
.doc-head-left p{
  margin:0;
  max-width:none;
}

.doc-card{
  padding:20px;
}

.doc-card h4{
  margin:0 0 10px 0;
  color:var(--oxford);
  font-size:16px;
}

.doc-card p{
  margin:0 0 14px 0;
  color:var(--muted);
  line-height:1.65;
}

.doc-card ul,
.doc-card ol{
  margin:0 0 14px 18px;
  color:var(--muted);
  line-height:1.65;
}

.doc-card li{
  margin:0 0 6px 0;
}

.doc-toc__list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 22px;
  margin:0;
  padding:0 0 0 18px;
  color:var(--muted);
  line-height:1.6;
}

.doc-toc__list a{
  color:var(--oxford);
  text-decoration:none;
  font-weight:600;
}

@media (hover:hover){
  .doc-toc__list a:hover{
    text-decoration:underline;
  }
}

.doc-callout{
  margin-top:12px;
  border:1px solid var(--border2);
  background:var(--silver);
  border-radius:14px;
  padding:14px 14px;
  color:var(--text);
  line-height:1.6;
}

.doc-faq h4{
  margin:0 0 8px 0;
}

.doc-faq p{
  margin:0 0 16px 0;
}

.doc-cta{
  margin-top:18px;
}

@media (max-width:980px){
  .doc-hero__inner{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .doc-toc__list{
    grid-template-columns:1fr;
  }
}
.doc-frame{
  background:var(--white);
  border:1px solid var(--border2);
  border-radius:16px;
  padding:14px 14px;
  box-shadow:var(--shadow);
  margin:12px 0;
}

.doc-p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.doc-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.65;
}

.doc-callout{
  background:var(--silver);
}

.doc-hero__card .doc-frame{
  box-shadow:none;
  border-color:var(--border);
  margin:10px 0;
}