/* Hansonsoft — ink + slate field, wave red from logo */

:root {
  --ink: #0e1114;
  --ink-soft: #3d4550;
  --field: #e8eef2;
  --field-2: #d5dee6;
  --mist: #f4f7f9;
  --wave: #c41e2a;
  --wave-deep: #9a1520;
  --line: rgba(14, 17, 20, 0.12);
  --font-display: "Instrument Serif", "Noto Serif SC", Georgia, serif;
  --font-cn: "Noto Serif SC", "Instrument Serif", Georgia, serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --max: 68rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background: var(--mist);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 249, 0.88);
  border-bottom: 1px solid var(--line);
}

.wordmark img {
  width: 140px;
  height: auto;
}

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

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--wave);
}

/* Full-bleed hero: brand + one line + lede + CTA on atmospheric field */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(14, 17, 20, 0.04), transparent 42%),
    linear-gradient(180deg, var(--field) 0%, var(--mist) 55%, #eef2f5 100%);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(196, 30, 42, 0.11), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(61, 69, 80, 0.1), transparent 50%);
  animation: wash 16s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes wash {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-2%, 2%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto 0 0;
  width: min(100%, var(--max));
  margin-left: max(0px, calc((100% - var(--max)) / 2));
}

.hero-brand {
  margin: 0 0 1.75rem;
}

.hero-logo {
  width: min(100%, 26rem);
  height: auto;
  animation: rise 0.95s var(--ease) both;
}

.hero-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: 0.03em;
  animation: rise 0.95s 0.08s var(--ease) both;
}

.hero-lede {
  margin: 0 0 1.85rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 30rem;
  animation: rise 0.95s 0.16s var(--ease) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 0.95s 0.24s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 2px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--wave);
  color: #fff;
  border: 1px solid var(--wave-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--wave-deep);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--wave);
  color: var(--wave);
}

.section {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 40rem;
}

.product-alt {
  background: linear-gradient(180deg, var(--field-2), var(--mist));
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--wave);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-cn);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 1.08rem;
}

.feature-list,
.soon-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  max-width: 34rem;
}

.feature-list li,
.soon-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-top: 1px solid var(--line);
}

.feature-list li::before,
.soon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--wave);
}

.status-line {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.contact-list span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-list a {
  color: var(--ink);
  font-weight: 500;
  text-decoration-color: rgba(196, 30, 42, 0.4);
  transition: color 0.2s var(--ease);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--wave);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer img {
  opacity: 0.9;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav {
    font-size: 0.85rem;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-wash,
  .hero-logo,
  .hero-title,
  .hero-lede,
  .hero-cta,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
