@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Playfair Display"), url("https://fonts.gstatic.com/s/playfairdisplay/v30/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYh3A.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Inter"), url("https://fonts.gstatic.com/s/inter/v12/UcCo3FwrK3iLTcviYw.ttf") format("truetype");
}

:root {
  --ink: #111111;
  --onyx: #1a1a1a;
  --ivory: #f7f4ee;
  --gold: #d0a65b;
  --sand: #ddd0b5;
  --white: #ffffff;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  flex-wrap: nowrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  padding: 6px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--gold);
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: fit-content;
}

.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  padding: 80px 48px 100px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-copy p {
  font-size: 18px;
  color: rgba(17, 17, 17, 0.78);
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.badge {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  border-radius: 48px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 32px 80px rgba(17, 17, 17, 0.12);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 32px;
}

.hero-visual img {
  width: 100%;
  display: block;
}

.section {
  padding: 80px 48px;
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.section p.lead {
  font-size: 18px;
  color: rgba(17, 17, 17, 0.74);
  margin-bottom: 48px;
}

.section.dark p.lead {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: 32px;
}

.grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 28px;
  padding: 32px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.05);
}

.card h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: rgba(17, 17, 17, 0.7);
}

.section.dark .card {
  background: rgba(17, 17, 17, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.section.dark .card p {
  color: rgba(255, 255, 255, 0.75);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.stat {
  flex: 1 1 180px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  text-align: center;
}

.stat h4 {
  font-size: 32px;
  font-family: "Playfair Display", serif;
  margin: 0;
}

.stat span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.6);
}

.section.dark .stat {
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.list {
  display: grid;
  gap: 16px;
}

.list-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.list-item span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer h4 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  background: rgba(17, 17, 17, 0.75);
}

.social-links img {
  width: 22px;
  height: 22px;
  display: block;
}

.social-links span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.signup-cta {
  position: relative;
  background: linear-gradient(135deg, rgba(245, 233, 214, 0.92) 0%, rgba(221, 208, 181, 0.7) 38%, rgba(34, 26, 18, 0.82) 100%);
  border-radius: 40px;
  padding: 64px 48px;
  overflow: hidden;
  z-index: 0;
}

.signup-cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7) 0%, transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(208, 166, 91, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(41, 28, 20, 0.6) 0%, transparent 65%);
  opacity: 0.9;
  z-index: 0;
}

.signup-cta.alt {
  background: linear-gradient(135deg, rgba(236, 225, 208, 0.94) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(208, 166, 91, 0.4) 100%);
}

.signup-card {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 245, 237, 0.98) 55%, rgba(255, 255, 255, 0.94) 100%);
  border-radius: 36px;
  padding: 48px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow:
    0 25px 60px rgba(17, 17, 17, 0.22),
    0 8px 24px rgba(208, 166, 91, 0.18);
}

.signup-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3.2vw, 48px);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.signup-content p {
  font-size: 18px;
  color: rgba(17, 17, 17, 0.7);
  margin-bottom: 32px;
  max-width: 620px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-bottom: 20px;
}

.signup-form input {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: rgba(255, 255, 255, 0.95);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(208, 166, 91, 0.2);
}

.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
}

.signup-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.signup-google:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.12);
}

.signup-cta.alt .signup-card {
  box-shadow:
    0 22px 50px rgba(17, 17, 17, 0.18),
    0 6px 20px rgba(208, 166, 91, 0.16);
}

.signup-google-icon {
  display: inline-flex;
}

.signup-button-label {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal {
  background: var(--onyx);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 18px 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hamburger menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
}

.mobile-menu-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 80%;
  height: 100%;
  background: var(--ivory);
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.mobile-menu-links a {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  transition: border 0.2s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  border-bottom-color: var(--gold);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-cta .btn {
  width: 100%;
  text-align: center;
}

/* Breakpoint at 1100px - reduce gaps and font sizes */
@media (max-width: 1100px) {
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Breakpoint at 950px - show hamburger menu */
@media (max-width: 950px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav .cta-group {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: row;
    gap: 0;
    padding: 24px;
    justify-content: space-between;
  }

  .mobile-menu-cta {
    width: 100%;
  }

  .mobile-menu-cta .btn {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding: 64px 24px;
  }

  .section {
    padding: 64px 24px;
  }

  .signup-cta {
    padding: 48px 24px;
  }

  .signup-card {
    padding: 32px 24px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }

  .signup-google {
    width: 100%;
  }

  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links a {
    flex: 1 1 120px;
    justify-content: center;
  }
}

