:root {
  --white: #FFFFFF;
  --stone: #F4F3EF;
  --ink: #1C1C1C;
  --muted: #5A5A5A;
  --brass: #8E7C4F;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  --container: 1120px;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: 4.5rem;
  font-weight: 500;
}

h2 {
  font-size: 3rem;
  font-weight: 500;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.btn--primary {
  background: var(--brass);
  color: #fff;
}

.btn--primary:hover {
  background: var(--ink);
  color: #fff;
}

.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: 0.9375rem;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand__mark {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brass);
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}

.nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 1.125rem;
  height: 1px;
  background: var(--ink);
  margin: 0.375rem auto;
}

/* Hero */
.hero {
  padding: 10rem 0 12rem;
  background: var(--white);
}

.hero .container {
  max-width: 56rem;
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero__sub {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 3rem;
  line-height: 1.5;
}

/* Editorial Problem */
.editorial {
  padding: 10rem 0;
  background: var(--stone);
}

.editorial .container {
  max-width: 48rem;
}

.editorial h2 {
  margin-bottom: 3rem;
}

.editorial__text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.editorial__text p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

/* How It Works */
.how {
  padding: 10rem 0;
  background: var(--white);
}

.how .container {
  max-width: 36rem;
}

.how__flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.how__flow p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.how__flow p:last-child {
  border-bottom: none;
}

/* Templates */
.templates {
  padding: 12rem 0;
  background: var(--stone);
}

.templates__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.template__image {
  width: 100%;
  aspect-ratio: 4/5;
  margin-bottom: 1.5rem;
}

.template__image--editorial {
  background: linear-gradient(135deg, #F8F7F5 0%, #E8E6E2 100%);
}

.template__image--luxury {
  background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
}

.template__image--minimal {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
}

.template h3 {
  margin-bottom: 0.5rem;
}

.template p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.template--large {
  grid-row: span 2;
}

.template--small {
  display: flex;
  flex-direction: column;
}

/* Positioning Statement */
.position {
  padding: 10rem 0;
  background: var(--white);
}

.position .container {
  max-width: 48rem;
}

.position__text {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Pricing */
.pricing {
  padding: 10rem 0;
  background: var(--stone);
}

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

.price {
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.6);
}

.price--featured {
  background: var(--white);
}

.price h3 {
  margin-bottom: 1rem;
}

.price__amount {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.price__amount span {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.pricing__note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Final CTA */
.final {
  padding: 10rem 0;
  background: var(--white);
  text-align: center;
}

.final h2 {
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  padding: 4rem 0 3rem;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer a:hover {
  color: var(--ink);
}

.footer__copy {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero,
  .editorial,
  .how,
  .templates,
  .position,
  .pricing,
  .final {
    padding: 6rem 0;
  }

  .templates__layout {
    grid-template-columns: 1fr;
  }

  .template--large {
    grid-row: span 1;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .hero,
  .editorial,
  .how,
  .templates,
  .position,
  .pricing,
  .final {
    padding: 4rem 0;
  }

  .how__flow p {
    font-size: 1.25rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }
}
