:root {
  --brand: #34b233;
  --brand-strong: #1d9524;
  --brand-soft: #72d271;
  --surface: #f3f6f4;
  --ink: #0f1318;
  --ink-soft: #5f6b76;
  --dark-1: #181e25;
  --dark-2: #11171e;
  --dark-line: #2f3742;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard", "SF Pro Display", "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 18% 56%, rgba(255, 255, 255, 0.12) 56% 70%, transparent 70%),
    linear-gradient(160deg, #2dab31 0%, #43be43 38%, #6fd66e 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 36vmax;
  height: 36vmax;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -20vmax;
  right: -10vmax;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 62%, transparent 100%);
}

body::after {
  left: -18vmax;
  bottom: -18vmax;
  background: radial-gradient(circle, rgba(15, 60, 20, 0.2) 0%, rgba(15, 60, 20, 0.02) 62%, transparent 100%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  margin: 34px auto 56px;
  display: grid;
  gap: 18px;
}

.hero,
.card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 60px rgba(9, 14, 20, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 247, 0.78));
  backdrop-filter: blur(10px);
  padding: 30px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(220px 140px at 90% 6%, rgba(52, 178, 51, 0.16), transparent 60%),
    linear-gradient(90deg, rgba(52, 178, 51, 0.16), rgba(52, 178, 51, 0));
  pointer-events: none;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #0f7f19;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(52, 178, 51, 0.12);
  border: 1px solid rgba(52, 178, 51, 0.32);
  border-radius: 999px;
  padding: 7px 12px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(52, 178, 51, 0.18);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.56;
}

.contact {
  margin: 14px 0 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #2f3b45;
  font-size: 0.93rem;
  font-weight: 600;
}

.contact a {
  color: #0f7f19;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 127, 25, 0.38);
}

.contact a:hover {
  color: #0c6a15;
  border-bottom-color: rgba(12, 106, 21, 0.6);
}

.updates-card {
  background: linear-gradient(170deg, rgba(26, 33, 42, 0.92), rgba(15, 20, 29, 0.95));
  border-color: var(--dark-line);
  padding: 22px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.24rem, 2.2vw, 1.66rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ghost {
  border: 1px solid rgba(95, 222, 94, 0.56);
  background: linear-gradient(180deg, rgba(52, 178, 51, 0.36), rgba(52, 178, 51, 0.2));
  color: #edffec;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.ghost:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.letters {
  display: grid;
  gap: 12px;
}

.letter-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: riseIn 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--idx, 0) * 55ms);
}

.letter-item:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 239, 124, 0.6);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
}

.letter-item[data-open="true"] {
  border-color: rgba(146, 252, 145, 0.58);
  background: linear-gradient(180deg, rgba(122, 236, 121, 0.12), rgba(255, 255, 255, 0.03));
}

.letter-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: #ebf2fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  text-align: left;
  cursor: pointer;
}

.letter-title {
  font-size: 1.04rem;
  font-weight: 760;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.letter-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(95, 222, 94, 0.45);
  background: rgba(52, 178, 51, 0.14);
  color: #c6ffc5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.letter-chevron {
  color: #a4f7a4;
  font-weight: 800;
  font-size: 1.08rem;
  transition: transform 0.2s ease;
}

.letter-item[data-open="true"] .letter-chevron {
  transform: rotate(180deg);
}

.letter-panel {
  padding: 4px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #dce5ef;
}

.letter-panel[hidden] {
  display: none;
}

.letter-panel p {
  margin: 0 0 9px;
  line-height: 1.7;
  font-size: 0.98rem;
}

.letter-panel p:last-child {
  margin-bottom: 0;
}

.letter-empty {
  color: #aab5c3;
  font-size: 0.92rem;
  padding: 10px 2px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .page {
    margin: 16px auto 32px;
    gap: 14px;
  }

  .hero,
  .updates-card {
    border-radius: 22px;
  }

  .hero {
    padding: 22px;
  }

  .updates-card {
    padding: 18px;
  }

  .section-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .letter-trigger {
    padding: 13px 14px;
  }

  .letter-title {
    font-size: 0.97rem;
  }

  .letter-panel {
    padding: 2px 14px 12px;
  }
}
