/* LazySEM — calm SaaS design system */
:root {
  --cream: #FBF7EF;
  --cream-2: #F5EDDF;
  --card: #FFFFFF;
  --ink: #091E3F;
  --ink-soft: #46536E;
  --ink-faint: #67738F;
  --teal: #3D8FA3;
  --teal-dark: #2A7285;
  --teal-bright: #54ABBE;
  --teal-wash: #E4F1F4;
  --peach: #FCC99E;
  --peach-soft: #FDEBD8;
  --blush: #FAE6F0;
  --line: #E9DFCC;
  --good: #2E9E6B;
  --good-wash: #E3F4EB;
  --bad: #D4553F;
  --bad-wash: #FBE9E4;
  --amber: #C98A2B;
  --amber-wash: #FAF0DC;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 6px rgba(9,30,63,.06), 0 16px 40px -18px rgba(9,30,63,.18);
  --shadow-soft: 0 1px 3px rgba(9,30,63,.05), 0 10px 28px -16px rgba(9,30,63,.14);
  --display: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  --body: "Instrument Sans", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.12 0 0 0 0 0.25 0 0 0 0.02 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
h1, h2, h3, .display { font-family: var(--display); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* accent word: teal swash underline like the wordmark */
.swash { position: relative; white-space: nowrap; }
.swash svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.32em; overflow: visible; }
.swash svg path { fill: none; stroke: var(--teal-bright); stroke-width: 7; stroke-linecap: round; opacity: .85; }

/* ===== header ===== */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(251,247,239,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }
nav.main { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav.main > a { padding: 8px 14px; border-radius: 999px; color: var(--ink-soft); font-weight: 500; font-size: .97rem; transition: all .18s; }
nav.main > a:hover, nav.main > a.on { color: var(--ink); background: var(--cream-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; margin-left: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: 1rem; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: 0 10px 22px -10px rgba(9,30,63,.45); }
.btn-primary:hover { transform: translateY(-2px); background: #10294f; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-teal { background: var(--teal-dark); color: #fff; box-shadow: 0 10px 22px -10px rgba(42,114,133,.5); }
.btn-teal:hover { transform: translateY(-2px); background: var(--teal); }
.btn.small { padding: 9px 18px; font-size: .92rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: none; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ===== hero ===== */
.hero { position: relative; padding: 72px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker { font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--teal-bright); border-radius: 2px; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-soft); margin: 20px 0 26px; max-width: 34em; }
.hero-checks { list-style: none; display: grid; gap: 10px; margin: 0 0 30px; }
.hero-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 1.02rem; }
.hero-checks li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--good-wash); color: var(--good); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 3px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.fineprint { font-size: .88rem; color: var(--ink-faint); margin-top: 14px; }
.fineprint b { color: var(--ink-soft); font-weight: 600; }

/* the cat shelf: cat sleeps on a navy line that runs across the section */
.catline { position: relative; margin-top: 64px; height: 4px; background: var(--ink); border-radius: 2px; }
.catline .cat { position: absolute; right: 8%; bottom: 2px; width: 190px; transform-origin: 50% 100%; animation: breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.035) scaleX(1.008); } }
.zzz { position: absolute; right: calc(8% + 150px); bottom: 76px; font-family: var(--display); font-weight: 800; color: var(--teal-bright); }
.zzz span { position: absolute; opacity: 0; animation: zfloat 4.5s ease-in-out infinite; font-size: 1.1rem; }
.zzz span:nth-child(2) { animation-delay: 1.5s; font-size: 1.35rem; }
.zzz span:nth-child(3) { animation-delay: 3s; font-size: 1.6rem; }
@keyframes zfloat { 0% { opacity: 0; transform: translate(0,0) rotate(-6deg); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(26px,-46px) rotate(10deg); } }

