/* Home page styles */
.hero {
  min-height: calc(100vh - 152px);
  display: grid;
  grid-template-columns: minmax(440px, 0.82fr) minmax(580px, 1.18fr);
  gap: clamp(58px, 5vw, 112px);
  align-items: center;
  padding: 20px 0 72px;
}


.hero-title {
  position: relative;
  max-width: 650px;
  margin: 0;
  display: grid;
  gap: 0;
  font-size: 92px;
  line-height: 0.86;
  letter-spacing: 0;
  font-weight: 850;
}


.hero-title span {
  display: block;
  width: fit-content;
}


.hero-title .title-inspire {
  font-size: 0.88em;
}


.hero-title .title-begin {
  justify-self: start;
  margin: -6px 0 -2px 220px;
  font-size: 0.58em;
  font-weight: 780;
}


.hero-title .title-form {
  margin-top: -4px;
  margin-left: 34px;
  font-size: 1.14em;
}


.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
}


.hero-lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}


.hero-type-grid {
  width: min(100%, 480px);
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: end;
  justify-content: start;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}


.hero-type-grid strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}


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


.product-shot {
  min-height: clamp(580px, 56vh, 720px);
  display: grid;
  align-items: center;
}


.shot-window {
  position: relative;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--motion-medium) var(--ease-soft), box-shadow var(--motion-medium) var(--ease-soft);
}


.product-shot:hover .shot-window {
  transform: translateY(-3px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.1);
}


.shot-window::before {
  content: "";
  position: absolute;
  inset: auto 12% -28% 16%;
  height: 44%;
  border-radius: 50%;
  background: rgba(40, 117, 255, 0.14);
  filter: blur(40px);
}


.shot-bar {
  position: relative;
  z-index: 1;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}


.shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7d7dc;
}


.shot-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(122px, 9vw, 152px) minmax(0, 1fr) clamp(132px, 10vw, 178px);
  gap: 18px;
  min-height: clamp(420px, 42vh, 560px);
  padding: 18px;
}


.shot-body aside,
.shot-body section,
.shot-library {
  border-radius: 22px;
  background: rgba(245, 245, 247, 0.78);
  border: 1px solid var(--line);
}


.shot-body aside {
  padding: 14px;
}


.shot-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 18px;
  background: #111113;
}


.shot-body aside button {
  width: 100%;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 999px;
  border: 0;
  color: var(--muted);
  background: transparent;
  transition: background var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);
}


.shot-body aside button.active,
.shot-body aside button:hover {
  color: var(--ink);
  background: #fff;
}


.shot-body aside button:hover {
  transform: translateY(-1px);
}


.shot-body section {
  padding: 22px;
}


.shot-title {
  width: 46%;
  height: 22px;
  border-radius: 999px;
  background: #111113;
  margin-bottom: 22px;
}


.shot-input {
  height: 138px;
  border-radius: 20px;
  background:
    linear-gradient(#e8e8ed 18px, transparent 18px) 20px 22px / 70% 40px no-repeat,
    linear-gradient(#efeff3 18px, transparent 18px) 20px 62px / 86% 40px no-repeat,
    linear-gradient(#efeff3 18px, transparent 18px) 20px 102px / 52% 40px no-repeat,
    #fff;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}


.shot-output {
  display: grid;
  gap: 10px;
}


.shot-output span {
  height: 48px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}


.shot-library {
  padding: 12px;
  display: grid;
  gap: 10px;
}


.shot-library div {
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(17, 17, 19, 0.16), transparent),
    #fff;
}


.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


.feature-row article {
  min-height: 210px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--motion-medium) var(--ease-soft), border-color var(--motion-fast) var(--ease-standard), box-shadow var(--motion-medium) var(--ease-soft);
}


.feature-row article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}


.feature-row h2 {
  margin: 0 0 16px;
  font-size: 28px;
}


.feature-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}


@media (min-width: 1600px) {
body[data-page="home"] .view {
    width: min(var(--wide-max), calc(100% - 112px));
}


.hero {
    grid-template-columns: minmax(540px, 0.78fr) minmax(760px, 1.22fr);
    gap: clamp(88px, 6vw, 142px);
}


.product-shot {
    min-height: 720px;
}


.feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
}


