:root {
  --novel-bg: #fff;
  --novel-fg: #333;
  --novel-bold: #2e4052;
  --novel-cursor: rgba(51, 51, 51, 0.65);
  --novel-selection: rgba(142, 154, 175, 0.76);
  --line: #ccc;
  --soft: rgba(142, 154, 175, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--novel-bg);
  color: var(--novel-fg);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-optical-sizing: auto;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--novel-selection);
  color: var(--novel-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(51, 51, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 51, 51, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
}

.wrap {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 72px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 50%;
  object-fit: contain;
}

.brand-name {
  display: block;
  margin-left: 1rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--novel-bold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
}

.nav-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-color: var(--novel-fg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--novel-fg);
  background: var(--novel-bold);
  color: var(--novel-bg);
  font-weight: 700;
  box-shadow: 5px 5px 0 var(--novel-fg);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--novel-fg);
}

main {
  padding-bottom: 72px;
}

.hero {
  padding: 86px 0 144px;
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--novel-bold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: ">";
  color: var(--novel-cursor);
}

h1 {
  max-width: 980px;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  padding-bottom: 2rem;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero-text {
  max-width: 780px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.price-line {
  padding: 12px 14px;
  border: 1px dashed var(--novel-fg);
  background: var(--soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.founder {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.founder-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--novel-fg);
  background: var(--soft);
  box-shadow: 6px 6px 0 rgba(51, 51, 51, 0.16);
}

.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--novel-cursor);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.founder-caption {
  color: var(--novel-fg);
  font-size: 0.92rem;
}

.founder-caption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--novel-bold);
  font-weight: 700;
}

.strip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: min(1600px, calc(100% - 64px));
  margin: 0 auto;
  padding: 5rem;
}

.strip-item {
  flex: 0 1 auto;
  padding: 3rem;
  border-right: 1px solid var(--line);
  color: var(--novel-bold);
  font-size: 2rem;
  font-weight: 300;
}

.strip-item:last-child {
  border-right: 0;
}

section {
  padding: 144px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
}

section#pour-qui {
  border-top: 1px solid var(--line);
}

section#pour-qui.section-no-top {
  border-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}

.section-main {
  min-width: 0;
}

.section-kicker {
  color: var(--novel-bold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-visual {
  width: min(100%, 780px);
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  border: 1px solid var(--novel-fg);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px)),
    var(--soft);
  box-shadow: 6px 6px 0 rgba(51, 51, 51, 0.16);
}

.lead {
  max-width: 760px;
  font-size: 1.08rem;
}

.grid-2,
.grid-3,
.categories {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.automation-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.panel,
.step,
.category {
  border: 1px solid var(--novel-fg);
}

.panel,
.category {
  background: rgba(255, 255, 255, 0.82);
}

.panel {
  min-height: 100%;
  padding: 24px;
  box-shadow: 6px 6px 0 rgba(51, 51, 51, 0.16);
}

.panel h3 {
  margin-bottom: 12px;
  color: var(--novel-bold);
  font-size: 1.05rem;
  font-weight: 700;
}

.panel p {
  font-size: 0.96rem;
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  color: var(--novel-bold);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--novel-bold);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary {
  margin-bottom: 12px;
}

.faq-item[open] summary::after {
  content: "-";
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
}

.list li::before {
  content: ">";
  color: var(--novel-bold);
  font-size: 1.2rem;
  font-weight: 700;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  background: var(--novel-bg);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--novel-bold);
  font-size: 0.9rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.categories {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.category {
  padding: 18px 16px;
  box-shadow: 4px 4px 0 rgba(51, 51, 51, 0.12);
}

.category-num {
  color: var(--novel-bold);
  font-size: 0.82rem;
  font-weight: 700;
}

.category-label {
  margin: 6px 0 8px;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.category-desc {
  color: var(--novel-fg);
  font-size: 0.88rem;
}

.final {
  padding: 76px 0 92px;
  background: var(--novel-bold);
  color: var(--novel-bg);
}

.final h2 {
  max-width: 820px;
}

.final p {
  max-width: 740px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.final .button {
  border-color: var(--novel-bg);
  background: var(--novel-bg);
  color: var(--novel-bold);
  box-shadow: 5px 5px 0 var(--novel-fg);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--novel-bold);
  color: var(--novel-bg);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer h4 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer p,
.footer address {
  margin: 0;
  font-style: normal;
  line-height: 1.6;
}

.footer a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer a:hover {
  border-color: #fff;
}

.footer-legal {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.6;
}

.legal-page {
  background:
    linear-gradient(rgba(51, 51, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 51, 51, 0.03) 1px, transparent 1px),
    var(--novel-bg);
  background-size: 36px 36px;
  font-size: 17px;
}

.legal-page .wrap {
  width: min(720px, 100%);
  max-width: none;
  padding: 4.5rem 1.5rem 6rem;
}

.legal-page .back {
  display: inline-block;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid transparent;
  color: var(--novel-bold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s;
}

.legal-page .back:hover {
  border-color: var(--novel-fg);
}

.legal-page h1 {
  margin-bottom: 0.6rem;
  color: var(--novel-bold);
  font-size: 2.3rem;
  line-height: 1.15;
}

.legal-page .lede {
  margin-bottom: 3rem;
  font-size: 0.92rem;
  opacity: 0.72;
}

.legal-page h2 {
  margin: 2.75rem 0 0.85rem;
  padding-top: 1.6rem;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  color: var(--novel-bold);
  font-size: 1.18rem;
  line-height: 1.2;
}

.legal-page h2:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.legal-page h3 {
  margin: 1.4rem 0 0.35rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.legal-page p {
  margin-bottom: 1rem;
}

.legal-page .block {
  line-height: 1.75;
}

.legal-page .mentions-block {
  font-variant-numeric: tabular-nums;
}

.legal-page .ph {
  padding: 0 0.25em;
  border-radius: 2px;
  background: var(--soft);
  color: var(--novel-bold);
  font-style: normal;
  font-weight: 600;
}

.legal-page .variant {
  margin: 1rem 0;
  padding: 0.9rem 0 0.9rem 1.1rem;
  border-left: 2px solid var(--novel-bold);
  background: var(--soft);
  font-size: 0.92rem;
  opacity: 0.9;
}

.legal-page .variant strong {
  font-weight: 600;
}

.legal-page a {
  border-bottom: 1px solid var(--line);
  color: var(--novel-bold);
}

.legal-page a:hover {
  border-color: var(--novel-fg);
}

.legal-page footer {
  margin-top: 4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 860px) {
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .hero .wrap,
  .section-head,
  .grid-2,
  .grid-3,
  .automation-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 22px;
  }

  .hero .wrap {
    gap: 36px;
  }

  .founder {
    order: 2;
    max-width: 320px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .strip {
    flex-direction: column;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }
}
