:root {
  --mint: #e8f9f9;
  --teal: #4fa5ba;
  --ink: #404040;
  --ink-2: #4d4d4d;
  --muted: rgba(64, 64, 64, 0.64);
  --nav: #707070;
  --line: #e2e2e2;
  --line-2: #d0d0d0;
  --grad: linear-gradient(106deg, #1bb1c6 0%, #1bc6b4 100%);
  --shadow: 0 0 15px 5px rgba(143, 138, 138, 0.08);
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #111; font-family: var(--sans); font-size: 18px; line-height: 1.5; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: #128ea0; }
header { position: sticky; top: 0; z-index: 40; height: 86px; background: #fff; box-shadow: var(--shadow); }
.bar { max-width: 1140px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.word { color: #8a8a8a; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; }
.nav { display: flex; align-items: center; }
.nav-link { border: 0; background: transparent; color: var(--nav); font-size: 18px; font-weight: 700; padding: 10px 16px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.lang { position: relative; }
.lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang[open] > summary::after { transform: rotate(225deg) translateY(-1px); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; max-height: min(70vh, 440px); overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(18, 40, 44, 0.12); z-index: 50; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.lang-menu a:hover, .lang-menu a[aria-current="page"] { background: var(--mint); }
.page { background: var(--mint); padding: 42px 20px 64px; }
.wrap { max-width: 820px; margin: 0 auto; }
.crumb { color: var(--muted); font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.crumb a { color: var(--teal); text-decoration: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 32px 36px; }
h1 { color: var(--ink); font-size: 36px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; }
.lead { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
article h2 { margin-top: 28px; color: var(--ink-2); font-size: 22px; font-weight: 800; }
article p, article li { color: #2c2c2c; font-size: 17px; line-height: 1.65; }
article p { margin-top: 12px; }
article ul, article ol { margin: 12px 0 0; padding-left: 1.2rem; }
article li + li { margin-top: 8px; }
.cta { margin-top: 28px; padding: 16px 18px; border-radius: 12px; background: var(--mint); }
.list { display: grid; gap: 16px; margin-top: 22px; }
.post-link { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; text-decoration: none; color: inherit; }
.post-link:hover { border-color: #b7dde4; transform: translateY(-2px); }
.post-link h2 { color: var(--ink); font-size: 22px; font-weight: 800; }
.post-link p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.more { margin-top: 28px; }
.more h2 { font-size: 18px; color: var(--ink-2); }
.more a { display: block; margin-top: 8px; font-weight: 700; text-decoration: none; }
footer { background: var(--grad); color: #fff; padding: 32px 20px 40px; }
.foot { max-width: 1140px; margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot p { font-size: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot button, .foot a { background: none; border: 0; color: #fff; padding: 4px 0; cursor: pointer; font-size: 15px; font-weight: 600; text-decoration: none; }
.foot button:hover, .foot a:hover { text-decoration: underline; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(18, 40, 44, 0.46); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { width: min(560px, 100%); max-height: min(78vh, 640px); overflow: auto; background: #fff; color: var(--ink); border-radius: 16px; padding: 28px 28px 32px; position: relative; }
.modal-card h2 { font-size: 24px; color: var(--ink-2); margin-bottom: 12px; padding-right: 28px; }
.modal-card p + p { margin-top: 10px; }
.x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--mint); color: var(--ink); font-size: 22px; cursor: pointer; }
:focus-visible { outline: 2px solid #1bb1c6; outline-offset: 3px; }
@media (max-width: 767px) {
  header { height: auto; }
  .bar { height: auto; min-height: 72px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
  .word { font-size: 11px; letter-spacing: 0.02em; }
  .nav-link { font-size: 15px; padding: 8px 6px; }
  h1 { font-size: 28px; }
  .card { padding: 22px 18px 26px; }
  .page { padding: 28px 16px 48px; }
  .foot-top { align-items: flex-start; flex-direction: column; }
}
