:root {
  --bg: #0c1110;
  --surface: #141a18;
  --surface-2: #1b221f;
  --ink: #f5f6ef;
  --muted: #99a49e;
  --line: rgba(242, 247, 238, 0.11);
  --mint: #c9ffb7;
  --coral: #ff9d84;
  --violet: #a58cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  content: "";
  mix-blend-mode: soft-light;
}

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

button,
input {
  font: inherit;
}

main {
  position: relative;
  overflow: hidden;
}

.aurora {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.16;
  pointer-events: none;
}

.aurora-left {
  top: 24vh;
  left: -25vw;
  background: var(--violet);
}

.aurora-right {
  top: 2vh;
  right: -23vw;
  background: var(--coral);
}

nav,
.hero,
.product-stage,
.closing,
footer {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

nav {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand img {
  filter: drop-shadow(0 8px 22px rgba(191, 255, 173, 0.13));
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  color: #dfe4df;
  font-size: 13px;
  font-weight: 500;
  transition:
    border 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(201, 255, 183, 0.32);
  background: rgba(201, 255, 183, 0.06);
  transform: translateY(-1px);
}

.hero {
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 80px 0 104px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 960px;
  animation: rise 800ms 100ms both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 29px;
  border: 1px solid rgba(201, 255, 183, 0.16);
  border-radius: 999px;
  background: rgba(201, 255, 183, 0.05);
  padding: 7px 12px;
  color: #cfe9c6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px var(--mint);
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(56px, 7.4vw, 108px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

h1 em {
  background: linear-gradient(90deg, #e7ffdf 8%, #c9ffb7 36%, #f4b5ff 68%, #ffb397);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-copy > p {
  max-width: 560px;
  margin: 31px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 25px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 600;
}

.button-primary {
  background: var(--mint);
  color: #142015;
  box-shadow: 0 12px 45px rgba(201, 255, 183, 0.13);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button-primary:hover {
  box-shadow: 0 16px 55px rgba(201, 255, 183, 0.22);
  transform: translateY(-2px);
}

.text-link {
  border-bottom: 1px solid #657169;
  padding: 8px 0 4px;
  color: #bcc4be;
  font-size: 13px;
  font-weight: 500;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 90px;
  color: #6f7a74;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-note i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #59635e;
}

.product-stage {
  position: relative;
  min-height: 780px;
  padding: 0 48px 120px;
}

.stage-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 85%;
  height: 60%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 62%, rgba(165, 140, 255, 0.35), transparent 35%),
    radial-gradient(circle at 72% 40%, rgba(255, 157, 132, 0.3), transparent 37%),
    radial-gradient(circle at 52% 28%, rgba(201, 255, 183, 0.2), transparent 33%);
  filter: blur(80px);
  opacity: 0.65;
  transform: translateX(-50%);
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(20, 26, 24, 0.88);
  box-shadow:
    0 70px 140px rgba(0, 0, 0, 0.48),
    0 0 0 12px rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(24px);
}

.window-topbar {
  display: grid;
  min-height: 70px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 22px;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3a4540;
}

.avatar {
  display: grid;
  width: 31px;
  height: 31px;
  justify-self: end;
  place-items: center;
  border: 1px solid rgba(201, 255, 183, 0.22);
  border-radius: 50%;
  background: rgba(201, 255, 183, 0.09);
  color: #d9efd2;
  font-size: 8px;
  font-weight: 600;
}

.window-body {
  display: grid;
  min-height: 560px;
  grid-template-columns: 210px minmax(0, 1fr);
}

aside {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  padding: 34px 20px 22px;
}

aside > p {
  margin: 0 10px 14px;
  color: #66706b;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

aside > a {
  display: grid;
  min-height: 43px;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  padding: 0 10px;
  color: #88938d;
  font-size: 11px;
}

aside > a.active {
  background: rgba(201, 255, 183, 0.07);
  color: #e4eae4;
}

aside > a b {
  color: #78847d;
  font-size: 9px;
}

.side-icon {
  position: relative;
  width: 13px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.65;
}

.side-icon::after {
  position: absolute;
  right: 2px;
  bottom: 3px;
  left: 2px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 -3px currentColor;
  content: "";
}

.side-icon.calendar {
  height: 13px;
  border-radius: 4px;
}

.storage {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  color: #77817b;
}

.storage > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 255, 183, 0.08);
}

.storage i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--mint);
  border-radius: 50%;
}

.storage small {
  font-size: 8px;
  line-height: 1.4;
}

.archive {
  padding: 43px clamp(24px, 4vw, 54px);
}

.archive header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.archive header small {
  color: #69746e;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.archive h2 {
  margin: 7px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.archive button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #152016;
  padding: 0 15px;
  font-size: 10px;
  font-weight: 600;
}

.archive button span {
  font-size: 16px;
  font-weight: 400;
}

.archive-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.archive-tools label {
  display: flex;
  height: 39px;
  flex: 1;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #69736d;
  padding: 0 12px;
  font-size: 9px;
}

.archive-tools svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.archive-tools > span {
  display: grid;
  height: 39px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #919b95;
  padding: 0 13px;
  font-size: 9px;
}

.year {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
  color: #717c76;
  font-size: 9px;
  font-weight: 600;
}

.year i {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.document-list {
  display: grid;
  margin-top: 10px;
}

.document-list article {
  display: grid;
  min-height: 76px;
  grid-template-columns: 40px minmax(150px, 1.4fr) minmax(88px, 0.8fr) minmax(78px, 0.7fr) auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.file-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
}

.file-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.file-icon.coral {
  background: rgba(255, 157, 132, 0.11);
  color: var(--coral);
}

.file-icon.violet {
  background: rgba(165, 140, 255, 0.11);
  color: #b7a6ff;
}

.file-icon.mint {
  background: rgba(201, 255, 183, 0.1);
  color: var(--mint);
}

.file-copy {
  min-width: 0;
}

.file-copy strong {
  display: block;
  overflow: hidden;
  color: #dce2dd;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-copy small,
.file-date,
.file-place {
  color: #68736d;
  font-size: 8px;
}

.file-copy small {
  display: block;
  margin-top: 5px;
}

.open {
  color: #b7c3bc;
  font-size: 8px;
  font-weight: 600;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(27, 34, 31, 0.84);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(22px);
}

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

.float-card small {
  color: #7f8983;
  font-size: 8px;
}

.float-card strong {
  margin-top: 3px;
  color: #dbe2dc;
  font-size: 9px;
  font-weight: 500;
}

.upload-card {
  top: 31%;
  left: -2%;
  gap: 10px;
  min-width: 225px;
  padding: 12px;
  transform: rotate(-3deg);
}

.float-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: rgba(201, 255, 183, 0.1);
  color: var(--mint);
}

.float-icon svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.upload-card b {
  display: grid;
  width: 19px;
  height: 19px;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #172118;
  font-size: 9px;
}

.privacy-card {
  right: -1%;
  bottom: 26%;
  gap: 10px;
  min-width: 175px;
  padding: 13px;
  transform: rotate(2.5deg);
}

.privacy-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 157, 132, 0.55);
}

