:root {
  --bg: #f6efe5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf8;
  --line: rgba(34, 40, 49, 0.1);
  --text: #1b2330;
  --muted: #5f6b7a;
  --accent: #0f5f5c;
  --accent-2: #eb7a3c;
  --shadow: 0 18px 60px rgba(27, 35, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(235, 122, 60, 0.16), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(15, 95, 92, 0.14), transparent 25%),
    linear-gradient(180deg, #fbf7f1 0%, #f3ecdf 100%);
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
}

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

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 35, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 35, 48, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 85%);
  pointer-events: none;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 8px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #2b8b88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 42px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 24px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 95, 92, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.lead {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--text), #2c3442);
  color: white;
  box-shadow: 0 14px 30px rgba(27, 35, 48, 0.2);
}

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

.meta-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.meta-list li {
  position: relative;
  padding-left: 18px;
}

.meta-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
}

.hero-card,
.bilingual-block,
.feature-card,
.step,
.faq-list article {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
  border-radius: 28px;
  transform: rotate(1.5deg);
}

.card-window {
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid rgba(27, 35, 48, 0.08);
}

.window-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  background: #f3eee7;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8cfc3;
}

.window-body {
  padding: 22px;
}

.window-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 95, 92, 0.09);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.window-title {
  margin-top: 14px;
  font-size: 1.45rem;
  font-weight: 700;
}

.window-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.window-tags span,
.score {
  font-weight: 700;
}

.window-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff4e5;
  color: #a65b2c;
}

.match-box {
  --match-score: 87;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score {
  font-size: 2.2rem;
}

.match-bar {
  height: 14px;
  border-radius: 999px;
  background: #ebedf0;
  overflow: hidden;
}

.match-bar i {
  display: block;
  width: calc(var(--match-score) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.mini-output {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: #f7f3ec;
}

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

.mini-heading,
.section-head h2,
.feature-card h3,
.step h3 {
  font-weight: 700;
}

.mini-output p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.mini-actions {
  display: flex;
  gap: 9px;
}

.mini-actions button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.1;
  padding: 6px 10px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.mini-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(27, 35, 48, 0.22);
  box-shadow: 0 8px 16px rgba(27, 35, 48, 0.12);
  background: #fffcf6;
}

.mini-actions button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(27, 35, 48, 0.1);
}

.bilingual-block {
  padding: 28px;
  border-radius: 24px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.04em;
}

.contact-card {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.contact-label {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.contact-value {
  color: var(--text);
}

.contact-link {
  color: var(--accent);
  font-weight: 700;
  transition: opacity 140ms ease;
}

.contact-link:hover {
  opacity: 0.75;
}

.bilingual-block p,
.feature-card p,
.step p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.feature-grid,
.steps {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.feature-card,
.step {
  padding: 24px;
  border-radius: 22px;
}

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

.step-no {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer strong {
  color: var(--text);
  margin-right: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1120px);
  }

  .site-header,
  .site-footer,
  .nav,
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
    margin-top: 12px;
  }

  h1 {
    max-width: 100%;
  }

  .mini-top {
    flex-direction: column;
    align-items: flex-start;
  }
}