@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #F0ECE5;
  --text: #1B1A18;
  --muted: #736e66;
  --line: #e4dfd6;
  --surface: #faf8f4;
  --accent: #F17C28;
  --header-h: 80px;
  --shell-width: min(42rem, calc(100% - 32px));
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  min-height: 100%;
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  padding-top: var(--header-h);
}
a { color: var(--text); }
header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--shell-width);
  z-index: 10;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.bar {
  max-width: 40rem;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-logo {
  height: 24px;
  width: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-size: 0.9375rem;
}
nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
}

.nav-link[aria-disabled="true"] {
  cursor: default;
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}
.header-switch {
  display: flex;
  flex: 0 0 auto;
  gap: 0;
  margin: 0;
  padding: 3px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 0.8125rem;
}
.header-switch a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
}
.header-switch a:hover { color: var(--text); }
.header-switch a[aria-current="page"] {
  color: var(--text);
  background: var(--surface);
  font-weight: 500;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}
main, footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 20px;
}
h1 {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 24px 0 8px;
}
h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 28px 0 8px;
}
p, li { color: var(--text); }
.lead, .meta { color: var(--muted); font-size: 0.9375rem; }
ul { padding-left: 1.15rem; }
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
footer {
  padding: 32px 20px 48px;
  color: var(--muted);
  font-size: 0.875rem;
}
.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
}

.hero { padding: 36px 0 12px; }

@media (min-width: 769px) {
  .hero { padding: 72px 0 48px; }
  #manifeste,
  #manifesto { padding: 72px 0 48px; }
  .card .app-card-top h3 { font-size: 24px; }
}
.hero h1 {
  font-size: clamp(2rem, 7vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 24px;
}
.hero .lead,
.hero .deck,
.story {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 34rem;
}
.hero .lead { margin: 0; }
.hero .deck {
  color: var(--muted);
  margin: 12px 0 0;
}
.story {
  margin: 4px 0 0;
  color: var(--text);
}
.story + .story { margin-top: 12px; }
.compass {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 16px;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.22s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(241, 124, 40, 0.32);
}
.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
  box-shadow: 0 3px 10px rgba(241, 124, 40, 0.2);
}
.btn-soon {
  cursor: default;
  opacity: 0.72;
  box-shadow: none;
}
.btn-soon:hover,
.btn-soon:active {
  transform: none;
  filter: none;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .btn:hover,
  .btn:active {
    transform: none;
    box-shadow: none;
  }
}
.link-quiet {
  color: var(--muted);
  font-size: 0.9375rem;
}

