:root {
  --bg: #f3f6f4;
  --surface: #ffffff;
  --surface-soft: #f8fbf9;
  --text: #16221f;
  --muted: #5f6d68;
  --line: #073325;
  --brand: #004b38;
  --brand-2: #0c7a5a;
  --brand-3: #0f2a25;
  --accent: #26e4a0;
  --danger-soft: #d33;
  --notice-bg: #eef5ef;
  --shadow: 0 18px 48px rgba(15, 46, 37, 0.11);
  --radius: 18px;
  --container: min(1200px, calc(100% - 48px));
}
* { box-sizing: border-box; }
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.5 Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Poppins', sans-serif;
  color: var(--text);
  // background: linear-gradient(180deg, #f6f8f7, #eef3f0 40%, #f7faf8);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: #232323;
  color: #fff;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand-chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0px;
  text-decoration: none;
}
.brand-chip img { height: auto; max-height: 30px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(255,255,255,.06); font-weight: 650;
}
.header-pill svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.lang-select {
  appearance: none;
  background: #232323; 
  color: #fff;
  border: none;
  padding: 10px 38px 10px 14px;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 1px), calc(100% - 13px) calc(1em + 1px);
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.lang-select option { color:  #fff; }
.menu-button {
  border: 0; background: transparent; color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 650;
}
.menu-button svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.menu-wrap { position: relative; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 250px;
  padding: 10px; border-radius: 14px; background: #fff; color: var(--text);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.menu-panel[hidden] { display: none; }
.menu-panel a {
  display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.menu-panel a:hover { background: #eff7f3; color: var(--brand); }
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: #073325;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
}
.hero-inner {
  min-height: 280px;
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 22px; 
  padding-block: 15px 25px;
}
.eyebrow {
  margin: 0 0 26px; text-transform: uppercase; letter-spacing: .18em; color: #9ef0d3; font-size: 13px; font-weight: 800;
}
.hero h1 { margin: 0; font-size: 26px; line-height: 1.04; letter-spacing: -.05em; }
.hero p { margin: 10px 0 26px; color: #eff9f4; font-size: 16px; max-width: 620px; }
.benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.benefits li { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 14px; }
.benefits li + li { border-left: 1px solid rgba(255,255,255,.28); padding-left: 22px; }
.benefits svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; }
.hero-visual { position: relative; min-height: 250px; display: grid; place-items: center; }
.hero-visual::before {
  content: ''; position: absolute; width: 380px; height: 180px; border-radius: 50%; background: rgba(40,226,158,.15); filter: blur(42px);
}
.glow-panel {
  width: min(420px, 100%); padding: 26px; border-radius: 28px;
  // background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(143,245,206,.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 45px rgba(20, 230, 155, 0.14);
}
.glow-ring {
  aspect-ratio: 1; width: 180px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(124,242,194,.45);
  box-shadow: 0 0 0 18px rgba(81,231,175,.06), 0 0 0 40px rgba(81,231,175,.04), inset 0 0 40px rgba(96,250,204,.08);
}
.glow-ring svg { width: 96px; height: 96px; fill: none; stroke: #8af0c7; stroke-width: 1.5; }
.glow-panel p { margin: 0; text-align: center; font-size: 15px; color: #dff7ed; }
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 112px;
}
.hero-wave svg { width: 100%; height: 100%; display: block; }
.access-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  margin-top: -34px; position: relative; z-index: 2;
}
.access-card {
  display: flex; align-items: center; gap: 24px; min-height: 124px; text-decoration: none;
  background: #fff; //linear-gradient(135deg, #fff 0%, #f8fbf9 100%);
  border: 1px solid #e3ebe6; border-left: 1px solid #e3ebe6; border-radius: 20px; padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.access-card:hover { transform: translateY(-3px); box-shadow: 0 24px 46px rgba(13,47,35,.16); }
.access-card svg.icon { width: 60px; height: 60px; color: #04563f; fill: none; stroke: currentColor; stroke-width: 2.7; }
.access-card .arrow { margin-left: auto; width: 24px; height: 24px; stroke-width: 2.7; }
.access-card strong { display: block; font-size: 24px; letter-spacing: -.03em; }
.access-card span.sub { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.section { margin-top: 34px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15, 46, 37, 0.06);
  padding: 22px;
}
.section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.section-title h2 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.link-list { display: grid; gap: 4px; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 5px;
  padding: 5px 4px; border-radius: 5px; text-decoration: none;
}
.link-list a:hover { background: #eff7f3; color: var(--brand); }
.link-list a svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
.notice-box {
  margin-top: 24px; padding: 18px 22px; display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(90deg, #edf6ef, #e6f2e8); border-radius: 15px; border: 1px solid #d4e3d7;
}
.notice-box svg { width: 24px; height: 24px; stroke: #0b6347; fill: none; stroke-width: 2; }
.notice-box p { margin: 0; font-size: 14px; line-height: 1.65; }
.support-strip {
  margin-top: 24px; padding: 22px 0 26px; display: grid; grid-template-columns: 1fr auto; gap: 24px 36px; align-items: center;
}
.support-info { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.support-info strong { font-size: 16px; }
.support-info a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.support-info a:hover { text-decoration: underline; color: var(--brand); }
.support-info svg, .support-hours svg { width: 20px; height: 20px; stroke: #0a6548; fill: none; stroke-width: 1.9; }
.support-hours { display: flex; align-items: flex-start; gap: 12px; border-left: 1px solid #d6e1dc; padding-left: 30px; }
.support-hours strong { display: block; margin-bottom: 4px; }
.support-hours small { color: var(--muted); display: block; }
.browser-note { color: #6a7671; font-size: 12px; margin-top: 10px; }
.site-footer {
  border-top: 1px solid #dde6e1; padding: 16px 0 28px; color: #66736e; font-size: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.admin-shell {
  display: grid; grid-template-columns: 320px 1fr; min-height: 100vh;
}
.admin-sidebar {
  padding: 28px 22px; background: linear-gradient(180deg, #072a23, #083e31); color: #fff;
}
.admin-sidebar h1 { margin: 0 0 10px; font-size: 26px; line-height: 1.1; }
.admin-sidebar p { color: rgba(255,255,255,.8); margin: 0 0 18px; }
.admin-sidebar .back-link { display: inline-flex; align-items: center; gap: 8px; color: #d5f4e6; text-decoration: none; font-weight: 600; }
.admin-sidebar .back-link:hover { text-decoration: underline; }
.admin-sidebar .status {
  margin-top: 20px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.admin-main { padding: 28px; }
.admin-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.admin-toolbar h2 { margin: 0; font-size: 26px; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  border: 1px solid transparent; border-radius: 12px; padding: 11px 16px; cursor: pointer; font-weight: 650;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #035740; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: #f4f8f6; }
.btn-danger { background: #fff5f5; color: #9a2121; border-color: #f4d3d3; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 10px 28px rgba(15,46,37,.05);
}
.field-card.full { grid-column: 1 / -1; }
.field-card h3 { margin: 0 0 12px; font-size: 18px; }
.field-row { display: grid; gap: 8px; margin-bottom: 12px; }
.field-row:last-child { margin-bottom: 0; }
.field-row label { font-size: 14px; color: #3c4a45; font-weight: 600; }
.field-row input, .field-row textarea, .field-row select {
  width: 100%; border: 1px solid #ccd9d2; border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--text);
}
.field-row textarea { min-height: 92px; resize: vertical; }
.locale-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.locale-tab {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 650;
}
.locale-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.resource-editor { display: grid; gap: 14px; }
.resource-item { border: 1px solid #dbe5df; border-radius: 14px; padding: 14px; background: #fbfdfc; }
.resource-item h4 { margin: 0 0 10px; font-size: 16px; }
.small-note { font-size: 12px; color: #66736e; }
.code-box {
  border: 1px solid #dae4de; border-radius: 14px; background: #0a1d18; color: #e7fff5; padding: 16px; overflow: auto;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 16px; min-height: unset; }
  .hero-visual { display: none; }
  .access-grid, .panel-grid, .form-grid { grid-template-columns: 1fr; }
  .support-strip { grid-template-columns: 1fr; }
  .support-hours { border-left: 0; padding-left: 0; }
  .admin-shell { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --container: min(100% - 32px, 1200px); }
  .header-inner { min-height: 78px; flex-wrap: wrap; padding-block: 12px; }
  .brand-chip img { width: min(100%, 440px); max-height: 48px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .access-grid { margin-top: -20px; }
  .access-card { padding: 20px; gap: 16px; }
  .access-card strong { font-size: 22px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .admin-main { padding: 20px; }
}
