:root {
  --ink: #13201e;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #117a65;
  --green-dark: #0c4f43;
  --yellow: #f1c544;
  --coral: #d85b45;
  --blue: #315d7b;
  --line: #cad2cc;
  --muted: #52615e;
  --shadow: 0 18px 50px rgba(19, 32, 30, .12);
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Trebuchet MS", Aptos, sans-serif; font-size: 17px; line-height: 1.65; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: var(--yellow); color: var(--ink); padding: 8px 12px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 30; min-height: 72px; background: rgba(247,248,245,.97); border-bottom: 1px solid var(--line); }
.nav-shell { width: min(var(--shell), calc(100% - 40px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 20px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; }
.site-nav a { text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--green); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 19px; height: 2px; background: var(--ink); content: ""; position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 545px; position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); background-image: url('/images/6-best-ai-article-writers-for-programmatic-seo-content/6-best-ai-article-writers-for-programmatic-seo-content-google-docs-website-06.png'); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(9, 38, 33, .88); }
.hero::after { content: "OPS"; position: absolute; right: 4vw; bottom: -58px; color: rgba(241,197,68,.17); font: 700 220px/1 Georgia, serif; letter-spacing: 0; }
.hero .shell { position: relative; z-index: 2; padding-block: 66px 76px; }
.hero-copy { width: min(790px, 100%); }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 13px; line-height: 1.3; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { margin: 0; max-width: 920px; font: 700 72px/.96 Georgia, "Times New Roman", serif; letter-spacing: 0; text-wrap: balance; }
.hero-lede { max-width: 690px; margin: 26px 0 0; font-size: 20px; line-height: 1.55; color: #edf4ef; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 18px; border: 2px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--yellow); color: var(--ink); }
.button.secondary { border-color: #dbe9e2; color: var(--white); }
.button:hover { transform: translateY(-1px); }
.article-surface { background: var(--white); border-bottom: 1px solid var(--line); }
.article-surface .shell { padding-block: 48px 56px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); gap: 44px; align-items: end; margin-bottom: 26px; }
.section-head h2, .service-intro h2, .method-copy h2, .faq-intro h2, .contact-band h2 { margin: 0; font: 700 44px/1.05 Georgia, "Times New Roman", serif; letter-spacing: 0; text-wrap: balance; }
.section-head > p { margin: 0; color: var(--muted); }
.article-tabs { border-top: 1px solid var(--ink); }
.tab-list { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.tab-list button { flex: 0 0 auto; min-height: 48px; border: 0; border-bottom: 4px solid transparent; background: transparent; color: var(--muted); padding: 10px 18px 7px; font: 800 14px/1.2 "Trebuchet MS", sans-serif; cursor: pointer; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-color: var(--coral); }
.tab-panel { padding-top: 24px; }
.tab-panel[hidden] { display: none; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-card { min-width: 0; min-height: 206px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--white); }
.article-card:hover { background: #eef5f1; }
.article-card .topic { color: var(--coral); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.article-card h3 { margin: 16px 0 14px; font: 700 23px/1.15 Georgia, serif; letter-spacing: 0; overflow-wrap: anywhere; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article-card .open { margin-top: 20px; color: var(--green-dark); font-size: 14px; font-weight: 800; }
.services { padding: 86px 0 92px; }
.service-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-bottom: 40px; }
.service-intro p { margin: 0; max-width: 670px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 270px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 8px 20px rgba(19,32,30,.04); }
.service-card:nth-child(2n) { border-top: 5px solid var(--blue); }
.service-card:nth-child(2n+1) { border-top: 5px solid var(--green); }
.service-card:nth-child(3n) { border-top-color: var(--coral); }
.service-card h3 { margin: 12px 0 12px; font: 700 25px/1.15 Georgia, serif; letter-spacing: 0; }
.service-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.service-card a { color: var(--green-dark); font-size: 14px; font-weight: 800; }
.method { background: var(--ink); color: var(--white); padding: 84px 0; }
.method .shell { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: 80px; }
.method .eyebrow { color: var(--yellow); }
.method-copy p { max-width: 520px; color: #c8d8d2; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #46615a; }
.method-list li { display: grid; grid-template-columns: 18px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid #46615a; }
.method-list li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--yellow); }
.method-list strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 21px; }
.method-list span { color: #c8d8d2; font-size: 15px; }
.faq-band { padding: 84px 0; background: #e9eeea; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid #9ca9a2; }
.faq-list summary { cursor: pointer; padding: 19px 36px 19px 0; font-family: Georgia, serif; font-size: 20px; font-weight: 700; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font: 700 25px/1 Georgia, serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -3px 42px 20px 0; color: var(--muted); }
.contact-band { padding: 76px 0; background: var(--yellow); }
.contact-band .shell { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-band h2 { max-width: 720px; }
.contact-band .button { flex: 0 0 auto; background: var(--ink); color: var(--white); }
.site-footer { padding: 42px 0; background: #09110f; color: #d9e3de; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 45px; }
.footer-grid strong { display: block; color: var(--white); margin-bottom: 10px; }
.footer-grid p { margin: 0; color: #aebdb6; }
.footer-links { display: grid; gap: 7px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.page-mast { padding: 72px 0 64px; background: var(--green-dark); color: var(--white); }
.page-mast h1 { margin: 0; max-width: 900px; font: 700 58px/1 Georgia, serif; letter-spacing: 0; text-wrap: balance; overflow-wrap: anywhere; }
.page-mast p { max-width: 700px; margin: 20px 0 0; color: #d8ebe4; }
.article-layout { width: min(1160px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 80px; padding: 64px 0 90px; align-items: start; }
.article-body { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.78; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { margin: 52px 0 14px; font: 700 34px/1.15 "Trebuchet MS", sans-serif; letter-spacing: 0; }
.article-body h3 { margin: 34px 0 10px; font: 700 24px/1.2 "Trebuchet MS", sans-serif; letter-spacing: 0; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 22px; }
.article-body a { color: var(--green-dark); }
.article-body img { width: 100%; margin: 30px 0; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.article-body aside { margin: 34px 0; padding: 22px 24px; border-left: 6px solid var(--coral); background: #eef2ef; font-family: "Trebuchet MS", sans-serif; font-size: 16px; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-family: "Trebuchet MS", sans-serif; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; min-width: 150px; }
.article-aside { position: sticky; top: 24px; padding-top: 18px; border-top: 5px solid var(--yellow); }
.article-aside p { color: var(--muted); font-size: 14px; }
.article-aside a { display: inline-block; margin-top: 8px; color: var(--green-dark); font-weight: 800; }
.legal-page .article-body { font-family: "Trebuchet MS", sans-serif; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transform: none !important; } }
@media (max-width: 920px) {
  .hero h1 { font-size: 58px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .article-aside { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-shell, .shell, .article-layout { width: min(100% - 28px, var(--shell)); }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 4px; }
  .hero { min-height: 545px; background-position: 63% center; }
  .hero .shell { padding-block: 58px 64px; }
  .hero h1 { font-size: 48px; }
  .hero-lede { font-size: 18px; }
  .hero::after { font-size: 130px; bottom: -32px; }
  .section-head, .service-intro, .method .shell, .faq-layout { grid-template-columns: 1fr; gap: 22px; }
  .section-head h2, .service-intro h2, .method-copy h2, .faq-intro h2, .contact-band h2 { font-size: 37px; }
  .article-surface .shell { padding-block: 40px 46px; }
  .article-grid, .service-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 180px; }
  .services, .method, .faq-band { padding-block: 64px; }
  .contact-band .shell { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-mast { padding: 56px 0 52px; }
  .page-mast h1 { font-size: 43px; }
  .article-layout { padding: 44px 0 70px; }
  .article-body { font-size: 18px; }
  .article-body h2 { font-size: 29px; }
}
@media (max-width: 420px) {
  .brand { font-size: 17px; }
  .brand img { width: 31px; height: 31px; }
  .hero h1 { font-size: 41px; }
  .hero-actions .button { width: 100%; }
  .tab-list button { padding-inline: 14px; }
  .page-mast h1 { font-size: 37px; }
}