.section {
  padding: 36px 0 8px;
}
.section h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin: 0 0 8px;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.principles li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.principles h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.app-kicker {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.app-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.card .app-card-top h3 {
  margin: 0;
  line-height: 1;
  font-size: 1.55rem;
}
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: block;
  flex-shrink: 0;
}
.app-icon-placeholder {
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.card .quote {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 500;
}
.card .btn { margin-top: 8px; }

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

.idea-dialog {
  border: none;
  padding: 0;
  background: transparent;
  width: var(--shell-width);
  max-width: var(--shell-width);
}
.idea-dialog::backdrop {
  background: rgba(27, 26, 24, 0.45);
}
.idea-panel {
  margin: 0;
  width: 100%;
  padding: 22px 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  position: relative;
}
.idea-panel-head {
  display: block;
  margin-bottom: 8px;
}
.idea-panel-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.idea-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.idea-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.idea-panel textarea,
.idea-panel input[type="email"] {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.idea-panel textarea {
  margin-bottom: 6px;
}
.idea-panel textarea:focus,
.idea-panel input[type="email"]:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 1px;
}
.idea-panel textarea.is-invalid,
.idea-panel input[type="email"].is-invalid {
  border-color: #b42318;
  background: #fff7f5;
}
.idea-panel textarea.is-invalid:focus,
.idea-panel input[type="email"].is-invalid:focus {
  outline-color: color-mix(in srgb, #b42318 45%, transparent);
}
.idea-field-meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin: 0 0 14px;
}
.idea-error {
  margin: 0;
  color: #b42318;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
}
.idea-error[hidden] {
  display: none;
}
.idea-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: right;
  line-height: 1.3;
}
.idea-count.is-short {
  color: color-mix(in srgb, var(--muted) 70%, #b42318);
}
.idea-count.is-full {
  color: var(--text);
}
.idea-honeypot,
#idea-company {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.idea-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.idea-promise {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
  flex: 1 1 auto;
  min-width: 0;
}
.idea-success {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-align: left;
}
.idea-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
  flex: 0 0 auto;
}
.idea-actions .btn {
  margin-top: 0;
}
.idea-done .idea-actions {
  width: 100%;
  margin-top: 4px;
}
@media (max-width: 520px) {
  .idea-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .idea-footer .idea-actions {
    width: 100%;
  }
}
.idea-loading[hidden],
.idea-done[hidden],
[data-idea-success][hidden],
[data-idea-fields][hidden],
[data-idea-head][hidden] {
  display: none !important;
}
.idea-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 180px;
  padding: 12px 0 8px;
}
.idea-loading-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.idea-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-top-color: var(--accent);
  animation: idea-spin 0.75s linear infinite;
}
.idea-done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 8px 0 0;
  opacity: 0;
  transform: translateY(8px);
}
.idea-dialog .is-revealed .idea-done {
  animation: idea-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.idea-done-mark {
  margin-bottom: 14px;
  color: var(--accent);
}
.idea-done-ring {
  stroke: color-mix(in srgb, var(--accent) 35%, transparent);
}
.idea-done-check {
  stroke: var(--accent);
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
}
.idea-dialog .is-revealed .idea-done-check {
  animation: idea-check 0.45s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.idea-done-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@keyframes idea-spin {
  to { transform: rotate(360deg); }
}
@keyframes idea-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes idea-check {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .idea-spinner {
    animation: none;
  }
  .idea-dialog .is-revealed .idea-done,
  .idea-dialog .is-revealed .idea-done-check {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}
.idea-actions .btn {
  margin-top: 0;
}

.apps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.apps-head h2 {
  margin: 0;
}
.apps-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.apps-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  line-height: 0;
}
.apps-nav-btn svg {
  display: block;
}
.apps-nav-btn[data-apps-prev] svg {
  transform: translateX(-1px);
}
.apps-nav-btn[data-apps-next] svg {
  transform: translateX(1px);
}
.apps-nav-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}
.apps-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.apps-carousel {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.apps-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.apps-carousel::-webkit-scrollbar {
  display: none;
}
.apps-carousel > .card {
  flex: 0 0 calc(75% - 6px);
  margin: 0;
  scroll-snap-align: start;
}
.apps-carousel a,
.apps-carousel button {
  cursor: pointer;
}
.apps-carousel.is-dragging a,
.apps-carousel.is-dragging button {
  pointer-events: none;
}

.site-footer {
  padding: 32px 20px 48px;
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

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

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-grid {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: baseline;
  justify-content: space-between;
}

.footer-name {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.footer-copy {
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact {
  white-space: nowrap;
}

.pricing-card {
  padding: 24px;
}

.pricing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.pricing-badge {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  margin-top: 6px;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 2px;
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 4px 0 16px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
}

.pricing-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.check {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}

.pricing-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  margin: 0 0 12px;
}

.pricing-steps {
  margin: 0;
  padding-left: 1.3rem;
}

.pricing-steps li {
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 48px;
}

a.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 0;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

a.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

a.blog-card h2,
a.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}

a.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.blog-date {
  display: block;
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.home-blog .blog-card {
  margin-top: 8px;
}

.article-back {
  display: inline-block;
  margin: 28px 0 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}

.article-back:hover {
  color: var(--text);
}

.article-body {
  padding-bottom: 56px;
  line-height: 1.7;
}

.article-body h1 {
  font-size: clamp(2rem, 7vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 12px 0 16px;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 52px 0 18px;
  line-height: 1.2;
}

.article-body h3 {
  font-size: clamp(1.12rem, 2.5vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
  line-height: 1.3;
}

.article-body ul,
.article-body ol {
  margin: 4px 0 28px;
  padding-left: 1.2rem;
}

.article-body li {
  margin: 0 0 12px;
  color: var(--text);
}

.article-byline {
  margin: 0 0 28px;
  font-size: 0.875rem;
  color: var(--muted);
}

.article-body p a,
.article-body li a {
  text-underline-offset: 3px;
}

.article-takeaway {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 24px 8px;
  margin: 40px 0 8px;
}

.article-body .article-takeaway h2 {
  margin: 0 0 14px;
  font-size: clamp(1.12rem, 2.5vw, 1.28rem);
}

.article-takeaway ul {
  margin: 0 0 16px;
}

.article-related {
  margin: 56px 0 0;
}

.article-body .article-related > h2 {
  margin: 0 0 16px;
  font-size: clamp(1.12rem, 2.5vw, 1.28rem);
}

.article-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-related-list a.blog-card h2 {
  font-size: 1.125rem;
  margin: 0 0 6px;
}

.article-toc {
  display: block;
  background: var(--surface);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 12px 0 48px;
}

.article-body .article-toc-title {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.article-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.article-toc li {
  margin: 0 0 12px;
}

.article-toc li:last-child {
  margin-bottom: 0;
}

.article-toc a {
  color: var(--text);
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}

.article-faq {
  margin: 8px 0 24px;
}

.article-faq dt {
  font-weight: 600;
  margin: 16px 0 6px;
}

.article-faq dd {
  margin: 0;
  color: var(--text);
}

.article-author {
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 32px 0 8px;
}

.article-author p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.article-author strong {
  color: var(--text);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  a.blog-card,
  a.blog-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Footer separator: keep spacing consistent without the middle dot */
.dot {
  padding: 0 8px;
}

@media (max-width: 480px) {
  .bar { gap: 12px; }
}

@media (max-width: 468px) {
  .cta-row {
    display: block;
  }
  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}
