:root {
  --bg: #fefdfd;
  --bg-soft: #f6f3f6;
  --surface: #ffffff;
  --surface-muted: #f3f7f5;
  --text: #1c1e22;
  --muted: rgba(28, 30, 34, 0.68);
  --muted-strong: rgba(28, 30, 34, 0.82);
  --line: rgba(28, 30, 34, 0.08);
  --line-strong: rgba(28, 30, 34, 0.14);
  --primary: #6bb3a2;
  --primary-bright: #3ef0d2;
  --primary-soft: #569c8c;
  --primary-muted: #77a89f;
  --primary-deep: #121a17;
  --widget-shadow: 0 20px 45px rgba(18, 26, 23, 0.07);
  --shadow-soft: 0 18px 40px rgba(18, 26, 23, 0.05);
  --shadow-card: 0 24px 56px rgba(18, 26, 23, 0.07);
  --radius-2xl: 34px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "SF Pro Display", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 1.6px 1.6px, rgba(107, 179, 162, 0.15) 1.6px, transparent 0),
    radial-gradient(circle at top left, rgba(107, 179, 162, 0.1), transparent 22%),
    radial-gradient(circle at right 18% top 12%, rgba(62, 240, 210, 0.05), transparent 16%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  background-size: 24px 24px, auto, auto, auto;
  background-position: 0 0, 0 0, 0 0, 0 0;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -12rem;
  right: -10rem;
  background: rgba(107, 179, 162, 0.12);
  animation: driftA 16s ease-in-out infinite alternate;
}

body::after {
  bottom: -16rem;
  left: -10rem;
  background: rgba(119, 168, 159, 0.1);
  animation: driftB 18s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
}

