:root {
  --m-paper: #fbf7f0;
  --m-card: #ffffff;
  --m-ink: #191714;
  --m-muted: #5c564e;
  --m-line: #e6ded1;
  --m-accent: #c2410c;
  --m-accent-hover: #9a3412;
  --m-accent-soft: #fde9dc;
  --m-green: #1f5f4a;
  --m-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --m-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --m-h1: clamp(2.25rem, 1.4rem + 4.2vw, 4.5rem);
  --m-h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --m-h3: 1.25rem;
  --m-text: 1.0625rem;
  --m-small: 0.9375rem;
  --m-radius: 14px;
  --m-shadow: 0 1px 2px rgb(25 23 20 / 0.06), 0 8px 28px rgb(25 23 20 / 0.08);
  --m-max: 72rem;
  --m-gap: clamp(1rem, 0.6rem + 2vw, 2rem);
  --m-section: clamp(3.5rem, 2rem + 6vw, 7rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--m-paper); color: var(--m-ink); font: var(--m-text)/1.6 var(--m-body); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--m-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: var(--m-h1); }
h2 { font-size: var(--m-h2); }
h3 { font-size: var(--m-h3); }
p { margin: 0 0 1em; max-width: 65ch; }
a { color: var(--m-green); }
a:focus-visible, summary:focus-visible, .m-btn:focus-visible { outline: 3px solid var(--m-accent); outline-offset: 3px; }
.m-skip { position: absolute; left: -999px; top: 0; background: var(--m-ink); color: var(--m-paper); padding: 0.75rem 1rem; z-index: 10; }
.m-skip:focus { left: 0; }
.m-wrap { max-width: var(--m-max); margin: 0 auto; padding: 0 var(--m-gap); }
.m-center { text-align: center; }
.m-center p { margin-left: auto; margin-right: auto; }
.m-muted { color: var(--m-muted); font-size: var(--m-small); }
.m-section { padding: var(--m-section) 0; }
.m-band { background: var(--m-accent-soft); }

/* Buttons */
.m-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.75rem; border-radius: 999px;
  background: var(--m-accent); color: #fff; font: 600 1rem/1 var(--m-body); text-decoration: none; border: 2px solid var(--m-accent); cursor: pointer; }
.m-btn:hover { background: var(--m-accent-hover); border-color: var(--m-accent-hover); }
.m-btn.m-second { background: transparent; color: var(--m-ink); border-color: var(--m-ink); }
.m-btn.m-second:hover { background: var(--m-ink); color: var(--m-paper); }
.m-btn.m-small { min-height: 40px; padding: 0 1.125rem; font-size: var(--m-small); }
.m-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.m-center .m-actions { justify-content: center; }

/* The price tag: the brand idea */
.m-tag { position: relative; display: inline-block; background: var(--m-accent); color: #fff; font: 700 1.5rem/1 var(--m-display);
  padding: 0.7rem 1.25rem 0.7rem 2.1rem; clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%); white-space: nowrap; }
.m-tag::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--m-paper); }
.m-tag.m-big { font-size: 2.5rem; }
.m-tag small { font: 500 0.9rem/1 var(--m-body); opacity: 0.9; margin-left: 0.25rem; }

/* Header and footer */
.m-head { background: var(--m-paper); border-bottom: 1px solid var(--m-line); }
.m-head .m-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.m-mark { font: 700 1.375rem/1 var(--m-display); color: var(--m-ink); text-decoration: none; }
.m-nav { display: none; align-items: center; gap: 1.5rem; }
.m-nav a:not(.m-btn) { color: var(--m-ink); text-decoration: none; font-weight: 500; }
.m-nav a:not(.m-btn):hover { text-decoration: underline; }
.m-right { display: flex; align-items: center; gap: 0.75rem; }
.m-menu { position: relative; }
.m-menu summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: 0 0.75rem; font-weight: 600; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu nav { position: absolute; right: 0; top: 100%; width: min(18rem, 92vw); background: var(--m-card); border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); z-index: 5; }
.m-menu nav a { display: flex; align-items: center; min-height: 56px; padding: 0 1.25rem; color: var(--m-ink); text-decoration: none; font-weight: 500; }
.m-menu nav a + a { border-top: 1px solid var(--m-line); }
.m-foot { background: var(--m-ink); color: var(--m-paper); padding: 3rem 0; font-size: var(--m-small); }
.m-foot a { color: var(--m-paper); }
.m-foot p { margin: 0 0 0.75rem; }
.m-foot ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.m-foot strong { font: 700 1.25rem/1.2 var(--m-display); }

