@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* ---------------------------------------------------------------
   Ashna — SEO landing pages
   Design language extracted from the React app stylesheet:
     background #faf9f7, ink #1c1917,
     body Inter, display Cormorant Garamond (H1 + H2)
   --------------------------------------------------------------- */

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

body {
  background: #faf9f7;
  color: #1c1917;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---- Header ---------------------------------------------------- */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 1.75rem 2rem;
}

.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #1c1917;
  text-decoration: none;
}

.logo:hover {
  color: #1c1917;
}

.back {
  font-size: 0.9rem;
  font-weight: 500;
  color: #78716c;
  text-decoration: none;
}

.back:hover {
  color: #1c1917;
}

/* ---- Main ------------------------------------------------------ */

main {
  flex: 1 0 auto;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.3;
  color: #57534e;
  margin: 2.5rem 0 1rem;
  text-wrap: balance;
}

main > h2:first-of-type {
  margin-top: 0.5rem;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #44403c;
  margin-bottom: 1.25rem;
  max-width: 64ch;
  text-wrap: pretty;
}

a {
  color: #1c1917;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: #d6d3d1;
  transition: text-decoration-color 0.15s ease;
}

a:hover {
  text-decoration-color: #1c1917;
}

/* ---- Article typography ---------------------------------------- */

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #1c1917;
  margin: 2rem 0 0.5rem;
}

h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #44403c;
  margin: 1.5rem 0 0.25rem;
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  max-width: 64ch;
}

li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #44403c;
  margin-bottom: 0.4rem;
}

blockquote {
  border-left: 2px solid #d6d3d1;
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
}

blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #57534e;
  margin-bottom: 0.5rem;
}

blockquote cite {
  font-size: 0.875rem;
  color: #78716c;
  font-style: normal;
}

strong {
  font-weight: 600;
  color: #1c1917;
}

em {
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid #ece9e4;
  margin: 3rem 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 1.5rem 0;
}

/* ---- CTA ------------------------------------------------------- */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 3.5rem 0 1rem;
}

.btn {
  display: inline-block;
  background: #1c1917;
  color: #faf9f7;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  padding: 1.05rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: #44403c;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ---- Footer ---------------------------------------------------- */

footer {
  flex-shrink: 0;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid #ece9e4;
  font-size: 0.875rem;
  color: #78716c;
}

footer a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: #1c1917;
  text-decoration: none;
}
