:root {
  --ivory: #fbf7ee;
  --paper: #fffdf8;
  --stone: #e8dfcf;
  --stone-dark: #cfc1aa;
  --sage: #6f8f86;
  --teal: #235f5b;
  --gold: #c69c4f;
  --charcoal: #252725;
  --muted: #67665f;
  --line: rgba(37, 39, 37, 0.14);
  --shadow: 0 24px 70px rgba(62, 55, 42, 0.12);
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #173f3d;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.78rem clamp(1rem, 5vw, 4rem);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  background: url("assets/ask-philos-mark.png") center / contain no-repeat;
}

.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.82rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 650;
}

.nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover,
.site-footer nav a:hover {
  color: var(--teal);
}

.hero {
  min-height: 74svh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.98) 0%, rgba(251, 247, 238, 0.94) 45%, rgba(232, 240, 236, 0.96) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -18% -12% -18% 42%;
  z-index: -1;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(35, 95, 91, 0.15) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 50% 50%, rgba(198, 156, 79, 0.2), transparent 62%);
  opacity: 0.68;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(1.2rem, 10vw, 8rem);
  top: 50%;
  z-index: -1;
  width: clamp(10rem, 21vw, 18rem);
  height: clamp(10rem, 21vw, 18rem);
  transform: translateY(-50%);
  background: url("assets/ask-philos-mark.png") center / contain no-repeat;
  opacity: 0.11;
}

.hero-inner {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.12;
  font-weight: 540;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 7vw, 6rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-copy,
.page-header p,
.section-copy p {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.launch-note,
.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 760;
}

.launch-note {
  background: var(--teal);
  color: white;
}

.store-pill {
  border: 1px solid rgba(35, 95, 91, 0.24);
  background: rgba(255, 253, 248, 0.72);
  color: #59605a;
  cursor: default;
}

.note {
  max-width: 54ch;
  margin-top: 1.2rem;
  color: #5b5d56;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.section,
.page {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 5vw, 4rem);
}

.intro-section,
.split,
.band {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.intro-section,
.split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.band {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  background:
    linear-gradient(120deg, rgba(237, 243, 239, 0.98), rgba(249, 244, 234, 0.96));
  border-block: 1px solid var(--line);
}

.compact-band {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.section-copy {
  align-self: start;
}

.feature-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 13rem;
  padding: 1.3rem;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(75, 68, 52, 0.07);
}

.feature-card h2,
.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.22rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
}

.check-list li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2rem;
  border-bottom: 1px solid var(--line);
  color: #3e433f;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.18rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(198, 156, 79, 0.18);
}

.link-panel {
  display: grid;
  align-self: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.link-panel a {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
}

.link-panel a:last-child {
  border-bottom: 0;
}

.link-panel a:hover {
  background: #f5eee0;
  color: var(--teal);
}

.page {
  min-height: 68svh;
}

.page-header {
  max-width: 860px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-header h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
}

.faq-list,
.legal-body {
  display: grid;
  gap: 1rem;
  max-width: 880px;
}

.faq-list article,
.legal-body {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(75, 68, 52, 0.06);
}

.faq-list article {
  padding: 1.35rem;
}

.faq-list h2,
.legal-body h2 {
  margin-bottom: 0.55rem;
  font-size: 1.28rem;
}

.faq-list p,
.legal-body p {
  margin: 0;
  color: var(--muted);
}

.legal-body {
  padding: clamp(1.3rem, 4vw, 2.3rem);
}

.legal-body h2 {
  margin-top: 1.4rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p + p {
  margin-top: 0.8rem;
}

.content-grid {
  max-width: 1080px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--charcoal);
  color: rgba(255, 253, 248, 0.9);
  font-family: var(--font-sans);
}

.site-footer p {
  margin: 0.2rem 0 0;
  color: rgba(255, 253, 248, 0.68);
}

.site-footer nav a {
  color: rgba(255, 253, 248, 0.72);
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .site-header {
    gap: 0.6rem 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero::before {
    inset: 12% -35% 8% 28%;
    opacity: 0.44;
  }

  .hero::after {
    right: -5.5rem;
    top: 34%;
    width: 12.5rem;
    height: 12.5rem;
    opacity: 0.1;
  }

  h1 {
    max-width: 12ch;
  }

  .intro-section,
  .split,
  .band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 0.7rem 1rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 9px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.25rem 0.7rem;
    font-size: 0.82rem;
  }

  .actions,
  .launch-note,
  .store-pill {
    width: 100%;
  }

  .page-header h1,
  h1 {
    font-size: 2.65rem;
  }

  .feature-card {
    min-height: 0;
  }
}
