﻿:root {
  --bg: #f3eee6;
  --paper: #fffaf2;
  --ink: #1f1b17;
  --muted: #6d645a;
  --line: rgba(31, 27, 23, 0.12);
  --accent: #b85c38;
  --accent-deep: #8c3c1f;
  --accent-soft: #ead8c8;
  --accent-glow: rgba(184, 92, 56, 0.14);
  --shadow: 0 20px 60px rgba(37, 24, 13, 0.08);
  --shadow-hover: 0 28px 70px rgba(37, 24, 13, 0.14);
  --radius: 24px;
  --wrap: 1180px;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('./fonts/manrope-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('./fonts/noto-serif-sc-subset.woff2') format('woff2');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(184,92,56,0.13), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.45), transparent 22%),
    linear-gradient(180deg, #f7f1e8 0%, #f1e9de 100%);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 920px); margin: 0 auto; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 232, 0.78);
  border-bottom: 1px solid rgba(31, 27, 23, 0.06);
}
.nav {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em;
}
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-weight: 600; position: relative; padding-bottom: 2px; }
nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
nav a:hover, nav a.is-active { color: var(--ink); }
nav a:hover::after, nav a.is-active::after { transform: scaleX(1); }

.hero, .page-hero { padding: 96px 0 48px; }
.hero-grid {
  display: grid; gap: 36px; grid-template-columns: 1.38fr 0.82fr; align-items: end;
}
.page-hero { text-align: center; position: relative; }
.page-hero::after {
  content: ''; position: absolute; inset: auto 50% -24px; width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140,60,31,0.45), transparent);
  transform: translateX(-50%);
}
.eyebrow {
  margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; color: var(--accent-deep); font-weight: 800;
}
h1, h2, h3, summary, .lead, .card p, li {
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1, h2 {
  margin: 0; font-family: 'Noto Serif SC', serif; line-height: 1.14; text-wrap: balance;
}
h1 {
  font-size: clamp(2.7rem, 5.2vw, 5.3rem);
  max-width: 10em;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(1.95rem, 3.1vw, 3.15rem);
  max-width: 19ch;
  letter-spacing: -0.01em;
}
h3 { margin-top: 0; font-size: 1.15rem; line-height: 1.38; text-wrap: balance; }
.lead {
  margin: 24px 0 0; max-width: 54rem; font-size: 1.12rem; line-height: 1.95; color: var(--muted); text-wrap: pretty;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-metrics {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px;
}
.hero-metrics div {
  min-width: 148px; padding: 14px 16px; border: 1px solid rgba(31,27,23,0.08);
  border-radius: 18px; background: rgba(255,255,255,0.58); transition: 180ms ease;
}
.hero-metrics div:hover { transform: translateY(-2px); background: rgba(255,255,255,0.86); }
.hero-metrics strong { display: block; font-size: 1.1rem; }
.hero-metrics span { color: var(--muted); font-size: 0.92rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 24px; border-radius: 999px; font-weight: 800; transition: 180ms ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 16px 40px rgba(184,92,56,0.28); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,0.58); }
.btn-secondary:hover { background: rgba(255,255,255,0.92); }

.hero-card, .card {
  background: rgba(255,250,242,0.86);
  border: 1px solid rgba(31, 27, 23, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.hero-card::before, .emphasis-box::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(184,92,56,0.15));
}
.card-tag {
  display: inline-block; padding: 8px 12px; background: var(--accent-soft); border-radius: 999px;
  color: var(--accent-deep); font-weight: 800; font-size: 0.8rem; margin-bottom: 12px;
}
.hero-card ul, .list-box ul, .contact-card ul, .product-card ul, .pricing-card ul, .card ul {
  padding-left: 18px; line-height: 1.9; color: var(--muted);
}
.price { font-size: 1.15rem; font-weight: 800; color: var(--accent-deep); margin: 18px 0 0; }
.big-price { font-size: 2rem; font-weight: 800; color: var(--accent-deep); margin: 12px 0 8px; }

.section { padding: 64px 0; position: relative; }
.section-head {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-intro-band { padding-top: 10px; padding-bottom: 6px; }
.statement-band {
  border: 1px solid rgba(31,27,23,0.08);
  border-radius: 28px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(255,250,242,0.9), rgba(255,255,255,0.7));
  box-shadow: var(--shadow);
}
.statement-band p {
  margin: 0;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.7;
  color: #3c3028;
  text-wrap: pretty;
}
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184,92,56,0.18);
}
.card p { color: var(--muted); line-height: 1.92; margin-bottom: 0; text-wrap: pretty; }
.tone-soft {
  background:
    linear-gradient(180deg, rgba(255,250,242,0.38), rgba(255,250,242,0.58));
}
.steps {
  display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr);
}
.step {
  padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,0.72); border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184,92,56,0.18);
}
.step span {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 18px;
}
.split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 28px; align-items: center; }
.split.align-top { align-items: start; }
.split > div { min-width: 0; }
.feature-split > div:first-child { padding-right: 8px; }
.feature-split > div:first-child h2 { max-width: none; }
.list-box {
  padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,0.76); border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.emphasis-box { position: relative; overflow: hidden; }
