:root {
  --bg: #000;
  --surface: #0e0e0e;
  --border: #222;
  --border-strong: #333;
  --text: #fff;
  --muted: #8a8a8a;
  --muted-light: #b8b8b8;
  --accent: #ff5a1f;
  --accent-hover: #ff7440;
  --accent-soft: rgba(255, 90, 31, 0.12);
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn i {
  font-size: 0.85em;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.35);
}

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

.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.text-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}

.text-link:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1120px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}

.logo i {
  color: var(--accent);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a,
.nav-dropdown summary {
  white-space: nowrap;
  color: var(--muted-light);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-dropdown summary:hover {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary i {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.nav-dropdown[open] summary i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: #1c1c1c;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  white-space: nowrap;
}

.nav-login {
  font-weight: 500;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--accent);
}

.nav-actions .btn-primary {
  padding: 9px 18px;
  background: var(--text);
  color: var(--bg);
}

.nav-actions .btn-primary:hover {
  background: #e5e5e5;
  box-shadow: none;
}

/* Sections */

main > section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-intro p {
  margin: 0;
  color: var(--muted-light);
  font-size: 1.15rem;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 640px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 90, 31, 0.22), transparent 65%);
  z-index: -1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  animation: fade-up 0.8s ease both;
}

.eyebrow {
  margin: 0;
  padding: 6px 14px;
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-light);
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0;
  color: var(--muted-light);
  font-size: 1.2rem;
}

.signup-form {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 500px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15);
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font: inherit;
}

.signup-form input::placeholder {
  color: var(--muted);
}

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 1000px;
  animation: fade-up 1s 0.2s ease both;
}

.hero-tabs input {
  display: none;
}

.hero-tabs label,
.tab-disabled {
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--muted-light);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.hero-tabs label:hover {
  border-color: var(--text);
  color: var(--text);
}

.hero-tabs input:checked + label {
  background: #222;
  border-color: #444;
  color: var(--text);
}

.tab-disabled {
  border-style: dashed;
  color: #555;
  text-decoration: line-through;
  cursor: not-allowed;
}

.hero-image {
  display: grid;
  flex-basis: 100%;
  margin: 22px 0 0;
  padding: 10px;
  background: #111;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(255, 90, 31, 0.12);
}

.tab-photo {
  grid-area: 1 / 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.photo-sitting {
  object-position: 50% 40%;
}

.photo-staring {
  object-position: 50% 28%;
}

.photo-lurking {
  object-position: 50% 10%;
}

#tab-sitting:checked ~ .hero-image .photo-sitting,
#tab-staring:checked ~ .hero-image .photo-staring,
#tab-lurking:checked ~ .hero-image .photo-lurking {
  opacity: 1;
}

main {
  overflow-x: clip;
}

.hero-prop {
  position: absolute;
  z-index: -1;
  width: 440px;
  opacity: 0.8;
  mix-blend-mode: lighten;
  animation: float 9s ease-in-out infinite;
}

.prop-chair {
  --tilt: -6deg;
  left: -200px;
  bottom: 120px;
}

.prop-lamp {
  --tilt: 4deg;
  right: -200px;
  bottom: 280px;
  animation-delay: -4.5s;
}

/* Logo strip */

main > .trusted {
  padding-top: 32px;
  padding-bottom: 64px;
  text-align: center;
}

