:root {
  --bg: #f8f5ed;
  --surface: #fffdf7;
  --ink: #07110f;
  --muted: #65706b;
  --line: rgba(7, 17, 15, 0.14);
  --lime: #c7f36b;
  --dark: #0b1a16;
  --shadow: rgba(7, 17, 15, 0.18);
  --wrap: min(1180px, calc(100vw - 48px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08130f;
  --surface: #0e1e19;
  --ink: #eef4ec;
  --muted: #9eaca6;
  --line: rgba(238, 244, 236, 0.14);
  --dark: #050d0b;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font:
    16px/1.6 "DM Sans",
    sans-serif;
  transition:
    color 0.3s,
    background 0.3s;
}

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

.wrap {
  width: var(--wrap);
  margin: auto;
}

.header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 19px Manrope;
  letter-spacing: -0.04em;
}

.logo {
  width: 29px;
  height: 29px;
  display: grid;
  grid: 1fr 1fr/1fr 1fr;
  gap: 3px;
  transform: rotate(45deg);
}

.logo i {
  background: var(--ink);
  border-radius: 3px;
}

.logo i:first-child {
  background: var(--lime);
}

.logo i:last-child {
  opacity: 0.4;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.pill {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 99px;
}

.tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header > nav + .tools {
  position: absolute;
  right: 230px;
}

.theme {
  width: 64px;
  height: 34px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
}

.theme span {
  width: 24px;
  z-index: 2;
  font-size: 12px;
}

.theme b {
  position: absolute;
  width: 26px;
  height: 26px;
  left: 3px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.3s;
}

html[data-theme="dark"] .theme b {
  transform: translateX(30px);
  background: #294238;
}

.menu {
  display: none;
  background: none;
  border: 0;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5vw;
  padding: 60px 0 100px;
}

.overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overline:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: currentColor;
}

.hero h1 {
  margin: 28px 0 24px;
  font: 800 clamp(57px, 7vw, 100px)/0.92 Manrope;
  letter-spacing: -0.075em;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--ink);
}

.lead {
  max-width: 600px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 23px;
  color: #f8f5ed;
  background: #07110f;
  border-radius: 5px;
  font-weight: 700;
  transition: 0.25s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px var(--shadow);
}

.lime {
  color: #07110f;
  background: var(--lime);
}

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

.halo {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 70px var(--line);
}

.console {
  width: min(450px, 88%);
  z-index: 2;
  color: #f4f5ef;
  background: #07110f;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.bar {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff18;
  font-weight: 700;
}

.bar small {
  color: var(--lime);
}

.panel {
  padding: 30px;
}

.panel label {
  color: #8ce5c4;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.panel h2 {
  font: 700 30px/1.1 Manrope;
}

.task {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #ffffff18;
}

.task b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff55;
  border-radius: 5px;
}

.task.done b {
  color: #07110f;
  background: var(--lime);
}

.task span strong,
.task span small {
  display: block;
}

.task span {
  font-size: 13px;
}

.task small,
.task time {
  color: #94a29d;
  font-size: 10px;
}

.panel footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 11px;
}

.progress {
  height: 4px;
  margin-top: 8px;
  background: #ffffff20;
}

.progress i {
  display: block;
  width: 78%;
  height: 100%;
  background: var(--lime);
}

.float {
  position: absolute;
  z-index: 3;
  padding: 13px 16px;
  color: #07110f;
  background: #fffffff0;
  border-radius: 9px;
  box-shadow: 0 15px 35px #0002;
}

.float small,
.float strong {
  display: block;
}

.float small {
  font-size: 10px;
  color: #65706b;
}

.float.top {
  right: 0;
  top: 78px;
}

.float.bottom {
  left: 0;
  bottom: 82px;
}

