body {
  background: #f4f6f8;
  color: #1c1c1c;
  margin: 0;
  padding: 40px;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-top: 48px;
}

p, li {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  max-width: 720px;
}

nav {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

nav a {
  color: #555;
  text-decoration: none;
  margin-right: 12px;
}

nav a:hover {
  color: #2f3a4f;
}

section {
  margin-bottom: 64px;
}


figure {
  max-width: 720px;
  margin: 0 auto 64px auto;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  figure {
    margin-bottom: 48px;
  }
}


.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  max-width: 900px;
}

.home-hero p {
  margin-top: 32px;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  max-width: 640px;
  color: #444;
}


/* soft page texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 0% 0%, rgba(47,58,79,0.18), transparent 50%),
    radial-gradient(900px 500px at 100% 10%, rgba(47,58,79,0.14), transparent 55%),
    linear-gradient(180deg, rgba(47,58,79,0.06), transparent 40%);
  z-index: -1;
}



section {
  position: relative;
  padding-top: 24px;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #d0d5db;
}

h2 {
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

ul li {
  margin-bottom: 12px;
}


a {
  transition: color 0.2s ease;
}

details summary {
  transition: color 0.2s ease;
}

details[open] summary {
  color: #2f3a4f;
}

/* visual layer — background texture */
body {
  background-color: #dde4eb;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(47,58,79,0.08), transparent 60%),
    radial-gradient(700px 400px at 90% 10%, rgba(47,58,79,0.06), transparent 60%);
  z-index: -1;
}

section {
  margin-bottom: 56px;
  position: relative;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: #efefef;
}

h1 {
  margin-bottom: 32px;
}

h2 {
  margin-bottom: 24px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 20px;
}




@media (max-width: 600px) {
  section::before {
    width: 32px;
  }

 
}

@media (max-width: 600px) {
  body::before {
    background:
      radial-gradient(600px 400px at 50% -10%, rgba(47,58,79,0.18), transparent 55%);
  }
}




@media (max-width: 600px) {
  .home-hero h1 {
    margin-bottom: 12px;
  }

.home-hero {
  padding-top: 72px;
  padding-bottom: 48px;
}


.home-hero h1 {
  margin-bottom: 12px;
}

.home-hero p {
  margin-top: 0;
  max-width: 600px;
}

@media (max-width: 600px) {
  .home-hero {
    padding-top: 64px;
    padding-bottom: 48px;
  }
}

/* isolate home hero from global spacing */
.home-hero {
  margin-bottom: 0;
}

.home-hero h1,
.home-hero p {
  margin-top: 0;
}


@media (max-width: 600px) {
  .home-hero {
    padding-top: 56px;
    padding-bottom: 32px;
  }
}

/* tighten nav → hero spacing on home */
.home-hero {
  margin-top: 0;
}

.home-hero nav {
  margin-bottom: 0;
}

.home-hero h1 {
  margin-top: 0;
}

/* tighten nav → hero spacing on home */
.home-hero {
  margin-top: 0;
}

.home-hero nav {
  margin-bottom: 0;
}

.home-hero h1 {
  margin-top: 0;
}


.chat {
  max-width: 720px;
}

.ai-message {
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 2px solid #d0d5db;
}

.ai-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.ai-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1c1c1c;
}


.thinking {
  font-style: italic;
  color: #9ca3af;
}

