:root {
  --ll-bg: #f8f6ff;
  --ll-paper: #fffefe;
  --ll-lilac: #e8e1ff;
  --ll-cyan: #d8f3f4;
  --ll-cyan-strong: #62bfc7;
  --ll-violet: #7868c9;
  --ll-coral: #ea8f7b;
  --ll-ink: #4f6386;
  --ll-soft: #7b88a3;
  --ll-line: #d9d9ed;
  --ll-white: #ffffff;
  --ll-display: "Sora", sans-serif;
  --ll-body: "Zen Kaku Gothic New", sans-serif;
  --ll-shadow: 0 25px 70px rgba(102, 96, 170, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body.layerlab-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--ll-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(216, 243, 244, 0.85) 0 10%, transparent 10.2%),
    var(--ll-bg);
  font-family: var(--ll-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.layerlab-page a {
  color: inherit;
}

.ll-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.ll-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 255, 0.9);
  border-bottom: 1px solid rgba(120, 104, 201, 0.16);
  backdrop-filter: blur(16px);
}

.ll-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.ll-brand {
  font-family: var(--ll-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.ll-brand span {
  color: var(--ll-violet);
}

.ll-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ll-nav a {
  color: var(--ll-soft);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.ll-nav a:hover {
  color: var(--ll-violet);
}

.ll-hero {
  padding: clamp(80px, 10vw, 138px) 0 88px;
}

.ll-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 30px;
  color: var(--ll-soft);
  font-size: 0.68rem;
}

.ll-breadcrumb a {
  text-decoration: none;
}

.ll-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(52px, 7vw, 96px);
  align-items: center;
}

.ll-kicker {
  color: var(--ll-violet);
  font-family: var(--ll-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ll-hero h1 {
  margin: 20px 0 20px;
  font-family: var(--ll-display);
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.ll-hero h1 span {
  color: var(--ll-cyan-strong);
}

.ll-hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--ll-soft);
}

.ll-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.ll-tags span {
  padding: 7px 10px;
  color: var(--ll-violet);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--ll-line);
  border-radius: 999px;
  font-family: var(--ll-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ll-hero-image {
  position: relative;
  padding: 11px;
  background: var(--ll-paper);
  border: 1px solid var(--ll-line);
  border-radius: 22px;
  box-shadow: var(--ll-shadow);
  transform: rotate(1deg);
}

.ll-hero-image::before {
  content: "ACTUAL SCREEN";
  position: absolute;
  top: -15px;
  right: 28px;
  z-index: 1;
  padding: 6px 10px;
  color: var(--ll-white);
  background: var(--ll-coral);
  border-radius: 999px;
  font-family: var(--ll-display);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.ll-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
}

.ll-section {
  padding: clamp(84px, 10vw, 136px) 0;
}

.ll-section-paper {
  background:
    linear-gradient(rgba(120, 104, 201, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 104, 201, 0.045) 1px, transparent 1px),
    var(--ll-paper);
  background-size: 30px 30px;
}

.ll-section-lilac {
  background: var(--ll-lilac);
}

.ll-section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 55px;
}

.ll-section h2 {
  margin: 0;
  font-family: var(--ll-display);
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.ll-section-lead {
  max-width: 650px;
  margin: 0 0 3px auto;
  color: var(--ll-soft);
}

.ll-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 15px;
}

.ll-feature {
  grid-column: span 6;
  min-height: 255px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ll-line);
}

.ll-feature:last-child {
  grid-column: span 12;
}

.ll-feature-no {
  color: var(--ll-coral);
  font-family: var(--ll-display);
  font-size: 0.65rem;
  font-weight: 700;
}

.ll-feature h3 {
  margin: 46px 0 11px;
  font-family: var(--ll-display);
  font-size: 1.35rem;
  line-height: 1.4;
}

.ll-feature p {
  margin: 0;
  color: var(--ll-soft);
  font-size: 0.86rem;
}

.ll-shot {
  margin: 0;
}

.ll-shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 10px solid var(--ll-paper);
  border-radius: 18px;
  box-shadow: var(--ll-shadow);
}

.ll-shot figcaption {
  margin-top: 16px;
  color: var(--ll-soft);
  font-size: 0.72rem;
  text-align: center;
}

.ll-stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.ll-stack-item {
  min-height: 170px;
  display: grid;
  align-content: end;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(120, 104, 201, 0.2);
}

.ll-stack-item b {
  font-family: var(--ll-display);
  font-size: 0.9rem;
}

.ll-stack-item span {
  margin-top: 8px;
  color: var(--ll-soft);
  font-size: 0.62rem;
}

.ll-status {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.ll-status-card {
  padding: 34px;
  background: var(--ll-paper);
  border: 1px solid var(--ll-line);
  box-shadow: var(--ll-shadow);
}

.ll-status-card dl {
  margin: 0;
}

.ll-status-card div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ll-line);
}

.ll-status-card div:last-child {
  border-bottom: 0;
}

.ll-status-card dt {
  color: var(--ll-soft);
  font-size: 0.67rem;
  font-weight: 700;
}

.ll-status-card dd {
  margin: 0;
  font-size: 0.78rem;
}

.ll-status-copy p {
  color: var(--ll-soft);
}

.ll-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 20px;
  color: var(--ll-white);
  background: var(--ll-violet);
  border: 1px solid var(--ll-violet);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.ll-button::after {
  content: "→";
}

.ll-footer {
  padding: 48px 0 24px;
  color: var(--ll-soft);
  background: var(--ll-cyan);
}

.ll-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ll-footer a {
  font-size: 0.72rem;
  text-decoration: none;
}

.ll-footer small {
  font-size: 0.65rem;
}

@media (max-width: 900px) {
  .ll-hero-grid,
  .ll-section-head,
  .ll-status {
    grid-template-columns: 1fr;
  }

  .ll-section-lead {
    margin-left: 0;
  }

  .ll-stack {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .ll-container {
    width: min(100% - 32px, 1180px);
  }

  .ll-nav a:not(:last-child) {
    display: none;
  }

  .ll-hero {
    padding: 62px 0 72px;
  }

  .ll-hero h1 {
    font-size: clamp(3.4rem, 19vw, 5rem);
  }

  .ll-section {
    padding: 76px 0;
  }

  .ll-feature-grid,
  .ll-stack {
    grid-template-columns: 1fr;
  }

  .ll-feature,
  .ll-feature:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 27px;
  }

  .ll-feature h3 {
    margin-top: 30px;
  }

  .ll-stack-item {
    min-height: 130px;
  }

  .ll-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