.shell {
  width: min(var(--max-width), calc(100vw - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(18, 26, 23, 0.04);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0d1614;
  background: linear-gradient(145deg, var(--primary-bright), var(--primary));
  box-shadow: 0 12px 28px rgba(107, 179, 162, 0.22);
  animation: pulseMark 5s ease-in-out infinite;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(18, 26, 23, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(107, 179, 162, 0.12);
  color: var(--text);
  border-color: rgba(107, 179, 162, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.nav a.is-active {
  background: rgba(107, 179, 162, 0.16);
  color: var(--text);
  border-color: rgba(107, 179, 162, 0.2);
}

.hero {
  padding: 42px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.panel,
.info-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-2xl);
  box-shadow: var(--widget-shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 30, 34, 0.5);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero-copy .lede {
  margin: 18px 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #0d1614;
  background: var(--primary-bright);
  box-shadow: 0 16px 28px rgba(107, 179, 162, 0.18);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.compact-widget {
  align-self: start;
  min-height: 0;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% 28%;
  height: 58%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(107, 179, 162, 0.1), transparent 68%);
  pointer-events: none;
  animation: glowShift 9s ease-in-out infinite alternate;
}

.hero-card h2,
.hero-card p,
.stats {
  position: relative;
}

.hero-copy-home {
  position: relative;
}

.hero-copy-home::after {
  content: "";
  position: absolute;
  inset: auto 2.2rem 2rem auto;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(107, 179, 162, 0.1);
  transform: rotate(12deg);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.chip {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.chip-mint {
  background: rgba(107, 179, 162, 0.12);
  border-color: rgba(107, 179, 162, 0.18);
}

.chip-gold {
  background: rgba(107, 179, 162, 0.09);
  border-color: rgba(107, 179, 162, 0.18);
}

.chip-lavender {
  background: rgba(119, 168, 159, 0.1);
  border-color: rgba(119, 168, 159, 0.18);
}

.showcase-pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(107, 179, 162, 0.1);
  color: rgba(28, 30, 34, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.showcase-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(28, 30, 34, 0.06);
  background: rgba(255, 255, 255, 0.78);
}

.showcase-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.showcase-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.accent-mint strong {
  color: #8fe3cf;
}

.accent-gold strong {
  color: #9fd2c7;
}

.accent-lavender strong {
  color: #b5ddd5;
}

.hero-card h2 {
  margin: 0 0 10px;
  max-width: 11ch;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stat {
  padding: 15px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(18, 26, 23, 0.05);
}

.stat strong {
  display: block;
  color: var(--primary-bright);
  font-size: 1.15rem;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.section {
  padding: 18px 0 34px;
}

.section h2 {
  margin: 0 0 14px;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
}

.section-intro {
  margin: 0 0 20px;
  max-width: 42rem;
  line-height: 1.75;
  color: var(--muted);
}

.card-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(107, 179, 162, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}

.widget-icon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(107, 179, 162, 0.08);
  border: 1px solid rgba(107, 179, 162, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--primary-soft);
  z-index: 2;
}

.widget-icon-badge svg {
  width: 21px;
  height: 21px;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(21, 29, 25, 0.1);
  border-color: rgba(31, 37, 34, 0.12);
}

.info-card h2,
.info-card h3 {
  margin: 0 0 12px;
}

.info-card h2 {
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.info-card h3 {
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: 1.65rem;
  line-height: 1.05;
  max-width: calc(100% - 58px);
}

.info-card p,
.info-card li {
  margin: 0;
  line-height: 1.72;
  color: var(--muted);
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

.feature-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.feature-list li + li {
  margin-top: 10px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(107, 179, 162, 0.09);
  border: 1px solid rgba(107, 179, 162, 0.12);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.upcoming-grid {
  margin-top: 18px;
}

.outlined-card {
  background: rgba(255, 255, 255, 0.96);
}

.tone-mint {
  background: rgba(255, 255, 255, 0.96);
}

.tone-gold {
  background: rgba(255, 255, 255, 0.96);
}

.tone-lavender {
  background: rgba(255, 255, 255, 0.96);
}

.tone-mist {
  background: rgba(255, 255, 255, 0.96);
}

.tone-blush {
  background: rgba(255, 255, 255, 0.96);
}

.tone-ink {
  background: rgba(255, 255, 255, 0.96);
}

.dark-widget {
  background: #17211e;
  border-color: rgba(107, 179, 162, 0.08);
  box-shadow: 0 24px 54px rgba(12, 18, 17, 0.22);
  color: #f4fbf8;
}

.dark-widget::before {
  background: rgba(62, 240, 210, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dark-widget .widget-icon-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--primary-bright);
}

.dark-widget h2,
.dark-widget h3,
.dark-widget strong,
.dark-widget .contact-value {
  color: #f7fffc;
}

.dark-widget p,
.dark-widget li,
.dark-widget .section-intro,
.dark-widget .contact-label,
.dark-widget .showcase-card span {
  color: rgba(232, 244, 240, 0.74);
}

.dark-widget .stat span,
.dark-widget .stat p,
.dark-widget .showcase-card p,
.dark-widget .showcase-card span,
.dark-widget .contact-line span,
.dark-widget .contact-line a,
.dark-widget .feature-list li {
  color: rgba(244, 251, 248, 0.82);
}

.dark-widget .showcase-pill,
.dark-widget .stat,
.dark-widget .showcase-card,
.dark-widget .chip,
.dark-widget .pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f4fbf8;
}

.dark-widget.compact-widget .stats {
  margin-bottom: 0;
}

.dark-widget .stat strong,
.dark-widget .accent-mint strong,
.dark-widget .accent-gold strong,
.dark-widget .accent-lavender strong {
  color: var(--primary-bright);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.contact-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 30, 34, 0.48);
}

.contact-value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.footer {
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

@media (max-width: 920px) {
  .hero-grid,
  .card-grid,
  .feature-grid,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .feature-grid-wide {
    grid-template-columns: 1fr;
  }

  .split-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--max-width), calc(100vw - 20px));
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy,
  .hero-card,
  .info-card {
    padding: 20px;
  }

  .hero-copy-home::after {
    display: none;
  }

  .nav {
    width: 100%;
  }
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 18px, 0) scale(1.08);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, -20px, 0) scale(1.04);
  }
}

@keyframes glowShift {
  from {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  to {
    transform: translateY(10px) scale(1.08);
    opacity: 1;
  }
}

@keyframes pulseMark {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(107, 179, 162, 0.22);
  }
  50% {
    box-shadow: 0 16px 34px rgba(107, 179, 162, 0.3);
  }
}