@media (max-width: 1060px) {
.hero {
    grid-template-columns: 1fr;
}


.product-shot {
    min-height: auto;
}
}


@media (max-width: 760px) {
.hero-title {
    font-size: 50px;
    line-height: 0.88;
}


.hero-title .title-begin {
    margin: -1px 0 0 122px;
    font-size: 0.64em;
}


.hero-title .title-form {
    margin-top: -1px;
    margin-left: 8px;
    font-size: 1.1em;
}


.hero-lede {
    max-width: 32em;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.64;
}


.hero-type-grid {
    grid-template-columns: repeat(4, auto);
    margin-top: 16px;
    padding-top: 13px;
    gap: 12px;
}


.hero-type-grid strong {
    font-size: 17px;
}


.shot-body {
    grid-template-columns: 1fr;
    min-height: 330px;
    padding: 14px;
}


.shot-window {
    border-radius: 26px;
}


.shot-bar {
    height: 44px;
}


.shot-body section {
    padding: 16px;
}


.shot-input {
    height: 106px;
    margin-bottom: 12px;
}


.shot-output span {
    height: 38px;
}


.shot-library {
    grid-template-columns: repeat(3, 1fr);
    min-height: 96px;
}


.feature-row {
    grid-template-columns: 1fr;
}
}


/* Home art-cover refresh */
body[data-page="home"] {
  --home-footer-height: 78px;
  min-height: calc(100vh + var(--home-footer-height));
  min-height: calc(100svh + var(--home-footer-height));
  overflow-x: hidden;
  overflow-y: auto;
  background: #f7f7f4;
}


body[data-page="home"] main {
  min-height: 100vh;
  min-height: 100svh;
}


body[data-page="home"] .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 68px;
  grid-template-columns: auto 1fr auto;
  padding: 0 clamp(24px, 3vw, 44px);
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}


body[data-page="home"] .brand {
  gap: 0;
}


body[data-page="home"] .brand span,
body[data-page="home"] .site-nav,
body[data-page="home"] .menu-button {
  display: none;
}


body[data-page="home"] .brand img {
  width: 34px;
  height: 34px;
  opacity: 0.86;
}


body[data-page="home"] .header-actions {
  grid-column: auto;
  min-width: 0;
  gap: 10px;
}


body[data-page="home"] .header-points,
body[data-page="home"] .user-menu {
  display: none !important;
}


body[data-page="home"] #loginButton {
  display: none !important;
}


body[data-page="home"] .header-actions .text-button {
  min-width: 0;
  min-height: 34px;
  padding: 0;
  color: rgba(7, 7, 7, 0.58);
  font-size: 14px;
  box-shadow: none;
}


body[data-page="home"] .header-actions .text-button:hover {
  color: var(--ink);
  box-shadow: none;
}


body[data-page="home"] .header-actions .home-enter-button {
  min-height: 34px;
  padding: 0 15px;
  color: #fff;
  background: #111113;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}


body[data-page="home"] .header-actions .home-enter-button:hover {
  color: #fff;
  background: #111113;
  box-shadow: 0 10px 24px rgba(17, 17, 19, 0.14);
}


body[data-page="home"] .home-cover-view {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


.home-cover {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: #f7f7f4;
  isolation: isolate;
}


.home-cover::before {
  display: none;
}


.home-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  height: 4px;
  background: linear-gradient(180deg, rgba(17, 17, 19, 0.02), rgba(17, 17, 19, 0.14));
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.6) inset,
    0 1px 0 rgba(17, 17, 19, 0.06);
  pointer-events: none;
}


.home-tile-field {
  position: absolute;
  inset: 0;
  z-index: 4;
}


.home-photo-tile {
  position: absolute;
  left: var(--tile-x, 0);
  top: var(--tile-y, 0);
  width: var(--tile-width);
  aspect-ratio: var(--tile-ratio);
  overflow: hidden;
  background: #ecebe6;
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.13);
  cursor: grab;
  touch-action: none;
  user-select: none;
  will-change: transform;
  transform: translate(-50%, -50%) rotate(var(--tile-rot, 0deg));
}


