@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/ubuntu-R.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #0f766e;
  --brand-deep: #0a5c56;
  --brand-soft: #14b8a6;
  --ink: #14201f;
  --ink-muted: #3d524f;
  --paper: #f4faf9;
  --paper-2: #e8f4f2;
  --line: rgba(15, 118, 110, 0.18);
  --radius: 0.75rem;
  --font: "Ubuntu", ui-sans-serif, system-ui, sans-serif;
  --max: 68rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(20, 184, 166, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(15, 118, 110, 0.22), transparent 50%),
    linear-gradient(180deg, #eef8f6 0%, var(--paper) 38%, #f7fbfa 100%);
  line-height: 1.55;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 250, 249, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--brand);
  font-weight: 500;
  margin-left: 0.15em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand-deep);
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  min-height: min(88vh, 42rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-brand {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--ink);
}

.hero-brand span {
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin-top: 0.35rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.hero-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--ink-muted);
}

.hero-visual {
  margin-top: 2.5rem;
  height: clamp(8rem, 22vw, 14rem);
  border-radius: calc(var(--radius) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(10, 92, 86, 0.88)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.05) 12px,
      rgba(255, 255, 255, 0.05) 24px
    );
  box-shadow:
    0 24px 48px rgba(15, 118, 110, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  animation: hero-in 1s ease-out both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18% 12% auto auto;
  width: 42%;
  height: 55%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
  animation: drift 8s ease-in-out infinite alternate;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translate(-4%, 0);
  }
  to {
    transform: translate(6%, 8%);
  }
}

.hero-brand,
.hero h1,
.hero-lead {
  animation: fade-up 0.7s ease-out both;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero-lead {
  animation-delay: 0.16s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Features */
.features {
  padding: 1rem 0 4.5rem;
}

.features h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.features > .intro {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

.feature-list {
  display: grid;
  gap: 1.75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .feature-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-list li {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.feature-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.4rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--brand);
}

.feature-list h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--brand-deep);
}

.feature-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Contact */
.contact {
  padding: 2.5rem 0 4.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.contact h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.contact > .intro {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

.contact-form {
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(232, 244, 242, 0.72));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow:
    0 12px 28px rgba(15, 118, 110, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-field span {
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.contact-field input,
.contact-field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  line-height: 1.4;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(61, 82, 79, 0.55);
}

.contact-field input:hover,
.contact-field textarea:hover {
  border-color: rgba(15, 118, 110, 0.38);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.28);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form button[type="submit"] {
  align-self: stretch;
  margin-top: 0.15rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, var(--brand-soft), var(--brand));
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.contact-form button[type="submit"]:hover {
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
  box-shadow: 0 10px 22px rgba(10, 92, 86, 0.28);
}

.contact-form button[type="submit"]:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(20, 184, 166, 0.35),
    0 8px 18px rgba(15, 118, 110, 0.22);
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
  box-shadow: none;
}

.contact-status {
  margin: 0;
  min-height: 1.35em;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.contact-status.is-ok {
  color: var(--brand-deep);
  font-weight: 500;
}

.contact-status.is-err {
  color: #b42318;
  font-weight: 500;
}

/* Legal pages */
.legal {
  padding: 2.5rem 0 4rem;
}

.legal-banner {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #b45309;
  background: rgba(180, 83, 9, 0.08);
  color: #7c3d0a;
  font-size: 0.95rem;
}

.legal-prose {
  max-width: 44rem;
}

.legal-prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.legal-prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  color: var(--brand-deep);
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-muted);
}

.legal-prose blockquote {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid #b45309;
  background: rgba(180, 83, 9, 0.08);
  color: #7c3d0a;
}

.legal-prose ul {
  padding-left: 1.2rem;
}

.legal-prose strong {
  color: var(--ink);
}

.contact-reveal {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.contact-reveal:hover {
  color: var(--brand);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  background: rgba(255, 255, 255, 0.45);
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--brand-deep);
}
