/* Kleida sales site. Written for owners who don't love computers: large text,
   strong contrast, few words, big buttons. No web fonts, scripts or trackers. */
:root {
  --bg: #faf7f0;
  --band: #f1ece1;
  --card: #ffffff;
  --ink: #1f2a24;
  --muted: #56615a;
  --line: #ddd5c6;
  --green: #1f5f4a;
  --green-dark: #164536;
  --green-soft: #e3efe8;
  --warm: #b3541e;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(31, 42, 36, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 19px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.band { padding: clamp(56px, 9vw, 104px) 0; background: var(--band); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--card); padding: 10px 16px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(250, 247, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 760; color: var(--ink); text-decoration: none; letter-spacing: -.02em; margin: 0; }
.logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: #fff; font-size: 1.1rem; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 520; }
.nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.link-signin { color: var(--ink); font-weight: 560; text-decoration: none; }
.link-signin:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 30px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 680; font-size: 1.1rem; text-decoration: none; border: 2px solid var(--green); transition: background .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn:disabled { opacity: .65; cursor: wait; }
.btn-quiet { background: transparent; color: var(--green); }
.btn-quiet:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-small { min-height: 46px; padding: 0 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

/* Hero */
.beta-pill { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .95rem; font-weight: 620; }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 1.02rem; }
.reassure li::before, .included li::before, .after li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.hero-visual { position: relative; padding: 0 0 40px; }
.browser { margin: 0; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.browser-bar { display: flex; gap: 7px; padding: 11px 14px; background: #efe9dd; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cfc6b5; }
.phone { position: absolute; right: -6px; bottom: 0; width: 30%; margin: 0; border: 8px solid #1f2a24; border-radius: 30px; overflow: hidden; background: #1f2a24; box-shadow: var(--shadow); }
.phone img { border-radius: 22px; }

.example-caption { position: absolute; left: 0; bottom: 4px; margin: 0; font-size: .9rem; color: var(--muted); }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.compare-card { background: var(--card); border-radius: var(--radius); padding: 30px 32px; border: 1px solid var(--line); }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.before h3 { color: var(--muted); }
.before li::before { content: "✗"; color: #9b4a2a; font-weight: 800; margin-right: 8px; }
.after { border: 2px solid var(--green); }
.after h3 { color: var(--green); }
.compare li { padding-left: 1.6em; text-indent: -1.6em; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--green-soft); fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; }

.optional-ai { margin-top: 26px; padding: 22px 26px; border: 1px dashed #c9bfae; border-radius: var(--radius); background: transparent; display: grid; gap: 10px; max-width: 760px; }
.optional-ai p { margin: 0; color: var(--muted); }
.optional-ai strong { color: var(--ink); }
.pill { justify-self: start; font-size: .85rem; font-weight: 650; color: var(--muted); background: var(--band); border-radius: 999px; padding: 4px 12px; }

/* Showcase */
.showcase { padding-top: 0; }
.showcase-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 60px); align-items: center; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.step-number { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 760; font-size: 1.3rem; margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }

/* Price */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.price-card { background: var(--card); border-radius: 24px; padding: 38px; border: 2px solid var(--green); box-shadow: var(--shadow); }
.price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.amount { font-size: 4rem; font-weight: 780; letter-spacing: -.03em; line-height: 1; }
.per { font-size: 1.25rem; color: var(--muted); }
.price-note { color: var(--muted); margin: 6px 0 18px; }
.price-extra { font-size: 1.15rem; padding: 14px 18px; background: var(--green-soft); border-radius: 12px; margin-bottom: 8px; }
.price-vat { color: var(--muted); font-size: .95rem; margin: 0; }
.included { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.included li { padding-left: 1.6em; text-indent: -1.6em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bands { width: 100%; border-collapse: collapse; margin: 16px 0 10px; font-size: 1.1rem; }
.bands th { text-align: left; font-weight: 520; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bands td { text-align: right; font-weight: 750; font-size: 1.3rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bands tr:first-child th, .bands tr:first-child td { color: var(--green-dark); }

/* Questions */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-top: 14px; }
summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; font-weight: 650; font-size: 1.12rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Final call */
.final-box { text-align: center; background: var(--green); color: #fff; border-radius: 28px; padding: clamp(40px, 7vw, 72px) 24px; }
.final-box .lead { color: #d8e8df; margin-inline: auto; }
.final-box .btn { background: #fff; color: var(--green); border-color: #fff; margin-top: 10px; }
.final-box .btn:hover { background: var(--green-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 1rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.footer-row p { margin: 0; }
.logo-footer { font-size: 1.2rem; }
.logo-footer .logo-mark { width: 30px; height: 30px; font-size: .95rem; }

/* Tablet and phone */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero-grid, .showcase-grid, .price-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .compare, .features { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .link-signin { display: none; }
  .phone { width: 34%; right: -4px; border-width: 6px; border-radius: 22px; }
  .price-card { padding: 28px 22px; }
  .amount { font-size: 3.4rem; }
}

/* Legal pages: readable, plain, printable */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal ul { padding-left: 1.3em; display: grid; gap: .5em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .95rem; background: var(--card); border-radius: 12px; overflow: hidden; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--band); font-weight: 650; }
.draft-banner { background: #fff5d8; border-left: 4px solid #b68a37; padding: 14px 18px; border-radius: 8px; font-size: .95rem; }
@media (max-width: 640px) { .legal table { display: block; overflow-x: auto; } }

/* Demo tour: one step per screen, picture first on phones */
.tour-intro { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.tour-intro .lead { margin-inline: auto; }
.tour-intro .btn { margin-top: 14px; }
.tour-step { padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: 72px; }
.tour-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tour-text p { color: var(--muted); font-size: 1.12rem; }
.tour-text .btn { margin-top: 8px; }
.step-label { font-size: .95rem !important; font-weight: 650; color: var(--green) !important; margin-bottom: 6px; }
.tour-small { max-width: 620px; }
.tour-tall img { max-height: 680px; object-fit: cover; object-position: top; width: 100%; }
@media (max-width: 980px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-grid figure { order: -1; }
  .tour-tall img { max-height: 520px; }
}
/* Pages without the main menu (tour, legal): keep the header buttons on the right. */
.header-row .logo + .header-actions { margin-left: auto; }

/* Application form */
.apply { padding: clamp(40px, 7vw, 80px) 0 80px; }
.apply-form { display: grid; gap: 18px; margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); }
.apply-form label { display: grid; gap: 8px; font-weight: 620; }
.apply-form input, .apply-form select, .apply-form textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid #bcc7bd; border-radius: 10px; background: #fffdf8; width: 100%; box-sizing: border-box; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: 3px solid var(--warm); outline-offset: 1px; }
.apply-form .btn { justify-self: start; }
.optional { font-weight: 400; color: var(--muted); }
.form-note { color: var(--muted); font-size: .95rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-done { text-align: center; }
.apply-done .lead { margin-inline: auto; }
.soon { display: inline-block; vertical-align: middle; margin-left: 4px; font-size: .78rem; font-weight: 650; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; padding: 2px 10px; }
