:root {
  color-scheme: light;
  --green: #174c3c;
  --green-deep: #0f352b;
  --green-soft: #e6f0eb;
  --bronze: #c58a45;
  --bronze-hover: #d19a59;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --ink: #26312d;
  --muted: #5d6b65;
  --line: #d6dfda;
  --error: #a23b35;
  --content-width: 1240px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 980px; background: var(--paper); color: var(--ink); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--green-deep); line-height: 1.18; }
h1 { font-size: clamp(2.7rem, 4vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3vw, 3.1rem); letter-spacing: -.025em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }

.container { width: min(calc(100% - 80px), var(--content-width)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -70px; left: 16px; padding: 10px 18px; background: var(--bronze); color: var(--green-deep); font-weight: 700; }
.skip-link:focus { top: 10px; }
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header-inner { width: min(calc(100% - 56px), 1400px); min-height: 92px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; color: var(--green-deep); }
.brand-mark { display: block; width: 300px; height: auto; }
.nav-list, .nav-dropdown-menu, .account-menu, .footer-policy-list { padding: 0; margin: 0; list-style: none; }
.nav-list { display: flex; align-items: center; gap: 3px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger, .nav-chevron { height: 44px; }
.nav-link { display: inline-flex; align-items: center; padding: 0 15px; border-radius: 2px; color: var(--green-deep); text-decoration: none; font-size: .91rem; font-weight: 700; white-space: nowrap; transition: background-color .16s ease, color .16s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active, .nav-parent:hover .nav-trigger, .nav-parent:focus-within .nav-trigger, .nav-parent.is-open .nav-trigger { background: var(--bronze); color: var(--green-deep); }
.nav-trigger { display: flex; align-items: stretch; border-radius: 2px; transition: background-color .16s ease; }
.nav-trigger .nav-link { padding-right: 4px; }
.nav-chevron { display: grid; place-items: center; width: 30px; padding: 0; border: 0; background: transparent; color: var(--green-deep); cursor: pointer; }
.nav-chevron svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .16s ease; }
.nav-parent.is-open .nav-chevron svg { transform: rotate(180deg); }
.nav-dropdown-menu, .account-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 270px; padding: 9px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(16, 55, 45, .15); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.nav-dropdown-menu::before, .account-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
html:not(.has-js) .nav-parent:hover .nav-dropdown-menu,
html:not(.has-js) .nav-parent:focus-within .nav-dropdown-menu,
html:not(.has-js) .account-item:focus-within .account-menu,
html.has-js .nav-parent.is-open .nav-dropdown-menu,
html.has-js .account-item.is-open .account-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-parent.is-dismissed .nav-dropdown-menu, .account-item.is-dismissed .account-menu { opacity: 0; visibility: hidden; transform: translateY(-5px); }
.dropdown-link { display: block; padding: 11px 13px; color: var(--green-deep); text-decoration: none; font-size: .9rem; line-height: 1.3; border-radius: 2px; }
.dropdown-link:hover, .dropdown-link:focus-visible, .dropdown-link.is-active { background: var(--bronze); }
.account-item { margin-left: 10px; }
.account-avatar { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--bronze); border-radius: 50%; background: var(--green); color: white; font-weight: 700; cursor: pointer; }
.account-avatar:hover { background: var(--green-deep); }
.account-menu { width: 230px; }
.account-email { padding: 8px 13px 12px; margin-bottom: 5px; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.logout-form { margin: 0; }
.logout-button { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }

main { min-height: 48vh; }
.page-intro { padding-top: 100px; padding-bottom: 112px; }
.page-intro h1 { max-width: 850px; margin: 0 0 25px; }
.eyebrow { margin-bottom: 18px; color: #87571f; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.lead { max-width: 780px; color: var(--muted); font-size: 1.18rem; line-height: 1.75; }
.section { padding: 90px 0; border-top: 1px solid var(--line); }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: white; }
.section-green h2, .section-green h3 { color: white; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 2px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .16s ease, border-color .16s ease; }
.button-primary { background: var(--bronze); color: var(--green-deep); }
.button-primary:hover { background: var(--bronze-hover); }
.button-secondary { border-color: var(--green); color: var(--green); background: transparent; }
.button-secondary:hover { background: var(--green-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); }
.card-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 27px; }
.card-body h3 { margin: 0 0 12px; }
.card-body p { color: var(--muted); }
.card-link { color: var(--green); font-weight: 700; text-underline-offset: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--green-deep); font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #a9b9b0; border-radius: 2px; background: white; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--bronze); outline-offset: 1px; border-color: var(--bronze); }
.notice { margin: 22px 0; padding: 18px 23px; border-left: 4px solid var(--green); background: var(--green-soft); }
.notice-error { border-color: var(--error); background: #fff1ef; }
.notice-heading { margin: 0 0 5px; font-weight: 700; }
.notice ul { margin: 0; padding-left: 22px; }

.home-hero { position: relative; min-height: 590px; display: flex; align-items: center; overflow: hidden; background: var(--green-deep); color: white; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 42, 34, .94) 0%, rgba(9, 42, 34, .78) 43%, rgba(9, 42, 34, .14) 100%); }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero-content { position: relative; z-index: 1; padding-top: 94px; padding-bottom: 100px; }
.home-hero h1 { max-width: 730px; margin: 0 0 24px; color: white; }
.home-hero .eyebrow { color: #ecc69a; }
.hero-lead { max-width: 660px; margin: 0; color: #f0f3ee; font-size: 1.23rem; line-height: 1.7; }
.button-light { border-color: #e6f0eb; color: white; background: rgba(255, 255, 255, .08); }
.button-light:hover { background: rgba(255, 255, 255, .2); }
.home-categories { padding-top: 86px; padding-bottom: 94px; }
.home-categories .section-heading, .home-cooperation .section-heading { margin-bottom: 35px; }
.home-categories h2, .home-cooperation h2 { margin: 0 0 10px; }
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.category-card { display: block; overflow: hidden; background: white; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 4px 20px rgba(16, 55, 45, .04); transition: transform .18s ease, box-shadow .18s ease; }
.category-card:hover, .category-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16, 55, 45, .12); }
.category-card img { display: block; width: 100%; height: 180px; object-fit: cover; background: var(--green-soft); }
.category-card-body { min-height: 71px; padding: 17px 21px; display: flex; align-items: center; gap: 14px; color: var(--green-deep); }
.category-card-body strong { flex: 1; font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; line-height: 1.2; }
.card-number { display: inline-block; color: #89591f; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.home-cooperation { padding-top: 95px; padding-bottom: 103px; }
.cooperation-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.cooperation-step { display: flex; flex-direction: column; gap: 16px; min-height: 245px; padding: 25px 20px; background: var(--cream); border-top: 3px solid var(--bronze); text-decoration: none; transition: background-color .16s ease, transform .16s ease; }
.cooperation-step:hover, .cooperation-step:focus-visible { background: var(--green-soft); transform: translateY(-3px); }
.cooperation-step strong { color: var(--green-deep); font-family: Georgia, 'Times New Roman', serif; font-size: 1.18rem; line-height: 1.25; }
.cooperation-step > span:last-child { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.overview-intro { padding-bottom: 72px; }
.overview-intro h1, .contact-intro h1, .about-intro h1 { margin-bottom: 18px; }
.overview-intro .lead { margin-bottom: 18px; }
.overview-intro > p:last-child { max-width: 790px; color: var(--muted); }
.overview-section { padding-top: 80px; padding-bottom: 100px; }
.overview-grid { gap: 30px; }
.overview-card { box-shadow: 0 4px 22px rgba(16, 55, 45, .04); }
.overview-image-link { display: block; overflow: hidden; }
.overview-card .card-image { aspect-ratio: 3 / 2; background: var(--green-soft); transition: transform .3s ease; }
.overview-card:hover .card-image { transform: scale(1.035); }
.overview-card .card-body { min-height: 230px; padding: 28px 30px 32px; }
.overview-card h2 { margin: 10px 0 13px; font-size: 1.65rem; }
.overview-card h2 a { text-decoration: none; }
.overview-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.overview-card .card-body p { min-height: 52px; }
.detail-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.detail-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; min-height: 530px; padding-top: 70px; padding-bottom: 70px; }
.detail-hero-copy h1 { margin: 0 0 18px; }
.detail-hero-copy .lead { margin-bottom: 28px; }
.detail-hero-image { display: block; width: 100%; height: 385px; object-fit: cover; background: var(--green-soft); }
.detail-content { max-width: 930px; padding-top: 75px; padding-bottom: 95px; }
.detail-lead { font-size: 1.1rem; line-height: 1.82; }
.detail-keywords { margin-bottom: 36px; color: #81521d; font-size: .83rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.prose-section { margin-top: 54px; padding-top: 45px; border-top: 1px solid var(--line); }
.prose-section h2 { margin: 0 0 25px; font-size: 2rem; }
.prose-section p { line-height: 1.84; }
.process-list { display: grid; gap: 16px; margin-top: 26px; }
.process-step { display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 18px 20px; background: var(--cream); scroll-margin-top: 35px; }
.process-step h3 { margin: 0 0 8px; font-size: 1.2rem; }
.process-step p { margin: 0; }
.product-section .section-heading h2 { margin: 0 0 16px; }
.product-grid { gap: 22px; }
.product-card .card-image { aspect-ratio: 4 / 3; background: var(--green-soft); }
.product-card .card-body { min-height: 168px; }
.product-support { margin: 35px 0 0; font-weight: 700; }
.product-support a { color: var(--green); text-underline-offset: 4px; }
.contact-section { background: var(--green-soft); }
.contact-layout { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(520px, 1.28fr); gap: 74px; align-items: start; }
.contact-copy h2 { margin: 0 0 23px; }
.contact-copy p:not(.eyebrow) { color: var(--muted); }
.contact-copy a { color: var(--green); font-weight: 700; }
.contact-panel { padding: 39px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 35px rgba(16, 55, 45, .06); }
.contact-panel .notice:first-child { margin-top: 0; }
.field-help { color: var(--muted); font-size: .82rem; }
.field-error { color: var(--error); font-size: .84rem; font-weight: 700; }
.privacy-note { margin: 24px 0 20px; color: var(--muted); font-size: .83rem; }
.privacy-note a { color: var(--green); }
.contact-intro { padding-bottom: 70px; }
.contact-intro > p:not(.eyebrow):not(.lead) { max-width: 760px; color: var(--muted); }
.about-intro { padding-bottom: 48px; }
.about-content { padding-top: 0; }
.about-content > .button { margin-top: 22px; }
.policy-article { max-width: 930px; padding-top: 86px; padding-bottom: 110px; }
.policy-header h1 { margin: 0 0 18px; }
.policy-updated { margin: 0 0 38px; color: var(--muted); font-size: .9rem; }
.policy-header .detail-lead { margin: 0 0 22px; }
.policy-faq-list { display: grid; gap: 14px; margin-top: 48px; }
.policy-faq-item { border: 1px solid var(--line); background: var(--cream); }
.policy-faq-item summary { padding: 19px 23px; cursor: pointer; font-weight: 700; color: var(--green-deep); }
.policy-faq-item summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.policy-faq-item p { margin: 0; padding: 0 23px 23px; line-height: 1.84; }
.account-section { max-width: 820px; padding-top: 86px; padding-bottom: 110px; }
.account-intro { margin-bottom: 35px; }
.account-intro h1 { margin: 0 0 18px; }
.account-panel, .profile-card { padding: 40px; border: 1px solid var(--line); background: white; box-shadow: 0 12px 30px rgba(16, 55, 45, .06); }
.account-form { display: grid; gap: 22px; }
.account-form .button { justify-self: start; }
.account-alternate { margin: 26px 0 0; color: var(--muted); }
.account-alternate a { color: var(--green); font-weight: 700; }
.profile-section { max-width: var(--content-width); }
.profile-card { max-width: 670px; margin: 35px 0 52px; }
.profile-card h2, .profile-history h2 { margin: 0 0 24px; font-size: 1.75rem; }
.profile-card dl { margin: 0; }
.profile-card dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.profile-card dt { color: var(--muted); }
.profile-card dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.profile-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.empty-state { padding: 28px; border: 1px solid var(--line); background: var(--cream); }
.profile-table-wrap { overflow-x: auto; }
.profile-table { width: 100%; border-collapse: collapse; background: white; }
.profile-table th, .profile-table td { padding: 17px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.profile-table th { background: var(--green-soft); color: var(--green-deep); }
.profile-table td:last-child { min-width: 260px; white-space: pre-wrap; overflow-wrap: anywhere; }

.site-footer { background: var(--green-deep); color: #edf3ed; }
.footer-inner { width: min(calc(100% - 80px), var(--content-width)); margin: auto; display: flex; justify-content: space-between; gap: 80px; padding: 68px 0 56px; }
.footer-name { margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 700; }
.footer-company address { font-style: normal; line-height: 1.95; }
.footer-company a { color: #eac99f; text-decoration: none; }
.footer-company a:hover { text-decoration: underline; }
.footer-policy-list { display: flex; flex-direction: column; gap: 9px; min-width: 180px; }
.footer-policy-link { color: #edf3ed; text-decoration: none; text-underline-offset: 4px; }
.footer-policy-link:hover, .footer-policy-link:focus-visible { color: #eac99f; text-decoration: underline; }
.footer-bottom { width: min(calc(100% - 80px), var(--content-width)); margin: auto; padding: 19px 0 25px; border-top: 1px solid #4b6d62; color: #bfd1c8; font-size: .8rem; }

@media (max-width: 1160px) {
  .site-header-inner { gap: 12px; }
  .brand-mark { width: 230px; }
  .nav-link { padding-inline: 9px; font-size: .84rem; }
  .nav-trigger .nav-link { padding-right: 0; }
  .nav-chevron { width: 24px; }
}
