/* Splendit website. Calm, direct, flat: warm paper background, dark ink, clean sans-serif type, one blue accent.
   No gradients, no grid patterns, no shadows. Original warm dark palette is the default. */
:root {
  --bg: #f5f3ec;
  --bg-2: #ebe8df;
  --paper: #fcfbf8;
  --line: #ddd8cc;
  --line-strong: #c3bdae;
  --ink: #1b1a17;
  --fg: #1b1a17;
  --fg-2: #4e4b44;
  --fg-3: #7a766c;
  --accent: #0b74b5;
  --accent-strong: #09639b;
  --accent-soft: #e2eef6;
  --amber: #b4682a;
  --ok: #2d7a4f;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --display: var(--body);
  --mono: var(--body);
  --radius: 16px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1c19; --bg-2: #262420; --paper: #2a2824; --line: #3a372f; --line-strong: #514c41;
    --ink: #f1eee6; --fg: #f1eee6; --fg-2: #c3bfb3; --fg-3: #8e897c; --accent: #4aa3dc; --accent-strong: #67b4e6;
    --accent-soft: #233442; --amber: #d8955a; --ok: #6cc28f; color-scheme: dark;
  }
}
:root:not([data-theme]), :root[data-theme="dark"] {
  --bg: #1d1c19; --bg-2: #262420; --paper: #2a2824; --line: #3a372f; --line-strong: #514c41;
  --ink: #f1eee6; --fg: #f1eee6; --fg-2: #c3bfb3; --fg-3: #8e897c; --accent: #4aa3dc; --accent-strong: #67b4e6;
  --accent-soft: #233442; --amber: #d8955a; --ok: #6cc28f; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
h4 { font-family: var(--body); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--fg-2); max-width: 38em; line-height: 1.55; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap.narrow { max-width: 820px; }
.center-text { text-align: center; }
.center-text .lede { margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 110px); }
.band { background: var(--bg-2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 44em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: inline-block; text-decoration: none; font-family: var(--body); font-size: 1.65rem; font-weight: 800; line-height: 1; letter-spacing: -0.045em; text-transform: uppercase; white-space: nowrap; font-kerning: normal; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { text-decoration: none; color: var(--fg-2); padding: 8px 13px; border-radius: 999px; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); background: var(--bg-2); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.95rem; cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gutter-l) 16px var(--gutter-r); gap: 2px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 1rem; border: 1px solid transparent; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.nav .btn-primary { background: var(--ink); color: var(--bg); }
.nav .btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.more { display: inline-block; margin-top: 14px; color: var(--accent); text-decoration: none; font-weight: 500; }
.more::after { content: " →"; }
.more:hover { text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.hero .narrow { text-align: center; display: grid; gap: 22px; justify-items: center; }
.hero .lede { margin-inline: auto; }
.hero .illus { margin-top: clamp(32px, 5vw, 64px); }
.page-hero { padding-block: clamp(56px, 8vw, 100px) clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero .narrow { display: grid; gap: 20px; }
.page-hero .illus { margin-top: clamp(24px, 4vw, 48px); }

/* Cards and columns */
.three { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; display: grid; gap: 12px; align-content: start; }
.card p { color: var(--fg-2); }
.card ul { margin: 0; padding-left: 18px; color: var(--fg-2); display: grid; gap: 6px; font-size: 0.97rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--fg-2); }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Explaining rows */
.rows .wrap { display: grid; gap: clamp(56px, 8vw, 110px); }
.row { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.row.flip .row-text { order: 2; }
.row-text { display: grid; gap: 18px; }
.row-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; gap: 24px; } .row.flip .row-text { order: 0; } }

/* Illustrations */
.illus { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.illus svg { display: block; width: 100%; height: auto; }
.illus-panel { padding: 0; overflow: hidden; }
.illus-panel svg { border-radius: var(--radius); }
.row-fig .illus { padding: 14px; }

/* Layers (knowledge) */
.layers { display: grid; gap: 16px; max-width: 60rem; }
.layer { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.layer:last-child { border-bottom: 1px solid var(--line); }
.layer .n { font-family: var(--mono); color: var(--accent); font-size: 0.9rem; padding-top: 6px; }
.layer h3 { margin-bottom: 8px; }
.layer p { color: var(--fg-2); }

/* Prompts, price cards, FAQ, callout, copy, quote */
.prompts { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .prompts { grid-template-columns: 1fr; } }
.prompt { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; }
.prompt .d { font-family: var(--mono); font-size: 0.78rem; color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase; }
.prompt q { quotes: "“" "”"; font-family: var(--display); font-size: 1.15rem; line-height: 1.4; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; align-content: start; }
.price-card.hl { border-color: var(--accent); }
.price-card .btn { justify-self: start; }
.tag { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.amount { font-family: var(--display); font-size: 2.2rem; line-height: 1.1; }
.amount small { display: block; font-family: var(--body); font-size: 0.95rem; color: var(--fg-2); margin-top: 6px; }
/* Pricing: aligned plan details, action, then inclusions. */
.pricing-hero { padding-block: clamp(40px, 5vw, 64px) 32px; text-align: center; }
.pricing-hero h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
.pricing-hero p { margin-top: 18px; color: var(--fg-2); font-size: 1rem; }
.pricing-plans { padding-block: 16px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto auto 1fr; gap: 24px; align-items: stretch; }
.pricing-plans .price-card { padding: 30px; border-radius: 22px; display: grid; grid-row: span 5; grid-template-rows: subgrid; gap: 24px; align-content: stretch; min-width: 0; }
.price-plan__icon { color: var(--fg-2); }
.price-plan__icon svg { display: block; width: 44px; height: 44px; }
.price-plan__head { display: grid; gap: 10px; align-content: start; min-height: 74px; }
.price-plan__head h2 { font-size: 1.8rem; letter-spacing: -.035em; line-height: 1.15; }
.price-plan__head p { color: var(--fg-2); font-size: 1rem; }
.price-plan__pricing { display: grid; gap: 8px; align-content: start; min-height: 158px; }
.price-plan__amount { font-size: clamp(1.6rem, 2.7vw, 2.25rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.price-plan__unit, .price-plan__billing, .price-plan__alternative { font-size: .92rem; line-height: 1.55; color: var(--fg-2); }
.price-plan__alternative { color: var(--fg); }
.pricing-plans .price-plan__cta { width: 100%; justify-self: stretch; border-radius: 6px; min-height: 44px; padding: 10px 16px; }
.pricing-plans .price-plan__cta:hover { background: var(--fg-2); color: var(--bg); }
.price-plan__features { border-top: 1px solid var(--line); padding-top: 24px; }
.price-plan__features > p { font-size: .92rem; font-weight: 600; margin-bottom: 18px; }
.price-plan__features .ticks { color: var(--fg); font-size: .94rem; line-height: 1.55; gap: 13px; }
.price-plan__features .ticks li { padding-left: 24px; }
.price-plan__features .ticks li::before { border-color: var(--fg-2); border-width: 1px; width: 12px; height: 7px; }
.pricing-trial { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 28px; margin-top: 28px; border-block: 1px solid var(--line); font-size: .95rem; }
.pricing-trial p { color: var(--fg-2); }
.pricing-trial a { text-underline-offset: 4px; }
@media (max-width: 1000px) and (min-width: 901px) {
  .pricing-grid { gap: 16px; }
  .pricing-plans .price-card { padding: 24px; }
  .price-plan__pricing { min-height: 174px; }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; grid-template-rows: none; max-width: 560px; margin-inline: auto; gap: 20px; }
  .pricing-plans .price-card { grid-row: auto; grid-template-rows: auto; gap: 22px; padding: 28px; }
  .price-plan__head { gap: 8px; min-height: 0; }
  .price-plan__pricing { min-height: 0; }
  .price-plan__amount { font-size: 2.1rem; }
  .pricing-trial { max-width: 560px; margin-inline: auto; }
}

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--display); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--fg-3); font-family: var(--body); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--fg-2); max-width: 62ch; }
.callout { margin-top: 28px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 22px; background: var(--paper); display: grid; gap: 6px; }
.callout p { color: var(--fg-2); }
.copy { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 6px 6px 18px; background: var(--paper); font-family: var(--mono); margin-inline: auto; }
.copy button { border: 0; background: var(--ink); color: var(--bg); border-radius: 999px; padding: 9px 16px; font: inherit; font-family: var(--body); font-weight: 500; cursor: pointer; }
.copy button:hover { background: var(--accent); color: #fff; }
blockquote { margin: 0 0 28px; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--fg); }
.prose { display: grid; gap: 16px; color: var(--fg-2); max-width: 62ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 36px; color: var(--fg-2); font-size: 0.95rem; }
.foot-top { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); }
.foot-tag { margin-top: 12px; max-width: 34ch; }
.foot-cols { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer h4 { color: var(--fg); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.88rem; color: var(--fg-3); }
.lang { display: inline-flex; flex-wrap: wrap; gap: 2px 14px; }
.lang a { text-decoration: none; color: var(--fg-3); }
.lang a:hover, .lang a[aria-current="true"] { color: var(--fg); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }

/* Motion: reveal on scroll, drawings that draw themselves. Everything is already in its final state without motion. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  .illus .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
  .illus .pop { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
  .illus .fade { opacity: 0; }
  .illus .slide { transform: translateY(-18px); opacity: 0; }
  .illus .grow { transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
  .in .illus .draw, .illus.in .draw { animation: draw 1.1s ease forwards; animation-delay: var(--d, 0s); }
  .in .illus .pop, .illus.in .pop { animation: pop .5s cubic-bezier(.2,.8,.3,1.2) forwards; animation-delay: var(--d, 0s); }
  .in .illus .fade, .illus.in .fade { animation: fade .6s ease forwards; animation-delay: var(--d, 0s); }
  .in .illus .slide, .illus.in .slide { animation: slide .6s ease forwards; animation-delay: var(--d, 0s); }
  .in .illus .grow, .illus.in .grow { animation: grow .9s ease forwards; animation-delay: var(--d, 0s); }
  .in .illus .pulse, .illus.in .pulse { animation: pop .5s cubic-bezier(.2,.8,.3,1.2) forwards var(--d, 0s), pulse 2.6s ease-in-out infinite calc(var(--d, 0s) + .6s); }
  .illus .blink { animation: blink 1.1s steps(2, start) infinite; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); opacity: 1; } }
@keyframes fade { to { opacity: 1; } }
@keyframes slide { to { transform: none; opacity: 1; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: .35; } }
@keyframes blink { to { visibility: hidden; } }
