:root {
  --ink: #18201c;
  --muted: #66736c;
  --paper: #fbf8f1;
  --paper-deep: #efe7da;
  --sage: #6f8477;
  --clay: #b4654a;
  --moss: #26362f;
  --line: rgba(38, 54, 47, 0.14);
  --panel: rgba(255, 252, 246, 0.78);
  --shadow: 0 24px 70px rgba(66, 52, 38, 0.13);
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Trebuchet MS",
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 12%, rgba(180, 101, 74, 0.16), transparent 24rem),
    radial-gradient(circle at 8% 36%, rgba(111, 132, 119, 0.17), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 52%, #f5efe5 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(38, 54, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 54, 47, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.cursor-comet {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.cursor-comet.is-visible {
  opacity: 1;
}

.cursor-comet__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(104, 211, 255, 0.82);
  box-shadow:
    0 0 27px rgba(104, 211, 255, 0.72),
    0 0 72px rgba(76, 178, 255, 0.44);
  transform: translate3d(-40px, -40px, 0);
  will-change: transform, opacity;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-comet {
    display: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--moss);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 28px 54px 30px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.72);
  box-shadow: 0 18px 50px rgba(66, 52, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(38, 54, 47, 0.18));
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 5px;
}

.brand-text small {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  color: #3e4a44;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.text-link {
  position: relative;
}

.main-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.header-action {
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: var(--moss);
  box-shadow: 0 14px 34px rgba(38, 54, 47, 0.22);
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-action:active,
.button:active,
.messenger:active {
  transform: translateY(1px) scale(0.99);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(180, 101, 74, 0.35);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: 650px;
  padding: 74px 8px 60px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.6vw, 84px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #44514a;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 34px;
}

.button {
  min-height: 56px;
  padding: 0 25px;
  font-size: 14px;
}

.button-primary {
  color: #fff;
  background: var(--clay);
  box-shadow: 0 18px 42px rgba(180, 101, 74, 0.24);
}

.button-primary:hover {
  background: #9f563e;
}

.text-link {
  color: var(--moss);
  font-size: 14px;
  font-weight: 900;
}

.hero-card {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero-media,
.hero-media picture {
  display: grid;
  place-items: center;
}

.hero-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 26px;
  background: transparent;
}

.hero-media picture {
  width: 100%;
  height: 100%;
}

.hero-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: saturate(0.72) sepia(0.14) contrast(1.04);
  mix-blend-mode: multiply;
  transition: transform 0.7s ease;
}

.hero-card:hover img {
  transform: scale(1.035);
}

.hero-card-copy {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 20px 46px rgba(66, 52, 38, 0.13);
  backdrop-filter: blur(16px);
}

.hero-card-copy span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card-copy strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-card-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.65);
  box-shadow: var(--shadow);
}

.proof-row div {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
}

.proof-row div + div {
  border-left: 1px solid var(--line);
}

.proof-row strong {
  color: var(--moss);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

.proof-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 94px 8px 34px;
}

.section-heading {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  justify-items: start;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.faq-column h2,
.contact-column h2,
.about-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

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

.service-card {
  display: grid;
  min-height: 300px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 252, 246, 0.76);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    color 0.24s ease,
    box-shadow 0.24s ease;
}

.service-card.large,
.service-card.tall {
  background: rgba(255, 252, 246, 0.76);
  color: var(--ink);
}

.service-card:hover {
  transform: translateY(-5px);
  background: #fffdf8;
}

.service-card.is-active,
.service-card.is-active:hover {
  color: #fff;
  background: var(--moss);
  box-shadow: 0 30px 90px rgba(38, 54, 47, 0.24);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--clay);
  border: 1px solid currentColor;
  border-radius: 14px;
}

.service-card.is-active .card-icon {
  color: #edc4a6;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.12;
  text-wrap: balance;
}

.service-card p {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.58;
}

.service-card.is-active p {
  color: rgba(255, 255, 255, 0.76);
}

.service-card a {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
}

.service-card.is-active a {
  color: #edc4a6;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 6vw, 86px);
  padding: 96px 8px 40px;
}

.about-copy p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #44514a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.proof-stack {
  display: grid;
  align-content: center;
  gap: 18px;
}

