:root {
  --bg: #f3fbfa;
  --surface: #ffffff;
  --text: #102426;
  --muted: #607274;
  --line: #dcebea;
  --accent: #0e9f92;
  --accent-dark: #087970;
  --accent-bright: #2bc8b9;
  --accent-soft: #dff7f3;
  --accent-soft-2: #ecfbf8;
  --dark: #0d302f;
  --max: 1180px;
  --side: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--side);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 235, 234, 0.86);
  background: rgba(243, 251, 250, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.logo i {
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
}

.desktop-nav a,
.header-socials a {
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.desktop-nav a {
  color: var(--muted);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--accent);
}

.header-socials {
  display: flex;
  gap: 8px;
}

.header-socials a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.header-socials a:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.header-socials a:hover,
.header-socials a:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 106px) 0 clamp(70px, 8vw, 104px);
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -260px;
  right: -180px;
  width: 610px;
  height: 610px;
  background: radial-gradient(circle, rgba(43, 200, 185, 0.2), rgba(43, 200, 185, 0) 69%);
}

.hero::after {
  bottom: -340px;
  left: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(14, 159, 146, 0.09);
  box-shadow: 0 0 0 64px rgba(14, 159, 146, 0.025), 0 0 0 128px rgba(14, 159, 146, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-areas:
    "name portrait"
    "title portrait"
    "text portrait"
    "actions portrait"
    "facts facts";
  column-gap: clamp(48px, 7vw, 94px);
  align-items: center;
}

.hero-name {
  grid-area: name;
  margin-bottom: 24px;
}

.hero-name p,
.hero-name span {
  display: block;
  margin: 0;
}

.hero-name p {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.hero-name span {
  margin-top: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero-portrait {
  position: relative;
  grid-area: portrait;
  width: 250px;
  height: 274px;
  justify-self: center;
}

.hero-photo {
  position: absolute;
  top: 22px;
  left: 29px;
  width: 192px;
  height: 192px;
  margin: 0;
}

.hero-photo::before,
.hero-photo::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-photo::before {
  z-index: -1;
  inset: -15px 13px 10px -15px;
  background: var(--accent-soft);
}

.hero-photo::after {
  z-index: -2;
  inset: -27px -19px -24px 22px;
  border: 1px solid rgba(14, 159, 146, 0.18);
}

.photo-mask {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 50%;
  background: #d9efec;
  box-shadow: 0 24px 62px rgba(11, 73, 69, 0.17);
}

.photo-mask img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.025);
  transform-origin: center;
}

.portrait-badge,
.portrait-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(14, 159, 146, 0.16);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 34px rgba(11, 73, 69, 0.1);
  backdrop-filter: blur(10px);
}

.portrait-badge {
  right: 2px;
  bottom: 12px;
  display: grid;
  min-width: 118px;
  padding: 10px 14px;
  border-radius: 15px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.portrait-badge strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.portrait-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
}

.chip-one {
  top: 0;
  right: 7px;
}

.chip-two {
  top: 86px;
  left: -2px;
}

.chip-three {
  right: -8px;
  top: 139px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  grid-area: title;
  max-width: 870px;
  margin-bottom: 25px;
  font-size: clamp(47px, 6vw, 79px);
  font-weight: 790;
  line-height: 0.99;
}

.hero-text {
  grid-area: text;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 33px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 780;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 159, 146, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button-dark {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 48, 47, 0.18);
}

.button-dark:hover,
.button-dark:focus-visible {
  border-color: #071e1d;
  background: #071e1d;
}

.hero-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 53px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.hero-facts span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.result-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 17px;
  align-items: center;
  padding: 26px 26px 26px 0;
}

.result-item + .result-item {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.result-item strong,
.result-item span {
  display: block;
}

.result-item strong {
  font-size: 15px;
}

.result-item > div:last-child > span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.mini-window {
  position: relative;
  width: 64px;
  height: 52px;
  overflow: hidden;
  border: 1px solid #cfe7e4;
  border-radius: 12px;
  background: var(--accent-soft-2);
}

.mini-script span,
.mini-page span,
.mini-case span,
.mini-page b {
  position: absolute;
  display: block;
  height: 4px;
  border-radius: 4px;
  background: #9edbd4;
}

.mini-script span:nth-child(1) { top: 12px; left: 10px; width: 29px; }
.mini-script span:nth-child(2) { top: 21px; left: 10px; width: 40px; }
.mini-script span:nth-child(3) { top: 30px; left: 10px; width: 25px; }
.mini-script i {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
}
.mini-script i::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #fff;
  content: "";
}

.mini-page b { top: 9px; left: 9px; width: 25px; height: 7px; background: var(--accent); }
.mini-page span:nth-child(2) { top: 22px; left: 9px; width: 44px; }
.mini-page span:nth-child(3) { top: 31px; left: 9px; width: 34px; }
.mini-page i { position: absolute; right: 9px; bottom: 8px; width: 10px; height: 10px; border-radius: 3px; background: #fff; border: 2px solid var(--accent); }

.mini-case b { position: absolute; top: -2px; left: 9px; color: var(--accent); font: 700 35px/1 Georgia, serif; }
.mini-case span:nth-child(2) { top: 27px; left: 10px; width: 41px; }
.mini-case span:nth-child(3) { top: 36px; left: 10px; width: 27px; }

.section {
  padding: clamp(78px, 9vw, 118px) 0;
}

.section-white {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-head h2,
.case-intro h2,
.about-grid h2,
.contact-card h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 780;
}

.section-head > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(25px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(17, 75, 72, 0.052);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  top: -65px;
  right: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--accent-soft-2);
  content: "";
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #b9ded9;
  box-shadow: 0 20px 46px rgba(17, 75, 72, 0.085);
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid #cae9e5;
  border-radius: 15px;
  background: var(--accent-soft-2);
}

.icon-video span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--accent);
}

.icon-page span {
  width: 22px;
  height: 27px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.icon-page span::before,
.icon-page span::after {
  position: absolute;
  left: 15px;
  width: 15px;
  height: 2px;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.icon-page span::before { top: 19px; }
.icon-page span::after { top: 25px; width: 11px; }

.icon-story span {
  color: var(--accent);
  font: 700 41px/1 Georgia, serif;
  transform: translateY(6px);
}

.service-number {
  position: absolute;
  z-index: 2;
  top: 27px;
  right: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: clamp(25px, 2.2vw, 33px);
}

.service-card > p {
  position: relative;
  z-index: 1;
  min-height: 83px;
  margin: 0 0 24px;
  color: var(--muted);
}

.service-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 20px 0 0 20px;
  border-top: 1px solid var(--line);
}

.service-card li + li {
  margin-top: 7px;
}

.checkup-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: clamp(38px, 7vw, 88px);
  overflow: hidden;
  margin-top: 20px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid #a9dcd6;
  border-radius: 26px;
  background: linear-gradient(135deg, #dcf7f2 0%, #eefbf8 52%, #ffffff 100%);
}

.checkup-card::before {
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(14, 159, 146, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(14, 159, 146, 0.035), 0 0 0 110px rgba(14, 159, 146, 0.025);
  content: "";
}

.checkup-copy,
.checkup-visual {
  position: relative;
  z-index: 1;
}

.checkup-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.checkup-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.checkup-price {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.checkup-copy h3 {
  margin-bottom: 15px;
  font-size: clamp(34px, 4vw, 54px);
}

.checkup-copy > p:not(.checkup-note) {
  max-width: 690px;
  margin: 0;
  color: #466664;
  font-size: 18px;
}

.checkup-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checkup-list li {
  position: relative;
  padding-left: 27px;
}

.checkup-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  content: "✓";
}

.checkup-note {
  margin: 20px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.checkup-visual {
  display: grid;
  align-items: center;
}

.audit-window {
  overflow: hidden;
  border: 1px solid rgba(14, 159, 146, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(17, 75, 72, 0.13);
  transform: rotate(1.4deg);
}

.audit-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.audit-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b6dcd7;
}

.audit-head span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audit-score {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.audit-score > b {
  color: #8eaaa7;
  font-size: 11px;
}

.audit-score strong,
.audit-score span {
  display: block;
}

.audit-score strong {
  margin-bottom: 7px;
  font-size: 13px;
}

.audit-score span {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6f2f0;
}

.audit-score span::after {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-bright);
  content: "";
}

.audit-score:nth-child(3) span::after { width: 44%; }
.audit-score:nth-child(4) span::after { width: 84%; }

.audit-score em {
  padding: 5px 7px;
  border-radius: 7px;
  background: #fff1e8;
  color: #9b603a;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.audit-score em.audit-ok {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.audit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
}

.technical-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 20px;
  padding: 27px 30px;
  border: 1px solid #c8e5e1;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0fbf9, #fbfefd);
}

.technical-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.technical-note strong,
.technical-note p {
  margin: 0;
}

.technical-note strong {
  display: block;
  margin-bottom: 5px;
}

.technical-note p {
  color: var(--muted);
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.82fr);
  gap: clamp(48px, 8vw, 105px);
  padding: clamp(34px, 6vw, 72px);
  border-radius: 30px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 28px 80px rgba(10, 51, 49, 0.17);
}

.eyebrow-light {
  color: #6ee1d6;
}

.case-intro h2 {
  margin-bottom: 22px;
}

.case-intro > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
}

