/* KoiPaper editorial redesign. Loaded after the production styles. */
:root {
  --ink: #202d2b;
  --muted: #596663;
  --line: #d9dfdc;
  --accent: #174b3e;
  --accent-dark: #10392f;
  --accent-wash: #e7f0ec;
  --link: #174b3e;
  --coral: #a8533d;
  --max: 1320px;
  background: #f7f8f6;
}
* { letter-spacing: 0 !important; }
body, body:lang(zh), body:lang(ar) {
  color: var(--ink);
  background: #f7f8f6;
  font-family: Arial, "Microsoft YaHei", Tahoma, sans-serif;
  font-weight: 400;
}
body:lang(ar) { line-height: 1.8; }
a { color: var(--link); }
a:hover { color: #a14e37; }
body > header {
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.brand { color: #153b31; font: 600 26px/1 Georgia, "Times New Roman", serif; }
.site-nav a, .account-actions { font-weight: 500; color: #344440; }
.site-nav a[aria-current=page] { color: var(--accent); border-color: var(--accent); }
.languages summary, .account-actions a[data-register-link] { border-radius: 3px; }
h1, h2, h3, h4 { color: #203a33; }
h1, .page-heading h1, .service-intro h1, .report-preview-intro h1,
.case-report-head h1, .auth-panel h1 {
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-weight: 400;
}
body:lang(ar) h1, body:lang(zh) h1 { font-family: Tahoma, "Microsoft YaHei", sans-serif; }
.eyebrow { color: #a4543e; font-weight: 600; text-transform: none; }
.lead, .service-lead { color: var(--muted); font-weight: 400; }
.button, button[type=submit], .service-buy, .free-report-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  border-radius: 3px;
  box-shadow: none;
}
.button:hover, button[type=submit]:hover, .service-buy:hover, .free-report-cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: white;
}
.button.secondary, .button.ghost { background: white; color: var(--accent); border-color: #9cafa7; }
body input:not([type=checkbox]):not([type=radio]):not([type=file]),
body select, body textarea {
  border-color: #b9c7c1;
  border-radius: 3px;
  font-weight: 400 !important;
}
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
input:focus, select:focus, textarea:focus { outline-color: #87b5a1; border-color: var(--accent); }
main { max-width: var(--max); }
.page-heading { padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: 46px; line-height: 1.12; }
.breadcrumbs { color: var(--muted); }
body[data-page=home] main { max-width: 1440px; }
.home-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 0;
  padding-top: 0;
}
.home-main > section { grid-column: 1 / -1; min-width: 0; }
.home-main > .ai-offer { display: contents; }
.ai-offer-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 72px 52px 60px 24px;
  border-inline-end: 1px solid var(--line);
}
.ai-offer-copy h1, .home-main .ai-offer-copy h1 {
  max-width: 620px;
  margin: 18px 0 24px;
  color: #193f34;
  font: 400 50px/1.12 Georgia, "Times New Roman", serif;
}
body:lang(zh) .ai-offer-copy h1, body:lang(ar) .ai-offer-copy h1 {
  font-family: Tahoma, "Microsoft YaHei", sans-serif;
}
.ai-offer .ai-offer-copy > .lead { color: #53635c; font-size: 16px; line-height: 1.7; font-weight: 400; }
.ai-proof-list { margin: 24px 0; }
.ai-proof-list li { font-weight: 400; }
.ai-offer-copy .free-report-cta { margin-top: 8px; }
.hero-scope { color: var(--muted); }
.home-main > .report-template-preview {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin: 0;
  padding: 48px;
  background: #e8eeeb;
  border: 0;
}
.report-introduction h2 { font: 400 30px/1.2 Georgia, "Times New Roman", serif; }
.report-introduction p { color: #52645c; }
.report-paper {
  width: 100%;
  padding: 28px;
  background: white;
  border: 1px solid #c9d4ce;
  border-radius: 0;
  box-shadow: 8px 8px 0 #d3ded8;
  transform: none;
}
.report-paper-header { border-bottom: 2px solid #285443; }
.report-paper h3 { font: 400 23px/1.25 Georgia, "Times New Roman", serif; }
.ai-tool-column {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  padding: 54px 24px 64px;
  border-block: 1px solid var(--line);
}
.ai-form {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #cdd9d3;
  border-top: 3px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
}
.form-heading h2 { font: 400 29px/1.2 Georgia, "Times New Roman", serif; }
.upload-control { border-color: #9eb9ab; background: #f5f8f6; border-radius: 3px; }
.upload-trigger, .trust-sample-link { color: var(--accent); }
.trust-upload-note, .purchase-trust-note, .trust-pack-sample {
  background: #edf3ef;
  border-color: var(--accent);
  color: #34483e;
  border-radius: 0;
}
.pricing-strip, .purchase-faq, .workflow, .home-services { padding-block: 54px; }
.home-stats { background: transparent; border-color: var(--line); }
.home-stats strong, .service-teasers strong { color: var(--accent) !important; }
.price-options > *, .service-teasers > article {
  background: white;
  border-color: var(--line);
  border-radius: 3px;
  box-shadow: none;
}
.section-heading h2, .workflow h2, .home-services h2, .related-pages h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.service-hero-centered { text-align: start; max-width: none; padding: 36px 0 56px; }
.service-hero-centered .service-intro { max-width: none; margin: 0; }
.service-hero-centered .service-intro h1 {
  max-width: 850px;
  margin: 12px 0 18px;
  font-size: 52px;
  line-height: 1.14;
}
.service-hero-centered .service-lead { margin: 0; }
.service-hero-facts { max-width: none; margin: 30px 0; }
.service-hero-facts span { background: #edf3ef; border-color: #d8e2dc; border-radius: 2px; }
.service-hero-facts b { color: var(--ink); }
.service-command-center {
  max-width: none;
  margin: 0;
  padding: 28px 32px;
  border: 1px solid #cbd8d1;
  border-top: 3px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
}
.service-command-center .service-primary-action { border-radius: 3px; }
.service-order-price, .service-command-center .service-order-price { color: #173f33; font-weight: 500; }
.service-order-delivery, .service-command-center .service-order-delivery,
.service-payment-boundary, .service-step-note { background: #eef3ef; border-color: #7da18d; color: #34483e !important; }
.service-command-badge { color: #315a49; background: #e8f0eb; }
.service-command-kicker, .service-consents legend { color: #53675c; }
.service-consents label, .service-checkout-note { color: #46574d; }
.public-paper-proof { background: #f4f7f5; border-color: #d9e3dd; }
.public-paper-proof p, .public-paper-proof small { color: #53655a; }
.ai-proof-list li:before { color: var(--accent); border-color: #bdd1c5; }
.service-includes, .service-process, .service-template-preview, .service-faq { border-color: var(--line); }
.service-template-grid article { border-top-color: #a4b9ad; }
.service-template-grid h3 { color: var(--ink); }
.case-report-head h1 { line-height: 1.15; color: #193f34; }
.formal-report { border-radius: 0; box-shadow: none; border-color: #cbd7d0; }
.formal-report > header { background: #f0f5f1; }
.auth-page { background: #edf2ef; }
.auth-header { background: white; border-color: var(--line); }
.auth-panel {
  border: 1px solid #cbd8d1;
  border-top: 3px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
}
.auth-panel button { background: var(--accent); }
.auth-panel button:hover { background: var(--accent-dark); }
.auth-panel a, .auth-header > a:last-child { color: var(--accent); }
.auth-intro, .auth-footnote, .auth-footer { color: var(--muted); }
.usage-grid > div { background: #f3f6f4; border-color: var(--line); }
.usage-grid dd { color: var(--accent); }
.related-pages { border-color: var(--line); }
footer { background: #17372f; color: #d9e7df; border-color: #17372f; }
footer a, footer .email-static { color: #e2eee7; }
@media (max-width: 900px) {
  .ai-offer-copy { padding: 44px 28px 44px 0; }
  .ai-offer-copy h1, .home-main .ai-offer-copy h1 { font-size: 40px; }
  .home-main > .report-template-preview { padding: 28px; }
}
@media (max-width: 720px) {
  body > header { min-height: 64px; }
  .home-main { display: block; }
  .home-main > .ai-offer { display: block; }
  .ai-offer-copy { padding: 36px 0 30px; border: 0; }
  .ai-offer-copy h1, .home-main .ai-offer-copy h1 { font-size: 32px; line-height: 1.15; }
  .ai-tool-column { padding: 28px 0 36px; }
  .ai-form { padding: 22px 18px; }
  .home-main > .report-template-preview { margin: 0; padding: 28px 18px; }
  .report-paper { padding: 18px; }
  .page-heading h1, .service-hero-centered .service-intro h1 { font-size: 36px; }
  .service-command-center { padding: 22px 18px; }
  .pricing-strip, .purchase-faq, .workflow, .home-services { padding-block: 36px; }
}