.closing {
  display: flex;
  min-height: 430px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing p {
  max-width: 560px;
  margin: 24px 0 27px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.closing a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #68736d;
  padding: 8px 0;
  color: #bdc7c1;
  font-size: 13px;
}

footer {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #647069;
  font-size: 10px;
  letter-spacing: 0.05em;
}

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

@media (max-width: 900px) {
  nav,
  .hero,
  .product-stage,
  .closing,
  footer {
    width: min(100% - 36px, 720px);
  }

  .hero {
    min-height: 590px;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(51px, 12vw, 82px);
  }

  .product-stage {
    min-height: 660px;
    padding-inline: 0;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  aside {
    display: none;
  }

  .upload-card {
    top: 27%;
    left: -3%;
  }

  .privacy-card {
    right: -3%;
    bottom: 22%;
  }
}

@media (max-width: 600px) {
  nav {
    min-height: 76px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    min-height: 39px;
    gap: 9px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero {
    min-height: 560px;
    padding: 70px 0 80px;
  }

  h1 {
    font-size: clamp(45px, 13vw, 64px);
  }

  .hero-copy > p {
    max-width: 360px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .trust-note {
    gap: 8px;
    margin-top: 58px;
    font-size: 8px;
  }

  .product-stage {
    min-height: 535px;
    width: calc(100% - 18px);
  }

  .app-window {
    min-width: 690px;
    border-radius: 17px;
    transform: scale(0.55);
    transform-origin: top left;
  }

  .window-body {
    grid-template-columns: 150px 1fr;
  }

  aside {
    display: flex;
  }

  .float-card {
    transform: scale(0.78);
  }

  .upload-card {
    top: 31%;
    left: -3%;
  }

  .privacy-card {
    right: -5%;
    bottom: 21%;
  }

  .closing {
    min-height: 360px;
  }

  footer {
    min-height: 90px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
