:root {
  --ink: #0e1420;
  --ink-soft: #1a2333;
  --mist: #e6ebf2;
  --paper: #f7f8fa;
  --cyan: #1f8a8a;
  --cyan-bright: #2aa8a8;
  --amber: #c47a2c;
  --text: #d8dee8;
  --muted: #8b97a8;
  --line: rgba(230, 235, 242, 0.12);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.noise,
.grid-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.noise {
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grid-bg {
  background:
    radial-gradient(ellipse 80% 50% at 70% 10%, rgba(31, 138, 138, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 122, 44, 0.12), transparent 50%),
    linear-gradient(180deg, #0e1420 0%, #111827 45%, #0c1018 100%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.logo-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(31, 138, 138, 0.2);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--paper);
  animation: rise 0.9s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--mist);
  animation: rise 0.9s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.9s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--cyan);
  color: #041414;
}

.btn-primary:hover {
  background: var(--cyan-bright);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--mist);
}

.btn-ghost:hover {
  border-color: rgba(230, 235, 242, 0.35);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(31, 138, 138, 0.35);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit-a {
  width: min(72vw, 340px);
  height: min(72vw, 340px);
  border-top-color: var(--cyan);
}

.orbit-b {
  width: min(52vw, 220px);
  height: min(52vw, 220px);
  border-right-color: var(--amber);
  animation-direction: reverse;
  animation-duration: 18s;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.4rem 1.6rem;
  background: rgba(26, 35, 51, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}

.hero-panel span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-panel strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--paper);
}

.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--paper);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.service-rail {
  display: grid;
  gap: 0.65rem;
}

.service {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service:hover {
  background: rgba(31, 138, 138, 0.08);
  padding-left: 1.65rem;
}

.service:hover .service-go {
  color: var(--cyan-bright);
  transform: translateX(4px);
}

.service-idx {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--cyan);
}

.service-body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--paper);
}

.service-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-go {
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.schedule-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 5rem;
}

.schedule-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(31, 138, 138, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(26, 35, 51, 0.9), rgba(14, 20, 32, 0.95));
  border: 1px solid var(--line);
}

.schedule-panel h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  color: var(--paper);
}

.schedule-panel > p {
  margin: 0 0 1.4rem;
  max-width: 48ch;
  color: var(--muted);
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.iphone-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--mist);
}

.iphone-steps li + li {
  margin-top: 0.45rem;
}

.iphone-steps a {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

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

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

  .nav {
    gap: 1rem;
    font-size: 0.85rem;
  }
}

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

  .hero-brand,
  .hero h1,
  .hero-lead,
  .cta-row,
  .orbit,
  .hero-panel {
    animation: none;
  }
}