.timeline { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.timeline-item {
  padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.76); border: 1px solid var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184,92,56,0.18);
}
.timeline-item strong {
  color: var(--accent-deep);
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.pricing-shell { padding-top: 8px; }
.pricing-card { position: relative; }
.featured-price {
  border-color: rgba(184,92,56,0.35);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255,250,242,0.95), rgba(255,244,235,0.95));
}
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid rgba(31,27,23,0.08); border-radius: 18px; background: rgba(255,255,255,0.74); padding: 0 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.faq-item[open] {
  border-color: rgba(184,92,56,0.22);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 12px 30px rgba(37,24,13,0.05);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; font-weight: 800; position: relative;
}
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--accent-deep); font-size: 1.2rem; font-weight: 700;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 18px; color: var(--muted); line-height: 1.88; text-wrap: pretty; }
.cta-block { padding-bottom: 84px; }
.cta-inner {
  border-radius: calc(var(--radius) + 6px); padding: 34px; background: linear-gradient(135deg, #241912 0%, #5b2c19 100%);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: 0 24px 60px rgba(37,24,13,0.24);
}
.cta-inner .eyebrow { color: #f3c9b2; }
.product-card.featured { border-color: rgba(184,92,56,0.35); }
.product-card ul { margin-bottom: 0; }
.compact .card { padding: 22px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.not-found-shell {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 24px 0 72px;
}
.not-found-card {
  width: min(100%, 860px);
  padding: 38px;
  position: relative;
  overflow: hidden;
}
.not-found-card::after {
  content: '404';
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: clamp(4.6rem, 13vw, 9rem);
  line-height: 1;
  font-weight: 800;
  color: rgba(184,92,56,0.09);
  pointer-events: none;
}
.not-found-card h1 {
  max-width: 8ch;
}
.not-found-card p {
  max-width: 46rem;
}
.not-found-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.not-found-links {
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}
.not-found-links a {
  color: var(--accent-deep);
}
.contact-card p { color: var(--muted); }
.company-line {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}
label { display: grid; gap: 8px; font-weight: 700; }
input, textarea {
  width: 100%; border: 1px solid rgba(31,27,23,0.12); background: rgba(255,255,255,0.94); border-radius: 16px;
  padding: 14px 16px; font: inherit; color: var(--ink); transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
input:hover, textarea:hover { background: rgba(255,255,255,0.98); }
input:focus, textarea:focus { outline: 2px solid rgba(184,92,56,0.25); border-color: rgba(184,92,56,0.45); }
.form-tip, .result { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.site-footer { padding: 24px 0 38px; border-top: 1px solid rgba(31,27,23,0.08); margin-top: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.95rem; flex-wrap: wrap; }
.qr-card {
  display: grid;
  gap: 18px;
  align-content: start;
}
.qr-card-main {
  justify-items: start;
}
.qr-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 22px;
  align-items: center;
  width: 100%;
}
.qr-image-wrap {
  width: min(100%, 280px);
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid rgba(31, 27, 23, 0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,235,226,0.9));
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}
.qr-info {
  display: grid;
  gap: 16px;
}
.qr-note {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.8;
}
.qr-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}
.qr-meta {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}
.qr-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.content-list-grid,
.latest-content-grid {
  align-items: stretch;
}
.content-card {
  display: grid;
  gap: 14px;
  align-content: start;
}
.content-card-header,
.content-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.content-date {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.content-pills,
.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.content-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(184,92,56,0.1);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
}
.content-link {
  font-weight: 800;
}
.content-section-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.empty-state {
  min-height: 220px;
  place-content: center;
}
.article-hero h1 {
  max-width: 12ch;
}
.article-meta {
  margin-top: 24px;
  justify-content: center;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: start;
}
.article-panel {
  padding: 30px;
}
.article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}
.article-side-group {
  display: grid;
  gap: 6px;
}
.article-side-group p {
  margin: 0;
}
.article-links {
  display: grid;
  gap: 12px;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose li,
.prose blockquote {
  color: var(--muted);
  line-height: 1.92;
  text-wrap: pretty;
}
.prose h1,
.prose h2,
.prose h3 {
  max-width: none;
  margin-top: 1.6em;
  margin-bottom: 0.7em;
}
.prose ul,
.prose ol {
  padding-left: 1.5rem;
}
.prose blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid rgba(184,92,56,0.35);
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
}
.prose code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(31,27,23,0.06);
  font-size: 0.92em;
}
.prose pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 18px;
  background: #211711;
  color: #fff7f2;
}
.prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}
.inline-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: rgba(184,92,56,0.35);
  text-underline-offset: 0.18em;
}
.inline-link:hover {
  text-decoration-color: rgba(184,92,56,0.75);
}
.reveal { opacity: 0; transform: translateY(24px); transition: 500ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(31,27,23,0.12);
  border-radius: 50%;
  background: rgba(255,250,242,0.92);
  color: var(--accent-deep);
  box-shadow: 0 18px 40px rgba(37,24,13,0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 180ms ease, border-color 180ms ease;
  z-index: 30;
}
.back-to-top:hover {
  background: rgba(255,255,255,0.98);
  border-color: rgba(184,92,56,0.28);
  transform: translateY(-2px);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:focus-visible {
  outline: 2px solid rgba(184,92,56,0.35);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .cards.four, .steps, .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid, .cards.three, .cards.two, .split, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .cta-inner, .footer-inner, .nav { flex-direction: column; align-items: flex-start; }
  nav { gap: 18px; flex-wrap: wrap; }
  h2 { max-width: none; }
  .feature-split > div:first-child { padding-right: 0; }
  .article-aside { position: static; }
}

@media (max-width: 680px) {
  .cards.four, .steps, .timeline { grid-template-columns: 1fr; }
  .hero, .page-hero { padding-top: 82px; }
  .section { padding: 52px 0; }
  .hero-card, .card, .timeline-item, .step, .list-box, .statement-band { padding-left: 22px; padding-right: 22px; }
  .not-found-card { padding: 28px 22px; }
  .back-to-top {
    right: 16px;
    bottom: 84px;
    width: 48px;
    height: 48px;
  }
  .qr-layout { grid-template-columns: 1fr; }
}
