:root {
  --ink: #f4f4f5;
  --ink-soft: #a3a3ac;
  --bg: #15161a;
  --bg-alt: #1c1d23;
  --line: #2a2b32;
  --accent: #8b7dff;
  --accent-soft: #2a2740;
  --white: #1f2025;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Intro loader */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 1.6s ease;
}

.intro-loader.intro-loader-hidden {
  opacity: 0;
  pointer-events: none;
}

.page-fade {
  opacity: 0;
  transition: opacity 1.8s ease, transform 1.8s ease;
  transform: translateY(8px);
}

body.loaded .page-fade {
  opacity: 1;
  transform: translateY(0);
}

.cairnstone-logo {
  width: 720px;
  max-width: 92vw;
  height: auto;
}

.intro-loader .stone {
  opacity: 0;
  transform-origin: center;
}

.intro-loader .s1 { animation: introSwing 0.246s ease-out 0.092s forwards; }
.intro-loader .s2 { animation: introSwing 0.246s ease-out 0.4s forwards; }
.intro-loader .s3 { animation: introSwing 0.246s ease-out 0.707s forwards; }
.intro-loader .s4 { animation: introSwing 0.246s ease-out 1.014s forwards; }
.intro-loader .s5 { animation: introSwing 0.246s ease-out 1.321s forwards; }
.intro-loader .s6 { animation: introSwing 0.246s ease-out 1.628s forwards; }
.intro-loader .s7 { animation: introSwing 1s cubic-bezier(.34,1.56,.64,1) 1.936s forwards; }

.intro-loader .stone-pile {
  transform: translateX(260px);
  animation: introPileImpact 0.26s ease-out 3.15s both;
}

.intro-loader .glow {
  opacity: 0;
  animation: introGlowfade 0.48s ease-out 3.35s forwards;
}

.intro-loader .word {
  opacity: 0;
  animation: introWordDrop 0.32s cubic-bezier(.2,.7,.3,1) 2.91s forwards;
}

.intro-loader .tagline {
  opacity: 0;
  animation: introFadein 0.4s ease-out 3.43s forwards;
}

.intro-loader.intro-skippable {
  cursor: pointer;
}

.intro-loader.intro-skippable .cairnstone-logo {
  animation: introSkipPulse 1.6s ease-in-out infinite;
}