/* Hero */
.m-hero { padding: clamp(2rem, 1rem + 5vw, 5rem) 0; }
.m-hero .m-wrap { display: grid; gap: 2rem; }
.m-shots { position: relative; padding-top: 1.5rem; }
.m-shots .m-desk { display: none; border-radius: var(--m-radius); box-shadow: var(--m-shadow); }
.m-shots .m-phone { width: 45%; margin: 0 auto; border-radius: 1.5rem; box-shadow: var(--m-shadow); }
.m-shots .m-tag { position: absolute; top: 0; left: 0; transform: rotate(-4deg); }

/* Steps, cards, grids */
.m-steps, .m-cards, .m-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: var(--m-gap); }
.m-step { background: var(--m-card); border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 1.5rem; }
.m-step b { display: block; font: 700 3rem/1 var(--m-display); color: var(--m-accent); margin-bottom: 0.5rem; }
.m-card { background: var(--m-card); border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 1.5rem; }
.m-card p { margin-bottom: 0; }
.m-ico { width: 2rem; height: 2rem; margin-bottom: 0.75rem; fill: none; stroke: var(--m-green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Template cards */
.m-tcard { display: block; color: inherit; text-decoration: none; }
.m-tcard img { width: 100%; border-radius: var(--m-radius); box-shadow: var(--m-shadow); transition: transform 0.15s ease; }
.m-tcard:hover img { transform: translateY(-2px); }
.m-tcard h3 { margin: 1rem 0 0.25rem; }
.m-tcard p { margin: 0 0 0.25rem; }
.m-scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--m-gap); list-style: none; margin: 2rem 0 0; padding: 0 0 1rem; }
.m-scroll > li { flex: 0 0 80%; scroll-snap-align: start; }
.m-chips { display: flex; gap: 0.5rem; overflow-x: auto; list-style: none; margin: 1.5rem 0; padding: 0 0 0.5rem; align-items: center; }
.m-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.125rem; border: 1px solid var(--m-line); border-radius: 999px; background: var(--m-card); color: var(--m-ink); text-decoration: none; white-space: nowrap; }
.m-chips a[aria-current="page"] { background: var(--m-ink); color: var(--m-paper); border-color: var(--m-ink); }
.m-chips .m-count { margin-left: auto; white-space: nowrap; }

/* Pricing */
.m-price { display: grid; gap: var(--m-gap); margin: 2rem 0 1rem; }
.m-plan { background: var(--m-card); border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 2rem; }
.m-plan.m-main { border: 3px solid var(--m-accent); }
.m-plan h2 { font-size: 1.75rem; }
.m-badge { display: inline-block; background: var(--m-ink); color: var(--m-paper); border-radius: 999px; padding: 0.15rem 0.75rem; font-size: var(--m-small); font-weight: 600; margin-left: 0.5rem; vertical-align: middle; }
.m-checks { list-style: none; margin: 1.25rem 0; padding: 0; }
.m-checks li { position: relative; padding: 0.35rem 0 0.35rem 1.75rem; }
.m-checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--m-green); font-weight: 700; }

/* FAQ */
.m-faq details { border-bottom: 1px solid var(--m-line); padding: 0.25rem 0; }
.m-faq summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; list-style: none; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; color: var(--m-accent); }
.m-faq details[open] summary::after { content: "\2212"; }
.m-faq p { margin-top: 0.25rem; }

/* One template */
.m-back { display: inline-block; margin-bottom: 1.5rem; }
.m-view { display: grid; gap: var(--m-gap); margin: 2rem 0; align-items: start; }
.m-view img { border-radius: var(--m-radius); box-shadow: var(--m-shadow); }
.m-view .m-phone { max-width: 14rem; }
.m-list { padding-left: 1.25rem; }

@media (min-width: 40rem) {
  .m-nav { display: flex; }
  .m-menu, .m-head .m-btn.m-small { display: none; }
  .m-grid { grid-template-columns: repeat(2, 1fr); }
  .m-cards { grid-template-columns: repeat(2, 1fr); }
  .m-steps { grid-template-columns: repeat(3, 1fr); }
  .m-price { grid-template-columns: repeat(2, 1fr); }
  .m-shots .m-desk { display: block; }
  .m-shots .m-phone { position: absolute; right: -1rem; bottom: -1.5rem; width: 24%; margin: 0; }
  .m-scroll { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .m-scroll > li { flex: none; }
  .m-view { grid-template-columns: 3fr 1fr; }
}
@media (min-width: 64rem) {
  .m-hero .m-wrap { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .m-grid, .m-cards { grid-template-columns: repeat(3, 1fr); }
  .m-scroll { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .m-tcard img { transition: none; }
  .m-tcard:hover img { transform: none; }
}
