:root {
  color-scheme: light;
  --bg: #f7f4ed;
  --bg-elevated: #fbf8f2;
  --bg-strong: #efe8d9;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --text: #1c1c1c;
  --text-muted: rgba(28, 28, 28, 0.72);
  --text-soft: rgba(28, 28, 28, 0.56);
  --line: rgba(28, 28, 28, 0.1);
  --line-strong: rgba(28, 28, 28, 0.18);
  --shadow-sm: 0 10px 24px rgba(38, 26, 10, 0.08);
  --shadow-md: 0 20px 50px rgba(38, 26, 10, 0.12);
  --shadow-lg: 0 34px 90px rgba(38, 26, 10, 0.16);
  --accent: #7b5cff;
  --accent-2: #ff7a59;
  --accent-3: #22b8a6;
  --accent-soft: rgba(123, 92, 255, 0.12);
  --ring: 0 0 0 4px rgba(123, 92, 255, 0.18);
  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --container: 1180px;
  --gutter: clamp(18px, 3vw, 32px);
  --section-y: clamp(72px, 9vw, 132px);
  --section-y-tight: clamp(48px, 6vw, 84px);
  --hero-gap: clamp(24px, 4vw, 44px);
  --card-gap: clamp(16px, 2vw, 24px);
  --card-pad: clamp(18px, 2.4vw, 28px);
  --card-pad-lg: clamp(22px, 3vw, 34px);
  --line-height: 1.5;
  --line-height-tight: 1.08;
  --headline: "Camera Plain Variable", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  line-height: var(--line-height);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(123, 92, 255, 0.14), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 122, 89, 0.12), transparent 22%),
    radial-gradient(circle at 15% 72%, rgba(34, 184, 166, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f5ef 0%, #f7f4ed 42%, #f4efe4 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-color: rgba(123, 92, 255, 0.42) !important; }
::selection { background: rgba(123, 92, 255, 0.16); }

.site-shell {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(247, 244, 237, 0.92), rgba(247, 244, 237, 0.72));
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}

.header-inner {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 28%, rgba(255,255,255,0.88), transparent 35%),
    linear-gradient(145deg, rgba(123,92,255,0.95), rgba(255,122,89,0.9));
  box-shadow: 0 12px 30px rgba(123, 92, 255, 0.22);
  position: relative;
  flex: 0 0 auto;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  transform: rotate(12deg);
}

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

.brand-name {
  font-family: var(--headline);
  letter-spacing: -0.04em;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1;
}

.brand-tag {
  font-size: 0.84rem;
  color: var(--text-soft);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.primary-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 20px rgba(28, 28, 28, 0.06);
  transform: translateY(-1px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--text), #3c3227);
  color: #fff;
  box-shadow: 0 18px 30px rgba(28, 28, 28, 0.14);
}

.header-cta:hover { transform: translateY(-1px); }

main { display: block; }

.hero {
  padding: clamp(28px, 3vw, 40px) 0 var(--section-y);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: var(--hero-gap);
  align-items: stretch;
}

.hero-copy {
  padding: clamp(28px, 4vw, 44px) 0;
  display: grid;
  align-content: center;
  gap: 22px;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 28, 28, 0.08);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 30px rgba(38, 26, 10, 0.06);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 5px rgba(123, 92, 255, 0.12);
}

.hero h1,
.section-title,
.display {
  font-family: var(--headline);
  letter-spacing: -0.06em;
  line-height: var(--line-height-tight);
  margin: 0;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 10.5ch;
}

.hero-lead {
  max-width: 61ch;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 50px;
  padding: 0 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(145deg, var(--accent), #5a79ff);
  color: white;
  box-shadow: 0 18px 36px rgba(123, 92, 255, 0.25);
}
.button-secondary {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(28, 28, 28, 0.08);
  color: var(--text);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.26);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.48)),
    radial-gradient(circle at 18% 18%, rgba(123,92,255,0.14), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(255,122,89,0.12), transparent 26%),
    linear-gradient(145deg, rgba(239, 232, 217, 0.7), rgba(255,255,255,0.6));
  border: 1px solid rgba(28, 28, 28, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 520px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -20% -12% auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.2), transparent 68%);
  pointer-events: none;
}

.visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(28, 28, 28, 0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
  min-height: 0;
  flex: 1;
}

.visual-panel,
.visual-stack > * {
  border-radius: var(--radius-md);
  border: 1px solid rgba(28, 28, 28, 0.08);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.visual-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
  min-height: 0;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.panel-heading strong {
  color: var(--text);
  font-size: 1rem;
}

.glow-orbit {
  position: relative;
  border-radius: 24px;
  min-height: 240px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.96), rgba(255,255,255,0.58) 34%, rgba(123,92,255,0.1) 58%, rgba(255,122,89,0.1) 76%, transparent 82%),
    linear-gradient(145deg, rgba(247, 244, 237, 0.9), rgba(232, 225, 210, 0.55));
  overflow: hidden;
}

.glow-orbit::before,
.glow-orbit::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(28, 28, 28, 0.12);
}

