:root {
  color-scheme: light;
  --ink: #182d2b;
  --green: #10594e;
  --muted: #50635e;
  --line: #c9d5cf;
  --paper: #f7f8f3;
  --surface: #fff;
  --tint: #edf2ed;
  --focus: #955000;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(1160px,calc(100% - 64px)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand { color: var(--ink); text-decoration: none; font-size: 25px; font-weight: 750; letter-spacing: -.04em; }
.brand span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.2; }
.header-offer { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 650; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { line-height: 1.2; text-wrap: balance; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; padding: 40px 0 32px; }
.eyebrow { color: var(--green); font-size: 14px; font-weight: 650; margin-bottom: 12px; }
h1 { max-width: 21ch; font-size: clamp(32px,4vw,50px); letter-spacing: -.04em; }
.intro { max-width: 50ch; margin: 18px 0 22px; }
.cta,button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--green); border-radius: var(--radius); background: var(--green); color: white; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.cta:hover,button:hover { background: #093e36; }
.cta span { font-size: 22px; }
.disclosure { margin-top: 9px; font-size: 12px; color: var(--muted); }
.task-list { border-left: 1px solid var(--line); padding-left: 28px; }
.task-title { font-size: 18px; font-weight: 700; padding-bottom: 4px; }
.task-list>a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--line); }
.task-list>a:hover { text-decoration: underline; }
.task-list small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.notice { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.notice details { margin-top: 4px; }
summary { min-height: 36px; padding: 5px 0; cursor: pointer; color: var(--green); font-weight: 650; }
.notice details p { margin: 5px 0; }
.guide-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 54px; align-items: start; margin-top: 34px; }
.contents { position: sticky; top: 24px; }
.contents summary { display: none; }
.contents nav::before { content: "Справка по CCLoan"; display: block; font-weight: 700; margin-bottom: 8px; }
.contents nav a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 14px; text-decoration: none; }
.contents nav a:hover { text-decoration: underline; }
.contents-offer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.row,.feedback { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.row:first-child { padding-top: 0; }
h2 { font-size: clamp(24px,2.4vw,30px); letter-spacing: -.025em; margin-bottom: 18px; }
h3 { margin: 28px 0 10px; font-size: 20px; scroll-margin-top: 24px; }
.row p+p { margin-top: 12px; }
.row div>p,.feedback>p { max-width: 72ch; }
.payment-help { display: flex; flex-wrap: wrap; gap: 2px 20px; padding: 12px 16px; margin: 18px 0; background: var(--tint); border-radius: var(--radius); }
.payment-help strong { flex-basis: 100%; font-size: 14px; }
.payment-help a { display: inline-flex; align-items: center; min-height: 44px; }
.sample-card { margin: 18px 0 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sample-card figcaption { color: var(--muted); font-size: 13px; font-weight: 650; margin-bottom: 10px; }
.sample-card blockquote { margin: 0; line-height: 1.7; }
.sample-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.sample-actions button { padding: 8px 12px; min-height: 44px; color: var(--green); background: var(--surface); font-size: 14px; }
.sample-actions button:hover { background: var(--tint); }
.sample-next { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 44px; font-size: 14px; }
.copy-status { color: var(--green); font-size: 14px; }
.copy-status:not(:empty) { margin-top: 12px; }
.small { font-size: 13px; color: var(--muted); margin-top: 18px; }
.feedback { border-bottom: 0; }
form { display: grid; gap: 14px; max-width: 640px; padding: 18px 0; }
form label,form input:not([type=hidden]),form textarea,form select { display: block; width: 100%; }
form input:not([type=hidden]),form textarea,form select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid #80978d; border-radius: 4px; padding: 9px; }
form button { justify-self: start; }
.testimonial { padding: 18px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); margin-top: 24px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 24px 0; font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 8px; background: white; padding: 8px; z-index: 10; }
@media(max-width:880px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 70px; }
  .brand { font-size: 23px; }
  .header-offer { font-size: 13px; gap: 6px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 26px 0; }
  h1 { max-width: 20ch; }
  .intro { margin: 14px 0 18px; }
  .partner-cta { width: 100%; }
  .task-list { border-left: 0; padding-left: 0; }
  .task-list>a { padding: 10px 0; }
  .guide-layout { display: block; margin-top: 18px; }
  .contents { top: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 7px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .contents summary { display: list-item; min-height: 44px; padding: 10px 0; font-size: 14px; }
  .contents nav { position: absolute; top: 58px; left: 0; right: 0; max-height: 70vh; overflow-y: auto; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px #182d2b18; }
  .contents nav::before { display: none; }
  .contents-offer { margin: 0; padding: 10px 0; border: 0; font-size: 13px; }
  .row,.feedback,h3 { scroll-margin-top: 78px; }
  html { scroll-padding-top: 0; }
  .sample-card { padding: 16px; }
  .row { padding: 26px 0; }
  .foot { display: grid; gap: 12px; }
}

/* Compact home and dedicated CCLoan guide pages, November 2026. */
.home-guide .row { padding: 22px 0; }
.home-guide .row:first-child { padding-top: 0; }
.home-guide h2 { font-size: 24px; margin-bottom: 10px; }
.summary-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.summary-links a { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; min-height: 44px; }
.help-links { display: grid; gap: 14px; margin-top: 14px; }
.help-links p { border-left: 2px solid var(--line); padding-left: 14px; scroll-margin-top: 24px; }
.help-links strong,.help-links a { display: block; }
.help-links a { padding: 7px 0; min-height: 44px; }
.feedback-disclosure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feedback-disclosure>summary { padding: 14px 0; min-height: 48px; }
.feedback-disclosure>p { margin: 8px 0; }
.closing-offer { margin: 32px 0 8px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.closing-offer h2 { font-size: 28px; margin-bottom: 8px; }
.closing-offer p { max-width: 52ch; }
.closing-offer .cta { white-space: nowrap; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs span { align-self: center; }
.guide-heading { padding: 20px 0 8px; }
.guide-heading h1 { max-width: 28ch; font-size: clamp(30px,3.5vw,44px); }
.guide-heading p { max-width: 65ch; margin-top: 16px; color: var(--muted); }
.guide-article h2 { font-size: 25px; }
.guide-article .row { padding-top: 0; }
.guide-related { margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.guide-related a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 20px; }
.guide-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; padding: 24px 0; }
.guide-index section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.guide-index h2 { font-size: 24px; margin-bottom: 10px; }
.guide-index a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width:880px) {
  .contents { align-items: center; gap: 8px; }
  .contents-offer { padding: 10px 12px; background: var(--green); color: var(--surface); border-radius: var(--radius); font-size: 13px; text-decoration: none; white-space: nowrap; }
  .contents-offer:hover { background: #093e36; }
  .contents summary { font-size: 13px; }
  .help-links p { scroll-margin-top: 78px; }
  .closing-offer { display: block; padding: 22px 20px; margin-top: 24px; }
  .closing-offer h2 { font-size: 26px; }
  .closing-offer .closing-action { margin-top: 18px; }
  .closing-offer .cta { width: 100%; white-space: normal; }
  .guide-index { grid-template-columns: 1fr; padding-top: 12px; }
  .guide-heading { padding-top: 12px; }
}