/* ticker of SEO chips */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--cream-2); padding: 13px 0; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 36s linear infinite; }
.ticker span { font-family: var(--mono); font-size: .82rem; color: var(--ink-soft); white-space: nowrap; letter-spacing: .04em; }
.ticker span b { color: var(--teal-dark); font-weight: 600; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ===== product mock (hero) ===== */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--cream); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i:first-child { background: var(--peach); }
.mock-bar .url { margin-left: 8px; font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.mock h4 { font-family: var(--display); font-size: 1.02rem; }
.mock .sub { font-size: .82rem; color: var(--ink-faint); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.stat .l { font-size: .72rem; color: var(--ink-faint); margin-top: 5px; }
.mock-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; }
.mock-item .tag { margin-left: auto; font-family: var(--mono); font-size: .68rem; padding: 3px 10px; border-radius: 999px; }
.tag.ok { background: var(--good-wash); color: var(--good); }
.tag.run { background: var(--teal-wash); color: var(--teal-dark); }
.tag.warn { background: var(--amber-wash); color: var(--amber); }
.progress { height: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 67%; border-radius: 99px; background: linear-gradient(90deg, var(--teal-bright), var(--teal-dark)); animation: fill 2.4s ease forwards; }
@keyframes fill { from { width: 8%; } }

/* ===== sections ===== */
section { padding: 88px 0; }
.sec-head { max-width: 620px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.08rem; }
.band { background: var(--cream-2); border-block: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--cream); }
.band-ink h2, .band-ink h3 { color: var(--cream); }
.band-ink p { color: #B9C3D8; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .emoji { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; background: var(--teal-wash); }
.card.peachy .emoji { background: var(--peach-soft); }
.card.blushy .emoji { background: var(--blush); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.card ul li { font-size: .93rem; color: var(--ink-soft); padding-left: 20px; position: relative; }
.card ul li::before { content: "→"; position: absolute; left: 0; color: var(--teal-bright); font-weight: 700; }
.card .more { display: inline-block; margin-top: 18px; font-weight: 600; font-size: .95rem; border-bottom: 2px dashed var(--teal-bright); padding-bottom: 1px; }
.card .more:hover { border-bottom-style: solid; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px 28px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--peach); font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; border: 3px solid var(--cream); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-soft); }
.quote blockquote { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.45; }
.quote blockquote::before { content: "“"; color: var(--teal-bright); font-size: 1.6em; line-height: 0; vertical-align: -0.25em; margin-right: 2px; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.who .av { width: 42px; height: 42px; border-radius: 50%; font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--peach); color: var(--ink); font-size: .95rem; }
.who .av.t { background: var(--teal-wash); color: var(--teal-dark); }
.who .av.b { background: var(--blush); }
.who .nm { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.who .rl { font-size: .82rem; color: var(--ink-faint); }
.quote .proof { font-family: var(--mono); font-size: .74rem; color: var(--teal-dark); background: var(--teal-wash); border-radius: 999px; padding: 4px 12px; align-self: flex-start; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan.pop { border-color: var(--teal-dark); box-shadow: var(--shadow); }
.plan .pop-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal-dark); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.plan .for { font-size: .88rem; color: var(--ink-faint); min-height: 2.6em; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.3rem; margin: 10px 0 0; letter-spacing: -.02em; }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--ink-faint); }
.plan .price span[data-plan] { font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }
.plan .bill { font-size: .82rem; color: var(--ink-faint); margin-bottom: 14px; }
.plan .credits { font-family: var(--mono); font-size: .8rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; align-self: flex-start; margin-bottom: 16px; }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; }
.plan ul li { font-size: .9rem; color: var(--ink-soft); padding-left: 24px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.plan ul li.no { color: var(--ink-faint); }
.plan ul li.no::before { content: "–"; color: var(--ink-faint); }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; overflow: hidden; }
details summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 24px; font-family: var(--display); font-weight: 700; font-size: 1.04rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; margin-left: auto; font-family: var(--display); font-size: 1.4rem; color: var(--teal-dark); transition: transform .2s; flex: 0 0 auto; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 24px 22px; color: var(--ink-soft); font-size: .98rem; }

