:root {
  --ink: #1d1824;
  --plum: #2d2338;
  --deep-plum: #15101d;
  --violet: #6e5a8a;
  --lavender: #eee9f5;
  --paper: #fbf8f0;
  --cream: #fffdf8;
  --gold: #d4af5a;
  --gold-soft: #f4e4b8;
  --rose: #b9857b;
  --muted: #756b80;
  --border: #e8deec;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(45, 35, 56, 0.18);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 90, 0.24), transparent 26rem),
    radial-gradient(circle at top right, rgba(110, 90, 138, 0.22), transparent 30rem),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 48%, #f2edf7 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 222, 236, 0.9);
}

.header-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-name {
  color: var(--plum);
  font-weight: 900;
  font-size: 1.16rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  color: var(--plum);
  font-weight: 800;
  font-size: 0.95rem;
}

.main-nav a,
.footer-column a,
.footer-legal a {
  text-decoration: none;
}

.header-button {
  min-height: 44px;
  padding: 0.72rem 1rem;
}

main {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  display: inline-flex;
  color: var(--plum);
  background: rgba(212, 175, 90, 0.18);
  border: 1px solid rgba(212, 175, 90, 0.45);
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  color: var(--plum);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  color: var(--plum);
  font-size: 1.28rem;
  line-height: 1.15;
}

.lede {
  color: var(--muted);
  max-width: 650px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: var(--plum);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--plum);
  background: var(--white);
  border: 1px solid var(--border);
}

.legacy-card {
  justify-self: center;
  padding: clamp(1.6rem, 4vw, 2.3rem);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 228, 184, 0.24)),
    var(--white);
  border: 1px solid rgba(232, 222, 236, 0.95);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.legacy-card img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
}

.legacy-card .card-label {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.legacy-card h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.legacy-card p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.intro {
  max-width: 870px;
}

.intro p:not(.eyebrow),
.privacy-panel p,
.cta p {
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-grid,
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 4.5rem;
}

.feature-grid article,
.principles article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.35rem;
  box-shadow: 0 18px 45px rgba(45, 35, 56, 0.08);
}

.feature-number {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 1.7rem;
}

.feature-grid p,
.principles p {
  color: var(--muted);
  margin-top: 0.65rem;
}

.principle-section {
  border-top: 1px solid var(--border);
}

.section-heading {
  max-width: 850px;
}

.principles {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  margin: 4rem 0;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(45, 35, 56, 0.96), rgba(21, 16, 29, 0.96)),
    var(--deep-plum);
  color: var(--white);
  box-shadow: var(--shadow);
}

.privacy-panel h2,
.privacy-panel .eyebrow {
  color: var(--white);
}

.privacy-panel .eyebrow {
  background: rgba(212, 175, 90, 0.18);
}

.privacy-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.cta img {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  margin: 0 auto 1.2rem;
}

.cta .button {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1rem 2rem;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.92);
}

.footer-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 1.6rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
}

.footer-logo .brand-logo {
  width: 48px;
  height: 48px;
}

.footer-column h3 {
  color: var(--plum);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.footer-column ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.footer-column a,
.footer-legal a,
.site-footer a {
  font-weight: 800;
}

.footer-bottom {
  width: min(100% - 2rem, var(--max-width));
  margin: 2.4rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }

  .hero,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  main {
    width: min(100% - 1.2rem, var(--max-width));
  }

  .hero {
    padding-top: 3rem;
  }

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

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .main-nav ul {
    gap: 0.75rem;
    font-size: 0.88rem;
  }

  .header-button {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}
