:root {
  --brand: #a9432d;
  --brand-dark: #8c3525;
  --ink: #30231f;
  --paper: #f7f4ef;
  --cream: #fbf9f6;
  --soft: #eee7e0;
  --muted: #746961;
  --line: #e4dbd3;
  --green: #55745e;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.site { min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .shell { padding-left: 28px; padding-right: 28px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .68rem;
  border-radius: 999px;
  border: 1px solid #efd5ca;
  background: #fbefe9;
  color: var(--brand);
  font-size: .78rem;
  line-height: 1;
  font-weight: 780;
  letter-spacing: .02em;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 12px;
  padding: .82rem 1.08rem;
  font-weight: 760;
  font-size: .94rem;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: #d6c5ba; transform: translateY(-1px); }
.btn-primary:disabled { opacity: .65; cursor: wait; transform: none; }

.nav-link {
  font-size: .9rem;
  font-weight: 650;
  color: #635852;
  transition: color .15s ease;
}
.nav-link:hover,
.nav-link-active { color: var(--brand); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .45rem .68rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5f554f;
  font-size: .78rem;
  font-weight: 680;
  white-space: nowrap;
}

.card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbefe9;
  border: 1px solid #efd8ce;
  color: var(--brand);
}

.phone {
  background: #161210;
  border: 7px solid #161210;
  border-radius: 32px;
  padding: 3px;
  box-shadow: 0 28px 72px rgba(48, 35, 31, .18);
  overflow: hidden;
  width: 255px;
}
.phone.phone-hero { width: 245px; }
@media (min-width: 640px) {
  .phone.phone-hero { width: 280px; }
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 590 / 1280;
  border-radius: 22px;
}

.hero-stage { position: relative; min-height: 600px; isolation: isolate; }
.hero-stage:before {
  content: "";
  position: absolute;
  inset: 52px 0 30px 60px;
  border-radius: 32px;
  background: #eee4dc;
  border: 1px solid #e3d7ce;
  z-index: -2;
}
.hero-stage:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  right: -18px;
  top: 10px;
  background: #f0d6cb;
  z-index: -3;
}

