@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #30250a;
  --muted: #595242;
  --purple: #4516a1;
  --purple-hover: #361280;
  --paper: #faf8f2;
  --paper-deep: #f1ecdf;
  --white: #ffffff;
  --soft: #eee7fb;
  --card-soft: #f7f4eb;
  --line: #e0dbce;
  --amber: #7b4b08;
  --amber-soft: #fff2d6;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 22px 54px rgba(48, 37, 10, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-hover); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { color: var(--ink); font-weight: 500; text-wrap: balance; }

.wrap { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(224, 219, 206, .88);
  background: rgba(250, 248, 242, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.025em;
  text-decoration: none;
}

.site-name::before {
  content: "MK";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--white);
  background: var(--purple);
  font-size: 10px;
  letter-spacing: -.04em;
}

.site-context { color: var(--muted); font-size: 12px; text-align: right; }

.hero { padding: 92px 0 68px; }
.hero--compact { padding-bottom: 54px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

h1 {
  max-width: 920px;
  margin: 17px 0 22px;
  font-size: clamp(48px, 6.5vw, 76px);
  line-height: 1;
  letter-spacing: -.058em;
}

.hero--compact h1 { max-width: 850px; font-size: clamp(44px, 6vw, 68px); }

.lede {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.6;
}

.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--purple);
  border-radius: 10px;
  color: var(--white);
  background: var(--purple);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.button:hover { color: var(--white); background: var(--purple-hover); transform: translateY(-1px); }

.button--secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button--secondary:hover { color: var(--ink); background: var(--paper-deep); border-color: #cfc6b3; }

.microcopy { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.section { padding: 78px 0; }
.section--white { border-block: 1px solid var(--line); background: var(--card-soft); }
.section--navy { color: rgba(255, 255, 255, .76); background: var(--ink); }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--white); }
.section--navy p, .section--navy li { color: rgba(255, 255, 255, .72); }

.section-title {
  max-width: 820px;
  margin: 0 0 27px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.048em;
}

.section-intro { max-width: 760px; margin: -10px 0 30px; color: var(--muted); }

.offer-grid, .two-col { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; }

.card {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.price {
  margin-bottom: 24px;
  color: var(--purple);
  font-size: 50px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.052em;
}

.price small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; }

.check-list, .plain-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 27px; border-top: 1px solid var(--line); color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 600; }
.plain-list li { margin: 10px 0; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.service-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover { transform: translateY(-2px); box-shadow: 0 28px 62px rgba(48, 37, 10, .1); }
.service-card h2 { margin: 12px 0; font-size: 30px; line-height: 1.16; letter-spacing: -.035em; }
.service-card p { color: var(--muted); }
.service-card .card-actions { margin-top: auto; padding-top: 11px; }

.pill {
  align-self: flex-start;
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid #d7c9ee;
  border-radius: 999px;
  color: var(--purple);
  background: var(--soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }

.sample-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(48, 37, 10, .05);
}

.sample-card a { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 11px; background: var(--card-soft); }
.sample-card img { width: 100%; height: 100%; object-fit: contain; }
.sample-caption { padding: 16px 17px 18px; }
.sample-caption strong { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 600; }
.sample-caption span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.notice { margin-top: 22px; padding: 18px 20px; border: 1px solid #dec38b; border-radius: 12px; color: var(--amber); background: var(--amber-soft); }

.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.trust-item { padding-top: 19px; border-top: 2px solid #b797f4; }
.trust-item h3 { margin: 0 0 8px; font-size: 20px; }
.trust-item p { margin: 0; }

.legal-card { padding: 25px; border: 1px solid #d7c9ee; border-radius: 14px; background: var(--soft); }
.legal-card strong { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 600; }
.legal-card p { margin: 8px 0; color: var(--muted); }

.content { max-width: 800px; }
.content h2 { margin: 45px 0 13px; font-size: 29px; line-height: 1.2; letter-spacing: -.035em; }
.content h2:first-child { margin-top: 0; }
.content p, .content li { color: var(--muted); }
.content li { margin-bottom: 8px; }

.site-footer { padding: 30px 0 40px; color: var(--muted); font-size: 11px; }
.footer-inner { display: flex; justify-content: space-between; gap: 22px; padding-top: 23px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--purple); }

:focus-visible { outline: 3px solid rgba(69, 22, 161, .34); outline-offset: 3px; }

@media (max-width: 820px) {
  .hero { padding-top: 66px; }
  .offer-grid, .two-col, .service-grid, .sample-grid, .trust-grid { grid-template-columns: 1fr; }
  .sample-card a { aspect-ratio: 16 / 9; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .site-nav, .footer-inner { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: center; min-height: 88px; gap: 5px; }
  .site-context { padding-left: 41px; text-align: left; font-size: 10px; }
  .hero { padding: 55px 0 48px; }
  h1, .hero--compact h1 { font-size: 44px; }
  .lede { font-size: 17px; }
  .section { padding: 58px 0; }
  .card, .service-card { padding: 22px; }
  .price { font-size: 43px; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
