@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --guide-bg: #f5f5f2;
  --guide-surface: #ffffff;
  --guide-soft: #eeeeeb;
  --guide-text: #000000;
  --guide-muted: #626262;
  --guide-border: #e4e4e0;
  --guide-green: #176b5a;
  --guide-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.guide-page { margin: 0; background: var(--guide-bg); color: var(--guide-text); font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
.guide-page * { box-sizing: border-box; }
.guide-page a { color: var(--guide-green); text-underline-offset: 4px; }
.guide-page a:hover { text-decoration-thickness: 2px; }
.guide-nav, .guide-footer { width: min(1040px, 92%); margin: auto; display: flex; align-items: center; gap: 22px; }
.guide-nav { min-height: 70px; padding: 12px 0; }
.guide-brand { align-items: center; color: var(--guide-text) !important; display: inline-flex; font-size: 1.35rem; font-weight: 800; gap: 10px; margin-right: auto; text-decoration: none; }
.guide-brand img { border-radius: 10px; height: 38px; width: 38px; }
.guide-nav > a:not(.guide-brand) { color: var(--guide-muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.guide-nav > a:not(.guide-brand):hover { color: var(--guide-text); }
.guide-button { background: var(--guide-text) !important; border: 1px solid var(--guide-text); border-radius: 12px; color: #fff !important; display: inline-block; font-weight: 800; line-height: 1.2; padding: 12px 20px; text-decoration: none !important; transition: transform 180ms ease, background-color 180ms ease; }
.guide-button:hover { background: #242424 !important; transform: translateY(-1px); }
.guide-page main { width: min(1040px, 92%); margin: auto; padding: 12px 0 70px; }
.guide-page main > nav[aria-label="Breadcrumb"] { color: var(--guide-muted); font-size: .8rem; font-weight: 700; }
.guide-page main > nav[aria-label="Breadcrumb"] a { color: var(--guide-text); }
.guide-hero { align-items: center; background: linear-gradient(118deg, #effaf6 0%, #eaf7f3 58%, #f8fcfa 100%); border: 1px solid #d9e8e2; border-radius: 26px; display: grid; gap: clamp(30px, 7vw, 76px); grid-template-columns: minmax(0, 1.1fr) minmax(240px, .7fr); margin: 22px 0 28px; overflow: hidden; padding: clamp(28px, 5vw, 54px); }
.guide-page h1, .guide-page h2, .guide-page h3 { color: var(--guide-text); letter-spacing: -.035em; }
.guide-page h1 { font-size: clamp(2.25rem, 5vw, 3.55rem); line-height: 1.06; margin: 14px 0 18px; max-width: 16ch; }
.guide-page h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.16; margin: 0 0 14px; }
.guide-page h3 { font-size: 1.1rem; line-height: 1.25; }
.guide-page p { color: var(--guide-muted); }
.guide-hero p { max-width: 61ch; }
.guide-hero small { color: var(--guide-muted); display: block; margin-top: 13px; }
.guide-kicker { color: var(--guide-green) !important; font-size: .74rem; font-weight: 800; letter-spacing: .08em; margin: 0 0 10px; text-transform: uppercase; }
.guide-page figure { margin: 0; text-align: center; }
.guide-page figure img { border-radius: 24px; box-shadow: 0 20px 44px rgba(7, 45, 36, .18); height: auto; max-width: 100%; width: 235px; }
.guide-page figcaption { color: var(--guide-muted); font-size: .72rem; line-height: 1.45; margin: 12px auto 0; max-width: 300px; }
.guide-section { background: var(--guide-surface); border: 1px solid var(--guide-border); border-radius: 20px; box-shadow: var(--guide-shadow); margin: 22px 0; max-width: 850px; padding: 30px; }
.guide-section p:first-of-type { margin-top: 0; }
.guide-section li + li { margin-top: 12px; }
.guide-example { background: linear-gradient(135deg, #eef8f3, #f8fbf9); border-color: #d4e7dd; }
.guide-table { overflow-x: auto; }
.guide-page table { border-collapse: collapse; min-width: 420px; width: 100%; }
.guide-page caption { color: var(--guide-muted); font-size: .78rem; font-weight: 700; margin-bottom: 8px; text-align: left; }
.guide-page th, .guide-page td { border-bottom: 1px solid #dce8e1; padding: 12px; text-align: left; }
.guide-page th { color: var(--guide-text); font-size: .8rem; }
.guide-links { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.guide-links a { background: var(--guide-surface); border: 1px solid var(--guide-border); border-radius: 14px; color: var(--guide-text); font-weight: 700; padding: 17px; text-decoration: none; transition: border-color 180ms ease, transform 180ms ease; }
.guide-links a:hover { border-color: #9acdbd; transform: translateY(-2px); }
.guide-footer { border-top: 1px solid var(--guide-border); color: var(--guide-muted); font-size: .76rem; gap: 18px; padding: 24px 0 34px; }
.guide-footer strong { color: var(--guide-text); font-size: 1rem; }
.guide-footer a { color: var(--guide-muted); }
.guide-page :focus-visible { outline: 3px solid #bf7600; outline-offset: 4px; }
@media (max-width: 700px) {
  .guide-nav { flex-wrap: wrap; gap: 12px 16px; }
  .guide-brand { width: 100%; }
  .guide-nav > a:not(.guide-brand) { font-size: .78rem; }
  .guide-nav .guide-button { margin-left: auto; padding: 10px 14px; }
  .guide-page main { width: min(100% - 32px, 640px); padding-top: 8px; }
  .guide-hero { grid-template-columns: 1fr; margin-top: 16px; padding: 28px 22px 24px; }
  .guide-page h1 { font-size: clamp(2.05rem, 11vw, 3rem); }
  .guide-page figure img { width: 205px; }
  .guide-section { padding: 22px 18px; }
  .guide-links { grid-template-columns: 1fr; }
  .guide-footer { align-items: flex-start; flex-wrap: wrap; width: min(100% - 32px, 640px); }
}
@media (prefers-reduced-motion: reduce) { .guide-button, .guide-links a { transition: none; } }
