:root {
  --paper: #f7f1e3;
  --ink: #18212f;
  --accent: #006d77;
  --accent-soft: #83c5be;
  --sun: #ffb703;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(24, 33, 47, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 183, 3, 0.2), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(0, 109, 119, 0.18), transparent 20%),
    linear-gradient(160deg, #fffdfa 0%, #eef6f5 48%, #fdf7eb 100%);
}

a {
  color: inherit;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56));
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(24, 33, 47, 0.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 197, 190, 0.8), rgba(131, 197, 190, 0));
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 109, 119, 0.1);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero h1 {
  margin: 18px 0 12px;
  max-width: 12ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.95;
}

.hero p {
  margin: 0;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.6;
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.meta-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 47, 0.08);
}

.meta-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
}

.locale-switcher {
  display: inline-flex;
  gap: 6px;
}

.locale-btn {
  font-family: inherit;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.locale-btn.active {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.panel,
.content article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(14px);
}

.panel {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 18px;
}

.panel h2,
.content h2,
.content h3 {
  font-family: "Space Grotesk", sans-serif;
}

.panel nav {
  display: grid;
  gap: 8px;
}

.panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(24, 33, 47, 0.78);
}

.panel a:hover,
.panel a:focus-visible {
  background: rgba(0, 109, 119, 0.08);
  color: var(--accent);
}

.content {
  display: grid;
  gap: 16px;
}

.content article {
  padding: 26px;
}

.content h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.content h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.content p,
.content li {
  font-size: 17px;
  line-height: 1.72;
}

.content ul {
  margin: 0;
  padding-left: 20px;
}

.footer-note {
  margin-top: 20px;
  padding: 18px 22px;
  border-left: 4px solid var(--sun);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

.deletion-panel {
  margin-top: 20px;
  padding: 26px;
}

.deletion-form {
  display: grid;
  gap: 14px;
  max-width: 480px;
}

.deletion-label {
  font-weight: 600;
  font-size: 15px;
}

.deletion-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
}

.deletion-submit {
  justify-self: start;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.deletion-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.deletion-status {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

.deletion-status.success {
  color: var(--accent);
}

.deletion-status.error {
  color: #9b2226;
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .panel {
    position: static;
  }

  .hero {
    padding: 24px;
  }
}
