:root {
  color-scheme: light;
  --ink: #1c1917;
  --muted: #57534e;
  --accent: #c2410c;
  --line: #e7e5e4;
  --surface: #fafaf9;
  --radius: 22px;
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  scroll-padding-top: 32px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a64900; outline-offset: 5px; border-radius: 3px; }
main:focus { outline: none; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 10; padding: 10px 20px; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 26px; font-weight: 750; text-decoration: none; letter-spacing: -.8px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--accent); font-size: 26px; }
.brand-note { margin-left: 16px; padding-left: 22px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.header-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.header-links > a:first-child { color: var(--ink); text-decoration: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 16px 25px; border: 1px solid transparent; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.button:hover { background: #9a3412; text-decoration: none; }
.button-small { padding: 10px 17px; }
.button-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: #fff7ed; }
.draft-notice { padding-block: 12px; border-block: 1px solid #e6d9ba; background: #fff9eb; color: #654914; font-size: 13px; line-height: 1.6; }
.page-heading { max-width: 940px; padding-block: 52px 34px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 15px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 4.3vw, 55px); line-height: 1.13; letter-spacing: -.045em; margin: 0 0 22px; font-weight: 720; }
h2 { line-height: 1.35; letter-spacing: -.025em; font-size: 25px; margin: 42px 0 17px; }
h3 { line-height: 1.4; font-size: 19px; margin: 28px 0 12px; }
p { margin: 0 0 17px; }
ul, ol { padding-left: 24px; margin-block: 14px 22px; }
li { padding-left: 5px; margin-block: 8px; }
.revision, .muted { color: var(--muted); font-size: 14px; }
.page-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-bottom: 86px; align-items: start; }
.contents { position: sticky; top: 28px; font-size: 14px; line-height: 1.5; border-top: 2px solid var(--accent); padding-top: 18px; }
.contents h2 { font-size: 14px; margin: 0 0 14px; letter-spacing: 0; }
.contents ol { padding: 0; list-style: none; margin: 0; }
.contents li { margin: 0 0 13px; padding: 0; }
.contents a { color: var(--muted); text-decoration: none; }
.contents a:hover { color: var(--accent); text-decoration: underline; }
.content { max-width: 820px; min-width: 0; }
.content > h2:first-child { margin-top: 0; }
.lead { font-size: 20px; color: var(--muted); line-height: 1.6; }
.note { padding: 20px 24px; border-radius: 14px; background: var(--surface); border-left: 3px solid var(--accent); margin-block: 24px; font-size: 15px; }
.note p:last-child { margin-bottom: 0; }
dl { margin: 20px 0; }
dt { font-weight: 650; margin-top: 15px; }
dd { margin-left: 0; color: var(--muted); }
.table-scroll { overflow-x: auto; margin-block: 24px; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.6; }
th, td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 155px; }
th { background: var(--surface); font-weight: 650; }
tr:last-child td { border-bottom: none; }
caption { padding: 14px 16px; text-align: left; font-weight: 650; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 45px; font-size: 14px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: .9fr 1fr 1.1fr; gap: 45px; }
.site-footer .brand { font-size: 25px; margin-bottom: 16px; }
.site-footer p { color: var(--muted); margin-bottom: 9px; }
.document-links { display: flex; flex-direction: column; gap: 13px; }
.document-links a { color: var(--ink); text-decoration: none; }
.document-links a:hover, .document-links [aria-current] { color: var(--accent); text-decoration: underline; }
.company-details { font-size: 13px; }
.company-details strong { display: block; margin-bottom: 9px; font-size: 14px; }
.email { overflow-wrap: anywhere; }
.footer-bottom { margin-top: 34px; padding-block: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.home .page-layout { display: block; padding-bottom: 70px; }
.home .contents { display: none; }
.home .content { max-width: none; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 65px; padding-block: 78px 72px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 660px; }
.hero .lead { max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-footnote { margin-top: 18px; color: var(--muted); font-size: 12px; max-width: 490px; }
.message-preview { background: #fff3e9; border: 1px solid #ecdccf; border-radius: 30px; padding: 30px; transform: rotate(2deg); }
.preview-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; }
.message { background: #fff; border: 1px solid #eadfd5; border-radius: 18px 18px 18px 5px; padding: 25px; box-shadow: 0 16px 35px #78350f0d; }
.message strong { font-size: 16px; }
.message p { font-size: 16px; margin-top: 12px; }
.message-status { font-size: 12px; color: #27634b; margin: 14px 0 0; }
.message-time { font-size: 12px; color: var(--muted); }
.preview-caption { display: flex; align-items: center; gap: 9px; font-size: 13px; margin-top: 18px; }
.status-dot { width: 7px; height: 7px; background: #27634b; border-radius: 50%; }
.preview-detail { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px 16px; border-top: 1px solid #e5d6ca; margin-top: 24px; padding-top: 18px; font-size: 12px; }
.preview-detail > span { color: var(--muted); }
.preview-detail strong { font-weight: 550; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 32px; }
.section-heading p { max-width: 480px; color: var(--muted); font-size: 15px; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 70px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; margin: 15px 0 12px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.number { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; background: #fff3e9; color: var(--accent); border-radius: 10px; font-size: 13px; font-weight: 700; }
.documents-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.document-card { display: flex; flex-direction: column; padding: 23px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.document-card strong { font-size: 17px; line-height: 1.4; margin-bottom: 9px; }
.document-card span { color: var(--muted); font-size: 14px; }
.document-card:hover { border-color: var(--accent); text-decoration: none; }
.workflow-section { margin-bottom: 70px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; counter-reset: steps; list-style: none; }
.steps li { padding: 0; counter-increment: steps; border-top: 1px solid var(--line); padding-top: 22px; }
.steps li::before { content: "0" counter(steps); display: block; color: var(--accent); font-size: 13px; margin-bottom: 15px; font-weight: 700; }
.steps strong { font-size: 20px; line-height: 1.4; display: block; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.developer-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 65px; background: #1c1917; color: #fff; border-radius: var(--radius); padding: 45px; margin-bottom: 70px; }
.developer-panel .eyebrow { color: #fdba74; }
.developer-panel h2 { font-size: 35px; margin-top: 0; }
.developer-panel p { color: #e7e5e4; font-size: 15px; }
.developer-panel a { color: #fff; font-weight: 650; font-size: 15px; }
.integration-map { display: flex; flex-direction: column; justify-content: center; }
.integration-node { background: #292524; border: 1px solid #78716c; border-radius: 12px; padding: 14px 20px; font-size: 15px; font-weight: 650; }
.integration-node span { display: block; font-size: 12px; color: #e7e5e4; font-weight: 450; margin-top: 3px; }
.integration-node-primary { background: #c2410c; border-color: #fdba74; }
.integration-node-primary span { color: #fff; }
.integration-connector { padding-block: 8px; text-align: center; color: #d6d3d1; font-size: 11px; }
.integration-connector span { margin-left: 8px; }
.faq-section { margin-bottom: 70px; }
details { border-bottom: 1px solid var(--line); padding-block: 21px; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding-right: 15px; font-size: 18px; font-weight: 600; }
details p { color: var(--muted); max-width: 850px; padding-top: 16px; font-size: 15px; margin-bottom: 0; }
@media (max-width: 960px) {
  .brand-note { display: none; }
  .page-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 32px; }
  .hero { gap: 30px; }
  .message-preview { padding: 22px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .developer-panel { gap: 30px; padding: 32px; }
  .card { padding: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company-details { grid-column: 1 / -1; max-width: 650px; }
}
@media (max-width: 680px) {
  :root { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-block: 19px; gap: 12px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; font-size: 22px; border-radius: 9px; }
  .header-links { gap: 12px; font-size: 13px; }
  .header-links > a:first-child { display: none; }
  .button-small { padding: 9px 12px; }
  .draft-notice { font-size: 12px; }
  .page-heading { padding-block: 36px 22px; }
  .page-layout { display: block; padding-bottom: 45px; }
  .contents { position: static; padding: 18px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); margin-bottom: 30px; }
  .contents ol { columns: 1; }
  .contents li { margin-bottom: 10px; }
  .lead { font-size: 18px; }
  h2 { font-size: 23px; margin-top: 34px; }
  .note { padding: 18px; }
  .hero { display: block; padding-block: 40px; }
  .hero-actions { gap: 10px; }
  .hero .button { width: 100%; }
  .message-preview { transform: none; margin-top: 35px; padding: 23px; }
  .hero h1 { font-size: 43px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 28px; margin-bottom: 12px; }
  .feature-grid { margin-bottom: 45px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .workflow-section, .faq-section { margin-bottom: 45px; }
  .developer-panel { grid-template-columns: 1fr; padding: 25px; margin-bottom: 45px; }
  .developer-panel h2 { font-size: 30px; }
  summary { font-size: 17px; }
  .documents-panel { padding: 22px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .company-details { grid-column: auto; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  :root { font-size: 10pt; color: #000; }
  .wrap { width: 100%; }
  .site-header, .skip-link, .contents, .site-footer, .hero-actions { display: none; }
  .draft-notice { border: 1px solid #777; background: none; color: #000; padding: 8pt; font-size: 9pt; }
  .page-layout { display: block; padding: 0; }
  .content { max-width: none; }
  .page-heading { padding: 20pt 0 10pt; }
  h1 { font-size: 24pt; }
  h2 { font-size: 15pt; break-after: avoid; }
  h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a { color: #000; }
  .note { background: none; border: 1px solid #777; padding: 10pt; }
  .table-scroll { overflow: visible; }
  th, td { min-width: 0; padding: 6pt; }
}
