/* App Pottery — Kiln marketing one-pager
   Apple-ish restraint: air, type hierarchy, warm clay accent — no AI purple. */

:root {
  --bg: #faf9f7;
  --bg-soft: #f3f1ed;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #e8e6e1;
  --clay: #c45c26;
  --clay-hover: #a84c1e;
  --clay-soft: rgba(196, 92, 38, 0.08);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --max: 980px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--clay);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

/* ——— Layout ——— */

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding: 4rem 0;
}

/* ——— Nav ——— */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(250, 249, 247, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav.is-scrolled,
.nav {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.logo-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  background: var(--clay);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 500;
}
.nav-cta:hover {
  opacity: 0.88;
  text-decoration: none !important;
}

/* ——— Hero ——— */

.hero {
  padding: 6.5rem 0 5rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 auto 1.25rem;
  max-width: 16ch;
}

.lede {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s, background 0.15s, color 0.15s;
}
.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--clay);
  color: #fff;
}
.btn--primary:hover {
  background: var(--clay-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover {
  background: var(--surface);
  color: var(--text);
}

.hero-note {
  margin: 1.75rem 0 0;
  color: var(--faint);
  font-size: 0.8125rem;
}

/* ——— Product preview card ——— */

.preview {
  margin: 0 auto;
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: left;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d7;
}
.preview-dot:nth-child(1) { background: #ff5f57; }
.preview-dot:nth-child(2) { background: #febc2e; }
.preview-dot:nth-child(3) { background: #28c840; }

.preview-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  color: var(--faint);
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.preview-col {
  padding: 1.35rem 1.4rem;
}
.preview-col + .preview-col {
  border-left: 1px solid var(--line);
  background: #fcfcfb;
}

.preview-label {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
}

.preview-col h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.preview-col p,
.preview-col li {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.preview-col ul {
  margin: 0;
  padding-left: 1.1rem;
}
.preview-col li + li {
  margin-top: 0.35rem;
}

/* ——— Section headings ——— */

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ——— Feature cards ——— */

.features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.1rem;
  border-radius: 10px;
  background: var(--clay-soft);
  color: var(--clay);
  font-size: 1.1rem;
  font-weight: 600;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ——— Steps ——— */

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.step h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

/* ——— Audience ——— */

.audience {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.audience-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.audience-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.925rem;
}

/* ——— About ——— */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 36rem;
}
.about-copy p:last-child {
  margin-bottom: 0;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.facts li:first-child {
  border-top: none;
  padding-top: 0;
}
.facts li:last-child {
  padding-bottom: 0;
}

.facts dt,
.fact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
}

.fact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* ——— Contact / CTA band ——— */

.cta-band {
  text-align: center;
  padding: 4.5rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
}

/* ——— Footer ——— */

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand .logo {
  margin-bottom: 0.65rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--faint);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--faint);
}

/* ——— Legal pages ——— */

.legal {
  padding: 4rem 0 5rem;
  max-width: 40rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.legal .meta {
  margin: 0 0 2rem;
  color: var(--faint);
  font-size: 0.875rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 1.2rem;
}

/* ——— Responsive ——— */

@media (max-width: 800px) {
  .features {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .preview-body {
    grid-template-columns: 1fr;
  }
  .preview-col + .preview-col {
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .nav-links .nav-hide {
    display: none;
  }
  .hero {
    padding: 4.5rem 0 3.5rem;
  }
  .section {
    padding: 4rem 0;
  }
  .audience {
    grid-template-columns: 1fr;
  }
  .wrap {
    width: min(100% - 1.75rem, var(--max));
  }
}
