/* philip.hiebel.ai — public landing page.
 * Light, airy, intent-first. Hidden menus.
 * Same visual language as the local workspace UI.
 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;
  background: #F6F1E7;
  color: #0F1E3D;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* very faint backdrop on hero only */
.hero-bg {
  position: fixed; inset: 0;
  background: linear-gradient(180deg, #F6F1E7 0%, #FCFAF3 60%, #F6F1E7 100%);
  z-index: -2;
}

/* ─── top bar ─── */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 44px;
  background: rgba(246, 241, 231, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(15, 30, 61, 0.06);
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo-dot { width: 11px; height: 11px; background: #C2541F; border-radius: 50%; }
.brand-name {
  font-family: "Iowan Old Style", "Charter", Georgia, serif;
  font-size: 22px; font-weight: 400; letter-spacing: -0.005em;
}
.topnav { display: flex; gap: 6px; }
.topnav-link {
  background: transparent; border: none; cursor: pointer;
  font: inherit; font-size: 13px; color: #4F4A3D;
  padding: 7px 13px; border-radius: 6px;
  transition: all 100ms ease;
}
.topnav-link:hover { background: rgba(194, 84, 31, 0.08); color: #C2541F; }
.topnav-link.active { background: rgba(15, 30, 61, 0.07); color: #0F1E3D; font-weight: 500; }

/* ─── hero ─── */
.hero {
  max-width: 760px; margin: 0 auto;
  padding: 90px 36px 60px;
  text-align: center;
  position: relative;
}
.eyebrow {
  letter-spacing: 0.36em; font-size: 11px; font-weight: 600;
  color: #C2541F; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-title {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 78px; font-weight: 400; line-height: 0.98;
  letter-spacing: -0.022em;
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; color: #C2541F; }
.hero-sub {
  font-size: 17px; line-height: 1.55;
  max-width: 580px; margin: 0 auto 40px;
  color: #4F4A3D;
}

.intent {
  background: #FFFFFF;
  border: 1px solid rgba(15, 30, 61, 0.12);
  border-radius: 16px;
  padding: 22px 26px;
  text-align: left;
  box-shadow:
    0 1px 2px rgba(15, 30, 61, 0.04),
    0 12px 36px rgba(15, 30, 61, 0.06);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.intent:focus-within {
  border-color: #C2541F;
  box-shadow:
    0 1px 2px rgba(15, 30, 61, 0.04),
    0 0 0 4px rgba(194, 84, 31, 0.10);
}
.intent-input {
  width: 100%; resize: none; min-height: 64px;
  border: none; outline: none;
  font: inherit; font-size: 17px; line-height: 1.55;
  color: #0F1E3D; background: transparent;
}
.intent-input::placeholder { color: #8A8271; }

.intent-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
}
.hint {
  font-size: 11px; color: #8A8271; letter-spacing: 0.04em;
  font-style: italic;
}
.send-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #0F1E3D; color: #F6F1E7;
  border: none; border-radius: 8px;
  padding: 9px 18px; font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background 100ms ease, transform 80ms ease;
}
.send-btn:hover { background: #C2541F; }
.send-btn:active { transform: translateY(1px); }

.rotator {
  margin-top: 30px;
  font-size: 12.5px; color: #8A8271; letter-spacing: 0.02em;
  font-style: italic; line-height: 1.6;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ─── panes ─── */
.pane {
  background: #FFFFFF;
  border-top: 1px solid rgba(15, 30, 61, 0.06);
  padding: 80px 0;
  animation: fadein 220ms ease-out;
}
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane-inner {
  max-width: 980px; margin: 0 auto;
  padding: 0 44px;
}
.pane-h2 {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 48px; font-weight: 400; line-height: 1.05;
  letter-spacing: -0.014em;
  margin-bottom: 28px;
  color: #0F1E3D;
}
.pane-h2 em { font-style: italic; color: #C2541F; }
.pane-lede {
  font-size: 18px; line-height: 1.55; max-width: 720px;
  color: #4F4A3D; margin-bottom: 36px;
}
.pane-text { font-size: 16px; line-height: 1.65; color: #2C2A24; }
.pane-text p { margin-bottom: 14px; }
.pane-text code, code {
  font-family: "SF Mono", Menlo, monospace; font-size: 13px;
  background: rgba(15, 30, 61, 0.05); padding: 1px 6px; border-radius: 4px;
}
.pane-text a, .cta-link {
  color: #C2541F; text-decoration: none; border-bottom: 1px solid rgba(194, 84, 31, 0.4);
}
.pane-text a:hover, .cta-link:hover { border-bottom-color: #C2541F; }

.pane-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start;
}
.pane-figure img {
  width: 100%; border-radius: 8px;
  border: 1px solid rgba(15, 30, 61, 0.10);
  box-shadow: 0 4px 18px rgba(15, 30, 61, 0.08);
}
.pane-figure figcaption {
  margin-top: 8px; font-size: 12px; color: #6B6556;
  font-style: italic; text-align: center;
}
.figure-wide {
  margin: 30px 0 24px;
}
.figure-wide img {
  width: 100%; border-radius: 8px;
  border: 1px solid rgba(15, 30, 61, 0.10);
  box-shadow: 0 4px 18px rgba(15, 30, 61, 0.08);
}
.figure-wide figcaption {
  margin-top: 10px; font-size: 13px; color: #6B6556;
  font-style: italic; text-align: left;
  max-width: 800px;
}
.pane-cta { margin-top: 24px; }
.pane-note {
  font-size: 14px; color: #6B6556; line-height: 1.55;
  margin-top: 28px; font-style: italic;
  padding-top: 22px; border-top: 1px solid rgba(15, 30, 61, 0.06);
}

/* ─── claw grid ─── */
.claw-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 30px;
}
.claw-card {
  background: #F6F1E7; border-radius: 9px;
  padding: 18px 22px;
  border-left: 3px solid #C2541F;
}
.claw-name {
  font-family: "SF Mono", Menlo, monospace; font-size: 15px;
  color: #C2541F; font-weight: 500; margin-bottom: 6px;
}
.claw-desc {
  font-size: 13.5px; color: #4F4A3D; line-height: 1.55;
}

/* ─── docs grid ─── */
.docs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-top: 30px;
}
.docs-card {
  background: #F6F1E7; border-radius: 10px;
  padding: 20px 24px;
  border: 1px solid rgba(15, 30, 61, 0.06);
  text-decoration: none;
  display: block;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.docs-card:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 84, 31, 0.4);
  box-shadow: 0 6px 20px rgba(15, 30, 61, 0.07);
}
.docs-name {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 22px; font-weight: 400; color: #0F1E3D;
  margin-bottom: 4px;
}
.docs-meta {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #C2541F; font-weight: 600;
  margin-bottom: 12px;
}
.docs-desc {
  font-size: 13.5px; color: #4F4A3D; line-height: 1.55;
}

/* ─── footstrip ─── */
.footstrip {
  display: flex; justify-content: space-between;
  padding: 22px 44px 30px;
  font-size: 11.5px; color: #8A8271;
  letter-spacing: 0.06em;
}
.footstrip-right { font-style: italic; }
.footstrip em { font-style: italic; color: #C2541F; }

/* ─── preview panel (after intent submit) ─── */
.preview-panel {
  margin-top: 22px; padding: 18px 24px;
  background: rgba(194, 84, 31, 0.06); border-radius: 12px;
  border-left: 3px solid #C2541F; text-align: left;
  animation: fadein 220ms ease-out;
}
.preview-tag {
  letter-spacing: 0.32em; font-size: 9.5px; font-weight: 700;
  color: #C2541F; text-transform: uppercase; margin-bottom: 8px;
}
.preview-body { font-size: 13.5px; line-height: 1.55; color: #4F4A3D; margin-bottom: 12px; }
.preview-body code { font-size: 12px; }
.preview-cta { font-size: 13px; color: #4F4A3D; }
.preview-cta a { color: #C2541F; text-decoration: none; border-bottom: 1px solid rgba(194, 84, 31, 0.4); }
.preview-cta a:hover { border-bottom-color: #C2541F; }

/* ─── responsive ─── */
@media (max-width: 720px) {
  .topbar { padding: 16px 22px; flex-wrap: wrap; }
  .topnav { gap: 2px; flex-wrap: wrap; }
  .topnav-link { padding: 6px 9px; font-size: 12px; }
  .hero { padding: 60px 22px 40px; }
  .hero-title { font-size: 52px; }
  .hero-sub { font-size: 15px; }
  .pane-inner { padding: 0 22px; }
  .pane-h2 { font-size: 32px; }
  .pane-lede { font-size: 15px; }
  .pane-grid, .claw-grid, .docs-grid { grid-template-columns: 1fr; gap: 18px; }
  .footstrip { flex-direction: column; gap: 4px; padding: 22px; text-align: center; }
}