.mini-proof {
  background: #fff;
  border: 1px solid #e3d8d0;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(48, 35, 31, .09);
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-no {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.proof-wrap {
  background: #ece3dc;
  border: 1px solid #dfd4cb;
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.crop-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #ded4cc;
  background: white;
  box-shadow: 0 14px 38px rgba(48, 35, 31, .08);
}
.crop-window { height: 235px; overflow: hidden; background: #fff; }
.crop-window img { width: 100%; height: auto; transform: translateY(-22%); }

.faq-row { border-bottom: 1px solid var(--line); }
.faq-row:last-child { border-bottom: 0; }
.faq-row summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  font-weight: 800;
  font-size: 15px;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary .faq-toggle { display: grid; }
.faq-row summary .faq-minus { display: none; }
.faq-row[open] summary .faq-plus { display: none; }
.faq-row[open] summary .faq-minus { display: grid; }

.soft-grid {
  background-image:
    linear-gradient(#e7dfd8 1px, transparent 1px),
    linear-gradient(90deg, #e7dfd8 1px, transparent 1px);
  background-size: 28px 28px;
}

@media (max-width: 900px) {
  .hero-stage { min-height: 530px; margin-top: 20px; }
  .hero-stage:before { inset: 52px 14px 24px 14px; }
}
@media (max-width: 640px) {
  .hero-stage { min-height: 485px; }
  .hero-stage:before { inset: 48px 4px 20px 4px; border-radius: 24px; }
}

#how, #features, #product, #simple, #faq, #enquiry {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* —— Header (checkbox mobile menu) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e5ddd5;
  background: rgba(247, 244, 239, .95);
  backdrop-filter: blur(14px);
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-mobile { display: none; }
.nav-toggle:checked ~ .nav-mobile { display: block; }

/* —— Enquiry —— */
.enquiry-form label { display: grid; gap: .375rem; font-size: .875rem; font-weight: 700; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  height: 2.75rem;
  border: 1px solid #ded4cc;
  border-radius: 12px;
  padding: 0 .75rem;
  font-weight: 400;
  background: #fff;
  outline: none;
}
.enquiry-form textarea { height: auto; padding: .75rem; resize: none; }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: #bd7c66;
  box-shadow: 0 0 0 2px #f3ddd5;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.enquiry-status { margin: .75rem 0 0; font-size: .88rem; }
.enquiry-status.ok { color: #45624d; }
.enquiry-status.err { color: var(--brand); }

/* —— Inner pages —— */
.page-hero { padding: 2.75rem 0 1.5rem; }
.page-hero h1,
.section-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--ink);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lede { margin: .75rem 0 0; color: var(--muted); max-width: 36rem; font-size: 1.05rem; }
.muted { color: var(--muted); }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a:hover { color: var(--ink); }

/* —— Blog —— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.blog-card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.pill {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: #fbefe9;
  border-radius: 999px;
  padding: .25rem .55rem;
  margin: 0 0 .55rem;
}
.blog-card h2, .blog-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.3; }
.blog-card .excerpt { margin: 0 0 .65rem; color: var(--muted); font-size: .88rem; }
.blog-card .meta { margin: 0; font-size: .78rem; color: var(--muted); }

.post-layout {
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  gap: 2.5rem;
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 1rem); }
.toc p {
  margin: 0 0 .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc a {
  display: block;
  font-size: .86rem;
  color: var(--muted);
  padding: .28rem 0 .28rem .7rem;
  box-shadow: inset 2px 0 0 var(--line);
}
.toc a:hover { color: var(--ink); }
.toc a.is-first {
  color: var(--brand);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--brand);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 1rem 0 0;
  font-size: .88rem;
  color: var(--muted);
}
.post-meta .dot { width: .25rem; height: .25rem; border-radius: 999px; background: #c4bbb3; }
.author-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
}

.prose { color: #5c534e; font-size: 1.02rem; }
.prose :where(h2, h3) {
  color: var(--ink);
  letter-spacing: -.02em;
  scroll-margin-top: calc(var(--header-h) + .8rem);
}
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .7rem; }
.prose h3 { font-size: 1.1rem; margin: 1.4rem 0 .5rem; }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin: .3rem 0; }
.prose blockquote {
  margin: 1.4rem 0;
  background: #fbefe9;
  border-radius: .9rem;
  padding: 1.15rem 1.3rem 1.15rem 1.2rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
}
.prose blockquote::before {
  content: "“";
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: .25rem;
  font-weight: 700;
}
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2rem; font-size: .95rem; }
.prose th, .prose td {
  text-align: left;
  padding: .55rem .7rem;
  box-shadow: inset 0 -1px 0 var(--line);
  vertical-align: top;
}
.prose th { color: var(--ink); font-weight: 600; }
.prose img, .prose figure img {
  max-width: 100%;
  height: auto;
  border-radius: .75rem;
  margin: 0 0 1rem;
}
.prose figure { margin: 0 0 1.2rem; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.75rem 0; }

.share-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 2rem 0;
  font-size: .88rem;
  color: var(--muted);
}
.share-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #efe8e0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  color: #4a4541;
}
.share-btn.copied { color: var(--brand); }

.author-box {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
}
.author-box p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin: 1.5rem 0 2rem;
}
.post-nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 1rem 1.1rem;
  display: block;
}
.post-nav span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: .25rem; }
.post-nav strong { font-size: .95rem; letter-spacing: -.02em; }

.article-legal { max-width: 44rem; padding-bottom: 3rem; }

@media (max-width: 899px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 720px) {
  .blog-grid, .post-nav { grid-template-columns: 1fr; }
}
