:root {
  --bg: #060606;
  --fg: #ffffff;
  --accent: #53c3cf;
  --muted: #b7c5c8;
  --muted-2: #8fa4a8;
  --maxw: 960px;
  --border: rgba(83, 195, 207, 0.35);
  --panel: linear-gradient(180deg, rgba(83, 195, 207, 0.06), rgba(83, 195, 207, 0.02));
  --panel-strong: linear-gradient(180deg, rgba(83, 195, 207, 0.1), rgba(83, 195, 207, 0.03));
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at top, rgba(83, 195, 207, 0.08), transparent 0 28%),
    radial-gradient(circle at 80% 0%, rgba(83, 195, 207, 0.05), transparent 0 20%),
    linear-gradient(180deg, #050505 0%, #060606 100%);
  color: var(--fg);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 88px;
}

.article-nav {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  background: rgba(83, 195, 207, 0.1);
  border-color: rgba(83, 195, 207, 0.5);
  text-decoration: none;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.brand img {
  width: auto;
  height: 72px;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  text-align: center;
}

header img {
  width: auto;
  height: 72px;
}

h1 {
  margin: 12px 0 10px;
  color: var(--accent);
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted-2);
  text-align: center;
  font-size: 15px;
}

.byline {
  margin: 0 0 18px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

h2 {
  margin: 34px 0 12px;
  color: var(--accent);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  margin: 24px 0 8px;
  color: var(--accent);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
}

p,
li {
  font-size: clamp(15px, 2.1vw, 17px);
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 20px;
}

ul {
  margin: 6px 0 14px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.panel,
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.panel {
  padding: 18px 20px;
  background: var(--panel-strong);
}

.card {
  margin: 12px 0;
  padding: 18px;
}

.figure {
  margin: 26px 0 30px;
  text-align: center;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.24);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.pill {
  display: inline-block;
  margin: 3px 6px 3px 0;
  padding: 6px 10px;
  border: 1px solid rgba(83, 195, 207, 0.45);
  border-radius: 999px;
  background: rgba(83, 195, 207, 0.12);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
  color: var(--muted);
  font-size: 15px;
}

.contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}

.mono {
  font-variant-ligatures: none;
}

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0c0c0c;
}

.figure img.ssl-img {
  display: block;
  width: auto;
  max-width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

@media (max-width: 640px) {
  .wrap {
    padding: 24px 16px 72px;
  }

  .article-nav {
    margin-bottom: 12px;
  }

  h1 {
    letter-spacing: -0.01em;
  }
}
