:root {
  color-scheme: light;
  --ink: #050505;
  --muted: #5f5f5f;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #e7e7e7;
  --soft: #f7f7f7;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.brand-name {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.language-switch a[aria-current="true"] {
  color: #fff;
  background: var(--ink);
}

.home-hero,
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100svh - 72px);
  padding: 64px clamp(20px, 5vw, 72px) 56px;
}

.home-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.62fr);
  gap: clamp(36px, 5vw, 72px);
  max-width: 1180px;
  min-height: min(680px, calc(100svh - 112px));
  margin: 0 auto;
  padding-right: clamp(32px, 7vw, 104px);
  padding-left: clamp(32px, 7vw, 104px);
}

.product-hero {
  min-height: 72svh;
  border-bottom: 1px solid var(--line);
}

.product-copy,
.reader-showcase {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-logo-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1;
}

.product-logo-heading img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(5, 5, 5, 0.12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: 5.2rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.product-copy h1 {
  font-size: 4.6rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  color: #242424;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.interest-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 14px 0 12px;
  overflow: visible;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.interest-button::before,
.interest-button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.interest-button::before {
  inset: -7px;
  border: 1px solid rgba(37, 99, 235, 0.26);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.88);
}

.interest-button::after {
  top: 50%;
  left: 24px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%);
  box-shadow:
    0 -27px 0 #2563eb,
    22px -14px 0 #2563eb,
    22px 14px 0 #2563eb,
    0 27px 0 #2563eb,
    -22px 14px 0 #2563eb,
    -22px -14px 0 #2563eb;
}