.glow-orbit::after {
  inset: 20%;
  border-style: solid;
  border-color: rgba(123, 92, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.orbit-node {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 18px 30px rgba(28, 28, 28, 0.14);
}

.orbit-node.one { top: 16%; left: 14%; background: linear-gradient(145deg, var(--accent), #5f88ff); }
.orbit-node.two { top: 18%; right: 14%; background: linear-gradient(145deg, var(--accent-2), #ff9c74); }
.orbit-node.three { bottom: 17%; left: 22%; background: linear-gradient(145deg, var(--accent-3), #67d4c6); }
.orbit-node.four { bottom: 18%; right: 20%; background: linear-gradient(145deg, #3f3a71, #6c63a8); }

.visual-stack {
  display: grid;
  gap: 16px;
}

.metric-card,
.note-card {
  padding: 18px;
}

.metric-value {
  font-family: var(--headline);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.06em;
}

.metric-label,
.note-card p { margin: 0; color: var(--text-muted); }
.note-card h3 { margin: 0 0 8px; font-family: var(--headline); letter-spacing: -0.04em; }

.section {
  padding: var(--section-y) 0;
}

.section-tight { padding: var(--section-y-tight) 0; }

.section-header {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 15ch;
}

.section-lead {
  margin: 0;
  max-width: 68ch;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.feature-grid,
.proof-grid,
.footer-grid,
.content-grid {
  display: grid;
  gap: var(--card-gap);
}

.feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.feature-card {
  grid-column: span 4;
  padding: var(--card-pad-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(28, 28, 28, 0.08);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.12), transparent 68%);
}

.feature-card h3,
.proof-card h3,
.cta-card h3,
.footer-block h4 {
  font-family: var(--headline);
  letter-spacing: -0.04em;
  margin: 0;
}

.feature-card p,
.proof-card p,
.cta-card p,
.footer-block p,
.content-card p {
  margin: 0;
  color: var(--text-muted);
}

.feature-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(123, 92, 255, 0.08);
  color: rgba(28, 28, 28, 0.84);
  font-size: 0.82rem;
}

.feature-index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(28, 28, 28, 0.06);
  color: rgba(28, 28, 28, 0.68);
  font-weight: 700;
  margin-bottom: 2px;
}

.proof-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.proof-card {
  padding: var(--card-pad-lg);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.62));
  border: 1px solid rgba(28, 28, 28, 0.08);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}

.radar {
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(123, 92, 255, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(28,28,28,0.04), rgba(28,28,28,0.01));
  border: 1px solid rgba(28, 28, 28, 0.06);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.radar::before,
.radar::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(28, 28, 28, 0.08);
}

.radar::after {
  inset: 20%;
}

.radar-line {
  position: absolute;
  inset: 50% 12%;
  height: 1px;
  background: rgba(28, 28, 28, 0.12);
}

.radar-line.alt {
  inset: 12% 50%;
  width: 1px;
  height: auto;
}

.radar-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 0 10px rgba(123, 92, 255, 0.08);
}

.radar-dot.one { top: 22%; left: 24%; }
.radar-dot.two { top: 52%; left: 54%; }
.radar-dot.three { bottom: 24%; right: 26%; }

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(28, 28, 28, 0.07);
}

.proof-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.98rem;
}

.proof-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.proof-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  flex: 0 0 auto;
  background: linear-gradient(145deg, rgba(123, 92, 255, 0.14), rgba(255, 122, 89, 0.14));
  display: grid;
  place-items: center;
  color: var(--text);
}

.cta-band {
  padding: 0 0 var(--section-y);
}

.cta-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(28, 28, 28, 0.98), rgba(59, 49, 38, 0.96));
  color: #fff;
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(28, 28, 28, 0.22);
}

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

.cta-card::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -90px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.32), transparent 68%);
}

.cta-card::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.24), transparent 68%);
}

.cta-card h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-card p { color: rgba(255, 255, 255, 0.74); max-width: 62ch; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.site-footer {
  padding: 0 0 24px;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 18px;
}

.footer-block {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(28, 28, 28, 0.08);
  box-shadow: var(--shadow-sm);
}

.footer-block ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.footer-block li a,
.footer-block li span {
  color: var(--text-muted);
}

.footer-legal {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.content-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.content-card {
  grid-column: span 6;
  padding: var(--card-pad-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(28, 28, 28, 0.08);
  box-shadow: var(--shadow-sm);
}

[data-shpitto-blog-list] .article-card,
[data-shpitto-blog-list] .blog-card {
  padding: var(--card-pad);
}

@media (max-width: 1100px) {
  .hero-grid,
  .proof-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .feature-card { grid-column: span 6; }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 10px;
  }

  .brand { width: 100%; justify-content: center; }
  .primary-nav { width: 100%; justify-content: center; }
  .header-cta { width: 100%; justify-content: center; }
  .hero h1 { max-width: 12ch; }
  .visual-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 14px; }
  .feature-card,
  .content-card { grid-column: span 12; }
  .hero-visual { min-height: 420px; }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --section-y: 62px;
    --section-y-tight: 42px;
  }

  .site-shell,
  .header-inner { width: min(100% - 32px, var(--container)); }
  .hero { padding-top: 18px; }
  .hero-copy { padding-top: 8px; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 3.7rem); }
  .hero-lead { font-size: 1rem; }
  .hero-visual {
    min-height: 380px;
    padding: 16px;
    border-radius: 28px;
  }
  .visual-panel,
  .metric-card,
  .note-card,
  .proof-card,
  .cta-card,
  .footer-block,
  .content-card,
  .feature-card {
    padding: 18px;
    border-radius: 22px;
  }
  .button,
  .header-cta { width: 100%; }
  .hero-actions,
  .cta-actions { width: 100%; }
  .button { min-height: 48px; }
  .radar { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}