:root {
  --bg: #f6f2ea;
  --bg-deep: #ece4d8;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --surface-dark: #112532;
  --ink: #0f171d;
  --muted: #53616d;
  --line: rgba(15, 23, 29, 0.11);
  --accent: #234f66;
  --accent-strong: #112f3d;
  --accent-soft: #d9e3e8;
  --warm: #b8925e;
  --shadow: 0 32px 84px rgba(13, 24, 32, 0.1);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shell: min(1120px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(17, 37, 50, 0.07), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(184, 146, 94, 0.22), transparent 20rem),
    linear-gradient(180deg, #faf7f2 0%, #f1eadf 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

p,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.5rem;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.44), transparent 18rem),
    radial-gradient(circle at 22% 24%, rgba(217, 227, 232, 0.26), transparent 16rem);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1rem;
}

.site-header::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: rgba(15, 23, 29, 0.14);
  transform: translateX(-50%);
}

.site-header::after {
  bottom: 0;
}

.site-footer::before {
  top: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 0.05rem;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-legal {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav,
.footer-links,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  justify-content: flex-end;
  gap: 1.4rem;
}

.site-nav a,
.footer-links a {
  color: #40515f;
  font-size: 0.96rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 4.4rem 0 4rem;
}

.hero-copy,
.about-card,
.feature-card,
.card,
.support-card,
.legal-doc,
.page-hero,
.not-found-card {
  position: relative;
}

.eyebrow,
.panel-label,
.card-kicker,
.legal-meta {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2,
.page-hero h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 56rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-copy {
  max-width: none;
  padding: 3rem 3rem 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.32) 100%);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  margin-bottom: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--warm), rgba(184, 146, 94, 0.18));
}

.hero h1 {
  font-size: clamp(2.1rem, 3.1vw, 3rem);
  max-width: none;
}

.hero-actions {
  margin-top: 1.75rem;
}

.about-card,
.feature-card,
.card,
.support-card,
.legal-doc,
.not-found-card,
.hero-copy {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--surface-dark);
  color: #f5f8fa;
  box-shadow: 0 18px 36px rgba(17, 37, 50, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(17, 37, 50, 0.12);
}

.section {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.section-intro h2 {
  max-width: none;
  margin-top: 0.45rem;
}

.section-copy {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.about-card {
  padding: 1.6rem;
}

.about-card p,
.feature-copy p,
.card p:last-child {
  color: #31404b;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem;
}

.feature-media {
  display: grid;
  place-items: center;
  min-height: 18rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 24% 20%, rgba(35, 79, 102, 0.15), transparent 12rem),
    radial-gradient(circle at 78% 24%, rgba(184, 146, 94, 0.18), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(239, 244, 246, 0.92) 100%);
}

.feature-logo {
  width: min(16rem, 68%);
  height: auto;
  object-fit: contain;
}

.feature-copy h3 {
  margin-top: 0.65rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

.feature-copy p + p {
  margin-top: 0.95rem;
}

.contact-strip {
  position: relative;
  z-index: 1;
  margin-bottom: 4.75rem;
  padding: 1.55rem 0 0;
  border-top: 1px solid rgba(15, 23, 29, 0.12);
}

.contact-line {
  margin-top: 0.65rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: -0.01em;
}

.contact-line a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(17, 47, 61, 0.24);
}

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

.card {
  padding: 1.5rem;
  min-height: 13rem;
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.35rem 0 2rem;
}

.footer-links {
  justify-content: flex-end;
  margin-left: auto;
}

.footer-legal {
  margin: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  padding: 3.75rem 0 4.5rem;
}

.support-shell {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
}

.support-page {
  max-width: 38rem;
  margin: 0 auto;
}

.support-page h1 {
  max-width: none;
  font-size: clamp(2.15rem, 4vw, 3rem);
}

.page-hero {
  padding: 0 0 1.5rem;
}

.page-hero h1 {
  max-width: 12ch;
  margin-top: 0.45rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.page-hero .lede {
  margin-top: 1rem;
}

.legal-meta {
  margin-top: 1rem;
}

.legal-doc {
  padding: 1.75rem;
}

.legal-doc > * + * {
  margin-top: 1rem;
}

.legal-doc h2 {
  margin-top: 2.1rem;
  font-size: 1.8rem;
}

.legal-doc h3 {
  margin-top: 1.35rem;
  font-size: 1.18rem;
}

.legal-doc p,
.legal-doc li {
  color: #374654;
}

.support-card,
.not-found-card {
  padding: 1.75rem;
}

.support-card {
  margin-top: 1.2rem;
  padding: 1.35rem 1.45rem;
}

.support-card > * + *,
.not-found-card > * + * {
  margin-top: 1rem;
}

.support-label {
  color: var(--muted);
  font-size: 1rem;
}

.support-email-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.72rem 0.8rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 29, 0.05);
}

.support-email {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-note {
  color: var(--muted);
  font-size: 0.96rem;
}

.not-found-card {
  max-width: 38rem;
}

.not-found-code {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.75s ease forwards;
}

.reveal-delay {
  animation-delay: 0.12s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-header,
  .hero,
  .card-grid,
  .about-grid,
  .feature-card {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .site-nav,
  .footer-links {
    justify-content: flex-start;
    margin-left: 0;
  }

  h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero-copy {
    padding: 2rem 2rem 1.8rem;
  }

  .about-card,
  .feature-card {
    padding: 1.3rem;
  }

  .feature-media {
    min-height: 14rem;
  }

  .support-page {
    margin: 0;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(circle at 10% 8%, rgba(17, 37, 50, 0.08), transparent 16rem),
      radial-gradient(circle at 84% 10%, rgba(184, 146, 94, 0.18), transparent 12rem),
      linear-gradient(180deg, #faf7f2 0%, #f1eadf 100%);
  }

  .site-header {
    padding-top: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 3.2rem 0 4rem;
  }

  .hero-copy {
    padding: 1.55rem;
  }

  .page-shell {
    padding-top: 3rem;
  }

  .card,
  .support-card,
  .legal-doc,
  .not-found-card {
    padding: 1.3rem;
  }
}
