/* DT Solutions LLC — Tonis — minimal, sky-aligned palette (#A6CBD3 logo) */
:root {
  --brand-mist: #a6cbd3;
  --sky-50: #f4fafb;
  --sky-100: #e3f1f5;
  --sky-200: #c9e4eb;
  --text-primary: #1a1d21;
  --text-secondary: #5c656d;
  --text-tertiary: #8a9299;
  --nav-h: 52px;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: linear-gradient(
    180deg,
    var(--sky-50) 0%,
    var(--sky-100) 35%,
    var(--sky-200) 100%
  );
  min-height: 100vh;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

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

a:hover {
  opacity: 0.72;
}

/* —— Nav (Apple-like: thin, blurred) —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: rgba(244, 250, 251, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(166, 203, 211, 0.25);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.site-nav.is-deep {
  background: rgba(227, 241, 245, 0.85);
  border-bottom-color: rgba(166, 203, 211, 0.35);
}

.nav-inner {
  max-width: 980px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  flex-shrink: 1;
  min-width: 0;
  line-height: 1.25;
  max-width: min(52vw, 280px);
}

@media (min-width: 640px) {
  .nav-brand {
    font-size: 0.75rem;
    max-width: none;
  }
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brand-mist);
  opacity: 0.9;
}

main {
  padding-top: var(--nav-h);
}

/* —— Sections —— */
.section {
  min-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 96px;
  text-align: center;
}

.section--compact {
  min-height: auto;
  padding: 72px 32px;
}

.hero-logo {
  width: min(280px, 58vw);
  height: auto;
  margin-bottom: 48px;
  filter: drop-shadow(0 24px 48px rgba(166, 203, 211, 0.35));
}

.headline-xl {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--text-primary);
}

.tagline {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  margin: 0;
}

.lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.55;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--text-primary);
}

.body-narrow {
  max-width: 620px;
  margin: 0 auto;
}

.body-narrow p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.body-narrow p:last-child {
  margin-bottom: 0;
}

.contact-email {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-email a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(166, 203, 211, 0.85);
}

.app-name {
  color: var(--text-primary);
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  padding: 56px 32px 48px;
  text-align: center;
  border-top: 1px solid rgba(166, 203, 211, 0.35);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* —— Legal page —— */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 32px 80px;
}

.legal-wrap h1 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0 0 40px;
}

.legal-wrap h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px;
}

.legal-wrap ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.legal-back {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.625rem;
  }

  .section {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 72px;
  }
}
