:root {
  --bg: #a78be0;
  --bg-deep: #6735d8;
  --surface: #c4a8f0;
  --raised: #d0b8f8;
  --ink: #21133d;
  --muted: #4a1fa0;
  --electric: #9358ff;
  --lilac: #d9c8ff;
  --white: #f7f2ff;
  --max: 1080px;
  --dot: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(147, 88, 255, 0.45), transparent 60%),
    radial-gradient(700px 480px at -10% 30%, rgba(217, 200, 255, 0.55), transparent 55%),
    linear-gradient(160deg, #b794ff 0%, var(--bg) 42%, #8f6ad4 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.margin-dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.margin-dots a {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: rgba(33, 19, 61, 0.35);
  border: 2px solid var(--white);
  text-indent: -9999px;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
}

.margin-dots a:hover,
.margin-dots a.is-active {
  background: var(--ink);
  transform: scale(1.25);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 3rem;
  gap: 1.25rem;
}

.hero__mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(33, 19, 61, 0.28);
}

.hero__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero__line2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  color: var(--muted);
  font-weight: 600;
}

.hero__tag {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}

.hero__art {
  width: min(100%, 820px);
  margin-top: 1.5rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(33, 19, 61, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero__art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section {
  padding: 4.5rem 0 1rem;
}

.section__intro {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.section__intro h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
}

.section__intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento__tile {
  background: rgba(247, 242, 255, 0.72);
  border: 1px solid rgba(103, 53, 216, 0.18);
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 12px 28px rgba(33, 19, 61, 0.08);
}

.bento__tile h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.bento__tile p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.bento__tile--wide {
  grid-column: span 7;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(147, 88, 255, 0.22), transparent 55%),
    rgba(247, 242, 255, 0.8);
}

.bento__tile--tall {
  grid-column: span 5;
  grid-row: span 2;
  min-height: 280px;
}

.bento__tile--mid {
  grid-column: span 5;
}

.bento__tile--rest {
  grid-column: span 7;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.device-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: end;
}

.device {
  background: rgba(33, 19, 61, 0.12);
  border-radius: 28px;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.device img {
  width: 100%;
  border-radius: 20px;
}

.device figcaption {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.device--offset {
  transform: translateY(-1.4rem);
}

.footer-sheet {
  margin: 4rem 0 0;
  background: linear-gradient(180deg, rgba(33, 19, 61, 0.92), #110b22);
  color: var(--white);
  border-radius: 36px 36px 0 0;
  padding: 3rem 0 2.5rem;
}

.footer-sheet .wrap {
  display: grid;
  gap: 2rem;
}

.legal-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
}

.legal-block p,
.legal-block li {
  color: rgba(247, 242, 255, 0.82);
  line-height: 1.6;
}

.legal-block ul {
  padding-left: 1.1rem;
}

.legal-block a {
  color: var(--lilac);
  text-decoration-thickness: 1px;
}

.site-end {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(217, 200, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(247, 242, 255, 0.55);
}

@media (max-width: 860px) {
  .margin-dots {
    right: 10px;
  }

  .bento__tile--wide,
  .bento__tile--tall,
  .bento__tile--mid,
  .bento__tile--rest {
    grid-column: span 12;
    grid-row: auto;
  }

  .gallery-row,
  .device-pair {
    grid-template-columns: 1fr;
  }

  .device--offset {
    transform: none;
  }
}