@keyframes introSwing {
  0%   { opacity: 0; transform: translate(-40px, -35px) rotate(-45deg); }
  60%  { opacity: 1; transform: translate(4px, 3px) rotate(6deg); }
  80%  { transform: translate(-2px, 0px) rotate(-3deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}

@keyframes introPileImpact {
  0%   { transform: translateX(260px) scale(1, 1); }
  40%  { transform: translateX(260px) scale(1.06, 0.9); }
  100% { transform: translateX(260px) scale(1, 1); }
}

@keyframes introWordDrop {
  0%   { opacity: 0; transform: translateY(-56px); }
  70%  { opacity: 1; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes introGlowfade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes introFadein {
  0%   { opacity: 0; transform: translateX(-8px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes introSkipPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 22, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:not(.nav-cta) {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta):hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(91, 75, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.25s ease, box-shadow 0.3s ease;
}

.tilt-card.tilt-settling {
  transition: transform 0.5s cubic-bezier(.16,1,.3,1), border-color 0.25s ease, box-shadow 0.3s ease;
}

.tilt-card:hover {
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 56px;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-trust-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.hero-trust-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-trust-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

@media (max-width: 560px) {
  .hero-trust-divider { display: none; }
  .hero-trust { gap: 20px 32px; }
}

/* Logos strip */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }

.logos-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.logos-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 1.05rem;
  color: #c7c5be;
  letter-spacing: -0.01em;
}

/* Section shared */
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 12px auto 0;
}

.services, .pricing, .work, .about { padding: 110px 0; }
.work { background: var(--bg-alt); }

/* Pricing */
.pricing-process {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-num {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.process-step h4 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.process-step p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.price-select-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.price-select-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.price-select-card:hover {
  border-color: #c9c7c0;
  transform: translateY(-2px);
}

.price-select-badge {
  position: absolute;
  top: -1px;
  right: 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 0 0 8px 8px;
}

.price-select-card:has(input:checked) .price-select-badge {
  background: rgba(255, 255, 255, 0.25);
}

.price-select-chevron {
  flex-shrink: 0;
  display: flex;
  color: #b9b7b0;
  transition: transform 0.3s ease, color 0.25s ease;
}

.price-select-card-header input:checked ~ .price-select-chevron {
  transform: rotate(180deg);
  color: #fff;
}

.price-select-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.price-select-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.price-select-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.price-select-card input:checked ~ .price-select-check {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.price-select-card input:checked ~ .price-select-check::after { opacity: 1; }

.price-select-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Expandable card (Customer login) */
.price-select-card-expandable {
  padding: 0;
  flex-direction: column;
  align-items: stretch;
  cursor: default;
}

.price-select-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
}

.price-suboptions {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.price-select-card-expandable:has(input:checked) .price-suboptions {
  max-height: 400px;
}

.price-suboptions-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 22px 20px;
}

.price-suboption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
}

.price-select-card-expandable:has(.price-select-card-header input:checked) .price-suboption {
  color: #fff;
}

.price-select-card-expandable:not(:has(.price-select-card-header input:checked)) .price-suboption {
  border-color: var(--line);
  color: var(--ink-soft);
  pointer-events: none;
}

.price-suboption input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.price-suboption-check {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid currentColor;
  position: relative;
}

.price-suboption-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.price-suboption input:checked ~ .price-suboption-check {
  background: rgba(255, 255, 255, 0.9);
}

.price-select-card-expandable:has(.price-select-card-header input:checked) .price-suboption input:checked ~ .price-suboption-check {
  color: var(--accent);
}

.price-suboption input:checked ~ .price-suboption-check::after { opacity: 1; }

.price-suboption input:checked ~ span:last-of-type { text-decoration: underline; }

.price-suboption-amount {
  font-size: 0.78rem;
  opacity: 0.8;
}

.price-tier-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 22px 20px;
}

.price-tier-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.price-select-card-expandable:has(.price-select-card-header input:checked) .price-tier-option {
  color: #fff;
}

.price-select-card-expandable:not(:has(.price-select-card-header input:checked)) .price-tier-option {
  border-color: var(--line);
  color: var(--ink-soft);
  pointer-events: none;
}

.price-tier-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.price-tier-option input:checked ~ .price-tier-radio,
.price-tier-option:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.9);
}

.price-tier-option:has(input:checked) {
  background: rgba(255, 255, 255, 0.14);
}

.price-tier-radio {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}

.price-tier-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}

.price-tier-option input:checked ~ .price-tier-radio::after { opacity: 1; }

.price-tier-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-tier-text strong {
  font-size: 0.86rem;
}

.price-tier-text small {
  font-size: 0.74rem;
  opacity: 0.75;
}

.price-tier-amount {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.price-select-body strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.price-select-body small {
  color: var(--ink-soft);
  font-size: 0.82rem;
  transition: color 0.25s ease;
}

.price-select-amount {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #b9b7b0;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.price-select-unit {
  font-size: 0.7rem;
  font-weight: 600;
}

.price-select-card:has(input:checked) {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(120deg, #6a5cff, #8f7dff, #4d3dfa, #7c6bff);
  background-size: 300% 300%;
  animation: priceGradient 6s ease infinite;
  box-shadow: 0 14px 28px -14px rgba(91, 75, 255, 0.55);
}

.price-select-card:has(input:checked) .price-select-body small,
.price-select-card:has(input:checked) .price-select-amount {
  color: #fff;
}

.price-select-card.locked {
  cursor: default;
}

@keyframes priceGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.domain-check {
  margin-top: 24px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.domain-check h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.domain-check p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.domain-mode-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 20px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}

.domain-mode-tab {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.domain-mode-tab:hover { color: var(--ink); }

.domain-mode-tab.active {
  background: var(--ink);
  color: var(--bg);
}

.domain-mode-panel {
  display: none;
}

.domain-mode-panel.active {
  display: block;
}

.domain-mode-panel #domainOwnInput {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.domain-mode-panel #domainOwnInput:focus {
  outline: none;
  border-color: var(--accent);
}

.domain-mode-note {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f8a5c;
}

.domain-check-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.domain-check-form input {
  flex: 1;
  min-width: 220px;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.domain-check-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.domain-check-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent);
  padding: 12px 38px 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b4bff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 14px center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.domain-check-form select:hover {
  border-color: #c9c7c0;
}

.domain-check-form select:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

.domain-check-result {
  margin-top: 16px;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.domain-check-result.available { color: #1f8a5c; font-weight: 700; }
.domain-check-result.taken { color: #c0392b; font-weight: 700; }
.domain-check-result.error { color: var(--ink-soft); }
.domain-check-result.loading { color: var(--ink-soft); }

.domain-check-alternatives {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.domain-alt-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  background: var(--white);
  border: 1.5px solid #cdead9;
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 21, 26, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.domain-alt-pill:hover {
  border-color: #1f8a5c;
  box-shadow: 0 8px 16px -8px rgba(31, 138, 92, 0.35);
  transform: translateY(-2px);
}

.domain-alt-pill-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f8a5c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.domain-alt-pill-check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.domain-alt-pill strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
}

.domain-alt-pill-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f8a5c;
}

.domain-alt-pill-best {
  position: absolute;
  top: -9px;
  left: 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 999px;
}

.price-summary {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-summary-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius);
  padding: 22px 26px;
}

.price-summary-block-total {
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
}

.price-summary-block-due {
  background: var(--accent);
  color: #fff;
}

.price-summary-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-summary-block-total .price-summary-label { color: var(--ink-soft); }
.price-summary-block-due .price-summary-label { color: rgba(255, 255, 255, 0.65); }

.price-total-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price-total-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.price-due-today-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.price-due-today-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 620px) {
  .price-summary { grid-template-columns: 1fr; }
}

.hosting-required-note {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.hosting-required-badge {
  flex-shrink: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 2px;
}

.hosting-required-note p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.hosting-required-note strong { color: var(--ink); }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pricing-note a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 860px) {
  .pricing-process { grid-template-columns: 1fr 1fr; }
  .price-select-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .pricing-process { grid-template-columns: 1fr; }
  .price-total-bar { flex-direction: column; align-items: flex-start; }
}

/* Services */
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 16px 32px -16px rgba(20, 21, 26, 0.15);
}

.service-icon {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Work */
.work-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.work-card:hover {
  box-shadow: 0 16px 32px -16px rgba(20, 21, 26, 0.15);
}

.work-thumb { height: 220px; overflow: hidden; }

.work-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-thumb-img-contain {
  object-fit: contain;
  padding: 24px;
}

.work-meta { padding: 20px 24px; }

.work-meta h3 { font-size: 1.05rem; margin-bottom: 4px; }

.work-meta p { color: var(--ink-soft); font-size: 0.9rem; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--ink-soft);
  margin-top: 18px;
  font-size: 1.02rem;
}

.about-text .section-title { text-align: left; }

.about-stats {
  display: grid;
  gap: 24px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Contact */
.contact { padding: 110px 0 130px; }

.contact-inner { max-width: 640px; margin: 0 auto; }

.contact-form {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Onboarding steps */
.form-steps {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.form-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b9b7b0;
  white-space: nowrap;
}

.form-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.form-step.done .form-step-dot,
.form-step.current .form-step-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.form-step.current,
.form-step.done { color: var(--ink); }

.form-step span:last-child { display: none; }

@media (min-width: 560px) {
  .form-step span:last-child { display: inline; }
}

.form-step-line {
  flex: 1;
  height: 1.5px;
  background: var(--line);
  margin: 0 10px;
}

.form-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.form-panel.active { display: flex; }

.form-panel-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-nav {
  display: flex;
  gap: 12px;
}

.form-nav .btn { flex: 1; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checkbox-card:hover { border-color: #c9c7c0; }

.checkbox-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.checkbox-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.checkbox-card input:checked ~ .checkbox-mark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-card input:checked ~ .checkbox-mark::after { opacity: 1; }

.checkbox-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.checkbox-text { display: flex; flex-direction: column; gap: 2px; }

.checkbox-text strong { font-size: 0.92rem; }

.checkbox-text small { color: var(--ink-soft); font-size: 0.8rem; }

@media (max-width: 520px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 1.2em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-text .section-title { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .logos-row { gap: 28px; font-size: 0.9rem; }
}