.trusted h2 {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.marquee {
  margin-top: 28px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.trusted-list {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.marquee:hover .trusted-list {
  animation-play-state: paused;
}

.trusted-list li {
  padding: 0 32px;
  color: #666;
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s;
}

.trusted-list li:hover {
  color: var(--text);
}

/* Product highlights */

.product-pro {
  border-top: 1px solid var(--border);
}

.highlight-grid {
  display: flex;
  gap: 20px;
}

.highlight-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.highlight-card i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
  font-size: 1.1rem;
}

.highlight-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.highlight-card p {
  margin: 0;
  color: var(--muted-light);
}

.stat-callout {
  margin: 56px 0 0;
  color: var(--muted-light);
  font-size: 1.25rem;
  text-align: center;
}

.stat-callout strong {
  display: block;
  color: var(--accent);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.breathe {
  animation: breathe 4s ease-in-out infinite;
}

/* Old way vs new way */

.comparison {
  position: relative;
}

.prop {
  position: absolute;
  margin: 0;
  animation: float 6s ease-in-out infinite;
}

.prop-dialog {
  --tilt: -6deg;
  top: 40px;
  left: 24px;
  width: 230px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  box-shadow: 8px 12px 30px rgba(0, 0, 0, 0.6);
  color: #000;
  font: 13px Tahoma, 'MS Sans Serif', sans-serif;
}

.prop-dialog p {
  margin: 0;
  padding: 14px 12px 10px;
}

.prop-dialog .dialog-title {
  padding: 3px 6px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-weight: 700;
}

.dialog-button {
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 3px 18px;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
}

.prop-note {
  --tilt: 5deg;
  top: 52px;
  right: 40px;
  width: 150px;
  padding: 18px 16px 22px;
  background: #ffe066;
  box-shadow: 6px 10px 24px rgba(0, 0, 0, 0.5);
  color: #3a2e00;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  line-height: 1.1;
  animation-delay: -3s;
}

.comparison h2 {
  margin-bottom: 48px;
  text-align: center;
}

.comparison-columns {
  display: flex;
  gap: 20px;
}

.comparison-card {
  flex: 1;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.comparison-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.comparison-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.comparison-card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-card li {
  font-size: 1.35rem;
  line-height: 1.3;
}

.old-way {
  color: var(--muted);
}

.old-way li {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.new-way {
  background: linear-gradient(180deg, var(--accent-soft), transparent);
  border-color: rgba(255, 90, 31, 0.4);
}

.new-way h3 {
  color: var(--accent);
}

/* Testimonial */

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card blockquote p {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.testimonial-card figcaption {
  color: var(--muted);
}

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

/* Pricing */

.pricing {
  text-align: center;
}

.pricing > p {
  margin: 16px 0 56px;
  color: var(--muted-light);
  font-size: 1.15rem;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left;
}

.price-card {
  position: relative;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.25s, border-color 0.25s;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(255, 90, 31, 0.15);
}

.badge {
  position: absolute;
  top: -13px;
  left: 32px;
  margin: 0;
  padding: 4px 12px;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.price {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
}

.price-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted-light);
}

.price-card li {
  display: flex;
  gap: 10px;
}

.price-card li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
}

.price-card .btn {
  width: 100%;
}

.fine-print {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Final call to action */

main > .final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1072px;
  margin: 32px auto 96px;
  padding: 96px 32px;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 90, 31, 0.35), transparent 60%), #111;
  border: 1px solid var(--border);
  border-radius: 28px;
  text-align: center;
}

.final-cta p {
  max-width: 520px;
  margin: 0;
  color: var(--muted-light);
  font-size: 1.15rem;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 120px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-columns {
  display: flex;
  gap: 96px;
}

.footer-column h3 {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  transition: color 0.2s;
}

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

.copyright {
  flex-basis: 100%;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Animations */

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

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt));
  }
  50% {
    transform: translateY(-12px) rotate(var(--tilt));
  }
}

@supports (animation-timeline: view()) {
  .section-intro,
  .highlight-grid,
  .stat-callout,
  .comparison h2,
  .comparison-columns,
  .testimonial-card,
  .pricing > h2,
  .pricing > p,
  .pricing-grid,
  main > .final-cta {
    animation: fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}

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

/* Mid-size screens: the floating props would cover the content */

@media only screen and (max-width: 1100px) {
  .prop,
  .hero-prop {
    display: none;
  }
}

/* Mobile */

@media only screen and (max-width: 800px) {
  .navbar {
    flex-wrap: wrap;
    gap: 0;
    padding: 0 16px;
  }

  .nav-toggle-label {
    display: flex;
    align-items: center;
    min-height: 68px;
    margin-left: auto;
    padding: 0 4px;
    font-size: 1.3rem;
    cursor: pointer;
  }

  .nav-toggle:checked + .nav-toggle-label i::before {
    content: '\f00d';
  }

  .nav-links,
  .nav-actions {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .nav-toggle:checked ~ .nav-links {
    max-height: 480px;
    opacity: 1;
  }

  .nav-toggle:checked ~ .nav-actions {
    gap: 12px;
    max-height: 200px;
    padding: 16px 0 20px;
    opacity: 1;
  }

  .nav-links a,
  .nav-dropdown summary {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    background: none;
    border: none;
    box-shadow: none;
  }

  .dropdown-menu a {
    padding: 12px 0;
    border-radius: 0;
  }

  .dropdown-menu a:hover {
    background: none;
  }

  .nav-login {
    text-align: center;
    padding: 8px 0;
  }

  .nav-actions .btn-primary {
    padding: 12px 22px;
  }

  main > section {
    padding: 64px 16px;
  }

  .hero {
    gap: 40px;
  }

  .signup-form {
    flex-direction: column;
    padding: 8px;
    border-radius: 20px;
  }

  .signup-form input {
    padding: 12px 14px;
  }

  .hero-image {
    padding: 6px;
    border-radius: 16px;
  }

  .tab-photo {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .highlight-grid,
  .comparison-columns,
  .pricing-grid,
  .footer-columns {
    flex-direction: column;
  }

  .comparison-card,
  .testimonial-card {
    padding: 28px;
  }

  .pricing-grid {
    gap: 28px;
  }

  main > .final-cta {
    margin: 0 16px 64px;
    padding: 64px 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 48px 16px 32px;
  }

  .footer-columns {
    gap: 32px;
  }
}
