:root {
  color-scheme: light;
  --console-bg: #101413;
  --console-panel: #171d1a;
  --console-ink: #f6f3e8;
  --page-bg: #eef0e8;
  --page-wash: #f9f7ef;
  --panel: #fffdf6;
  --panel-soft: #f5f4ec;
  --ink: #111411;
  --muted: #5e665f;
  --subtle: #899187;
  --line: #d8ded3;
  --line-strong: #9eaa9b;
  --signal-green: #42d77d;
  --signal-blue: #3c7df0;
  --signal-amber: #d99a25;
  --signal-red: #d76048;
  --shadow: 0 28px 80px rgba(13, 18, 15, 0.16);
  --shadow-tight: 0 12px 30px rgba(13, 18, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(90deg, rgba(16, 20, 19, 0.04) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, rgba(16, 20, 19, 0.035) 0 1px, transparent 1px 76px),
    linear-gradient(180deg, #e7ebe1 0, var(--page-bg) 460px, #f7f5ed 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Verdana, sans-serif;
  font-size: 17px;
  line-height: 1.58;
}

a {
  color: inherit;
  text-decoration-color: rgba(60, 125, 240, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfaf3;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(16, 20, 19, 0.04);
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:hover,
textarea:hover {
  border-color: var(--line-strong);
}

input:focus,
textarea:focus {
  border-color: var(--signal-blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(60, 125, 240, 0.13);
  outline: 0;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(66, 215, 125, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 20;
  border-radius: 8px;
  background: var(--console-bg);
  color: var(--console-ink);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 18px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-top: 12px;
  border: 1px solid rgba(246, 243, 232, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(16, 20, 19, 0.9);
  color: var(--console-ink);
  box-shadow: 0 16px 40px rgba(16, 20, 19, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--console-ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(66, 215, 125, 0.55);
  border-radius: 8px;
  background: var(--signal-green);
  color: #07100b;
  box-shadow: 0 0 0 4px rgba(66, 215, 125, 0.12);
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  color: rgba(246, 243, 232, 0.78);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover {
  border-color: rgba(246, 243, 232, 0.14);
  background: rgba(246, 243, 232, 0.08);
  color: white;
}

main {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 84px;
}

.hero-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.72fr);
  gap: 32px;
  align-items: center;
  min-height: clamp(620px, calc(100vh - 170px), 760px);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 232, 0.1);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(90deg, rgba(66, 215, 125, 0.09) 0 1px, transparent 1px 90px),
    linear-gradient(0deg, rgba(246, 243, 232, 0.07) 0 1px, transparent 1px 90px),
    linear-gradient(135deg, #101413 0, #151a18 58%, #232019 100%);
  color: var(--console-ink);
  box-shadow: var(--shadow);
}

.hero-band::before {
  content: "crawlable | structured | cited";
  position: absolute;
  right: 18px;
  top: 18px;
  border: 1px solid rgba(66, 215, 125, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(246, 243, 232, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1,
.page-header h1 {
  margin: 0;
  max-width: 850px;
  color: inherit;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(52px, 6.3vw, 92px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.page-header {
  margin-top: 34px;
  border: 1px solid rgba(16, 20, 19, 0.08);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(90deg, rgba(60, 125, 240, 0.12) 0 1px, transparent 1px 88px),
    linear-gradient(0deg, rgba(16, 20, 19, 0.04) 0 1px, transparent 1px 88px),
    var(--panel);
  box-shadow: var(--shadow-tight);
}

.page-header h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.lede {
  max-width: 780px;
  color: rgba(246, 243, 232, 0.78);
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.42;
}

.page-header .lede,
.section-heading + p,
.article-flow > section > p,
.template-panel li {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--signal-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(66, 215, 125, 0.12);
}

.page-header .eyebrow,
.content-band .eyebrow,
.article-flow .eyebrow {
  color: var(--signal-blue);
}

.hero-actions,
.result-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 10px 17px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: #050806;
  background: var(--signal-green);
  color: #07100b;
  box-shadow: 0 10px 22px rgba(66, 215, 125, 0.18);
}

.button.secondary {
  border-color: rgba(246, 243, 232, 0.36);
  background: rgba(246, 243, 232, 0.08);
  color: var(--console-ink);
}

.page-header ~ .button.secondary,
.article-flow .button.secondary,
.result-heading .button.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button.small {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 13px;
}

.hero-tool,
.tool-workbench,
.template-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 19, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
}

.hero-tool {
  color: var(--ink);
  padding: 54px 22px 22px;
}

.hero-tool::before {
  content: "Live workbench";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(16, 20, 19, 0.08);
  background:
    linear-gradient(90deg, var(--signal-red) 0 10px, transparent 10px 19px, var(--signal-amber) 19px 29px, transparent 29px 38px, var(--signal-green) 38px 48px, transparent 48px),
    #edf0e8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.tool-workbench,
.template-panel {
  padding: clamp(20px, 3vw, 30px);
}

.tool-form {
  display: grid;
  gap: 14px;
}

.tool-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.content-band,
.article-flow section {
  margin-top: 64px;
}

.hero-band + .content-band {
  margin-top: 28px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 22px;
}

.section-heading h2,
.article-flow h2,
.rail-block h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.tool-card,
.mini-card,
.link-list a,
.rail-block {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 19, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.tool-card {
  min-height: 252px;
  padding: 58px 20px 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 38px;
  background:
    linear-gradient(90deg, var(--signal-green), var(--signal-blue) 54%, var(--signal-amber)),
    var(--console-bg);
}

.tool-card::after {
  content: "open tool";
  position: absolute;
  right: 14px;
  top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 20, 19, 0.22);
  background: white;
  box-shadow: var(--shadow-tight);
}

.tool-card span,
.mini-card span,
.ad-slot span {
  color: var(--signal-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 14px 0 10px;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 31px;
  line-height: 0.98;
  letter-spacing: 0;
}

.tool-card p,
.mini-card span,
.ad-slot p,
.site-footer p {
  color: var(--muted);
  font-size: 15px;
}

.split-band,
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-list a,
.mini-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-list a:hover,
.mini-card:hover {
  transform: translateX(4px);
  border-color: rgba(60, 125, 240, 0.35);
  background: white;
}

.article-flow {
  min-width: 0;
}

.article-flow.narrow {
  max-width: 860px;
}

.answer-box {
  border: 1px solid rgba(66, 215, 125, 0.32);
  border-left: 8px solid var(--signal-green);
  border-radius: 8px;
  background: #eef8ef;
  padding: 24px 26px;
  box-shadow: var(--shadow-tight);
}

.ad-slot {
  display: grid;
  gap: 6px;
  min-height: 112px;
  place-items: center;
  margin: 48px 0;
  border: 1px dashed #aab4a5;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(16, 20, 19, 0.035) 0 8px, transparent 8px 16px),
    rgba(255, 253, 246, 0.82);
  color: var(--muted);
  text-align: center;
}

.ad-slot-live {
  border-style: solid;
  background: rgba(255, 253, 246, 0.95);
}

.ad-slot-live .adsbygoogle {
  width: 100%;
  min-height: 90px;
}

.side-rail {
  position: sticky;
  top: 100px;
}

.rail-block {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.rail-block h2 {
  font-size: 28px;
}

.rail-block a {
  color: var(--ink);
  font-weight: 800;
}

.result-panel {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.result-heading {
  justify-content: space-between;
}

.result-heading h3,
.tool-output h4 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 27px;
  letter-spacing: 0;
}

.output-empty,
.tool-output {
  margin-top: 14px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(16, 20, 19, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(60, 125, 240, 0.08) 0 1px, transparent 1px 62px),
    linear-gradient(0deg, rgba(16, 20, 19, 0.04) 0 1px, transparent 1px 62px),
    #fbfaf3;
  color: var(--muted);
  padding: 18px;
}

.tool-output {
  color: var(--ink);
}

.tool-output ol,
.tool-output ul {
  padding-left: 22px;
}

pre {
  max-width: 100%;
  overflow: auto;
  border: 1px solid rgba(66, 215, 125, 0.22);
  border-radius: 8px;
  background: var(--console-bg);
  color: var(--console-ink);
  padding: 16px;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.status {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.status.allowed {
  background: rgba(66, 215, 125, 0.2);
  color: #176033;
}

.status.blocked {
  background: rgba(215, 96, 72, 0.18);
  color: #7a2717;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.7);
  padding: 15px 16px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-footer {
  align-items: flex-start;
  border-top: 1px solid rgba(16, 20, 19, 0.12);
  padding: 30px 0 44px;
}

.site-footer nav a {
  color: var(--muted);
}

@media (max-width: 1040px) {
  .hero-band,
  .split-band,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: auto;
  }

  .side-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, 1240px);
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .site-nav {
    width: 100%;
    gap: 6px;
  }

  .site-nav a {
    padding: 7px 8px;
  }

  main {
    width: min(100% - 24px, 1240px);
    padding: 14px 0 58px;
  }

  .hero-band,
  .page-header {
    padding: 22px;
  }

  .hero-band::before {
    position: static;
    justify-self: start;
    margin-bottom: 8px;
  }

  .hero-copy h1,
  .page-header h1 {
    font-size: 46px;
  }

  .lede {
    font-size: 20px;
  }

  .tool-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-tool,
  .tool-workbench,
  .template-panel {
    padding: 50px 16px 18px;
  }

  .tool-workbench,
  .template-panel {
    padding-top: 20px;
  }

  .button {
    width: 100%;
  }
}