.float.bottom strong {
  color: #147456;
  font-size: 22px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.proof div {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.proof b {
  margin-left: 15px;
  color: var(--ink);
}

.section {
  padding: 135px 0;
}

.heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 55px;
}

.heading .overline {
  grid-column: 1/-1;
}

.heading h2,
.split h2,
.about h2,
.cta h2 {
  margin: 12px 0;
  font: 800 clamp(42px, 5vw, 68px)/1 Manrope;
  letter-spacing: -0.06em;
}

.heading > p {
  max-width: 380px;
  color: var(--muted);
}

.product {
  min-height: 430px;
  padding: 52px;
  display: flex;
  position: relative;
  overflow: hidden;
  color: #f5f3ec;
  background: var(--dark);
  border-radius: 10px;
}

.product > div:first-child {
  z-index: 2;
  max-width: 570px;
}

.product h3 {
  margin: 20px 0;
  font: 700 clamp(36px, 4vw, 55px)/1.04 Manrope;
  letter-spacing: -0.05em;
}

.product p {
  color: #adbbb5;
}

.rings {
  position: absolute;
  right: -60px;
  top: 0;
  width: 440px;
  height: 440px;
}

.rings i {
  position: absolute;
  inset: 0;
  border: 1px solid #c7f36b55;
  border-radius: 50%;
}

.rings i:nth-child(2) {
  inset: 60px;
}

.rings i:nth-child(3) {
  inset: 130px;
  background: var(--lime);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.cards article {
  min-height: 255px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cards article > span {
  font-size: 22px;
}

.cards h3 {
  margin-top: 60px;
  font: 700 21px Manrope;
}

.cards p {
  color: var(--muted);
  font-size: 14px;
}

.dark {
  padding: 135px 0;
  color: #f3f0e8;
  background: var(--dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}

.split > div > p:last-child {
  color: #9ca9a4;
}

.list article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 45px 1fr;
  border-top: 1px solid #ffffff22;
}

.list b {
  color: var(--lime);
  font-size: 11px;
}

.list h3,
.list p {
  margin: 0;
}

.list p {
  color: #93a19b;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8vw;
}

.about > div:last-child {
  padding-top: 40px;
  color: var(--muted);
  font-size: 18px;
}

.cta {
  margin-bottom: 85px;
  padding: 65px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  color: #07110f;
  background: var(--lime);
  border-radius: 10px;
}

.cta h2 {
  max-width: 760px;
}

.footer {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer > div {
  display: flex;
  gap: 24px;
}

.footer i {
  font-style: normal;
}

.legal {
  width: min(800px, calc(100vw - 48px));
  margin: 90px auto 130px;
}

.legal > h1 {
  margin: 25px 0 10px;
  font: 800 clamp(50px, 7vw, 78px)/1 Manrope;
  letter-spacing: -0.06em;
}

.muted,
.legal section p {
  color: var(--muted);
}

.legal section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal section:first-of-type {
  margin-top: 60px;
}

.legal aside {
  margin-top: 50px;
  padding: 35px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: #f3f0e8;
  background: var(--dark);
  border-radius: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  :root {
    --wrap: min(700px, calc(100vw - 32px));
  }

  .header {
    height: 76px;
  }

  .header > nav + .tools {
    position: static;
  }

  .menu {
    display: block;
    width: 38px;
  }

  .menu i {
    display: block;
    height: 2px;
    margin: 6px;
    background: var(--ink);
  }

  nav {
    position: fixed;
    inset: 0;
    padding: 110px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    visibility: hidden;
    opacity: 0;
    background: var(--bg);
    font: 700 28px Manrope;
    transition: 0.25s;
  }

  nav.open {
    visibility: visible;
    opacity: 1;
  }

  .tools {
    z-index: 2;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 570px;
  }

  .heading,
  .split,
  .about {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: calc(100vw - 28px);
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual {
    min-height: 500px;
  }

  .halo {
    width: 330px;
    height: 330px;
  }

  .console {
    width: 96%;
  }

  .panel {
    padding: 24px 19px;
  }

  .float.top {
    top: 35px;
  }

  .float.bottom {
    bottom: 30px;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .proof div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .dark {
    padding: 90px 0;
  }

  .product {
    min-height: 500px;
    padding: 33px 25px;
  }

  .rings {
    right: -260px;
  }

  .cta {
    padding: 42px 28px;
  }

  .legal aside {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .pill {
    padding: 8px 12px;
    font-size: 12px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 28px;
}

.header nav {
  justify-self: end;
  margin-right: 0;
}

.header > nav + .tools {
  position: static;
  right: auto;
}

.theme {
  width: 82px;
  height: 44px;
  padding: 4px 7px;
  flex: 0 0 82px;
  overflow: hidden;
}

.theme span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  transition:
    color 0.25s,
    opacity 0.25s;
}

.theme b {
  width: 34px;
  height: 34px;
  left: 4px;
  top: 4px;
}

html[data-theme="dark"] .theme b {
  transform: translateX(40px);
}

.sun {
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: scale(0.48);
  box-shadow:
    0 -15px 0 -12px currentColor,
    0 15px 0 -12px currentColor,
    15px 0 0 -12px currentColor,
    -15px 0 0 -12px currentColor;
}

.sun:before,
.sun:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.sun:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.moon:before {
  content: "";
  width: 17px;
  height: 17px;
  display: block;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  box-shadow: 6px -4px 0 -2px var(--surface);
  transform: rotate(-16deg);
}

html[data-theme="light"] .moon {
  opacity: 0.48;
}

html[data-theme="dark"] .sun {
  opacity: 0.46;
}

html[data-theme="dark"] .moon {
  color: var(--lime);
  opacity: 1;
}

html[data-theme="light"] .sun {
  color: #d88c18;
  opacity: 1;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .header {
    column-gap: 18px;
  }

  .header nav {
    gap: 20px;
  }

  .header .pill {
    padding-inline: 14px;
  }

  .theme {
    width: 76px;
    flex-basis: 76px;
  }

  .theme b {
    width: 32px;
    height: 32px;
    top: 5px;
  }

  html[data-theme="dark"] .theme b {
    transform: translateX(34px);
  }
}

@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header nav {
    justify-self: auto;
    margin: 0;
  }

  .tools {
    z-index: 3;
  }

  .theme {
    width: 76px;
    height: 42px;
    flex-basis: 76px;
  }

  .theme b {
    width: 32px;
    height: 32px;
    top: 4px;
  }

  html[data-theme="dark"] .theme b {
    transform: translateX(34px);
  }
}

.theme span {
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.theme span:first-child {
  color: #d88c18;
}

.theme span:last-child {
  opacity: 0.55;
}

html[data-theme="dark"] .theme span:first-child {
  opacity: 0.5;
}

html[data-theme="dark"] .theme span:last-child {
  color: var(--lime);
  opacity: 1;
}