/* CTA band */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 15em; margin: 0 auto 16px; }
.cta-band p { max-width: 34em; margin: 0 auto 30px; }
.cta-band .catnap { width: 150px; opacity: .95; margin-bottom: -6px; }
.cta-shelf { width: 220px; height: 4px; background: var(--peach); margin: 0 auto 34px; border-radius: 2px; }

/* footer */
footer { background: var(--ink); color: #B9C3D8; padding: 64px 0 36px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
footer img.fl { height: 34px; width: auto; margin-bottom: 16px; }
footer p { font-size: .92rem; max-width: 30em; }
footer h4 { color: var(--cream); font-family: var(--display); font-size: .95rem; margin-bottom: 14px; letter-spacing: .03em; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer a { color: #B9C3D8; font-size: .92rem; transition: color .15s; }
footer a:hover { color: var(--peach); }
.foot-base { border-top: 1px solid rgba(185,195,216,.18); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .85rem; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* diff mock (monitoring) */
.diff { font-family: var(--mono); font-size: .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.diff .dh { padding: 9px 14px; background: var(--cream); border-bottom: 1px solid var(--line); color: var(--ink-faint); font-size: .72rem; }
.diff .dl { padding: 7px 14px; white-space: pre-wrap; word-break: break-word; }
.diff .rm { background: var(--bad-wash); color: #9C3A28; }
.diff .ad { background: var(--good-wash); color: #1E6E4A; }

/* alt rows for feature pages */
.featrow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.featrow .visual { min-width: 0; }
.featrow h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.featrow p.lead { color: var(--ink-soft); margin-bottom: 18px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-soft); font-size: .98rem; }
.checklist li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-dark); font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 3px; }
.checklist li b { color: var(--ink); }

/* page hero (inner pages) */
.page-hero { padding: 76px 0 60px; text-align: center; }
.page-hero .kicker { justify-content: center; }
.page-hero .kicker::before { display: none; }
.page-hero h1 { max-width: 17em; margin: 0 auto; }
.page-hero p.lead { max-width: 38em; margin: 20px auto 30px; color: var(--ink-soft); font-size: 1.15rem; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pill { font-family: var(--mono); font-size: .78rem; background: var(--card); border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px; color: var(--ink-soft); }

/* toggle (pricing) */
.toggle { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; margin: 8px auto 0; }
.toggle button { border: none; background: none; font-family: var(--body); font-weight: 600; font-size: .95rem; padding: 9px 22px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.toggle button.on { background: var(--ink); color: var(--cream); }
.toggle .save { font-size: .74rem; color: var(--good); font-weight: 700; margin-left: 6px; }

/* addons */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.addon { background: var(--card); border: 1px dashed var(--teal-bright); border-radius: var(--radius-sm); padding: 20px 22px; text-align: center; }
.addon b { font-family: var(--display); }
.addon .p { color: var(--teal-dark); font-family: var(--mono); font-size: .9rem; margin-top: 6px; }

.trust-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 40px; color: var(--ink-faint); font-size: .9rem; }
.trust-row span { display: inline-flex; gap: 8px; align-items: center; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .grid-3, .grid-2, .steps, .quotes, .featrow { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .addons { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .featrow.flip .visual { order: -1; }
  .catline .cat { width: 150px; right: 6%; }
  .zzz { right: calc(6% + 118px); bottom: 62px; }
}
@media (max-width: 880px) {
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 14px 20px 22px; gap: 6px; box-shadow: var(--shadow); }
  nav.main.open { display: flex; }
  nav.main > a { padding: 12px 14px; }
  .nav-cta { margin: 10px 0 0; flex-direction: column; align-items: stretch; }
  .menu-btn { display: block; }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-ctas .btn { width: 100%; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}
