:root {
  --bg: #f8faf7;
  --bg-alt: #f2eff8;
  --panel: #ffffff;
  --text: #201d2b;
  --muted: #706b82;
  --line: #ddd8ea;
  --line-strong: #cbc2df;
  --accent: #6f4fd8;
  --accent-soft: #eee8ff;
  --accent-deep: #5134ae;
  --placeholder: #b06a14;
  --shadow: 0 18px 48px rgba(48, 32, 94, 0.08);
  --anchor-offset: 124px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 79, 216, 0.12), transparent 24%),
    linear-gradient(180deg, #fcfbff 0%, #f5f2fb 100%);
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thanks-card {
  width: min(680px, 100%);
  padding: 44px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-badge {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), #eef8f4);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
}

.thanks-card h1 {
  max-width: none;
  margin-bottom: 16px;
}

.thanks-text {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.72;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

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

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 42px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  margin-bottom: 34px;
  border: 1px solid rgba(191, 206, 198, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(26, 36, 33, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(135deg, #dccfff, #aa8eff 68%, #8a68ef);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 22px rgba(111, 79, 216, 0.2);
}

.brand-text,
h1,
h2,
h3 {
  font-family: "Onest", "Manrope", sans-serif;
}

.brand-text {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand-mark-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: rgba(34, 24, 63, 0.92);
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand-node,
.brand-link {
  position: absolute;
  display: block;
}

.brand-node {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2a1f4b;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.brand-node-top {
  top: 10px;
  left: 22px;
}

.brand-node-right {
  top: 22px;
  right: 10px;
}

.brand-node-bottom {
  bottom: 10px;
  left: 22px;
}

.brand-link {
  background: rgba(42, 31, 75, 0.78);
  transform-origin: center;
}

.brand-link-top {
  top: 18px;
  left: 24px;
  width: 3px;
  height: 10px;
}

.brand-link-right {
  top: 24px;
  right: 18px;
  width: 10px;
  height: 3px;
}

.brand-link-bottom {
  bottom: 18px;
  left: 24px;
  width: 3px;
  height: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero,
.intro-copy,
.official-offer,
.contact-copy,
.tally-shell,
.process-card,
.project-card,
.pricing-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  padding: 26px 34px;
  border-radius: var(--radius-xl);
}

.hero-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.05;
}

h1 {
  max-width: 24ch;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

h2 {
  max-width: 18ch;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.hero-text,
.copy-column p,
.process-card p,
.project-card p,
.pricing-card p,
.offer-text,
.contact-copy p,
.contact-card p,
.legal-card li,
.site-footer p {
  color: var(--muted);
}

.hero-text,
.offer-text {
  max-width: 82ch;
  line-height: 1.62;
}

.hero-slogan {
  display: block;
  max-width: 20ch;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-pills span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f8f5ff);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.section {
  margin-top: 58px;
}

.section-head {
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-expertise {
  padding-top: 4px;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.expertise-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #faf8ff);
  font-size: 1rem;
  font-weight: 700;
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 30px 32px;
  border-radius: var(--radius-xl);
}

.copy-column p {
  line-height: 1.72;
}

.process-grid,
.project-grid,
.pricing-grid,
.legal-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.project-grid,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.contact-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.process-card,
.project-card,
.pricing-card,
.legal-card,
.contact-copy,
.tally-shell {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.process-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
}

.pricing-card strong {
  display: block;
  margin-top: 16px;
  font-size: 1.1rem;
}

.official-offer {
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(111, 79, 216, 0.05), rgba(238, 232, 255, 0.32)),
    #ffffff;
}

.legal-card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.legal-card li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.placeholder {
  color: var(--placeholder);
}

.tally-shell {
  background: linear-gradient(180deg, #ffffff, #faf8ff);
}

.tally-placeholder {
  display: grid;
  gap: 14px;
}

.tally-placeholder[hidden],
.tally-shell iframe[hidden] {
  display: none !important;
}

.tally-status {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  margin-bottom: 4px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.tally-shell iframe {
  display: block;
  border: none;
  border-radius: 18px;
  background: #ffffff;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
}

.form-note,
.contact-copy p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 26px 4px 0;
}

.site-footer p {
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .process-grid,
  .project-grid,
  .pricing-grid,
  .legal-grid,
  .contact-grid,
  .expertise-list,
  .intro-copy {
    grid-template-columns: 1fr;
  }

  h2 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav {
    gap: 14px;
  }

  .hero,
  .intro-copy,
  .official-offer {
    padding: 26px 22px;
  }
}

@media (max-width: 640px) {
  :root {
    --anchor-offset: 18px;
  }

  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .site-header {
    position: static;
    border-radius: 28px;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav,
  .nav-cta,
  .hero-actions,
  .button {
    width: 100%;
  }

  .site-nav a,
  .nav-cta,
  .button {
    justify-content: center;
  }

  h1 {
    max-width: none;
  }
}
