/* ============================================================
   IRA ORA — shared styles for content pages
   (About, Contact, Privacy, Terms). Mirrors the design
   language of the homepage: cream + gold, Cormorant + DM Sans.
   ============================================================ */

:root {
  --gold: #B8933A;
  --gold-deep: #8a6e26;
  --gold-soft: #e8d9a8;
  --cream: #faf4e6;
  --cream-deep: #f4ead1;
  --surface: #fffcf3;
  --ink: #2a2418;
  --ink-soft: #4a3f28;
  --mute: #8a7f63;
  --line: #e8dcbe;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Shared ---------- */

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  font-family: 'Cormorant Garamond', 'Cormorant', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  line-height: 1;
}
.brand-mark { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.brand-word { display: inline-flex; align-items: baseline; gap: 0.55em; line-height: 1; }
.brand .ora { color: var(--gold); }

/* Inline brand wordmark for use inside headings */
.wm {
  font-family: 'Cormorant Garamond', 'Cormorant', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.06em;
  white-space: nowrap;
}
.wm .ora { color: var(--gold); }

@media (max-width: 480px) {
  .brand { font-size: 24px; }
  .brand-mark { width: 34px; height: 34px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--gold-soft); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.3; }
p { color: var(--ink-soft); }

/* ---------- Navigation ---------- */

nav {
  position: sticky;
  top: 0;
  background: rgba(250, 244, 230, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0 auto 0 12px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.nav-toggle:hover { background: var(--surface); border-color: var(--gold-soft); }
.nav-toggle .ico-close { display: none; }
.nav-toggle.open .ico-open { display: none; }
.nav-toggle.open .ico-close { display: block; }

.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 244, 230, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.34s ease, opacity 0.26s ease, border-color 0.26s ease;
  }
  .mobile-menu.open {
    max-height: 460px;
    opacity: 1;
    border-bottom-color: var(--line);
    box-shadow: 0 24px 40px -28px rgba(42, 36, 24, 0.35);
  }
  .mobile-menu-inner { padding: 6px 28px 22px; }
  .mobile-menu-inner a.mobile-link {
    display: block;
    padding: 15px 2px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s;
  }
  .mobile-menu-inner a.mobile-link:hover { color: var(--gold-deep); }
  .mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .mobile-cta .btn { padding: 14px 22px; font-size: 15px; }
}

/* ---------- Page hero ---------- */

.page-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(184, 147, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow { display: inline-block; margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 18px; max-width: 640px; }
.breadcrumb {
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Prose content ---------- */

.page-body { padding: 56px 0 88px; }
.prose { max-width: 760px; }
.prose h2 {
  font-size: 24px;
  margin: 40px 0 14px;
  padding-top: 4px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 24px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.muted { color: var(--mute); font-size: 14px; }

/* ---------- Cards / contact ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 8px 0 8px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.info-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.info-card .cap-icon,
.info-card .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--cream-deep);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.info-card a { color: var(--gold-deep); text-decoration: none; font-weight: 500; }
.info-card a:hover { text-decoration: underline; }

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

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  background: var(--surface);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-col { max-width: 320px; }
.footer-tagline { font-size: 14px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-copy { font-size: 13px; color: var(--mute); }
@media (max-width: 720px) {
  .footer-top { gap: 28px; }
  .footer-cols { gap: 40px; }
}

/* ---------- Landing page components ---------- */

.lp-section { padding: 56px 0; }
.lp-section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-section .lead { font-size: 19px; color: var(--ink-soft); max-width: 760px; margin-bottom: 8px; }
.lp-narrow { max-width: 820px; }

.lp-h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }
.lp-section h3 { font-size: 19px; margin: 26px 0 8px; }
.lp-section p { margin-bottom: 16px; color: var(--ink-soft); }
.lp-section ul { margin: 0 0 18px 20px; }
.lp-section li { margin-bottom: 9px; color: var(--ink-soft); }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
}
.feature-card .info-icon, .feature-card .cap-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream-deep); color: var(--gold-deep);
  display: grid; place-items: center; margin-bottom: 14px;
}
.feature-card h3 { font-size: 16px; margin: 0 0 6px; }
.feature-card p { font-size: 14px; line-height: 1.55; margin: 0; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin: 8px 0 4px; border: 1px solid var(--line); border-radius: 16px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; background: var(--surface); }
table.compare th, table.compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); font-weight: 600; background: var(--cream-deep); }
table.compare th[scope="row"] { font-weight: 600; color: var(--ink); width: 34%; }
table.compare td { color: var(--ink-soft); }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--gold-deep); font-weight: 600; }

/* FAQ (details) */
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative;
  font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 6px; top: 20px;
  font-size: 24px; font-weight: 400; line-height: 1; color: var(--gold-deep);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 48px 22px 0; font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.65; }
.faq-item a { color: var(--gold-deep); }

/* Related solutions */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related-card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.related-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.related-card .rc-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.related-card .rc-desc { font-size: 13px; color: var(--mute); line-height: 1.5; }

/* CTA band */
.cta-band { text-align: center; padding: 72px 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 26px; font-size: 17px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Key-takeaway box (AI / featured-snippet friendly) */
.tldr {
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 8px 0 28px;
}
.tldr strong { color: var(--ink); }
.tldr p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.post-card .post-tag {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 10px;
}
.post-card h2 { font-size: 19px; color: var(--ink); margin: 0 0 10px; line-height: 1.3; }
.post-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 16px; }
.post-card .post-meta { margin-top: auto; font-size: 12.5px; color: var(--mute); }
.article-meta { font-size: 14px; color: var(--mute); margin-top: 8px; }
.article-body { max-width: 760px; }
.article-body .tldr { margin-top: 0; }