.stats-panel,
blockquote,
.reason-strip,
.portfolio-frame,
.faq-list,
.contact-panel,
.messenger {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.stats-panel div {
  display: grid;
  gap: 8px;
  padding: 26px;
}

.stats-panel div + div {
  border-left: 1px solid var(--line);
}

.stats-panel strong {
  color: var(--clay);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stats-panel span {
  color: #34443c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

blockquote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin: 0;
  padding: 28px;
}

blockquote svg {
  width: 34px;
  height: 34px;
  color: var(--clay);
  fill: currentColor;
  stroke: none;
}

blockquote p {
  margin: 0;
  color: #26362f;
  font-size: 23px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.34;
}

.portfolio-section {
  padding: 88px 8px 30px;
}

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

.portfolio-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.82), rgba(229, 216, 200, 0.52)),
    repeating-linear-gradient(
      135deg,
      rgba(38, 54, 47, 0.06) 0,
      rgba(38, 54, 47, 0.06) 1px,
      transparent 1px,
      transparent 14px
    );
  text-align: center;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.portfolio-frame::before,
.portfolio-frame::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.portfolio-frame::before {
  inset: 18px;
  border: 1px dashed rgba(38, 54, 47, 0.18);
  border-radius: 16px;
}

.portfolio-frame::after {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(180, 101, 74, 0.12);
  filter: blur(18px);
}

.portfolio-frame:hover {
  transform: translateY(-4px);
  background: #fffdf8;
  box-shadow: 0 30px 80px rgba(66, 52, 38, 0.18);
}

.portfolio-frame--media {
  isolation: isolate;
  background: #26362f;
  color: #fffdf8;
}

.portfolio-frame--media video,
.portfolio-frame--image img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(0.94) contrast(1.04);
}

.portfolio-frame--media::before {
  z-index: -1;
  inset: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 15, 0.16), rgba(11, 17, 15, 0.56)),
    radial-gradient(circle at 50% 52%, rgba(255, 252, 246, 0.1), rgba(11, 17, 15, 0.44) 62%);
}

.portfolio-frame--media::after {
  z-index: -1;
  inset: 18px;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 252, 246, 0.36);
  border-radius: 16px;
  background: none;
  filter: none;
}

.portfolio-frame--media:hover {
  background: #26362f;
}

.portfolio-frame--ai-product {
  background: #17211f;
}

.portfolio-frame--ai-product::before {
  z-index: -3;
  inset: -26px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 15, 0.18), rgba(12, 16, 15, 0.48)),
    url("https://ainweb-ai-product.vercel.app/assets/video_poster.jpg?v=2") center / cover no-repeat;
  filter: blur(18px) saturate(1.05) contrast(1.04);
  transform: scale(1.72);
}

.portfolio-frame--ai-product video {
  top: 50%;
  bottom: auto;
  height: 58%;
  object-fit: cover;
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.portfolio-frame--ai-product::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 12, 0.12), rgba(8, 12, 12, 0.5)),
    radial-gradient(circle at 50% 50%, rgba(255, 252, 246, 0.04), rgba(8, 12, 12, 0.42) 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 246, 0.34);
}

.portfolio-frame span,
.portfolio-frame strong,
.case-label,
.case-label small {
  position: relative;
  z-index: 1;
}

.portfolio-frame span {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.case-label {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: min(82%, 280px);
  text-align: center;
}

.portfolio-frame strong {
  max-width: 190px;
  color: rgba(38, 54, 47, 0.58);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.case-label small {
  display: inline-flex;
  justify-content: center;
  max-width: 240px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 252, 246, 0.18);
  border-radius: 999px;
  color: rgba(255, 252, 246, 0.86);
  background: rgba(11, 17, 15, 0.32);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.portfolio-frame--media span {
  color: #fffdf8;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.portfolio-frame--media strong {
  max-width: 240px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 252, 246, 0.24);
  border-radius: 999px;
  background: rgba(11, 17, 15, 0.42);
  color: #fffdf8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.pain-section {
  padding-top: 76px;
}

.reason-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.reason-strip div {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.reason-strip div + div {
  border-left: 1px solid var(--line);
}

.reason-strip strong {
  color: var(--moss);
  font-size: 20px;
}

.reason-strip span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-grid article {
  min-height: 220px;
  padding: 26px;
  border-top: 3px solid var(--clay);
  background: rgba(255, 252, 246, 0.52);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  color: #fff;
  border-radius: 12px;
  background: var(--moss);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.process-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.52;
}

.faq-section {
  padding: 96px 8px 38px;
}

.faq-column {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-section {
  padding: 54px 8px 64px;
}

.faq-column h2,
.contact-column h2 {
  margin-bottom: 24px;
}

.contact-column {
  display: grid;
}

.faq-list {
  overflow: hidden;
}

details + details {
  border-top: 1px solid var(--line);
}

summary {
  position: relative;
  min-height: 66px;
  padding: 22px 58px 18px 22px;
  cursor: pointer;
  color: var(--moss);
  font-size: 16px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  right: 22px;
  top: 50%;
  content: "+";
  color: var(--clay);
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -4px 22px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  padding: 30px;
  border-radius: 24px;
  background: var(--moss);
  color: #fff;
}

.contact-intro {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 100%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.06);
}

.contact-intro > p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.58;
}

.contact-actions {
  display: contents;
}

.messenger-list {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
}

.messenger {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 18px;
  color: var(--ink);
  background: #fffaf1;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.messenger:hover {
  transform: translateY(-3px);
  background: #fff3df;
}

.messenger-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  border-radius: 16px;
  background: var(--clay);
}

