:root {
  color-scheme: light;
  --ink: #10201f;
  --muted: #526260;
  --paper: #fbfaf7;
  --soft: #eef4f1;
  --line: #d7dfdb;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --coral: #e66b5b;
  --green: #4f8f63;
  --gold: #d6aa43;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

p {
  line-height: 1.65;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 32, 31, 0.78), rgba(16, 32, 31, 0));
}

.brand,
.nav,
.hero-actions,
.trust-row,
.field-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.02rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.86);
}

.nav a,
.header-cta {
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.nav a:hover {
  color: var(--white);
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-cta:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 25, 24, 0.94) 0%, rgba(10, 25, 24, 0.82) 36%, rgba(10, 25, 24, 0.22) 72%),
    url("/assets/hero-datify.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--paper));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.24);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.full {
  width: 100%;
}

.trust-row {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.band,
.section {
  position: relative;
}

.intro-band {
  background: var(--paper);
  padding: clamp(34px, 6vw, 72px) 0 18px;
}

.section {
  padding: clamp(58px, 8vw, 110px) 0;
}

.section-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-grid,
.quiz-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.quiz-copy h2,
.contact-layout h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.quiz-copy p,
.contact-layout p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.price-card,
.quiz-panel,
.contact-form,
.guide-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card,
.price-card {
  padding: 26px;
}

.service-card h3,
.price-card h3,
.guide-item h3 {
  margin: 16px 0 10px;
  font-size: 1.32rem;
  line-height: 1.18;
}

.service-card p,
.price-card p,
.guide-item p {
  margin: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #dff1ed;
  font-size: 0.78rem;
  font-weight: 800;
}

.pill.coral {
  color: #8f332a;
  background: #ffe2dd;
}

.pill.green {
  color: #315f40;
  background: #e5f3e9;
}

.quiz-section,
.pricing-section {
  background: var(--soft);
}

.quiz-panel,
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 13px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.quiz-result {
  display: none;
  padding: 16px;
  border: 1px solid #bad9d4;
  border-radius: 8px;
  color: var(--ink);
  background: #ecf8f6;
  line-height: 1.55;
}

.quiz-result.active {
  display: block;
}

.guide-list {
  display: grid;
  gap: 14px;
}

.guide-item {
  display: grid;
  grid-template-columns: 0.35fr 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
}

.guide-item p {
  color: var(--teal);
  font-weight: 800;
}

.guide-item h3 {
  margin: 0;
}

.guide-item a {
  color: var(--teal-dark);
  font-weight: 800;
}

.price {
  margin: 14px 0 12px !important;
  color: var(--ink) !important;
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1;
}

.price-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 22px 56px rgba(15, 118, 110, 0.18);
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  color: var(--ink);
}

.field-row {
  gap: 14px;
  align-items: stretch;
}

.field-row label {
  flex: 1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.success {
  color: var(--teal-dark);
}

.form-note.error {
  color: #9a2f26;
}

.footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.66);
  background: #071211;
}

.footer-inner {
  display: grid;
  gap: 8px;
}

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 78vh;
    background:
      linear-gradient(90deg, rgba(10, 25, 24, 0.94) 0%, rgba(10, 25, 24, 0.72) 100%),
      url("/assets/hero-datify.png") 58% center / cover no-repeat;
  }

  .hero-content {
    width: min(680px, calc(100% - 32px));
    margin-inline: auto;
  }

  .intro-grid,
  .quiz-layout,
  .contact-layout,
  .card-grid.three,
  .guide-item {
    grid-template-columns: 1fr;
  }

  .guide-item {
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 24vw, 6rem);
  }

  .hero-actions,
  .field-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 28px, 1140px);
  }
}

