:root {
  --ink: #12181f;
  --ink-soft: #3a4550;
  --paper: #f2f5f7;
  --paper-deep: #e4ebf0;
  --line: #c5d0d8;
  --accent: #0b6e6a;
  --accent-deep: #085550;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 24, 31, 0.08);
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--paper);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(11, 110, 106, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(18, 24, 31, 0.06), transparent 50%),
    linear-gradient(165deg, #f7fafb 0%, #eef3f6 45%, #e6eef2 100%);
}

.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2395a8b5' stroke-width='0.6' opacity='0.35'%3E%3Cpath d='M8 40h16M32 16v16M48 32h12'/%3E%3Ccircle cx='24' cy='40' r='2'/%3E%3Ccircle cx='32' cy='32' r='2'/%3E%3Ccircle cx='48' cy='32' r='2'/%3E%3C/g%3E%3C/svg%3E");
  animation: drift 48s linear infinite;
}

@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 64px 64px;
  }
}

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

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 3rem;
  align-items: center;
  min-height: calc(100vh - 5.5rem);
  padding: 2.5rem 0 3.5rem;
}

.brand-hero {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  animation: rise 0.8s ease both;
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
  animation: rise 0.8s ease 0.08s both;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  animation: rise 0.8s ease 0.24s both;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cta-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.85rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--white);
}

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

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.logo-hero {
  width: min(100%, 380px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(18, 24, 31, 0.12));
  animation: float-in 1s ease 0.1s both, float 7s ease-in-out 1.2s infinite;
}

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

@keyframes float-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pitch,
.features,
.desktop {
  padding: 3.5rem 0 0;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.pitch h2,
.features h2,
.desktop h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.pitch p,
.desktop p {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
}

.feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.feature-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.feature-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.foot-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.foot p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
    min-height: auto;
  }

  .logo-hero {
    width: min(56vw, 220px);
  }

  .brand-hero {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