.messenger-icon.max {
  font-size: 14px;
  font-weight: 900;
}

.messenger strong,
.messenger small {
  display: block;
}

.messenger strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.messenger small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.messenger .arrow {
  color: var(--clay);
}

.email-form {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.08);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  font-size: 14px;
  font-weight: 700;
}

input {
  min-height: 46px;
  padding: 0 14px;
}

textarea {
  min-height: 116px;
  resize: vertical;
  padding: 13px 14px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

input:focus,
textarea:focus {
  border-color: rgba(237, 196, 166, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.button-mail {
  width: 100%;
  min-height: 50px;
  color: var(--moss);
  background: #edc4a6;
}

.button-mail:hover {
  background: #f5d1b8;
}

.button-mail:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.form-note {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.form-note.is-success {
  color: #f3d2b7;
}

.form-note.is-error {
  color: #ffd0c7;
}

.form-note a,
.site-footer p a {
  color: #edc4a6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list li::before {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--moss);
  content: "";
  border-radius: 8px;
  background: #edc4a6;
  box-shadow: inset 0 0 0 7px #edc4a6;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.footer-brand .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-brand .brand-text strong {
  font-size: 22px;
}

.footer-brand .brand-text small {
  font-size: 10px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 12px;
  background: var(--moss);
  font-size: 12px;
  font-weight: 900;
}

.document-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px 52px;
}

.document-header {
  display: grid;
  gap: 18px;
  padding: 28px 0 34px;
}

.document-back {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: var(--clay);
  font-size: 14px;
  font-weight: 900;
}

.document-header h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.document-card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.82);
  box-shadow: var(--shadow);
}

.document-card section {
  display: grid;
  gap: 12px;
}

.document-card h2 {
  margin: 0;
  color: var(--moss);
  font-size: 22px;
  line-height: 1.2;
}

.document-card p,
.document-card li {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.68;
}

.document-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
}

.document-card a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.privacy-phone img {
  display: inline-block;
  width: 174px;
  height: auto;
  vertical-align: middle;
}

@media (max-width: 1120px) {
  .page-shell {
    padding-inline: 30px;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: unset;
    padding-top: 54px;
  }

  .hero-card {
    max-width: 640px;
  }

  .hero-media {
    min-height: 360px;
  }

  .service-grid,
  .portfolio-grid,
  .proof-row,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card.tall {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 18px 16px 24px;
  }

  .site-header {
    position: sticky;
    top: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text strong {
    font-size: 19px;
    letter-spacing: 3px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 2px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 4px;
    font-size: 12px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-action {
    justify-self: end;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-media {
    min-height: 260px;
  }

  .hero-card-copy {
    padding: 18px;
  }

  .proof-row,
  .service-grid,
  .service-card.large,
  .service-card.tall,
  .portfolio-grid,
  .stats-panel,
  .reason-strip,
  .process-grid {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .case-label {
    max-width: 86%;
  }

  .case-label small {
    font-size: 11px;
  }

  .proof-row div + div,
  .stats-panel div + div,
  .reason-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card,
  .process-grid article {
    min-height: unset;
  }

  blockquote {
    grid-template-columns: 1fr;
  }

  .messenger {
    grid-template-columns: auto 1fr;
  }

  .messenger .arrow {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}