.interest-button:hover {
  transform: translateY(-1px);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.interest-button:focus-visible {
  outline: 3px solid rgba(5, 5, 5, 0.22);
  outline-offset: 3px;
}

.interest-button:disabled {
  cursor: default;
}

.interest-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.interest-button.is-liked {
  border-color: rgba(37, 99, 235, 0.5);
  color: #2563eb;
}

.interest-button.is-liked .interest-icon {
  animation: interest-pop 420ms ease both;
}

.interest-button.is-animating .interest-icon {
  animation: interest-pop 420ms ease both;
}

.interest-label {
  display: inline-block;
  white-space: nowrap;
}

.interest-button.is-animating::before {
  animation: interest-ring 520ms ease-out both;
}

.interest-button.is-animating::after {
  animation: interest-burst 620ms ease-out both;
}

.interest-button.is-loading {
  opacity: 0.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.logo-showcase,
.reader-showcase {
  min-height: 320px;
}

.logo-showcase {
  display: grid;
  position: relative;
  min-height: 360px;
  place-items: center;
  padding: clamp(20px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#efefef 1px, transparent 1px),
    linear-gradient(90deg, #efefef 1px, transparent 1px),
    var(--surface);
  background-size: 34px 34px;
  box-shadow: var(--shadow);
}

.logo-showcase::before,
.logo-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.logo-showcase::before {
  inset: 24px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
}

.logo-showcase::after {
  right: 0;
  bottom: 0;
  width: 38%;
  height: 38%;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

.brand-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 112px;
  grid-template-rows: auto 1fr;
  gap: 22px;
  width: min(100%, 420px);
  min-height: 260px;
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.brand-board::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 8px;
  background: var(--ink);
}

.brand-board-main {
  display: grid;
  grid-row: 1 / span 2;
  min-height: 172px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-board-main img {
  display: block;
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.brand-board-lines {
  display: grid;
  align-content: end;
  gap: 10px;
  padding-top: 38px;
}

.brand-board-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #d8d8d8;
}

.brand-board-lines span:first-child {
  width: 88%;
  background: var(--ink);
}

.brand-board-lines span:nth-child(2) {
  width: 64%;
}

.brand-board-lines span:nth-child(3) {
  width: 42%;
}

.brand-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: end;
  gap: 8px;
}

.brand-board-grid img {
  width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.reader-showcase {
  display: grid;
  place-items: center;
}

.device-stage {
  position: relative;
  width: min(100%, 560px);
  min-height: 430px;
}

.device-stage::before {
  content: "";
  position: absolute;
  inset: 26px 0 38px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#efefef 1px, transparent 1px),
    linear-gradient(90deg, #efefef 1px, transparent 1px),
    var(--surface);
  background-size: 34px 34px;
}

.device-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 9px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.device-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ipad-frame {
  top: 46px;
  right: 0;
  width: min(92%, 520px);
  aspect-ratio: 2420 / 1668;
  border-radius: 24px;
}

.ipad-frame img {
  border-radius: 16px;
}

.iphone-frame {
  left: 14px;
  bottom: 20px;
  width: min(30%, 164px);
  aspect-ratio: 414 / 900;
  border-width: 8px;
  border-radius: 30px;
}

.iphone-frame img {
  border-radius: 22px;
}

.section,
.content-section,
.feature-grid,
.flow-section,
.legal-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section,
.content-section,
.feature-grid,
.flow-section {
  padding: 76px 0;
}

.section-heading {
  margin-bottom: 26px;
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.work-card:first-of-type {
  margin-top: 0;
}

.work-mark {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  object-fit: contain;
}

.app-icon-mark {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 1.4rem;
}

.content-section {
  max-width: 850px;
  color: #242424;
  font-size: 1.08rem;
}

.usage-note {
  margin-top: -30px;
  padding: 22px clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: 1rem;
}

.usage-note p:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article {
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid p,
.feature-grid li,
.flow-list span,
.legal-page p,
.legal-page li {
  color: #333;
}

ul,
ol {
  padding-left: 1.2rem;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  min-height: 230px;
  padding: 22px;
  border-top: 4px solid var(--ink);
  background: var(--soft);
  counter-increment: flow;
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.flow-list strong,
.flow-list span {
  display: block;
}

.flow-list strong {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 10px;
}

.legal-page {
  max-width: 820px;
  padding: 76px 0;
}

.legal-page h1 {
  margin-bottom: 42px;
  font-size: 3.8rem;
}

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

.legal-page h2 {
  font-size: 1.25rem;
}

.legal-page a {
  text-underline-offset: 0.18em;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 18px;
}

.manakare-hero {
  overflow: hidden;
  background:
    linear-gradient(#efefef 1px, transparent 1px),
    linear-gradient(90deg, #efefef 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
}

.study-showcase {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 450px;
  place-items: center;
}

.study-showcase::before {
  content: "";
  position: absolute;
  inset: 30px 0 24px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.study-phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 30px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.study-phone-main {
  left: 26px;
  bottom: 18px;
  width: min(54%, 260px);
  aspect-ratio: 390 / 844;
}

.study-phone-sub {
  top: 28px;
  right: 16px;
  width: min(43%, 210px);
  aspect-ratio: 390 / 844;
}

.study-screen {
  height: 100%;
  border-radius: 22px;
  background: #f8f8f8;
}

.study-screen img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
}

.study-phone-status {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.study-screen h2 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.mock-caption {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-stats span,
.mock-task,
.mock-notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.mock-stats span {
  padding: 12px 8px;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: center;
}

.mock-task,
.mock-notice {
  display: grid;
  gap: 3px;
  margin-top: 9px;
  padding: 12px;
}

.mock-task.done {
  border-color: #b8dfbd;
  background: #f2fbf4;
}

.mock-task strong,
.mock-notice strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.mock-task span,
.mock-notice span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.mock-task.compact {
  margin-top: 14px;
}

.watchlist-hero {
  overflow: hidden;
  background:
    linear-gradient(#ededed 1px, transparent 1px),
    linear-gradient(90deg, #ededed 1px, transparent 1px),
    #fbfbf8;
  background-size: 38px 38px;
}

.watchlist-hero .product-copy h1 {
  max-width: 760px;
}

.watchlist-hero .product-copy h1,
.watchlist-hero .lead {
  word-break: normal;
}

.stream-showcase {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 460px;
  place-items: center;
}

.stream-board {
  width: min(100%, 560px);
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stream-toolbar,
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stream-toolbar {
  margin-bottom: 18px;
}

.stream-toolbar span,
.service-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f8f8;
  color: #333;
  font-size: 0.78rem;
  font-weight: 800;
}

.stream-toolbar span:nth-child(2) {
  color: #064f39;
  background: #e9f7ee;
  border-color: #b8dfc6;
}

.stream-toolbar span:nth-child(3) {
  color: #6e1d1d;
  background: #fff0ed;
  border-color: #f2c1b8;
}

.stream-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(190px, 0.72fr);
  gap: 14px;
  align-items: stretch;
}

.poster-list,
.stream-detail {
  min-width: 0;
}

.poster-list {
  display: grid;
  gap: 10px;
}

.poster-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}

.poster-card strong,
.poster-card span {
  display: block;
  line-height: 1.35;
}

.poster-card strong {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.poster-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.poster-art {
  width: 58px;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(5, 5, 5, 0.24);
  border-radius: 6px;
}

.poster-art-a {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), transparent 40%),
    linear-gradient(160deg, #101010 0 35%, #d84130 35% 66%, #f3c64b 66%);
}

.poster-art-b {
  background:
    radial-gradient(circle at 32% 28%, #fff 0 12%, transparent 13%),
    linear-gradient(145deg, #144d7a, #72b6b0 52%, #f1e3a7);
}

.poster-art-c {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 46%),
    linear-gradient(150deg, #6f4b7c, #232323 58%, #d9d1c2);
}

.stream-detail {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(#efefef 1px, transparent 1px),
    linear-gradient(90deg, #efefef 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
}

.stream-detail h2 {
  font-size: 1.22rem;
}

.stream-detail p {
  color: #333;
  font-size: 0.92rem;
  line-height: 1.6;
}

.layout-canvas-hero {
  overflow: hidden;
  background:
    linear-gradient(#e9edf1 1px, transparent 1px),
    linear-gradient(90deg, #e9edf1 1px, transparent 1px),
    #f8faf9;
  background-size: 40px 40px;
}

.layout-canvas-hero .hero-actions {
  align-items: center;
}

.layout-canvas-hero .interest-button {
  margin-top: 0;
}

.layout-showcase {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 470px;
  place-items: center;
}

.layout-board {
  width: min(100%, 590px);
  padding: clamp(16px, 3vw, 24px);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.layout-menubar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.layout-menubar span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f8f8;
  color: #333;
  font-size: 0.78rem;
  font-weight: 850;
}

.layout-menubar span:first-child {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.layout-workspace {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(118px, 0.34fr);
  gap: 12px;
  min-height: 360px;
}

.layout-tools,
.layout-panel,
.layout-canvas-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.layout-tools {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 10px;
  background: #fafafa;
}

.layout-tools span {
  display: block;
  aspect-ratio: 1;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
}

.layout-tools span:nth-child(2) {
  border-radius: 999px;
}

.layout-tools span:nth-child(3) {
  background:
    linear-gradient(90deg, transparent 44%, #050505 44% 56%, transparent 56%),
    linear-gradient(transparent 44%, #050505 44% 56%, transparent 56%),
    #fff;
}

.layout-tools span:nth-child(4) {
  background:
    linear-gradient(90deg, transparent 44%, #050505 44% 56%, transparent 56%),
    #fff;
}

.layout-canvas-preview {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(#edf0f2 1px, transparent 1px),
    linear-gradient(90deg, #edf0f2 1px, transparent 1px),
    #fff;
  background-size: 24px 24px;
}

.layout-stage-shape {
  position: absolute;
  top: 42px;
  left: 44px;
  width: 56%;
  height: 42%;
  border: 2px solid #1f2937;
  border-radius: 8px;
  background: rgba(229, 231, 235, 0.64);
}

.layout-stage-shape::after {
  content: "STAGE";
  position: absolute;
  top: 14px;
  left: 18px;
  color: #374151;
  font-size: 0.76rem;
  font-weight: 900;
}

.layout-block {
  position: absolute;
  display: grid;
  min-width: 62px;
  min-height: 42px;
  place-items: center;
  border: 2px solid #0f766e;
  border-radius: 7px;
  background: #e7fbf7;
  color: #0f3f3a;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
}

.layout-block-a {
  right: 34px;
  bottom: 42px;
}

.layout-block-b {
  left: 58px;
  bottom: 52px;
  border-color: #7c3aed;
  background: #f3efff;
  color: #3b1b79;
}

.layout-block-c {
  top: 78px;
  right: 38px;
  border-color: #d97706;
  background: #fff7e6;
  color: #6b3b02;
}

.layout-distance {
  position: absolute;
  right: 88px;
  bottom: 96px;
  padding: 4px 8px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 900;
}

.layout-distance::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 78px;
  border-top: 2px solid #2563eb;
}

.layout-panel {
  padding: 14px;
  background: #fafafa;
}

.layout-panel strong,
.layout-panel span {
  display: block;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 0.78rem;
  line-height: 1.25;
}

.layout-panel strong {
  border-color: #b8dfc6;
  background: #e9f7ee;
}

@keyframes interest-pop {
  0% {
    transform: scale(0.76) rotate(-8deg);
  }

  56% {
    transform: scale(1.18) rotate(-8deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes interest-ring {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes interest-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }

  30% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@media (max-width: 920px) {
  .home-hero,
  .product-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero {
    max-width: 720px;
    padding-right: clamp(24px, 7vw, 56px);
    padding-left: clamp(24px, 7vw, 56px);
  }

  .logo-showcase,
  .reader-showcase {
    min-height: 220px;
  }

  .feature-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .study-showcase {
    min-height: 420px;
  }

  .stream-showcase {
    min-height: 380px;
  }

  .layout-showcase {
    min-height: 390px;
  }

  .flow-list li {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .brand-name {
    font-size: .98rem;
  }

  .logo-showcase {
    min-height: 300px;
    padding: 20px;
  }

  .logo-showcase::before {
    inset: 14px;
  }

  .brand-board {
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(100%, 250px);
    min-height: 236px;
    padding: 20px;
  }

  .brand-board-main {
    grid-row: auto;
    min-height: 130px;
  }

  .brand-board-main img {
    width: 82px;
    height: 82px;
  }

  .brand-board-lines {
    grid-row: 1;
    gap: 8px;
    padding-top: 22px;
    padding-right: 58px;
  }

  .brand-board-grid {
    grid-template-columns: repeat(3, 44px);
  }

  .brand-board-grid img {
    padding: 8px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1,
  .product-copy h1,
  .legal-page h1 {
    font-size: 2.7rem;
    overflow-wrap: anywhere;
  }

  .product-copy h1 {
    font-size: 2.35rem;
    line-height: 1.08;
    word-break: break-all;
  }

  .home-hero,
  .product-hero {
    padding-top: 42px;
  }

  .lead {
    font-size: 1.08rem;
    word-break: break-all;
    max-width: 100%;
  }

  .manakare-hero .lead {
    max-width: 320px;
    font-size: 1rem;
  }

  .product-copy,
  .reader-showcase,
  .study-showcase {
    width: 100%;
    min-width: 0;
  }

  .reader-showcase {
    overflow: hidden;
  }

  .device-stage {
    width: min(100%, 300px);
    min-height: 310px;
  }

  .study-showcase {
    max-width: 350px;
    min-height: 360px;
    margin: 0 auto;
    overflow: hidden;
  }

  .stream-showcase {
    max-width: 360px;
    min-height: 360px;
    margin: 0 auto;
  }

  .layout-showcase {
    max-width: 360px;
    min-height: 360px;
    margin: 0 auto;
  }

  .layout-board {
    padding: 14px;
  }

  .layout-workspace {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 280px;
  }

  .layout-panel {
    display: none;
  }

  .layout-tools {
    gap: 7px;
    padding: 8px;
  }

  .layout-stage-shape {
    top: 32px;
    left: 28px;
    width: 58%;
    height: 36%;
  }

  .layout-block {
    min-width: 48px;
    min-height: 34px;
    font-size: 0.66rem;
  }

  .layout-block-a {
    right: 18px;
    bottom: 28px;
  }

  .layout-block-b {
    left: 30px;
    bottom: 38px;
  }

  .layout-block-c {
    top: 66px;
    right: 20px;
  }

  .layout-distance {
    right: 62px;
    bottom: 78px;
    font-size: 0.62rem;
  }

  .layout-distance::before {
    width: 46px;
  }

  .stream-board {
    padding: 14px;
  }

  .stream-layout {
    grid-template-columns: 1fr;
  }

  .stream-detail {
    display: none;
  }

  .poster-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 76px;
  }

  .poster-art {
    width: 48px;
  }

  .study-showcase::before {
    inset: 20px 0 24px 22px;
  }

  .study-phone-main {
    left: 50%;
    width: min(54%, 160px);
    transform: translateX(-50%);
  }

  .study-phone-sub {
    display: none;
  }

  .study-screen {
    padding: 26px 10px 10px;
  }

  .study-screen h2 {
    font-size: 0.9rem;
  }

  .mock-stats {
    gap: 6px;
  }

  .mock-stats span,
  .mock-task,
  .mock-notice {
    padding: 8px;
  }

  .mock-task strong,
  .mock-notice strong {
    font-size: 0.76rem;
  }

  .mock-task span,
  .mock-notice span,
  .mock-caption {
    font-size: 0.64rem;
  }

  .device-stage::before {
    inset: 20px 0 30px 22px;
  }

  .ipad-frame {
    top: 36px;
    right: 0;
    width: 92%;
    border-width: 7px;
    border-radius: 18px;
  }

  .ipad-frame img {
    border-radius: 14px;
  }

  .iphone-frame {
    left: 10px;
    bottom: 6px;
    width: 30%;
    border-width: 7px;
    border-radius: 25px;
  }

  .iphone-frame img {
    border-radius: 18px;
  }
}