.case-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 750;
  text-decoration: none;
}

.case-link span {
  color: #6ee1d6;
}

.case-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.case-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.case-list article > span {
  color: #6ee1d6;
  font-size: 12px;
  font-weight: 850;
}

.case-list h3 {
  margin-bottom: 8px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.case-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: start;
}

.about-text {
  padding-top: 4px;
}

.about-text > p {
  margin: 0;
  color: #4c6263;
  font-size: 19px;
}

.about-text > p + p {
  margin-top: 24px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.about-links a {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.about-links a:hover,
.about-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.contact-section {
  padding: 0 0 clamp(72px, 9vw, 110px);
  background: var(--surface);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: end;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid #c7e9e4;
  border-radius: 28px;
  background: linear-gradient(135deg, #dcf7f2 0%, #eefbf8 55%, #f7ffff 100%);
}

.contact-card h2 {
  max-width: 750px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions .button {
  width: 100%;
}

.email-link {
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.contact-actions p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner a {
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

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

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 190px;
    grid-template-areas:
      "name portrait"
      "title title"
      "text text"
      "actions actions"
      "facts facts";
    column-gap: 22px;
  }

  .hero-portrait {
    width: 185px;
    height: 160px;
  }

  .hero-photo {
    top: 0;
    left: 38px;
    width: 132px;
    height: 132px;
  }

  .portrait-badge {
    right: 0;
    bottom: 0;
    min-width: 103px;
  }

  .portrait-chip {
    display: none;
  }

  h1 {
    margin-top: 34px;
  }

  .services-grid,
  .case-panel,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .service-card > p {
    min-height: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .section-head > p {
    max-width: 680px;
  }

  .checkup-card {
    grid-template-columns: 1fr;
  }

  .checkup-visual {
    max-width: 520px;
  }

  .contact-actions {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .header-socials a {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas:
      "name portrait"
      "title title"
      "text text"
      "actions actions"
      "facts facts";
    column-gap: 14px;
  }

  .hero-name {
    margin-bottom: 0;
  }

  .hero-name p {
    font-size: 15px;
  }

  .hero-name span {
    max-width: 205px;
    font-size: 9.5px;
    line-height: 1.45;
  }

  .hero-portrait {
    width: 96px;
    height: 96px;
  }

  .hero-photo {
    top: 0;
    left: 8px;
    width: 82px;
    height: 82px;
  }

  .photo-mask {
    border-width: 4px;
  }

  .hero-photo::before {
    inset: -7px 6px 5px -7px;
  }

  .hero-photo::after {
    inset: -12px -7px -10px 10px;
  }

  .portrait-badge,
  .portrait-chip {
    display: none;
  }

  h1 {
    margin: 30px 0 21px;
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.01;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 38px;
  }

  .hero-facts li {
    display: grid;
    grid-template-columns: 122px 1fr;
    gap: 12px;
    align-items: baseline;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .result-item,
  .result-item + .result-item {
    padding: 18px 0;
    border-left: 0;
  }

  .result-item + .result-item {
    border-top: 1px solid var(--line);
  }

  .section-head h2,
  .case-intro h2,
  .about-grid h2,
  .contact-card h2 {
    font-size: clamp(34px, 10vw, 47px);
  }

  .service-card {
    padding: 24px;
    border-radius: 19px;
  }

  .checkup-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .checkup-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .checkup-copy > p:not(.checkup-note) {
    font-size: 17px;
  }

  .audit-window {
    transform: none;
  }

  .technical-note {
    padding: 22px;
  }

  .case-panel,
  .contact-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .case-intro > p:not(.eyebrow),
  .about-text > p {
    font-size: 18px;
  }

  .case-list article {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  .footer-inner {
    min-height: 70px;
  }
}

@media (max-width: 430px) {
  :root {
    --side: 18px;
  }

  .logo {
    font-size: 19px;
  }

  .header-socials {
    gap: 5px;
  }

  .header-socials a {
    padding-inline: 8px;
    font-size: 11px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .hero-portrait {
    width: 82px;
    height: 82px;
  }

  .hero-photo {
    left: 6px;
    width: 72px;
    height: 72px;
  }

  .hero-facts li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .result-item {
    grid-template-columns: 56px 1fr;
  }

  .mini-window {
    width: 56px;
  }

  .technical-note {
    grid-template-columns: 1fr;
  }

  .about-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .audit-score {
    grid-template-columns: 26px 1fr;
  }

  .audit-score em {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Launch additions */
.footer-launch {
  align-items: center;
  gap: 28px;
}

.footer-launch > div {
  display: grid;
  gap: 3px;
}

.footer-note {
  color: var(--muted);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-legal a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--accent-dark);
}

@media (max-width: 760px) {
  .footer-launch {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

/* ===== Внутренние страницы, заявка, оплата и юридические документы ===== */
.inner-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 86% 3%, rgba(43, 200, 185, 0.13), transparent 29rem),
    var(--bg);
}

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

.back-link {
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.back-link::before {
  content: "←";
  margin-right: 8px;
  color: var(--accent);
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--accent-dark);
}

.order-hero {
  padding: clamp(54px, 7vw, 94px) 0 clamp(42px, 6vw, 72px);
}

.order-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.56fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.order-hero h1,
.legal-title h1,
.status-card h1 {
  margin: 13px 0 20px;
  max-width: 920px;
  font-size: clamp(43px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.order-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.52;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.order-meta span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.order-price-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid #b9e3de;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #e8faf7);
  box-shadow: 0 28px 80px rgba(9, 77, 72, 0.13);
}

.order-price-card::after {
  position: absolute;
  right: -52px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(14, 159, 146, 0.08);
  border-radius: 50%;
  content: "";
}

.order-price-card > * {
  position: relative;
  z-index: 1;
}

.order-price-card .price-kicker {
  display: block;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.order-price-card strong {
  display: block;
  margin: 9px 0 16px;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.order-price-card p {
  max-width: 29ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.order-includes {
  padding: 0 0 clamp(50px, 6vw, 82px);
}

.order-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.order-includes article {
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.order-includes b {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
}

.order-includes h2 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.order-includes p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.order-section {
  padding: clamp(62px, 7vw, 98px) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.order-copy {
  position: sticky;
  top: 108px;
}

.order-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(36px, 5vw, 59px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.order-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.privacy-mini {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--accent-soft-2);
}

.privacy-mini strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.privacy-mini ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.order-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(16, 36, 38, 0.075);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field > span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfe0df;
  border-radius: 13px;
  outline: 0;
  background: #fbfefd;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field input,
.field select {
  min-height: 51px;
  padding: 0 15px;
}

.field textarea {
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #91a09f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 159, 146, 0.11);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c84b56;
  box-shadow: 0 0 0 3px rgba(200, 75, 86, 0.08);
}

.field-error {
  min-height: 1em;
  color: #b22d3b;
  font-size: 12px;
  line-height: 1.35;
}

.field-hint {
  color: var(--muted);
  font-size: 11px;
}

.trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-consents {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 11px;
  align-items: start;
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.checkbox-field span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.checkbox-field a {
  color: var(--accent-dark);
  font-weight: 750;
}

.form-status {
  min-height: 24px;
  margin: 20px 0 8px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: #b22d3b;
}

.submit-button {
  width: 100%;
  min-height: 57px;
  font-size: 16px;
}

.submit-button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.75;
}

.payment-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* Страница результата платежа */
.status-main {
  display: grid;
  min-height: calc(100vh - 73px);
  align-items: center;
  padding: 54px 0;
}

.status-card {
  width: min(100%, 740px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 35px 110px rgba(16, 36, 38, 0.1);
  text-align: center;
}

.status-card h1 {
  margin-inline: auto;
  font-size: clamp(37px, 6vw, 62px);
}

.status-card > p:not(.eyebrow):not(.order-number) {
  max-width: 52ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.status-icon {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  margin: 0 auto 28px;
  border-radius: 50%;
  font-size: 36px;
  font-weight: 850;
}

.status-icon.is-pending {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.status-icon.is-success {
  background: #dff5e7;
  color: #167342;
}

.status-icon.is-error {
  background: #fde6e8;
  color: #b22d3b;
}

.order-number {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* Юридические страницы */
.legal-main {
  padding: clamp(54px, 7vw, 92px) 0 clamp(72px, 9vw, 120px);
}

.legal-document {
  width: min(100%, 920px);
}

.legal-document-short {
  width: min(100%, 780px);
}

.legal-title {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-title h1 {
  margin-top: 11px;
  font-size: clamp(42px, 6vw, 70px);
}

.legal-title > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-document section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.legal-document h2 {
  margin: 0 0 16px;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.legal-document p,
.legal-document li,
.legal-document dd,
.legal-document dt {
  font-size: 16px;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document p:last-child {
  margin-bottom: 0;
}

.legal-document ul,
.legal-document ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-document a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

.legal-notice {
  margin: 30px 0 0;
  padding: 22px 24px;
  border: 1px solid #bde2dd;
  border-radius: 17px;
  background: var(--accent-soft-2);
}

.legal-notice strong {
  display: block;
  margin-bottom: 6px;
}

.legal-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-requisites {
  display: grid;
  margin: 0;
}

.legal-requisites div {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 22px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.legal-requisites div:last-child {
  border-bottom: 0;
}

.legal-requisites dt {
  color: var(--muted);
  font-weight: 700;
}

.legal-requisites dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.legal-requisites-large {
  margin-top: 34px;
  padding: 18px 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

/* Закрытая страница заказов */
.admin-page {
  min-height: 100vh;
  background: #eef7f6;
}

.admin-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header-inner > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-refresh {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.admin-main {
  padding-block: 42px 80px;
}

.admin-orders {
  display: grid;
  gap: 15px;
}

.admin-order,
.admin-empty {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.admin-order-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.admin-order-head > div {
  display: grid;
  gap: 2px;
}

.admin-order-head span {
  color: var(--muted);
  font-size: 12px;
}

.order-status {
  align-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.status-succeeded { background: #dff5e7; color: #167342; }
.status-canceled { background: #fde6e8; color: #b22d3b; }

.admin-order dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
}

.admin-order dl div {
  min-width: 0;
}

.admin-order dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-order dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-order a {
  color: var(--accent-dark);
}

.admin-comment {
  margin: 18px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #f5faf9;
  color: var(--muted);
  font-size: 14px;
  white-space: pre-wrap;
}

/* Простая 404 */
.not-found-main {
  display: grid;
  min-height: calc(100vh - 73px);
  place-items: center;
  padding: 50px 0;
}

.not-found-card {
  max-width: 680px;
  text-align: center;
}

.not-found-card strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.not-found-card h1 {
  margin: 12px 0 20px;
  font-size: clamp(50px, 10vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.not-found-card p {
  margin: 0 auto 28px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .order-hero-grid,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-price-card {
    max-width: 540px;
  }

  .order-copy {
    position: static;
  }

  .order-includes-grid {
    grid-template-columns: 1fr;
  }

  .order-includes article {
    min-height: 0;
  }

  .order-includes b {
    margin-bottom: 18px;
  }

  .admin-order dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .inner-header {
    min-height: 64px;
  }

  .order-hero {
    padding-top: 42px;
  }

  .order-hero h1,
  .legal-title h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .order-price-card,
  .order-form,
  .status-card {
    padding: 24px 20px;
    border-radius: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .status-actions {
    display: grid;
  }

  .status-actions .button {
    width: 100%;
  }

  .legal-document section {
    padding: 27px 0;
  }

  .legal-requisites div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .legal-requisites-large {
    padding: 12px 18px;
  }

  .admin-order-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-order dl {
    grid-template-columns: 1fr;
  }
}

.photo-mask img.is-placeholder {
  object-position: center;
  transform: none;
}

.order-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: baseline;
  margin-top: 30px;
}

.order-price-row > strong {
  color: var(--text);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.order-price-row > span {
  color: var(--muted);
  font-size: 14px;
}

.order-summary {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4vw, 36px);
  border: 1px solid #b9e3de;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #e9faf7);
  box-shadow: 0 28px 80px rgba(9, 77, 72, 0.12);
}

.order-summary::after {
  position: absolute;
  right: -70px;
  bottom: -78px;
  width: 180px;
  height: 180px;
  border: 32px solid rgba(14, 159, 146, 0.07);
  border-radius: 50%;
  content: "";
}

.order-summary > * {
  position: relative;
  z-index: 1;
}

.summary-label {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.order-summary ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.order-summary li {
  position: relative;
  padding-left: 25px;
  font-size: 15px;
}

.order-summary li::before {
  position: absolute;
  top: 0.25em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  content: "✓";
  font-size: 10px;
  font-weight: 900;
}

.order-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c84b56;
  box-shadow: 0 0 0 3px rgba(200, 75, 86, 0.08);
}

.checkbox-field.has-error span {
  color: #8d2530;
}

/* =========================================================
   KATENOTA HOME — editorial redesign
   Scoped to .home-page so service and legal pages stay stable.
   ========================================================= */

.home-page {
  --home-paper: #f7f3ea;
  --home-paper-2: #fffdf8;
  --home-ink: #12292a;
  --home-muted: #677675;
  --home-line: rgba(18, 41, 42, 0.16);
  --home-teal: #0fa89d;
  --home-teal-dark: #075f5a;
  --home-mint: #d9f3ed;
  --home-coral: #ff6f59;
  --home-coral-dark: #c84131;
  --home-yellow: #f7d96e;
  --home-blue: #bcdff2;
  --home-dark: #102d2d;
  --home-shadow: 0 24px 70px rgba(26, 55, 55, 0.13);
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.home-page::selection {
  background: var(--home-yellow);
  color: var(--home-ink);
}

.home-page * {
  box-sizing: border-box;
}

.home-page img {
  display: block;
  max-width: 100%;
}

.home-page a {
  color: inherit;
}

.home-shell {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 54px);
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(18, 41, 42, 0.09);
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(18px);
}

.home-header__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.home-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.home-logo span {
  color: var(--home-teal);
}

.home-logo i {
  width: 7px;
  height: 7px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--home-coral);
}

.home-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.home-nav a {
  position: relative;
  color: #4f6262;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.home-nav a::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--home-coral);
  content: "";
  transition: transform 180ms ease;
}

.home-nav a:hover::after,
.home-nav a:focus-visible::after {
  transform: scaleX(1);
}

.home-header__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--home-ink);
  border-radius: 999px;
  background: var(--home-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.home-header__cta:hover,
.home-header__cta:focus-visible {
  transform: translateY(-2px);
  background: var(--home-teal-dark);
  box-shadow: 0 10px 24px rgba(16, 45, 45, 0.18);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(58px, 8vw, 96px);
}

.home-hero::before {
  position: absolute;
  top: -250px;
  right: -210px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 168, 157, 0.18), rgba(15, 168, 157, 0) 68%);
  content: "";
  pointer-events: none;
}

.home-hero::after {
  position: absolute;
  left: -180px;
  bottom: -210px;
  width: 520px;
  height: 320px;
  transform: rotate(-8deg);
  border: 1px solid rgba(18, 41, 42, 0.08);
  border-radius: 48% 52% 45% 55%;
  box-shadow: 0 0 0 56px rgba(247, 217, 110, 0.08), 0 0 0 112px rgba(247, 217, 110, 0.04);
  content: "";
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}

.home-kicker,
.home-eyebrow {
  margin: 0 0 18px;
  color: var(--home-teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-kicker span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--home-coral);
}

.home-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(50px, 6.25vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.home-hero h1 em,
.home-section__head h2 em {
  position: relative;
  display: inline-block;
  color: var(--home-teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.home-hero h1 em::after {
  position: absolute;
  right: -2px;
  bottom: -8px;
  left: 4px;
  height: 9px;
  transform: rotate(-1.4deg);
  border-radius: 50%;
  background: var(--home-yellow);
  content: "";
  z-index: -1;
}

.home-hero__lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: #405453;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.45;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  transform: translateY(-2px);
}

.home-button--primary {
  background: var(--home-teal);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 168, 157, 0.24);
}

.home-button--primary:hover,
.home-button--primary:focus-visible {
  background: var(--home-teal-dark);
  box-shadow: 0 18px 40px rgba(7, 95, 90, 0.25);
}

.home-button--ghost {
  border-color: rgba(18, 41, 42, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.home-button--ghost:hover,
.home-button--ghost:focus-visible {
  border-color: var(--home-ink);
  background: #fff;
}

.home-hero__aside {
  margin: 20px 0 0;
  color: #748181;
  font-size: 13px;
}

.home-hero__art {
  position: relative;
  width: min(100%, 480px);
  height: 520px;
  justify-self: end;
}

.home-portrait-card {
  position: absolute;
  z-index: 5;
  top: 80px;
  left: 97px;
  width: 245px;
  padding: 16px 18px 20px;
  transform: rotate(-2.8deg);
  border: 1px solid rgba(18, 41, 42, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--home-shadow);
}

.home-portrait-card__ring {
  position: absolute;
  top: -42px;
  right: -38px;
  width: 104px;
  height: 104px;
  border: 13px solid var(--home-yellow);
  border-radius: 50%;
  opacity: 0.9;
  z-index: -1;
}

.home-portrait-card__photo {
  display: block;
  width: 166px;
  height: 166px;
  margin: -54px auto 14px;
  overflow: hidden;
  border: 7px solid var(--home-paper-2);
  border-radius: 50%;
  background: var(--home-mint);
  box-shadow: 0 20px 44px rgba(20, 61, 59, 0.16);
}

.home-portrait-card__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 34%;
  transform: none;
}

.home-portrait-card__photo img.is-placeholder {
  object-fit: contain;
  object-position: center;
  padding: 16px;
}

.home-portrait-card > strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.home-portrait-card > span:last-child {
  display: block;
  margin-top: 5px;
  color: #6a7777;
  font-size: 12px;
  line-height: 1.35;
}

.home-art-card {
  position: absolute;
  border: 1px solid rgba(18, 41, 42, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(27, 54, 54, 0.12);
}

.home-art-card--script {
  z-index: 3;
  top: 0;
  right: 2px;
  width: 240px;
  padding: 18px 20px 20px;
  transform: rotate(5.4deg);
  background: var(--home-dark);
  color: #fff;
}

.home-art-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.home-art-card__top span {
  color: var(--home-yellow);
}

.home-art-card--script p {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.3;
}

.home-art-card--script p i {
  display: inline-block;
  width: 45px;
  color: #72d7ce;
  font-style: normal;
  font-size: 10px;
}

.home-art-card__marker {
  position: absolute;
  right: 16px;
  bottom: 20px;
  width: 70px;
  height: 7px;
  transform: rotate(-2deg);
  border-radius: 999px;
  background: var(--home-coral);
  opacity: 0.85;
}

.home-art-card--page {
  z-index: 4;
  right: 0;
  bottom: 12px;
  width: 276px;
  padding: 18px;
  transform: rotate(-3deg);
  background: var(--home-mint);
}

.home-art-card__browser {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.home-art-card__browser i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(18, 41, 42, 0.25);
}

.home-art-card--page strong {
  display: block;
  max-width: 170px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-art-card--page p {
  max-width: 190px;
  margin: 9px 0 18px;
  color: #45605e;
  font-size: 12px;
}

.home-art-card__button {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 0 11px;
  border-radius: 8px;
  background: var(--home-teal-dark);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-sticker {
  position: absolute;
  z-index: 7;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 16px 35px rgba(31, 55, 54, 0.13);
}

.home-sticker--yellow {
  left: 0;
  bottom: 28px;
  width: 132px;
  height: 132px;
  transform: rotate(7deg);
  border-radius: 5px 26px 7px 24px;
  background: var(--home-yellow);
}

.home-sticker--yellow::before {
  position: absolute;
  top: -10px;
  width: 58px;
  height: 18px;
  transform: rotate(-4deg);
  background: rgba(255, 255, 255, 0.65);
  content: "";
}

.home-sticker--yellow strong,
.home-sticker--yellow span {
  display: block;
}

.home-sticker--yellow strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.home-sticker--yellow span {
  margin-top: -18px;
  font-size: 11px;
  font-weight: 800;
}

.home-sticker--coral {
  top: 225px;
  left: 3px;
  width: 132px;
  min-height: 54px;
  padding: 10px 12px;
  transform: rotate(-8deg);
  border-radius: 999px;
  background: var(--home-coral);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.05;
}

.home-doodle {
  position: absolute;
  z-index: 9;
  color: var(--home-coral);
  font-family: Georgia, serif;
}

.home-doodle--arrow {
  top: 278px;
  right: 34px;
  transform: rotate(15deg);
  font-size: 54px;
}

.home-doodle--spark {
  top: 18px;
  left: 72px;
  color: var(--home-teal);
  font-size: 34px;
}

.home-proof {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(18, 41, 42, 0.11);
  border-bottom: 1px solid rgba(18, 41, 42, 0.11);
  background: rgba(255, 253, 248, 0.7);
}

.home-proof__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.8fr 1.3fr;
}

.home-proof article {
  min-height: 150px;
  padding: 26px 28px;
  border-right: 1px solid rgba(18, 41, 42, 0.11);
}

.home-proof article:first-child {
  padding-left: 0;
}

.home-proof article:last-child {
  border-right: 0;
  padding-right: 0;
}

.home-proof strong,
.home-proof span {
  display: block;
}

.home-proof strong {
  color: var(--home-ink);
  font-size: clamp(27px, 3vw, 45px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.home-proof article:nth-child(2) strong {
  color: var(--home-coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
}

.home-proof article:nth-child(3) strong {
  color: var(--home-teal-dark);
}

.home-proof article:nth-child(4) strong {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
}

.home-proof span {
  margin-top: 12px;
  color: #667574;
  font-size: 13px;
  line-height: 1.45;
}

.home-flow {
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 41, 42, 0.1);
  background: var(--home-yellow);
}

.home-flow__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  animation: home-marquee 30s linear infinite;
  white-space: nowrap;
}

.home-flow__track span {
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-flow__track b {
  color: var(--home-coral-dark);
}

@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-section {
  padding: clamp(82px, 9vw, 132px) 0;
  background: var(--home-paper-2);
}

.home-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 64px;
}

.home-section__head h2,
.home-system h2,
.home-case h2,
.home-about h2,
.home-contact h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.home-section__head > p {
  margin: 0 0 6px;
  color: #5c6e6c;
  font-size: 17px;
  line-height: 1.55;
}

.home-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(110px, auto);
  gap: 18px;
  margin-top: 58px;
}

.home-service {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 41, 42, 0.13);
  border-radius: 28px;
}

.home-service h3 {
  margin: 0;
  font-size: clamp(29px, 3.1vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.home-service p {
  color: #506462;
}

.home-service ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-service li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  font-size: 14px;
}

.home-service li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.home-service__number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(18, 41, 42, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

.home-service__label {
  margin: 0 0 12px !important;
  color: inherit !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-service--youtube {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.6fr);
  align-items: end;
  gap: 28px;
  padding: 38px;
  background: var(--home-dark);
  color: #fff;
}

.home-service--youtube .home-service__number {
  color: rgba(255, 255, 255, 0.45);
}

.home-service--youtube h3,
.home-service--youtube p,
.home-service--youtube li {
  color: #fff;
}

.home-service--youtube .home-service__copy > p:not(.home-service__label) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.72);
}

.home-service--youtube li {
  color: rgba(255, 255, 255, 0.78);
}

.home-timeline {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.home-timeline span {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 13px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}

.home-timeline span:nth-child(2) {
  transform: translateX(10px);
  background: rgba(247, 217, 110, 0.16);
}

.home-timeline span:nth-child(3) {
  transform: translateX(-7px);
  background: rgba(15, 168, 157, 0.17);
}

.home-timeline i {
  color: #74d6ce;
  font-style: normal;
  font-size: 10px;
}

.home-timeline b {
  font-size: 12px;
}

.home-service--package {
  grid-column: span 5;
  min-height: 246px;
  padding: 30px;
  background: var(--home-mint);
}

.home-service--package > p:not(.home-service__label) {
  max-width: 420px;
}

.home-browser-mini {
  position: relative;
  width: min(245px, 100%);
  min-height: 156px;
  margin: 26px 0 0 auto;
  padding: 18px;
  transform: rotate(-3.5deg);
  border: 1px solid rgba(18, 41, 42, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(19, 58, 56, 0.12);
}

.home-browser-mini > span {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.home-browser-mini > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(18, 41, 42, 0.25);
}

.home-browser-mini b,
.home-browser-mini em {
  display: block;
  border-radius: 999px;
  background: #dbe8e6;
}

.home-browser-mini b {
  width: 78%;
  height: 12px;
  background: var(--home-teal);
}

.home-browser-mini em {
  width: 88%;
  height: 7px;
  margin-top: 10px;
}

.home-browser-mini em:nth-of-type(2) {
  width: 62%;
}

.home-browser-mini strong {
  display: inline-flex;
  margin-top: 17px;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--home-coral);
  color: #fff;
  font-size: 9px;
  text-transform: uppercase;
}

.home-service--cases {
  grid-column: span 5;
  min-height: 246px;
  padding: 30px;
  background: var(--home-yellow);
}

.home-service--cases blockquote {
  position: relative;
  max-width: 260px;
  margin: 24px 0 0 auto;
  transform: rotate(-2deg);
  padding: 15px 18px;
  border: 1px solid rgba(18, 41, 42, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--home-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.3;
}

.home-service--checkup {
  grid-column: span 12;
  min-height: 322px;
  padding: 38px 42% 38px 38px;
  background: var(--home-coral);
  color: #fff;
}

.home-service--checkup::after {
  position: absolute;
  right: -42px;
  bottom: -84px;
  width: 430px;
  height: 430px;
  border: 76px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.home-service--checkup h3,
.home-service--checkup p,
.home-service--checkup li {
  color: #fff;
}

.home-service--checkup > p:not(.home-service__label) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.home-service--checkup ul {
  columns: 2;
  max-width: 720px;
}

.home-service--checkup li {
  break-inside: avoid;
  color: rgba(255, 255, 255, 0.9);
}

.home-service--checkup > a {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px 17px;
  border-radius: 10px;
  background: var(--home-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.home-service--checkup > a span {
  font-size: 18px;
}

.home-checkup__price {
  position: absolute;
  z-index: 4;
  right: 64px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 255px;
  height: 255px;
  transform: translateY(-50%) rotate(5deg);
  border-radius: 50%;
  background: var(--home-yellow);
  color: var(--home-ink);
  box-shadow: 0 25px 56px rgba(136, 49, 35, 0.22);
  text-align: center;
}

.home-checkup__price span,
.home-checkup__price strong {
  display: block;
}

.home-checkup__price span {
  margin-bottom: -50px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-checkup__price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.home-system {
  padding: clamp(82px, 9vw, 132px) 0;
  border-top: 1px solid rgba(18, 41, 42, 0.08);
  background: var(--home-paper);
}

.home-system__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.home-system__copy p:last-child {
  max-width: 540px;
  margin: 26px 0 0;
  color: #5d6e6d;
  font-size: 18px;
}

.home-system__map {
  position: relative;
  min-height: 500px;
}

.home-system__center,
.home-system__node {
  position: absolute;
  z-index: 3;
  display: grid;
  align-content: center;
  border: 1px solid rgba(18, 41, 42, 0.13);
  box-shadow: 0 18px 50px rgba(24, 55, 53, 0.1);
}

.home-system__center {
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%) rotate(-3deg);
  border-radius: 50%;
  background: var(--home-dark);
  color: #fff;
  text-align: center;
}

.home-system__center span {
  color: #7bd8cf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-system__center strong {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.home-system__node {
  width: 174px;
  min-height: 105px;
  padding: 15px 18px;
  border-radius: 18px;
  background: #fff;
}

.home-system__node small,
.home-system__node strong,
.home-system__node span {
  display: block;
}

.home-system__node small {
  color: var(--home-coral-dark);
  font-size: 9px;
  font-weight: 900;
}

.home-system__node strong {
  margin-top: 4px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.home-system__node span {
  color: #667674;
  font-size: 11px;
}

.node-video { top: 20px; left: 16px; transform: rotate(-4deg); background: var(--home-yellow); }
.node-page { top: 32px; right: 10px; transform: rotate(3deg); background: var(--home-mint); }
.node-case { bottom: 18px; left: 4px; transform: rotate(4deg); background: #fff; }
.node-social { right: 0; bottom: 20px; transform: rotate(-3deg); background: var(--home-blue); }

.home-system__lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-system__lines path {
  fill: none;
  stroke: rgba(18, 41, 42, 0.26);
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.home-case {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 9vw, 134px) 0;
  background: var(--home-dark);
  color: #fff;
}

.home-case::before {
  position: absolute;
  top: -260px;
  left: -240px;
  width: 620px;
  height: 620px;
  border: 90px solid rgba(15, 168, 157, 0.08);
  border-radius: 50%;
  content: "";
}

.home-eyebrow--light {
  color: #7ad7ce;
}

.home-case h2,
.home-contact h2 {
  color: #fff;
}

.home-case__header {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.home-case__grid {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 48px;
}

.home-case__story {
  max-width: 860px;
}

.home-case__story p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.home-case__story .home-case__lead {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.35;
}

.home-case__story a {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid #7ad7ce;
  color: #7ad7ce;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.home-case__board {
  position: relative;
  min-height: 455px;
}

.case-board__main,
.case-board__item {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.case-board__main {
  top: 105px;
  left: 50%;
  width: 230px;
  min-height: 240px;
  transform: translateX(-50%) rotate(-2deg);
  padding: 26px;
  border-radius: 30px;
  background: var(--home-coral);
  color: #fff;
}

.case-board__main span,
.case-board__main strong,
.case-board__main small {
  display: block;
}

.case-board__main span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-board__main strong {
  margin-top: 35px;
  font-size: 43px;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.case-board__main small {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.case-board__item {
  display: grid;
  align-content: center;
  width: 170px;
  min-height: 108px;
  padding: 18px;
  border-radius: 18px;
  color: var(--home-ink);
}

.case-board__item b,
.case-board__item span {
  display: block;
}

.case-board__item b {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.case-board__item span {
  color: #506260;
  font-size: 11px;
}

.case-board__item--site { top: 10px; left: 38px; transform: rotate(-5deg); background: var(--home-mint); }
.case-board__item--tg { top: 18px; right: 26px; transform: rotate(4deg); background: var(--home-yellow); }
.case-board__item--yt { left: 0; bottom: 16px; transform: rotate(4deg); background: #fff; }
.case-board__item--cases { right: 8px; bottom: 12px; transform: rotate(-4deg); background: var(--home-blue); }

.case-board__scribble {
  position: absolute;
  z-index: 6;
  right: 22px;
  top: 204px;
  transform: rotate(8deg);
  color: #7ad7ce;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
}

.home-case__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.home-case__steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 30px 32px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.home-case__steps article:first-child {
  padding-left: 0;
}

.home-case__steps article:last-child {
  border-right: 0;
  padding-right: 0;
}

.home-case__steps article > span {
  color: #7ad7ce;
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.home-case__steps strong {
  display: block;
  font-size: 17px;
}

.home-case__steps p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.home-about {
  padding: clamp(84px, 9vw, 132px) 0;
  background: var(--home-paper-2);
}

.home-about__grid {
  display: grid;
  grid-template-columns: 0.88fr 0.72fr;
  column-gap: clamp(60px, 9vw, 125px);
  row-gap: 54px;
}

.home-about__title h2 {
  max-width: 760px;
}

.home-about__text {
  align-self: end;
}

.home-about__text p {
  margin: 0 0 18px;
  color: #506361;
  font-size: 17px;
}

.home-about__notes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-note {
  position: relative;
  min-height: 165px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgba(18, 41, 42, 0.13);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(25, 53, 52, 0.07);
}

.about-note:nth-child(1) { transform: rotate(-1deg); }
.about-note:nth-child(2) { transform: translateY(12px) rotate(1.5deg); }
.about-note:nth-child(3) { transform: rotate(-1.4deg); }

.about-note span {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: Georgia, serif;
  font-style: italic;
}

.about-note strong {
  max-width: 290px;
  font-size: 22px;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.about-note--mint { background: var(--home-mint); }
.about-note--yellow { background: var(--home-yellow); }
.about-note--coral { background: var(--home-coral); color: #fff; }

.home-contact {
  padding: 28px 0 76px;
  background: var(--home-paper-2);
}

.home-contact__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  align-items: center;
  gap: 70px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 34px;
  background: var(--home-teal-dark);
  color: #fff;
}

.home-contact__card::before {
  position: absolute;
  right: -110px;
  bottom: -200px;
  width: 440px;
  height: 440px;
  border: 75px solid rgba(247, 217, 110, 0.13);
  border-radius: 50%;
  content: "";
}

.home-contact__actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.home-button--light {
  background: var(--home-yellow);
  color: var(--home-ink);
}

.home-button--outline-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-contact__email {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.home-contact__actions p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  text-align: center;
}

.home-footer {
  border-top: 1px solid rgba(18, 41, 42, 0.1);
  background: var(--home-paper);
}

.home-footer__inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.home-footer__inner > div {
  display: grid;
  gap: 4px;
}

.home-footer__inner strong {
  font-size: 18px;
}

.home-footer__inner span {
  color: #6b7878;
  font-size: 12px;
}

.home-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.home-footer nav a {
  color: #596968;
  font-size: 11px;
  text-decoration: none;
}

.home-footer nav a:hover,
.home-footer nav a:focus-visible {
  color: var(--home-teal-dark);
}

@media (max-width: 1080px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
    gap: 48px;
  }

  .home-hero__art {
    transform: scale(0.9);
    transform-origin: right center;
  }

  .home-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-proof article:nth-child(2) {
    border-right: 0;
  }

  .home-proof article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(18, 41, 42, 0.11);
  }

  .home-proof article:nth-child(3) {
    padding-left: 0;
  }

  .home-service--youtube {
    grid-column: span 12;
  }

  .home-service--package,
  .home-service--cases {
    grid-column: span 6;
  }

  .home-system__grid,
  .home-case__grid {
    gap: 56px;
  }

  .home-case__board {
    transform: scale(0.9);
    transform-origin: center;
  }
}

@media (max-width: 860px) {
  .home-header__inner {
    grid-template-columns: auto 1fr;
  }

  .home-nav {
    display: none;
  }

  .home-header__cta {
    justify-self: end;
  }

  .home-hero__grid,
  .home-section__head,
  .home-system__grid,
  .home-case__grid,
  .home-about__grid,
  .home-contact__card {
    grid-template-columns: 1fr;
  }

  .home-hero__grid {
    gap: 74px;
  }

  .home-hero__copy {
    max-width: 760px;
  }

  .home-hero__art {
    width: min(100%, 520px);
    justify-self: center;
    transform: none;
  }

  .home-section__head {
    gap: 24px;
  }

  .home-service--youtube {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-timeline {
    margin-top: 28px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .home-service--checkup {
    padding-right: 38px;
    padding-bottom: 300px;
  }

  .home-checkup__price {
    top: auto;
    right: 50%;
    bottom: 34px;
    transform: translateX(50%) rotate(4deg);
  }

  .home-system__copy p:last-child {
    max-width: none;
  }

  .home-system__map,
  .home-case__board {
    width: min(100%, 650px);
    justify-self: center;
  }

  .home-case__story {
    max-width: 700px;
  }

  .home-case__steps {
    grid-template-columns: 1fr;
  }

  .home-case__steps article {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .home-case__steps article:last-child {
    border-bottom: 0;
  }

  .home-about__text {
    max-width: 720px;
  }

  .home-about__notes {
    grid-template-columns: 1fr;
  }

  .about-note:nth-child(n) {
    transform: none;
  }

  .home-contact__card {
    gap: 38px;
  }
}

@media (max-width: 620px) {
  .home-page {
    font-size: 16px;
  }

  .home-shell {
    padding-inline: 18px;
  }

  .home-header__inner {
    min-height: 64px;
  }

  .home-logo {
    font-size: 20px;
  }

  .home-header__cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }

  .home-hero {
    padding-top: 54px;
  }

  .home-hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .home-hero__lead {
    margin-top: 22px;
    font-size: 18px;
  }

  .home-hero__actions {
    display: grid;
  }

  .home-button {
    width: 100%;
  }

  .home-hero__art {
    height: 455px;
    transform: scale(0.9);
    transform-origin: top center;
    margin-bottom: -42px;
  }

  .home-proof__grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-proof article {
    min-height: 138px;
    padding: 22px 14px;
  }

  .home-proof article:nth-child(odd) {
    padding-left: 0;
  }

  .home-proof article:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .home-proof strong {
    font-size: 31px;
  }

  .home-proof article:nth-child(4) strong {
    font-size: 18px;
  }

  .home-proof span {
    font-size: 11px;
  }

  .home-section,
  .home-system,
  .home-case,
  .home-about {
    padding-block: 78px;
  }

  .home-section__head h2,
  .home-system h2,
  .home-case h2,
  .home-about h2,
  .home-contact h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .home-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 38px;
  }

  .home-service--youtube,
  .home-service--package,
  .home-service--cases,
  .home-service--checkup {
    grid-column: auto;
  }

  .home-service {
    border-radius: 22px;
  }

  .home-service--youtube,
  .home-service--package,
  .home-service--cases,
  .home-service--checkup {
    padding: 26px;
  }

  .home-service--youtube {
    min-height: auto;
  }

  .home-service h3 {
    font-size: 34px;
  }

  .home-browser-mini {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
    transform: rotate(-1.6deg);
  }

  .home-service--cases blockquote {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 30px;
  }

  .home-service--checkup {
    padding-bottom: 286px;
  }

  .home-service--checkup ul {
    columns: 1;
  }

  .home-checkup__price {
    width: 220px;
    height: 220px;
  }

  .home-checkup__price strong {
    font-size: 37px;
  }

  .home-system__map {
    min-height: 500px;
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -56px;
  }

  .home-case__board {
    min-height: 520px;
    transform: scale(0.82);
    transform-origin: top center;
    margin-bottom: -95px;
  }

  .home-case__story .home-case__lead {
    font-size: 21px;
  }

  .home-case__steps {
    margin-top: 50px;
  }

  .about-note {
    min-height: 140px;
  }

  .about-note strong {
    font-size: 20px;
  }

  .home-contact {
    padding: 18px 0 54px;
  }

  .home-contact__card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .home-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 30px;
  }

  .home-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .home-header__cta {
    padding-inline: 11px;
  }

  .home-hero__art {
    left: 50%;
    width: 470px;
    transform: translateX(-50%) scale(0.72);
    transform-origin: top center;
    margin-bottom: -122px;
  }

  .home-proof__grid {
    grid-template-columns: 1fr;
  }

  .home-proof article,
  .home-proof article:nth-child(n) {
    min-height: 112px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 41, 42, 0.11);
  }

  .home-proof article:last-child {
    border-bottom: 0;
  }

  .home-system__map {
    left: 50%;
    width: 520px;
    transform: translateX(-50%) scale(0.66);
    transform-origin: top center;
    margin-bottom: -150px;
  }

  .home-case__board {
    left: 50%;
    width: 560px;
    transform: translateX(-50%) scale(0.62);
    transform-origin: top center;
    margin-bottom: -188px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-flow__track {
    animation: none;
  }

  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Mobile containment and purpose-built compact compositions */
html {
  overflow-x: hidden;
}

.home-page {
  overflow-x: hidden;
}

@media (max-width: 620px) {
  .home-hero,
  .home-system,
  .home-case,
  .home-about,
  .home-contact {
    overflow: hidden;
  }

  .home-hero__art {
    width: 100%;
    height: 410px;
    transform: none;
    margin: 0;
  }

  .home-portrait-card {
    top: 76px;
    left: 50%;
    width: 196px;
    padding: 13px 14px 16px;
    transform: translateX(-50%) rotate(-2.6deg);
  }

  .home-portrait-card__photo {
    width: 122px;
    height: 122px;
    margin-top: -40px;
    border-width: 5px;
  }

  .home-portrait-card > strong {
    font-size: 20px;
  }

  .home-portrait-card > span:last-child {
    font-size: 10px;
  }

  .home-portrait-card__ring {
    top: -30px;
    right: -27px;
    width: 76px;
    height: 76px;
    border-width: 10px;
  }

  .home-art-card--script {
    top: 0;
    right: 0;
    width: 176px;
    padding: 13px 14px 15px;
  }

  .home-art-card--script p {
    margin-top: 9px;
    font-size: 9px;
  }

  .home-art-card--script p i {
    width: 34px;
    font-size: 8px;
  }

  .home-art-card--page {
    right: 0;
    bottom: 2px;
    width: 208px;
    padding: 14px;
  }

  .home-art-card--page strong {
    font-size: 18px;
  }

  .home-art-card--page p {
    margin-block: 7px 12px;
    font-size: 10px;
  }

  .home-sticker--yellow {
    left: 6px;
    bottom: 18px;
    width: 88px;
    height: 88px;
  }

  .home-sticker--yellow strong {
    font-size: 28px;
  }

  .home-sticker--yellow span {
    margin-top: -12px;
    font-size: 8px;
  }

  .home-sticker--coral {
    top: 205px;
    left: 0;
    width: 105px;
    min-height: 44px;
    font-size: 13px;
  }

  .home-doodle--arrow {
    top: 244px;
    right: 14px;
    font-size: 40px;
  }

  .home-doodle--spark {
    top: 14px;
    left: 20px;
    font-size: 26px;
  }

  .home-system__map {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    transform: none;
    margin: 8px 0 0;
  }

  .home-system__center,
  .home-system__node {
    position: static;
    width: auto;
    min-height: 112px;
    transform: none;
  }

  .home-system__center {
    grid-column: 1 / -1;
    height: 142px;
    border-radius: 26px;
  }

  .home-system__node {
    padding: 14px;
  }

  .home-system__lines {
    display: none;
  }

  .node-video { transform: rotate(-1.4deg); }
  .node-page { transform: rotate(1.4deg); }
  .node-case { transform: rotate(1deg); }
  .node-social { transform: rotate(-1deg); }

  .home-case__board {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    transform: none;
    margin: 0;
  }

  .case-board__main,
  .case-board__item {
    position: static;
    width: auto;
    transform: none;
  }

  .case-board__main {
    grid-column: 1 / -1;
    min-height: 220px;
  }

  .case-board__main strong {
    font-size: 38px;
  }

  .case-board__item {
    min-height: 105px;
  }

  .case-board__item--site { transform: rotate(-1.4deg); }
  .case-board__item--tg { transform: rotate(1.4deg); }
  .case-board__item--yt { transform: rotate(1deg); }
  .case-board__item--cases { transform: rotate(-1deg); }

  .case-board__scribble {
    display: none;
  }
}

@media (max-width: 390px) {
  .home-hero__art,
  .home-system__map,
  .home-case__board {
    left: auto;
    width: 100%;
    transform: none;
    margin-left: 0;
    margin-right: 0;
  }

  .home-hero__art {
    height: 392px;
  }

  .home-portrait-card {
    left: 51%;
  }
}

/* Explicit link colors: .home-page a has higher specificity than utility classes. */
.home-page .home-header__cta,
.home-page .home-button--primary,
.home-page .home-button--outline-light,
.home-page .home-contact__email,
.home-page .home-service--checkup > a {
  color: #fff;
}

.home-page .home-button--light {
  color: var(--home-ink);
}

.home-page .home-case__story a {
  color: #7ad7ce;
}

.home-page .home-footer nav a {
  color: #596968;
}

/* Revision: calmer case collage and a shorter About section */
.home-case__board {
  min-height: 485px;
  padding-bottom: 34px;
}

.case-board__main {
  top: 102px;
  width: 220px;
  min-height: 232px;
}

.case-board__main strong {
  font-size: 40px;
}

.case-board__item {
  width: 160px;
  min-height: 104px;
}

.case-board__item b {
  font-size: 20px;
  line-height: 1.05;
}

.case-board__item span {
  margin-top: 4px;
  line-height: 1.25;
}

.case-board__item--site { top: 8px; left: 22px; }
.case-board__item--tg { top: 10px; right: 18px; }
.case-board__item--yt { left: 0; bottom: 48px; }
.case-board__item--cases { right: 0; bottom: 44px; }

.case-board__scribble {
  z-index: 2;
  top: auto;
  right: auto;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  padding: 4px 10px 5px;
  border: 1px solid rgba(122, 215, 206, 0.38);
  border-radius: 999px;
  background: rgba(8, 55, 55, 0.86);
  color: #8de4dc;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.home-about__grid {
  row-gap: 0;
}

@media (max-width: 1120px) {
  .home-case__board {
    width: min(100%, 620px);
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-bottom: 0;
    transform: none;
  }

  .case-board__main,
  .case-board__item {
    position: static;
    width: auto;
    min-width: 0;
    transform: none;
  }

  .case-board__main {
    grid-column: 1 / -1;
    min-height: 218px;
    display: grid;
    align-content: center;
  }

  .case-board__main span,
  .case-board__main strong,
  .case-board__main small {
    margin-top: 0;
  }

  .case-board__main strong {
    margin-block: 24px;
  }

  .case-board__item {
    min-height: 112px;
  }

  .case-board__scribble {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    transform: rotate(-1deg);
    margin-top: 2px;
  }
}

@media (max-width: 620px) {
  .home-case__board {
    gap: 10px;
  }

  .case-board__main {
    min-height: 198px;
    padding: 24px;
  }

  .case-board__main strong {
    margin-block: 20px;
    font-size: 35px;
  }

  .case-board__item {
    min-height: 100px;
    padding: 14px;
  }

  .case-board__item b {
    font-size: 18px;
  }

  .case-board__scribble {
    display: inline-flex;
    font-size: 11px;
  }

  .home-about__grid {
    gap: 28px;
  }
}

@media (max-width: 360px) {
  .home-case__board {
    grid-template-columns: 1fr;
  }

  .case-board__main,
  .case-board__scribble {
    grid-column: 1;
  }

  .case-board__item {
    min-height: 88px;
  }
}

/* Revision 3: mobile hero without overlapping collage; portrait moves into the first screen */
@media (max-width: 760px) {
  .home-hero {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "kicker"
      "portrait"
      "title"
      "lead"
      "actions"
      "aside";
    gap: 0;
  }

  .home-hero__copy {
    display: contents;
  }

  .home-kicker {
    grid-area: kicker;
    margin-bottom: 14px;
  }

  .home-hero__art {
    position: relative;
    grid-area: portrait;
    width: 100%;
    height: auto;
    margin: 0 0 24px;
    transform: none;
    justify-self: stretch;
    overflow: visible;
  }

  .home-portrait-card {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "photo name"
      "photo note";
    column-gap: 15px;
    row-gap: 3px;
    align-items: center;
    width: 100%;
    min-height: 116px;
    padding: 13px 16px;
    transform: none;
    border-radius: 22px;
    background:
      radial-gradient(circle at 94% 10%, rgba(247, 217, 110, 0.55) 0 21px, transparent 22px),
      linear-gradient(135deg, #ffffff 0 64%, #dff7f3 100%);
    box-shadow: 0 16px 40px rgba(27, 54, 54, 0.11);
  }

  .home-portrait-card__photo {
    grid-area: photo;
    width: 88px;
    height: 88px;
    margin: 0;
    border-width: 4px;
  }

  .home-portrait-card > strong {
    grid-area: name;
    align-self: end;
    margin: 0;
    font-size: 20px;
  }

  .home-portrait-card > span:last-child {
    grid-area: note;
    align-self: start;
    max-width: 30ch;
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .home-portrait-card__ring,
  .home-art-card,
  .home-sticker,
  .home-doodle {
    display: none;
  }

  .home-hero h1 {
    grid-area: title;
    margin-top: 0;
  }

  .home-hero__lead {
    grid-area: lead;
  }

  .home-hero__actions {
    grid-area: actions;
  }

  .home-hero__aside {
    grid-area: aside;
  }
}

@media (max-width: 390px) {
  .home-hero {
    padding-top: 28px;
  }

  .home-portrait-card {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 104px;
    padding: 12px 13px;
    column-gap: 12px;
  }

  .home-portrait-card__photo {
    width: 78px;
    height: 78px;
  }

  .home-portrait-card > strong {
    font-size: 18px;
  }

  .home-portrait-card > span:last-child {
    font-size: 10px;
  }
}


/* v8 — возвращена исходная живая композиция первого экрана.
   На широких экранах это свободный коллаж, а не сетка из карточек.
   Позиции заданы пропорционально размеру холста, поэтому важный текст не перекрывается. */
@media (min-width: 761px) {
  .home-hero__art {
    container-type: inline-size;
    position: relative;
    display: block;
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 1 / 1.04;
    min-height: 0;
    padding: 0;
    overflow: visible;
    justify-self: end;
  }

  .home-portrait-card {
    position: absolute;
    z-index: 6;
    top: 18cqw;
    left: 4cqw;
    width: 47cqw;
    max-width: none;
    margin: 0;
    padding: 3.1cqw 3.45cqw 3.8cqw;
    transform: rotate(-2.8deg);
    border-radius: 5cqw;
  }

  .home-portrait-card__ring {
    display: block;
    top: -8cqw;
    right: auto;
    left: -5cqw;
    width: 20cqw;
    height: 20cqw;
    border-width: 2.5cqw;
  }

  .home-portrait-card__photo {
    width: 32cqw;
    height: 32cqw;
    margin: -10.3cqw auto 2.7cqw;
    border-width: 1.35cqw;
  }

  .home-portrait-card > strong {
    font-size: clamp(18px, 4.6cqw, 24px);
  }

  .home-portrait-card > span:last-child {
    max-width: 25ch;
    margin-top: 1.05cqw;
    font-size: clamp(9px, 2.08cqw, 11px);
    line-height: 1.35;
  }

  .home-art-card--script {
    display: block;
    z-index: 3;
    top: 0;
    right: 0;
    width: 44cqw;
    padding: 3.45cqw 3.85cqw 3.8cqw;
    transform: rotate(5.4deg);
    border-radius: 3.45cqw;
  }

  .home-art-card__top {
    padding-bottom: 2.5cqw;
    font-size: clamp(8px, 1.92cqw, 10px);
  }

  .home-art-card--script p {
    margin-top: 2.7cqw;
    font-size: clamp(9px, 2.3cqw, 12px);
  }

  .home-art-card--script p i {
    width: 8.7cqw;
    font-size: clamp(8px, 1.92cqw, 10px);
  }

  .home-art-card__marker {
    right: 3.1cqw;
    bottom: 3.8cqw;
    width: 13.5cqw;
    height: 1.35cqw;
  }

  .home-art-card--page {
    display: block;
    z-index: 4;
    right: 0;
    bottom: 1cqw;
    width: 53cqw;
    padding: 3.45cqw;
    transform: rotate(-3deg);
    border-radius: 3.45cqw;
  }

  .home-art-card__browser {
    gap: 0.95cqw;
    margin-bottom: 3.85cqw;
  }

  .home-art-card__browser i {
    width: 1.35cqw;
    height: 1.35cqw;
  }

  .home-art-card--page strong {
    max-width: 33cqw;
    font-size: clamp(18px, 4.2cqw, 22px);
  }

  .home-art-card--page p {
    max-width: 37cqw;
    margin: 1.7cqw 0 3.45cqw;
    font-size: clamp(9px, 2.3cqw, 12px);
  }

  .home-art-card__button {
    min-height: 6cqw;
    padding-inline: 2.1cqw;
    border-radius: 1.55cqw;
    font-size: clamp(7px, 1.73cqw, 9px);
  }

  .home-sticker,
  .home-doodle {
    display: grid;
  }

  .home-sticker--yellow {
    z-index: 7;
    left: 0;
    bottom: 3cqw;
    width: 25cqw;
    height: 25cqw;
    border-radius: 1cqw 5cqw 1.35cqw 4.6cqw;
  }

  .home-sticker--yellow::before {
    top: -1.9cqw;
    width: 11cqw;
    height: 3.45cqw;
  }

  .home-sticker--yellow strong {
    font-size: clamp(27px, 7.3cqw, 38px);
  }

  .home-sticker--yellow span {
    margin-top: -3.45cqw;
    font-size: clamp(8px, 2.1cqw, 11px);
  }

  .home-sticker--coral {
    display: grid;
    z-index: 7;
    top: 60cqw;
    left: -1cqw;
    width: 26cqw;
    min-height: 10.5cqw;
    padding: 1.9cqw 2.3cqw;
    border-radius: 999px;
    font-size: clamp(12px, 3.05cqw, 16px);
  }

  .home-doodle--arrow {
    display: block;
    top: 55cqw;
    right: 3cqw;
    font-size: clamp(40px, 10.4cqw, 54px);
  }

  .home-doodle--spark {
    display: block;
    top: 4cqw;
    left: 4cqw;
    font-size: clamp(25px, 6.5cqw, 34px);
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .home-hero__art {
    transform: none;
    transform-origin: center;
  }
}


/* Prelaunch: сайт-портфолио до регистрации ИП */
.prelaunch-contact-card {
  align-self: start;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid rgba(18, 41, 42, 0.13);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(18, 41, 42, 0.08);
}
.prelaunch-contact-card h3 { margin: 12px 0 12px; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.prelaunch-contact-card p { margin: 0 0 22px; color: #526364; }
.prelaunch-contact-card .button { display: flex; justify-content: center; width: 100%; margin-top: 10px; }
.prelaunch-contact-card .button-outline { border: 1px solid rgba(18, 41, 42, 0.22); background: transparent; color: #12292a; }
.prelaunch-email { display: inline-block; margin-top: 20px; font-weight: 700; color: #0a8179; }
.prelaunch-contact-card small { display: block; margin-top: 14px; color: #718081; }
@media (max-width: 760px) { .prelaunch-contact-card { border-radius: 22px; } }
