:root {
  color-scheme: light;
  --ink: #112720;
  --muted: #4c6159;
  --green: #17604e;
  --green-deep: #0c493b;
  --lime: #e3f1cc;
  --paper: #f7f9f6;
  --surface: #fff;
  --soft: #ebf1eb;
  --line: #d8e3da;
  --dark: #102e26;
  --radius: 14px;
  --container: 1260px;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 105px; }
body { margin: 0; font: 16px/1.58 var(--sans); color: var(--ink); background: var(--paper); }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { color: var(--green-deep); }
img { display: block; max-width: 100%; height: auto; }
figure, dl { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -.062em; font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.35rem); line-height: 1.09; letter-spacing: -.052em; font-weight: 730; }
h3 { font-size: 1.18rem; line-height: 1.27; letter-spacing: -.025em; font-weight: 720; }
p { color: var(--muted); }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid #2a8065; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 100px)); margin-inline: auto; }
.section { margin-top: 104px; }
.accent { color: var(--green); }
.skip-link { position: fixed; left: 15px; top: 12px; z-index: 40; transform: translateY(-150%); background: var(--surface); padding: 8px 14px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 790; font-size: 1.46rem; letter-spacing: -.065em; text-decoration: none; width: fit-content; line-height: 1; }
.brand-icon { height: 34px; width: 34px; display: grid; align-content: center; justify-items: start; gap: 4px; padding: 0 8px; flex: none; color: #e7f7dc; background: var(--green); border-radius: 7px; }
.brand-icon i { display: block; position: relative; height: 1px; width: 14px; background: currentColor; }
.brand-icon i:nth-child(2) { width: 18px; }
.brand-icon i:nth-child(3) { width: 11px; }
.brand-icon i::after { content: ""; position: absolute; width: 3px; height: 3px; right: 0; top: -1px; border-radius: 50%; background: currentColor; }
.brand-mold { color: var(--green); }
.site-nav, .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-nav { gap: clamp(16px, 2.7vw, 35px); }
.site-nav > a:not(.button) { font-size: .92rem; white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 620; }
.site-nav > a:hover, .site-nav a[aria-current] { color: var(--green); }
.menu-toggle { border: 1px solid var(--line); padding: 7px 12px; border-radius: 7px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.menu-toggle span { margin-left: 5px; }

.button { min-height: 51px; padding: 11px 19px; display: inline-flex; justify-content: center; align-items: center; gap: 13px; width: fit-content; background: var(--green); border: 1px solid var(--green); border-radius: 8px; color: #fff; font: 690 .94rem/1.25 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.button:hover { color: #fff; background: var(--green-deep); border-color: var(--green-deep); }
.button-outline { color: var(--ink); background: transparent; border-color: #b7c9bc; }
.button-outline:hover { color: var(--ink); background: var(--soft); border-color: var(--green); }
.button-light { color: var(--dark); background: var(--lime); border-color: var(--lime); }
.button-light:hover { color: var(--dark); background: #f0f7e3; border-color: #f0f7e3; }
.button-small, .nav-quote { min-height: 42px; padding: 9px 15px; }
.arrow { display: inline-block; font-size: 1.14em; line-height: 1; transition: transform .18s; }
a:hover > .arrow, .journey-card:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green); text-decoration: none; font-weight: 700; }
.text-link:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(26px, 4vw, 64px); align-items: center; padding-top: 46px; }
.hero-content h1 { font-size: clamp(3rem, 5.65vw, 5.45rem); }
.hero-content h1 span { display: block; }
.hero-content p { font-size: clamp(1.015rem, 1.5vw, 1.2rem); max-width: 43ch; margin: 23px 0 27px; }
.hero-media { position: relative; min-height: 465px; border-radius: var(--radius); overflow: hidden; background: #0d2b24; isolation: isolate; }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-media figcaption { position: absolute; display: flex; justify-content: space-between; gap: 10px; bottom: 0; width: 100%; padding: 22px 21px 13px; background: linear-gradient(transparent, rgba(4, 17, 13, .90)); color: #f3fbf2; font-size: .74rem; letter-spacing: .025em; }
.hero-media figcaption span:last-child { color: #daf2db; }
.start-section { margin-top: 72px; }
.section-heading { margin-bottom: 27px; display: flex; gap: 20px; align-items: end; justify-content: space-between; }
.section-heading p { margin-bottom: 2px; max-width: 35ch; }
.journey-grid, .service-grid, .detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.journey-card { display: block; padding: 23px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .18s, background-color .18s; }
.journey-card:hover { background: #f3f9f1; border-color: #679487; color: var(--ink); }
.journey-card h3 { margin-top: 16px; }
.journey-card p, .service-card p { font-size: .94rem; margin-top: 8px; }
.journey-top { display: flex; justify-content: space-between; align-items: center; color: var(--green); }
.journey-mark { position: relative; display: block; width: 39px; height: 39px; background: #eaf2e8; border-radius: 9px; }
.journey-mark::before, .journey-mark::after { content: ""; position: absolute; border: 1.6px solid var(--green); }
.mark-enclosure::before { inset: 11px 9px 10px; border-radius: 3px; }
.mark-enclosure::after { inset: 15px 13px 14px; border-radius: 1px; }
.mark-files::before { inset: 9px 12px 9px 11px; border-radius: 2px; }
.mark-files::after { inset: 15px 16px 16px 15px; border-left: 0; border-right: 0; }
.mark-concept::before { inset: 9px 10px 11px; border-radius: 50% 50% 48% 48%; }
.mark-concept::after { inset: auto 15px 8px; border-width: 0 0 2px; }
.capability-band { padding: 73px 0 78px; background: var(--soft); border-block: 1px solid var(--line); }
.service-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { overflow: hidden; display: block; aspect-ratio: 16/10; background: #e2eae4; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-media:hover img { transform: scale(1.035); }
.card-content { padding: 23px; display: flex; flex: 1; flex-direction: column; }
.card-content .text-link { margin-top: auto; padding-top: 18px; align-self: start; }
.card-content h2 { font-size: 1.43rem; letter-spacing: -.036em; }
.card-content .context { margin: 0 0 6px; }
.process-panel { display: grid; grid-template-columns: .93fr 1fr; gap: clamp(22px, 6vw, 88px); padding: clamp(34px, 6vw, 74px); background: var(--dark); color: #f5fbf5; border-radius: var(--radius); }
.process-panel p { color: #c8ddd0; }
.process-panel > div > p { margin-top: 16px; max-width: 39ch; }
.process-panel .button { margin-top: 23px; }
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-list li { display: flex; align-items: start; gap: 16px; padding: 14px 0; border-top: 1px solid #537569; counter-increment: step; }
.process-list li:first-child { border-top: 0; padding-top: 0; }
.process-list li:last-child { padding-bottom: 0; }
.process-list li::before { content: counter(step, decimal-leading-zero); font: 650 .83rem/1.5 ui-monospace, monospace; color: #e5f4c5; padding-top: 2px; }
.process-list h3 { font-size: 1.02rem; }
.process-list p { font-size: .94rem; margin-top: 3px; }
.feature { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(28px, 6vw, 82px); align-items: center; }
.feature-media { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.context { color: var(--green); font-size: .81rem; font-weight: 700; margin-bottom: 9px; }
.feature h2 + p { margin-top: 13px; max-width: 43ch; }
.feature .button { margin-top: 20px; }
.faq-section, .files-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; }
.faq-section .text-link, .files-section .text-link { margin-top: 15px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 15px 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { font-weight: 690; cursor: pointer; }
.faq-list details p { padding: 9px 0 0 16px; }
.site-footer { margin-top: 96px; padding: 41px 0 19px; border-top: 1px solid var(--line); background: #edf2ed; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: -.02em; margin-bottom: 11px; }
.footer-grid p { margin-top: 11px; max-width: 30ch; }
.footer-grid .footer-contact { font-size: .88rem; line-height: 1.65; max-width: 36ch; }
.footer-grid div:not(:first-child) a { display: block; width: fit-content; }
.footer-grid a:not(.brand), .footer-bottom a { color: var(--muted); font-size: .92rem; text-decoration: none; margin-bottom: 5px; overflow-wrap: anywhere; }
.footer-grid a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--muted); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 9px; color: var(--muted); font-size: .86rem; margin-bottom: 28px; }
.crumbs a { text-decoration: none; font-weight: 650; }
.crumbs a:hover { text-decoration: underline; }
.page-intro, .service-hero, .article-page { padding-top: 36px; }
.page-intro p { max-width: 61ch; margin-top: 16px; font-size: 1.14rem; }
.split-intro { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(26px, 5vw, 74px); align-items: center; }
.split-intro h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.split-intro p { font-size: 1.12rem; margin: 17px 0 24px; max-width: 44ch; }
.service-image, .article-media { border-radius: var(--radius); overflow: hidden; background: #e7eee7; }
.service-image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.service-image figcaption, .article-media figcaption { padding: 8px 14px; font-size: .78rem; color: var(--muted); }
.service-details { padding: 50px 0; background: var(--soft); }
.detail-grid article { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-grid article p { margin-top: 10px; }
.files-section h2 + p { margin-top: 13px; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { padding: 13px 8px 13px 30px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 6px; color: var(--green); font-weight: 700; }
.related-links { padding-top: 26px; border-top: 1px solid var(--line); }
.related-links h2 { font-size: 1.62rem; }
.related-links > div { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 13px; }
.listings { margin-top: 38px; }
.article-header { max-width: 920px; margin-bottom: 28px; }
.article-header h1 { font-size: clamp(2.65rem, 5vw, 4.5rem); }
.article-header h1 + p { font-size: 1.17rem; margin-top: 15px; max-width: 65ch; }
.article-media { max-width: 920px; }
.article-media img { width: 100%; max-height: 500px; object-fit: cover; }
.article-body { margin-top: 30px; max-width: 72ch; }
.article-body h2 { font-size: clamp(1.32rem, 2.7vw, 1.85rem); margin-top: 27px; margin-bottom: 8px; letter-spacing: -.03em; }
.article-body p, .article-body li { margin-bottom: 8px; }
.article-body ul { color: var(--muted); }
.article-cta { background: var(--soft); border-radius: var(--radius); padding: 25px 30px; margin-top: 38px; max-width: 920px; }
.article-cta h2 { font-size: 1.55rem; margin-bottom: 16px; }
.privacy-body { margin-bottom: 42px; }

.quote-intro { margin-bottom: 31px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(224px, .44fr); align-items: start; gap: 23px; }
.quote-form, .aside-card, .message-card, .admin-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.quote-form { padding: clamp(19px, 3.5vw, 38px); }
fieldset { padding: 0; margin: 0 0 25px; border: 0; min-width: 0; }
legend { display: block; margin: 0 0 12px; padding: 0; font-size: 1.32rem; font-weight: 720; letter-spacing: -.027em; }
fieldset + fieldset { margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.span-all { grid-column: 1 / -1; }
label { display: block; font-weight: 650; color: var(--ink); font-size: .9rem; min-width: 0; }
input, select, textarea { display: block; font: 400 1rem/1.4 var(--sans); color: var(--ink); padding: 9px 11px; margin-top: 5px; border: 1px solid #bdcfc1; border-radius: 7px; background: var(--surface); min-height: 43px; width: 100%; min-width: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline-offset: 1px; }
input[type="file"] { font-size: .88rem; padding: 6px; }
input::file-selector-button { font: 680 .87rem/1.3 var(--sans); padding: 6px 9px; border: 0; border-radius: 4px; color: var(--green-deep); background: var(--soft); margin-right: 7px; cursor: pointer; }
input[readonly] { background: var(--paper); }
.required { color: var(--green); }
.field-note { font-size: .83rem; color: var(--muted); font-weight: 420; margin-top: 5px; }
.field-note:empty { display: none; }
.checkbox { display: flex; gap: 8px; align-items: start; margin-top: 13px; font-weight: 520; }
.checkbox input { width: 17px; min-height: auto; height: 17px; flex: none; margin: 2px 0 0; accent-color: var(--green); }
.trap { display: none; }
.form-actions { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; }
.form-actions > a { font-size: .9rem; }
.quote-aside { display: grid; gap: 15px; }
.aside-card { padding: 24px; }
.aside-card h2 { font-size: 1.31rem; letter-spacing: -.035em; margin-bottom: 10px; }
.aside-card dt { font-size: .91rem; font-weight: 700; margin-top: 10px; }
.aside-card dd { margin: 3px 0 0; color: var(--muted); font-size: .93rem; }
.message-page { min-height: 48vh; padding-top: 45px; }
.message-card { max-width: 720px; padding: clamp(22px, 4vw, 43px); }
.message-card h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.message-card p:not(.context) { margin-top: 12px; }
.message-card .button { margin-top: 19px; }
.reference { overflow-wrap: anywhere; font-family: ui-monospace, monospace; color: var(--green); }
.notice { background: #ecf6ee; color: #194e3c; padding: 11px 14px; border: 1px solid #bad7c2; border-radius: 8px; margin-bottom: 16px; }
.notice-error { background: #fff2ee; color: #892b24; border-color: #e5b7af; }
.notice ul { margin: 0; }

.admin-header { background: var(--dark); color: #fff; }
.admin-header-inner { display: flex; align-items: center; min-height: 64px; justify-content: space-between; gap: 14px; padding-block: 9px; }
.admin-header a, .quiet-button { color: #e2f4e9; text-decoration: none; }
.admin-brand { font-size: 1.1rem; white-space: nowrap; }
.admin-header nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.admin-header a[aria-current] { color: #fff; text-decoration: underline; }
.admin-header a:hover, .quiet-button:hover { text-decoration: underline; }
.quiet-button { font: inherit; border: 0; background: transparent; cursor: pointer; padding: 0; }
.admin-login { display: flex; justify-content: center; padding-top: 65px; }
.admin-login .admin-panel { max-width: 450px; width: 100%; }
.admin-panel { padding: clamp(16px, 3.5vw, 25px); }
.admin-panel h2 { font-size: 1.3rem; letter-spacing: -.03em; margin-bottom: 11px; }
.admin-panel h3 { margin-top: 15px; }
.admin-login .admin-panel label { margin: 12px 0; }
.admin-login .admin-panel p { margin: 8px 0 14px; }
.admin-login h1, .admin-content h1 { font-size: clamp(1.88rem, 4vw, 3.15rem); letter-spacing: -.05em; }
.admin-content { padding-block: 34px 50px; }
.admin-title { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 13px; margin: 11px 0 20px; }
.admin-title p { margin-top: 5px; overflow-wrap: anywhere; }
.admin-filter { display: flex; align-items: end; gap: 8px; }
.admin-filter select { min-width: 105px; min-height: 42px; }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 620px; }
.admin-table th, .admin-table td { padding: 12px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--soft); white-space: nowrap; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td div, .admin-table td small { color: var(--muted); font-size: .85rem; }
.admin-badge { display: inline-block; background: var(--soft); color: var(--ink); font-size: .83rem; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.badge-new, .badge-published, .badge-sent { background: #ddf0e0; color: #135644; }
.badge-failed { background: #fff0e7; color: #8c381b; }
.admin-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .47fr); gap: 17px; align-items: start; }
.admin-stack { display: grid; gap: 11px; }
.admin-fields { margin: 15px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; }
.admin-fields dt { font-weight: 690; font-size: .85rem; color: var(--muted); }
.admin-fields dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.verbatim { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 7px; }
.attachment-list { list-style: none; padding: 0; margin: 0; }
.attachment-list li { display: flex; gap: 8px; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.attachment-list a { overflow-wrap: anywhere; }
.attachment-list span { font-size: .81rem; color: var(--muted); flex: none; }
.admin-stack p + form { margin-top: 10px; }
.admin-editor { max-width: 860px; }
.admin-editor .button { margin-top: 21px; }
.editor-text { font-family: ui-monospace, Consolas, monospace; font-size: .94rem; }
.pagination { display: flex; gap: 12px; justify-content: center; margin-top: 13px; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-media { min-height: 420px; }
}
@media (max-width: 900px) {
  .container { width: calc(100% - 44px); }
  .section { margin-top: 68px; }
  .hero { gap: 22px; padding-top: 30px; }
  .hero-media { min-height: 375px; }
  .hero-content h1 { font-size: clamp(2.8rem, 6.1vw, 4rem); }
  .site-nav { gap: 13px; }
  .site-nav > a:not(.button) { font-size: .85rem; }
  .journey-card, .card-content { padding: 16px; }
  .section-heading { align-items: start; flex-direction: column; gap: 7px; }
  .section-heading p { max-width: 60ch; }
  .capability-band { padding: 56px 0; }
}
@media (max-width: 720px) {
  .hero, .split-intro, .process-panel, .feature, .faq-section, .files-section, .quote-grid, .admin-detail-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: clamp(2.9rem, 10vw, 4.6rem); }
  .hero-media { min-height: 0; aspect-ratio: 4/3; }
  .hero-content p { margin: 15px 0 18px; }
  .section, .site-footer { margin-top: 53px; }
  .section-heading { margin-bottom: 17px; }
  .detail-grid, .journey-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-inner { flex-wrap: wrap; min-height: 63px; gap: 9px; padding-block: 10px; }
  .site-nav { width: 100%; gap: 8px 16px; }
  .js .site-nav { flex-direction: column; align-items: stretch; gap: 0; padding-top: 0; }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav > a:not(.button) { padding: 9px 0; border-top: 1px solid var(--line); }
  .js .site-nav .button { margin-top: 4px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .page-intro, .service-hero, .article-page { padding-top: 25px; }
  .files-section, .faq-section { gap: 19px; }
}
@media (min-width: 721px) {
  .menu-toggle { display: none; }
}
@media (max-width: 455px) {
  .container { width: calc(100% - 34px); }
  .service-grid, .form-grid, .admin-fields { grid-template-columns: 1fr; }
  .hero-media figcaption { font-size: .67rem; padding-inline: 10px; }
  .button { gap: 8px; padding-inline: 13px; font-size: .88rem; min-height: 44px; }
  .admin-brand { font-size: .96rem; }
  .admin-header nav { gap: 4px 10px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
