:root {
  --bg: #06131a;
  --bg-soft: #0e2029;
  --surface: rgba(255, 255, 255, 0.08);
  --text: #f3f5f7;
  --muted: #9db0bc;
  --brand: #1fd4b2;
  --brand-2: #ffa64d;
  --line: rgba(255, 255, 255, 0.16);
  --maxw: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, #143444 0%, transparent 28%),
    radial-gradient(circle at 90% 16%, #362312 0%, transparent 26%),
    linear-gradient(145deg, var(--bg), #071a24 48%, #111f2f);
  min-height: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #ffffff 1px, transparent 2px);
  background-size: 4px 4px;
  z-index: -1;
}

.site-header,
main,
footer {
  width: min(var(--maxw), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  padding: 1.2rem 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.site-header nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
}

.hero {
  padding: 5.6rem 0 4.2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--brand-2);
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 4.9vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

h1 span {
  color: var(--brand);
}

.hero-copy > p {
  color: var(--muted);
  max-width: 64ch;
}

.cta-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.btn {
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), #7bf0d9);
  color: #041418;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost {
  background: none;
  color: var(--muted);
  border-color: var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stats article {
  background: var(--surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
}

.stats h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--brand-2);
}

.stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-art img,
.method img {
  width: 100%;
  display: block;
}

.services,
.method,
.contact {
  padding: 3.2rem 0;
}

.services h2,
.method h2,
.contact h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.45rem);
  margin-bottom: 1.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p,
.card li,
.method ol,
.contact p,
footer p {
  color: var(--muted);
}

.card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.method ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.method li {
  margin-bottom: 0.65rem;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-form {
  margin-top: 1.2rem;
  max-width: 640px;
  display: grid;
  gap: 0.6rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.78rem 0.9rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 0.35rem;
  width: fit-content;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact .small {
  font-size: 0.86rem;
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.5rem 0 2.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.linklike {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  width: min(1000px, calc(100% - 1.6rem));
  background: #0b1f29;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  z-index: 999;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-modal {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1d25;
  color: var(--text);
  width: min(560px, calc(100% - 1.4rem));
}

.cookie-modal::backdrop {
  background: rgba(5, 12, 18, 0.72);
}

.cookie-modal form {
  padding: 1rem;
}

.cookie-modal label {
  display: block;
  margin: 0.7rem 0;
  color: var(--muted);
}

.cookie-modal menu {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.policy-page {
  width: min(900px, calc(100% - 2rem));
  margin: 2rem auto;
  line-height: 1.6;
}

.policy-page h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.policy-page h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.45rem;
}

.policy-page p,
.policy-page li {
  color: var(--muted);
}

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

  .hero {
    padding-top: 2.8rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