.home-photo-tile.is-positioned {
  left: 0;
  top: 0;
}


.home-photo-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: var(--image-opacity, 0.68);
  filter: grayscale(1) contrast(0.92) brightness(1.08);
  mix-blend-mode: multiply;
  pointer-events: none;
}


.home-photo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.34), transparent 36%),
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.2), transparent 28%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}


.home-photo-tile.is-dragging {
  cursor: grabbing;
  box-shadow: 0 34px 90px rgba(12, 12, 12, 0.18);
}


.home-cover-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 72px 28px;
}


.home-cover-art {
  position: relative;
  width: clamp(380px, 38vw, 590px);
  aspect-ratio: 1.04 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 28%, rgba(211, 214, 213, 0.98) 0 13%, transparent 31%),
    radial-gradient(circle at 68% 22%, rgba(195, 202, 210, 0.92) 0 15%, transparent 34%),
    radial-gradient(circle at 74% 70%, rgba(213, 203, 191, 0.84) 0 13%, transparent 31%),
    linear-gradient(135deg, #e5e5e0, #fafaf7 46%, #d7d8d2);
  box-shadow: 0 34px 100px rgba(18, 18, 18, 0.11);
}


.home-cover-art::before,
.home-cover-art::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}


.home-cover-art::before {
  background:
    radial-gradient(ellipse at 28% 44%, rgba(29, 29, 29, 0.38) 0 8%, transparent 25%),
    radial-gradient(ellipse at 48% 56%, rgba(248, 248, 244, 0.76) 0 10%, transparent 30%),
    radial-gradient(ellipse at 62% 48%, rgba(80, 89, 96, 0.23) 0 8%, transparent 24%),
    conic-gradient(from 230deg at 52% 50%, rgba(22, 22, 22, 0.24), transparent 20%, rgba(255, 255, 255, 0.68), transparent 64%, rgba(38, 38, 38, 0.18));
  filter: blur(14px);
  transform: rotate(-8deg) scale(1.06);
}


.home-cover-art::after {
  background:
    linear-gradient(105deg, transparent 0 31%, rgba(255, 255, 255, 0.56) 31.2% 32%, transparent 32.2% 100%),
    linear-gradient(172deg, transparent 0 55%, rgba(10, 10, 10, 0.08) 55.2% 55.5%, transparent 55.8% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 8px);
  mix-blend-mode: soft-light;
  opacity: 0.75;
}


.home-cover-wordmark {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 48%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-1deg) scaleX(1.12);
  color: #050505;
  font-family: "LynnAI Waiting", cursive;
  font-size: clamp(124px, 18vw, 270px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  mix-blend-mode: multiply;
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}


body[data-page="home"] .site-footer {
  width: 100%;
  flex: 0 0 var(--home-footer-height);
  height: var(--home-footer-height);
  min-height: 0;
  margin: 0;
  padding: 0 34px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 10px 18px;
  color: rgba(9, 9, 9, 0.52);
  background: #f1f1ed;
  border-top: 0;
}


body[data-page="home"] .site-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


body[data-page="home"] .site-footer img {
  width: 15px;
  height: 15px;
  margin-right: 0;
  object-fit: contain;
  opacity: 0.76;
  vertical-align: 0;
}


@media (max-width: 760px) {
body[data-page="home"] {
    --home-footer-height: 106px;
}


body[data-page="home"] .site-header {
    height: 64px;
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
}


body[data-page="home"] .brand img {
    width: 30px;
    height: 30px;
}


body[data-page="home"] .header-actions {
    width: auto;
}


.home-cover-art {
    width: min(74vw, 360px);
}


.home-photo-tile {
    width: calc(var(--tile-width) * 0.74);
}


.home-cover-wordmark {
    font-size: clamp(82px, 27vw, 132px);
    top: 49%;
    transform: translate(-50%, -50%) rotate(-1deg) scaleX(1.08);
}


body[data-page="home"] .site-footer {
    padding: 0 24px;
    flex-direction: column;
}
}
