:root {
  --green: #244b3b;
  --green-dark: #203d31;
  --muted: #526358;
  --paper: #f1f3ee;
  --line: #d4ddd4;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #e8ebe6;
  color: var(--green-dark);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--white);
  color: var(--green-dark);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus { top: 0.6rem; }

.page {
  width: min(100% - 32px, 1080px);
  margin: 28px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #dfe4dc;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(24, 45, 33, 0.12);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--green);
  color: white;
}

.logo svg { width: 25px; height: 25px; }

.brand-title,
.brand-subtitle { display: block; }

.brand-title {
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.2;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.menu,
.header-links a {
  color: var(--green);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.menu {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.header-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.header-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(26px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #78927f;
}

h1 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.intro,
.lede,
.lead {
  max-width: 560px;
  margin: 0 0 25px;
  color: #45594d;
  font-size: clamp(15px, 1.6vw, 17px);
}

.proposal {
  margin: -8px 0 24px;
  padding: 15px 17px;
  border-left: 3px solid #78927f;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.62);
  color: #45594d;
  font-size: 14px;
}

.proposal strong { color: var(--green-dark); }

.proposal ul {
  margin: 8px 0 10px;
  padding-left: 19px;
}

.proposal li { margin: 4px 0; }

.proposal p {
  margin: 0;
  font-size: 13px;
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover,
.btn:hover { transform: translateY(-1px); }

.button.primary,
.btn-ink,
.btn-white {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.btn-ghost,
.btn-line {
  background: transparent;
  color: var(--green);
}

.hero-image {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(12, 22, 18, 0.05) 42%, rgba(12, 22, 18, 0.28) 100%),
    url("../5395777812536883219.jpg") center 38% / cover,
    #1c2a24;
  box-shadow: 0 16px 34px rgba(32, 61, 49, 0.13);
}

.image-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  backdrop-filter: blur(8px);
}

.image-note strong { display: block; font-size: 14px; }

.image-note span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 2px;
}

.detail-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 88px;
  padding: 17px 19px;
  border: 1px solid #e1e7df;
  border-radius: 14px;
  background: var(--white);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #edf2eb;
  color: var(--green);
}

.detail-icon svg { width: 21px; height: 21px; }

.detail-label { color: var(--muted); font-size: 12px; }

.detail-value {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 750;
}

.detail-caption {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.detail-caption a {
  color: var(--green);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0 clamp(20px, 5vw, 56px) 30px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links a {
  color: var(--green);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.notice {
  margin: 0 clamp(20px, 5vw, 56px) 28px;
  padding: 12px 14px;
  border-left: 3px solid #9cae9d;
  color: #526358;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.subpage {
  padding: clamp(26px, 5vw, 48px) clamp(20px, 5vw, 56px) 8px;
}

.subpage h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.subpage .section { padding: 0 0 28px; }

.subpage .container {
  width: auto;
  margin: 0;
}

.tablist {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.tab[aria-selected="true"] {
  background: var(--green);
  color: white;
}

.tab:hover:not([aria-selected="true"]) { background: #e7eee6; }

.doc-panel { padding-top: 18px; }

.doc-panel h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78927f;
}

.file-slot {
  margin-top: 18px;
  min-height: 150px;
  border-radius: 16px;
  border: 1.5px dashed #c5d2c6;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px;
}

.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.doc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid #e1e7df;
  border-radius: 14px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

.doc-row:hover { border-color: #78927f; }

.doc-ext {
  min-width: 3.4rem;
  padding: 6px 8px;
  border-radius: 8px;
  background: #e7eee6;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
}

.doc-row strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.doc-open {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.file-slot p,
.fine,
.muted,
.faq-a,
.steps p,
.sidecard p,
.note {
  color: var(--muted);
}

.inline,
.fine a,
.note a,
.text-link {
  color: var(--green);
  font-weight: 700;
}

.phone { white-space: nowrap; }

.contact-grid,
.split {
  display: grid;
  gap: 14px;
}

.contact-card,
.sidecard,
.note {
  background: var(--white);
  border: 1px solid #e1e7df;
  border-radius: 14px;
  padding: 18px;
}

.contact-card-accent {
  background: var(--green);
  color: white;
  border-color: transparent;
}

.contact-card-accent p,
.contact-card-accent .fine { color: rgba(255, 255, 255, 0.82); }

.contact-card-accent .fine a { color: white; }

.contact-card h2,
.sidecard h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
  margin: 4px 0 10px;
}

.contact-card-accent .eyebrow { color: white; }

.contact-card-accent .eyebrow::before { background: rgba(255, 255, 255, 0.7); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 12px;
}

.contact-card-accent .btn-white {
  background: white;
  color: var(--green);
  border-color: white;
}

.contact-card-accent .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 8px 0 12px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.contact-list dt { color: var(--muted); font-size: 13px; }

.contact-list dd { margin: 0; font-weight: 700; }

.contact-list a { color: var(--green); text-decoration: none; }

.faq-item { border-top: 1px solid var(--line); }

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 1px;
}

.faq-icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
}

.faq-item[open] .faq-icon::after { transform: scaleY(0); }

.faq-a { padding: 0 0 16px; max-width: 46rem; }

.faq-a p + p,
.faq-a ul + p,
.faq-a p + ul,
.faq-a .faq-table-wrap + p { margin-top: 8px; }

.faq-a ul { margin: 8px 0 0; padding-left: 18px; }

.faq-a li { margin: 4px 0; }

.ivko-block { margin-top: 28px; }

.organizer {
  margin: 0 0 14px;
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid #e1e7df;
  border-radius: 14px;
  color: #45594d;
  font-size: 15px;
}

.organizer h2 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
}

.organizer p + p { margin-top: 10px; }

.organizer strong { color: var(--green-dark); }

.contact-grid + .organizer { margin-top: 14px; }

.ivko-block h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.ivko-block h3 {
  margin: 26px 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.ivko-block .lede { margin-bottom: 14px; }

.ivko-file { margin: 0 0 16px; }

.ivko-letter {
  margin: 0 0 18px;
  padding: 15px 17px;
  border-left: 3px solid #78927f;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.62);
  color: #45594d;
  font-size: 14px;
}

.ivko-letter p + p { margin-top: 8px; }

.faq-table-wrap { overflow-x: auto; margin: 10px 0 4px; }

.faq-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.faq-table th,
.faq-table td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.faq-table th {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .faq-table { min-width: 0; }

  .faq-table thead { display: none; }

  .faq-table tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .faq-table td {
    display: block;
    border: 0;
    padding: 1px 0;
  }

  .faq-table td:first-child {
    font-weight: 700;
    margin-bottom: 4px;
  }

  .faq-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }
}

.faq-more,
.section-action { margin-top: 18px; }

.split { align-items: start; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 26px 58px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 760;
}

.steps li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.steps li:last-child { padding-bottom: 0; }

.steps li:last-child::after { display: none; }

.steps h3 { margin-bottom: 6px; font-size: 18px; }

.guide-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -8px 0 22px;
}

.guide-jump a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.guide-jump a:hover { text-decoration: underline; }

.guide {
  background: var(--white);
  border: 1px solid #e1e7df;
  border-radius: 16px;
  padding: 22px 22px 20px;
  margin: 0 0 16px;
}

.guide h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  margin: 4px 0 10px;
}

.guide .lede { max-width: 40rem; margin-bottom: 16px; }

.guide-download {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.steps-plain p {
  color: var(--green-dark);
  font-size: 16px;
}

.guide-note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 3px solid #78927f;
  border-radius: 0 10px 10px 0;
  background: rgba(241, 243, 238, 0.9);
  color: #45594d;
  font-size: 14px;
}

.guide-note p + p { margin-top: 8px; }

.guide-note strong { color: var(--green-dark); }

.guide-video {
  margin: 22px 0 0;
}

.guide-video video {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border-radius: 16px;
  background: #1c2a24;
}

.guide-video-wide video { width: 100%; }

.guide-video figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.check li { position: relative; padding-left: 16px; }

.check li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78927f;
  position: absolute;
  left: 0;
  top: 0.55em;
}

.sidecard + .sidecard { margin-top: 14px; }

.sidecard h2 { font-size: 22px; }

[hidden] { display: none !important; }

@media (min-width: 900px) {
  .contact-grid,
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .sidecard-sticky { position: sticky; top: 18px; }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 16px, 600px);
    margin: 8px auto;
    border-radius: 18px;
  }

  .site-header { padding: 17px 20px; align-items: flex-start; }

  .header-links {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .home {
    grid-template-columns: 1fr;
    padding: 28px 20px 22px;
    gap: 23px;
  }

  h1 { font-size: clamp(35px, 9vw, 47px); }

  .hero-image { min-height: 250px; }

  .details,
  .contact-grid,
  .split,
  .contact-list div { grid-template-columns: 1fr; }

  .footer-links { padding: 0 20px 22px; }

  .notice { margin: 0 20px 22px; }

  .subpage { padding: 28px 20px 8px; }

  .actions .button,
  .contact-actions .btn { width: 100%; }

  .doc-row { grid-template-columns: auto 1fr; }

  .doc-open { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
