/* ================================================================
   Quiet Rose - Global Stylesheet
   Warm pink-rose editorial theme
   ================================================================ */

:root {
  --bg: #fdf6f2;
  --bg-alt: #f7e4ea;
  --bg-warm: #f5d5e0;
  --paper: #ffffff;
  --text: #3a1f2a;
  --text-soft: #6b4552;
  --text-mute: #a68d97;
  --accent: #c96c8a;
  --accent-dark: #a13d5f;
  --accent-deep: #7a2e46;
  --accent-light: #f2b8ca;
  --accent-pale: #fbdee6;
  --accent-glow: #fce4ec;
  --line: #f0d0dc;
  --line-soft: #f7e4ea;
  --shadow-sm: 0 1px 2px rgba(122, 46, 70, 0.05);
  --shadow-md: 0 4px 14px rgba(122, 46, 70, 0.08), 0 12px 40px rgba(122, 46, 70, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
}

*::selection {
  background: var(--accent-light);
  color: var(--accent-deep);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background:
    radial-gradient(ellipse at top left, rgba(251, 222, 230, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(242, 184, 202, 0.35) 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Iowan Old Style', 'Georgia', 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover { border-bottom-color: var(--accent-dark); }

/* ==================== HEADER ==================== */
header {
  background: rgba(253, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  font-family: 'Iowan Old Style', 'Georgia', serif;
  font-size: 23px;
  font-weight: 500;
  color: var(--text);
  border: none;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.nav-links a {
  color: var(--text-soft);
  border: none;
  font-weight: 400;
}
.nav-links a:hover { color: var(--accent-dark); }

.nav-support {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  border: none !important;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  font-size: 13.5px;
  box-shadow: 0 2px 10px rgba(161, 61, 95, 0.25);
}
.nav-support:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(161, 61, 95, 0.35);
}

/* ==================== MAIN LAYOUT ==================== */
main {
  max-width: 780px;
  margin: 0 auto;
  padding: 70px 32px 100px;
  position: relative;
}

main.wide { max-width: 1100px; }

.eyebrow {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-dark);
  margin-bottom: 18px;
  font-weight: 600;
}

h1 {
  font-family: 'Iowan Old Style', 'Georgia', serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--text);
  letter-spacing: -0.5px;
}

h2 {
  font-family: 'Iowan Old Style', 'Georgia', serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.3;
  margin: 60px 0 22px;
  color: var(--text);
  letter-spacing: -0.3px;
}

h3 {
  font-family: 'Iowan Old Style', 'Georgia', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  margin: 44px 0 14px;
  color: var(--text);
}

h4 {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent-dark);
  margin: 32px 0 12px;
}

p, li {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

p + p { margin-top: 18px; }

.lead {
  font-size: 20px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}

ul, ol { padding-left: 24px; margin: 18px 0; }
li { margin-bottom: 8px; }

/* ==================== BUTTONS ==================== */
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 36px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none !important;
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(161, 61, 95, 0.3);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(161, 61, 95, 0.35);
}

.btn-secondary {
  background: var(--paper);
  color: var(--accent-dark) !important;
  border: 1px solid var(--accent-light) !important;
}
.btn-secondary:hover {
  border-color: var(--accent-dark) !important;
  background: var(--accent-pale);
}

/* ==================== BOXES ==================== */
.note {
  background: linear-gradient(135deg, var(--accent-pale) 0%, var(--bg-warm) 100%);
  border-left: 3px solid var(--accent);
  padding: 22px 28px;
  border-radius: 8px;
  font-size: 15.5px;
  color: var(--text);
  margin: 26px 0;
  line-height: 1.65;
}

.note strong { color: var(--accent-dark); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.card {
  background: var(--paper);
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.card h4 { margin-top: 0; color: var(--accent-dark); }
.card p { font-size: 15px; margin: 8px 0 0; color: var(--text-soft); }

/* ==================== QUOTES ==================== */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 36px 0;
}

.quote {
  background: var(--paper);
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-light);
  font-family: 'Iowan Old Style', 'Georgia', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--text);
  position: relative;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

.quote::before {
  content: '"';
  position: absolute;
  top: -12px;
  left: 18px;
  font-size: 68px;
  color: var(--accent);
  font-family: serif;
  line-height: 1;
  font-style: normal;
  opacity: 0.35;
}

.quote-tag {
  display: block;
  font-family: 'Helvetica Neue', sans-serif;
  font-style: normal;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent-dark);
  margin-top: 16px;
  font-weight: 600;
}

/* ==================== ROSE COMPOSITIONS (painterly, no external assets) ==================== */

.rose-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background:
    radial-gradient(ellipse 45% 55% at 30% 40%, rgba(255, 224, 232, 0.95) 0%, rgba(255, 224, 232, 0) 60%),
    radial-gradient(ellipse 40% 50% at 72% 55%, rgba(232, 132, 165, 0.85) 0%, rgba(232, 132, 165, 0) 55%),
    radial-gradient(ellipse 30% 40% at 55% 78%, rgba(122, 46, 70, 0.55) 0%, rgba(122, 46, 70, 0) 55%),
    radial-gradient(ellipse 25% 30% at 15% 85%, rgba(255, 200, 214, 0.75) 0%, rgba(255, 200, 214, 0) 55%),
    linear-gradient(135deg, #fce4ec 0%, #f2b8ca 35%, #c96c8a 70%, #7a2e46 100%);
}

.rose-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 450'><defs><radialGradient id='p' cx='50%25' cy='50%25' r='50%25'><stop offset='0%25' stop-color='%23ffffff' stop-opacity='0.5'/><stop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/></radialGradient></defs><ellipse cx='250' cy='180' rx='110' ry='140' fill='url(%23p)' transform='rotate(25 250 180)'/><ellipse cx='560' cy='260' rx='90' ry='120' fill='url(%23p)' opacity='0.7' transform='rotate(-15 560 260)'/><ellipse cx='680' cy='120' rx='60' ry='80' fill='url(%23p)' opacity='0.5' transform='rotate(35 680 120)'/><ellipse cx='120' cy='340' rx='75' ry='95' fill='url(%23p)' opacity='0.6' transform='rotate(-30 120 340)'/></svg>");
  background-size: cover;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.rose-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  background:
    radial-gradient(circle at 45% 35%, rgba(255, 224, 232, 0.95) 0%, transparent 55%),
    radial-gradient(circle at 60% 68%, rgba(201, 108, 138, 0.85) 0%, transparent 55%),
    linear-gradient(160deg, #fce4ec 0%, #f2b8ca 45%, #a13d5f 100%);
}

.rose-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 375'><defs><radialGradient id='p' cx='50%25' cy='50%25' r='50%25'><stop offset='0%25' stop-color='%23ffffff' stop-opacity='0.55'/><stop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/></radialGradient></defs><ellipse cx='150' cy='160' rx='90' ry='115' fill='url(%23p)' transform='rotate(15 150 160)'/><ellipse cx='230' cy='280' rx='55' ry='70' fill='url(%23p)' opacity='0.6' transform='rotate(-25 230 280)'/></svg>");
  background-size: cover;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.rose-portrait.variant-b {
  background:
    radial-gradient(circle at 35% 45%, rgba(255, 232, 240, 0.9) 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(232, 132, 165, 0.8) 0%, transparent 50%),
    linear-gradient(180deg, #fdd7e4 0%, #e88bab 55%, #7a2e46 100%);
}

.rose-portrait.variant-c {
  background:
    radial-gradient(circle at 55% 40%, rgba(253, 220, 232, 0.95) 0%, transparent 60%),
    radial-gradient(circle at 30% 75%, rgba(122, 46, 70, 0.6) 0%, transparent 55%),
    linear-gradient(150deg, #fce4ec 0%, #d68aa7 50%, #8b2e50 100%);
}

.rose-tall {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 220, 232, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 75%, rgba(201, 108, 138, 0.85) 0%, transparent 55%),
    linear-gradient(170deg, #fdd7e4 0%, #d68aa7 55%, #7a2e46 100%);
}

.rose-tall::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 400'><defs><radialGradient id='p' cx='50%25' cy='50%25' r='50%25'><stop offset='0%25' stop-color='%23ffffff' stop-opacity='0.5'/><stop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/></radialGradient></defs><ellipse cx='140' cy='160' rx='95' ry='115' fill='url(%23p)' transform='rotate(-10 140 160)'/><ellipse cx='210' cy='310' rx='60' ry='75' fill='url(%23p)' opacity='0.65' transform='rotate(20 210 310)'/></svg>");
  background-size: cover;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.image-caption {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ==================== ROADMAP ==================== */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 36px 0;
  padding: 34px 30px;
  background: linear-gradient(135deg, var(--bg-warm) 0%, var(--accent-pale) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.roadmap-item h4 { margin-top: 0; color: var(--accent-deep); }
.roadmap-item p { font-size: 15px; margin-top: 6px; }

/* ==================== UPDATE FEED ==================== */
.update {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.update:last-child { border-bottom: none; }

.update-date {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.update h3 { margin: 6px 0 14px; }

.update .draft {
  background: linear-gradient(135deg, var(--accent-pale) 0%, var(--bg-warm) 100%);
  padding: 18px 22px;
  border-radius: 8px;
  font-style: italic;
  color: var(--text);
  margin-top: 14px;
  font-size: 15.5px;
  border-left: 3px solid var(--accent);
}

/* ==================== FAQ ==================== */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--line);
  padding: 60px 32px 40px;
  margin-top: 60px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h4 {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.footer-grid p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin: 0 0 12px;
  line-height: 1.65;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 14.5px;
}

.footer-grid a {
  color: var(--text-soft);
  border: none;
}

.footer-grid a:hover { color: var(--accent-dark); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: 'Iowan Old Style', serif;
  font-size: 19px;
  color: var(--text);
  font-weight: 500;
}

.footer-legal {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 780px) {
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  h3 { font-size: 20px; }
  main { padding: 40px 22px 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .nav-links { gap: 14px; font-size: 13px; }
  .rose-hero { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 27px; }
  h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}
