/* Kamto product site. Palette follows the Kamto app itself, so screenshots of the
   program sit naturally on the page; headings in a sturdy serif (Source Serif 4). */
:root {
  --ink: #1c1a17;
  --ink-2: #57534b;
  --ink-3: #8d887d;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --surface: #fffdf9;
  --line: #e3ded3;
  --graphite: #26231e;
  --graphite-2: #33302a;
  --copper: #8a1c2b;
  --copper-dark: #5e1019;
  --copper-soft: #f7eced;
  --ok: #0f7a2a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 12px 32px rgba(28, 26, 23, .10);
  --shadow-lg: 0 2px 4px rgba(28, 26, 23, .06), 0 30px 70px rgba(28, 26, 23, .18);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-word { font-weight: 800; letter-spacing: .2em; font-size: 17px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.head-phone { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.head-phone svg { width: 16px; height: 16px; color: var(--copper); }
.site-head .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 960px) {
  .site-nav { display: none; }
  .head-phone { margin-left: auto; }
}
@media (max-width: 560px) {
  .site-head .wrap { gap: 14px; }
  .head-phone span { display: none; }
  .head-phone { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 10px; }
  .site-head .btn { padding: 9px 14px; font-size: 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px; border: 1px solid transparent;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 1px 2px rgba(94, 16, 25, .3), 0 6px 18px rgba(138, 28, 43, .22); }
.btn-primary:hover { background: var(--copper-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfc8ba; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Type */
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--copper);
}
.h-display { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
h1.h-display { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2.h-display { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.section { padding: 104px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin: 16px 0 0; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* Hero */
.hero { padding: 76px 0 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, var(--surface) 62%); overflow: hidden; }
.hero-text { max-width: 860px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero .lead { max-width: 690px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--ok); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.hero-stage { position: relative; margin: 64px auto 0; max-width: 1100px; padding-bottom: 40px; }
.hero-stage .frame { margin-right: 110px; }
.hero-stage .phone { position: absolute; right: 0; bottom: 0; width: 230px; }
@media (max-width: 860px) {
  .hero { padding-top: 48px; background: var(--paper); }
  .hero-stage { margin-top: 44px; padding-bottom: 24px; }
  .hero-stage .frame { margin-right: 0; }
  .hero-stage .phone { width: 150px; right: -8px; bottom: -6px; }
}
@media (max-width: 520px) { .hero-stage .phone { width: 112px; } .hero-actions .btn { flex: 1 1 100%; } }

:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.6 4.9 12l-1.4 1.4 6 6 11-11-1.4-1.4z'/%3E%3C/svg%3E"); }

/* Screenshot frames */
.frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d1c3; }
.frame img { width: 100%; }
.phone { background: var(--graphite); border-radius: 30px; padding: 9px; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 22px; width: 100%; }

/* Trades strip */
.trades { border-bottom: 1px solid var(--line); padding: 26px 0; }
.trades .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.trades p { margin: 0 8px 0 0; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.chip { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.pain h3 { font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
.pain p { margin: 0; color: var(--ink-2); }
.pain-fix { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink) !important; font-weight: 600; }
.pain-fix strong { color: var(--copper); }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } .pain { padding: 22px; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.12; margin-bottom: 16px; }
.feature-text > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }
.feature-media { position: relative; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.phones .phone { width: min(250px, 44%); }
.phones .phone + .phone { margin-top: 64px; }
.feature-media .frame.narrow { max-width: 460px; margin: 0 auto; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 80px; }
  .phones .phone + .phone { margin-top: 40px; }
}
@media (max-width: 520px) { .phones { gap: 14px; } .phones .phone { padding: 6px; border-radius: 22px; } .phones .phone img { border-radius: 17px; } }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--copper-soft);
}
.ticks li::after {
  content: ""; position: absolute; left: 4px; top: 5px; width: 14px; height: 14px; background: var(--copper);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}

/* More features grid */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.more div { padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more div:nth-child(3n) { border-right: 0; }
.more div:nth-last-child(-n+3) { border-bottom: 0; }
.more h3 { font-size: 18px; margin-bottom: 6px; }
.more p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) {
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more div:nth-child(3n) { border-right: 1px solid var(--line); }
  .more div:nth-child(2n) { border-right: 0; }
  .more div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .more div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .more { grid-template-columns: 1fr; }
  .more div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 22px; }
  .more div:last-child { border-bottom: 0 !important; }
}

/* Dark section: rollout */
.section-dark { background: var(--graphite); color: #f3efe7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #c9c2b5; }
.section-dark .eyebrow { color: #e7a7af; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--graphite-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 26px 24px; }
.steps li::before { content: counter(step); display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: var(--copper); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { margin: 0; color: #c9c2b5; font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.guarantee { margin-top: 48px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px 38px; }
.guarantee-badge { width: 92px; height: 92px; border-radius: 50%; background: var(--copper-soft); color: var(--copper); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-weight: 800; }
.guarantee-badge b { font-size: 34px; font-family: var(--serif); font-weight: 700; }
.guarantee-badge span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.guarantee h3 { color: var(--ink) !important; font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.guarantee p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; text-align: left; padding: 28px 24px; gap: 18px; } }

/* Final CTA */
.cta { text-align: center; }
.cta .lead { max-width: 640px; margin: 18px auto 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.site-foot { background: var(--graphite); color: #c9c2b5; padding: 56px 0 36px; font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-foot .logo { color: #fff; margin-bottom: 12px; }
.site-foot .logo-mark rect { fill: #fff; }
.site-foot .logo-mark path { fill: var(--graphite); }
.site-foot h4 { margin: 0 0 12px; color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: #c9c2b5; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .foot-meta { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; margin-top: 12px; font-size: 14px; color: #8d887d; }
@media (max-width: 700px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .foot-brand { grid-column: 1 / -1; } }

/* Inner pages */
.page-head { background: var(--paper); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 14px; }
.page-head .lead { max-width: 680px; margin: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.next-steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.next-steps li { counter-increment: step; position: relative; padding-left: 50px; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 10px; background: var(--copper-soft); color: var(--copper); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.next-steps strong { display: block; }
.next-steps span { color: var(--ink-2); }
.phone-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); }
.phone-card svg { width: 26px; height: 26px; color: var(--copper); flex: none; }
.phone-card small { display: block; color: var(--ink-3); font-size: 14px; }
.phone-card b { font-size: 22px; letter-spacing: .01em; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 22px; } }
.form-card h2 { font-size: 22px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d6cfc2; border-radius: 10px; background: var(--surface);
  font: 400 16px/1.4 var(--sans); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(138, 28, 43, .14); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; padding: 16px; font-size: 17px; }
.form-privacy { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mt-3 { margin-top: 16px; }
.alert { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.alert-success { background: #e7f4ea; color: #145c26; border: 1px solid #bfe0c7; }
.alert-danger { background: var(--copper-soft); color: var(--copper-dark); border: 1px solid #e8c4c9; }
.legal { max-width: 820px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--ink-3); font-size: 15px; }
