:root {
  --bg: #f8fafc;
  --surface: #f1f5f9;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --orange: #ff7329;
  --orange-d: #e0601a;
  --orange-light: #ffad73;
  --ink: #ffffff;
  --footer: #0f172a;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 10px;
  --max: 1120px;
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased
}

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

a {
  color: var(--orange);
  text-underline-offset: 3px
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 800
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem)
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem)
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -.01em;
  margin-bottom: .3em
}

p {
  margin: 0 0 1em;
  max-width: 62ch
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px
}

section {
  padding: 88px 0
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--orange);
  color: var(--ink);
  padding: 8px 14px;
  z-index: 99;
  border-radius: 6px
}

.skip:focus {
  left: 8px
}

.muted {
  color: var(--muted)
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line)
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px
}

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

.links a {
  color: var(--text);
  text-decoration: none;
  font-size: .97rem;
  font-weight: 600
}

.links a.btn {
  color: #fff
}

.links a:hover {
  color: var(--orange)
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  cursor: pointer
}

.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: auto;
  position: relative;
  content: ""
}

.menu-btn span::before {
  position: absolute;
  top: -6px
}

.menu-btn span::after {
  position: absolute;
  top: 6px
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--r);
  font: 700 1rem var(--font);
  text-decoration: none;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, transform .2s
}

.btn:hover {
  background: var(--orange-d);
  border-color: var(--orange-d)
}

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

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

.btn.ghost:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.btn[aria-disabled="true"] {
  background: transparent;
  border: 2px dashed var(--line);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none
}

.btn.sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: .95rem
}

/* hero */
.hero {
  padding: 72px 0 96px;
  overflow: hidden
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted)
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px
}

.note {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 14px
}

.ringbox {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  justify-self: center
}

.ringbox::before {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(66% + 2.6%);
  aspect-ratio: 1;
  margin: auto;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--orange) 0 5deg, transparent 5deg 9deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px), #000 100%, transparent calc(100% + .5px));
  mask: radial-gradient(circle closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px), #000 100%, transparent calc(100% + .5px));
  opacity: .9;
  animation: spin 90s linear infinite
}

.ringbox img {
  position: relative;
  width: 66%;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18)
}

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

/* features: hex icons, no card boxes */
.feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
  margin-top: 48px;
  padding: 0;
  list-style: none
}

.feat li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  transition: transform .2s ease
}

.feat li:hover {
  transform: translateY(-3px)
}

.hex {
  width: 64px;
  height: 64px;
  clip-path: var(--hex);
  background: var(--orange);
  display: grid;
  place-items: center;
  transition: box-shadow .2s ease, transform .2s ease
}

.feat li:hover .hex {
  transform: scale(1.04);
  box-shadow: 0 5px 14px rgba(224, 96, 26, .16)
}

.hex i {
  width: 58px;
  height: 58px;
  clip-path: var(--hex);
  background: var(--surface);
  display: grid;
  place-items: center
}

.hex svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.feat p {
  color: var(--muted);
  margin: 0;
  font-size: .98rem
}

.tint {
  background: var(--surface);
  border-block: 1px solid var(--line)
}

/* about / showcase */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center
}

.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
  align-items: start
}

.shots figure {
  margin: 0
}

.shots img {
  border-radius: 12px;
  border: 1px solid var(--line);
  width: 100%
}

figcaption {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 10px
}

/* steps */
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: s
}

.steps li {
  border-top: 3px solid var(--orange);
  padding-top: 18px;
  counter-increment: s
}

.steps li::before {
  content: counter(s);
  display: block;
  font-weight: 800;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px
}

.steps p {
  color: var(--muted)
}

/* compat + faq */
dl.spec {
  margin: 32px 0 0;
  border-top: 1px solid var(--line)
}

dl.spec div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line)
}

dl.spec dt {
  font-weight: 700
}

dl.spec dd {
  margin: 0
}

.faq {
  margin-top: 32px;
  max-width: 780px
}

details {
  border-bottom: 1px solid var(--line)
}

summary {
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  list-style: none;
  position: relative
}

summary::-webkit-details-marker {
  display: none
}

summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform .2s
}

details[open] summary::after {
  transform: rotate(45deg)
}

details p {
  color: var(--muted);
  padding-right: 36px
}

.dl-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  background: var(--bg);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between
}

.dl-box p {
  margin: 0
}

/* footer + legal */
footer {
  background: var(--footer);
  color: #fff;
  padding: 64px 0 28px;
  font-size: .95rem
}

footer .wrap {
  max-width: 1280px
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 48px
}

.footer-brand {
  font-size: 1.5rem;
  background: linear-gradient(100deg, var(--orange), var(--orange-light));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent
}

.footer-tagline {
  color: #94a3b8;
  margin: 12px 0 0
}

.footer-col h2 {
  font-size: 1rem;
  letter-spacing: 0;
  margin: 0 0 16px;
  color: #fff
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .2s, transform .2s
}

footer a:hover {
  color: #fff
}

footer li a {
  display: inline-block
}

footer li a:hover {
  transform: translateX(2px)
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  color: #64748b
}

.footer-bottom p {
  max-width: none;
  margin: 0 auto;
  font-size: .88rem
}

.footer-bottom .made-by {
  margin-top: 10px
}

.footer-bottom .made-by a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px
}

.legal {
  padding: 64px 0 88px
}

.legal .wrap {
  max-width: 780px
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2em
}

@media (max-width:900px) {
  section {
    padding: 64px 0
  }

  .hero .wrap, .two {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .hero .ringbox {
    order: -1
  }

  .feat, .steps {
    grid-template-columns: 1fr 1fr
  }

  .shots {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:720px) {
  .wrap {
    padding-right: 16px;
    padding-left: 16px
  }

  section {
    padding: 48px 0
  }

  .hero {
    padding: 32px 0 56px
  }

  .hero .wrap {
    gap: 20px
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.6rem)
  }

  .hero p.lead {
    font-size: 1.05rem
  }

  .cta .btn {
    flex: 1 1 100%
  }

  .menu-btn {
    display: block
  }

  .links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px
  }

  .links.open {
    display: flex
  }

  .links li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
  }

  .links li a.btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 0 18px
  }

  .links li:last-child a {
    border: 0;
    margin-top: 12px
  }

  .feat, .steps {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px
  }

  .dl-box {
    padding: 24px
  }

  dl.spec div {
    grid-template-columns: 1fr;
    gap: 4px
  }

}

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

  .ringbox::before {
    animation: none
  }

  * {
    transition: none !important
  }
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem)
}

.foot-desc {
  margin: 12px 0 0
}
