/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg2:       #f7f7f5;
  --bg3:       #f0f0ed;
  --border:    #e8e8e4;
  --border2:   #d8d8d4;
  --text:      #1a1a1a;
  --text2:     #4a4a4a;
  --muted:     #9a9a9a;
  --accent:    #1a1a1a;
  --accent-bg: #f0f0ed;
  --green:     #16a34a;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 2px 16px rgba(0,0,0,.07);
  --shadow-md: 0 4px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Logo mark ── */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--text);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-mark-sm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 13px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-accent { color: var(--muted); }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg2); color: var(--text); }

.btn-header {
  background: var(--text);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity .15s;
}
.btn-header:hover { opacity: .8; }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  background: var(--text);
  color: #fff;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity .15s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { opacity: .82; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text2);
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border2);
  transition: border-color .15s, color .15s, background .15s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); background: var(--bg2); }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-n { display: block; font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.stat-l { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* ── Section header ── */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--text2);
  font-size: 16px;
}

/* ── Services ── */
.services { padding: 88px 0; }

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

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:not(.service-soon):hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0 40px;
  background: var(--bg2);
  border-color: var(--border2);
}
.service-featured .service-top { grid-column: 1; }
.service-featured h3          { grid-column: 1; }
.service-featured > p         { grid-column: 1; }
.service-featured .service-list { grid-column: 2; grid-row: 1 / 5; align-self: center; margin: 0; }
.service-featured .service-link { grid-column: 1; }

.service-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-icon { font-size: 26px; line-height: 1; }

.service-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--text);
  color: #fff;
  padding: 2px 9px;
  border-radius: 100px;
}
.service-tag-soon {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border2);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.service-featured h3 { font-size: 22px; }

.service-card > p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.service-list li {
  font-size: 13.5px;
  color: var(--text2);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: auto;
  padding-top: 8px;
}
.service-link .arrow {
  transition: transform .2s;
}
.service-card:hover .service-link .arrow {
  transform: translateX(3px);
}
.service-link-muted {
  color: var(--muted);
}

.service-soon {
  opacity: .55;
  cursor: default;
  pointer-events: none;
}

/* ── How ── */
.how {
  padding: 88px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 28px;
}

.step-line {
  width: 80px;
  height: 1px;
  background: var(--border2);
  flex-shrink: 0;
  margin-top: 24px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border2);
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.step p {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ── Pricing ── */
.pricing { padding: 88px 0; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.plan-popular {
  border-color: var(--text);
  background: var(--bg2);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .04em;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}
.plan-period {
  font-size: 13px;
  color: var(--muted);
}

.plan-save {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-top: -8px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  flex: 1;
}
.plan-features li {
  padding-left: 20px;
  position: relative;
  color: var(--text2);
}
.plan-features .ok::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}
.plan-features .no {
  color: var(--muted);
}
.plan-features .no::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--border2);
  font-size: 12px;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border2);
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.btn-plan:hover { border-color: var(--text); background: var(--bg2); }

.btn-plan-pop {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.btn-plan-pop:hover { opacity: .85; background: var(--text); }

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ── CTA ── */
.cta {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.cta-inner p {
  color: var(--text2);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ── Footer ── */
.footer {
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.footer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

/* ── Sitemap ── */
.sitemap {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

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

.sitemap-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.sitemap-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-col a {
  font-size: 13.5px;
  color: var(--text2);
  transition: color .15s;
}
.sitemap-col a:hover { color: var(--text); }

/* ── Contacts ── */
.contacts {
  padding: 88px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .15s;
}
.contact-value:hover { color: var(--text2); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .service-featured .service-list { grid-column: 1; grid-row: auto; }
  .plans { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 700px) {
  .nav { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-featured { grid-column: 1; }
  .steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-line { width: 1px; height: 32px; margin: 0 auto; }
  .plans { max-width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-brand { margin-right: 0; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 500px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
