/* Mobile home approved from the final reference composition. */
body[data-view='home'] {
  min-width: 320px;
  color: var(--ui-text);
  background: var(--color-background);
}

body[data-view='home'] #app {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 106% -5%, rgb(126 86 72 / 0.42), transparent 40%),
    radial-gradient(ellipse at -15% 78%, rgb(119 72 58 / 0.25), transparent 34%),
    radial-gradient(ellipse at 92% 103%, rgb(106 70 58 / 0.22), transparent 40%),
    var(--color-background);
}

body[data-view='home'] #app::before,
body[data-view='home'] #app::after {
  position: fixed;
  z-index: -1;
  content: '';
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 9% 12%, rgb(151 92 76 / 0.2), transparent 34%),
    radial-gradient(ellipse at 48% 42%, rgb(72 43 38 / 0.15), transparent 62%),
    url('/surface-grain.svg'), #100c0c;
  border: 0;
  box-shadow:
    -3px -4px 8px rgb(201 116 96 / 0.3),
    -16px -12px 48px rgb(106 70 58 / 0.16),
    inset 12px 8px 34px rgb(126 76 64 / 0.12);
  opacity: 0.78;
}

body[data-view='home'] #app::before {
  width: 500px;
  height: 500px;
  top: 43%;
  right: -330px;
  transform: rotate(24deg);
}

body[data-view='home'] #app::after {
  width: 410px;
  height: 410px;
  left: 17%;
  bottom: -196px;
  transform: rotate(-18deg);
  opacity: 0.62;
}

body[data-view='home'] header {
  width: min(100%, 430px);
  height: auto;
  margin: 0 auto;
  padding: max(80px, env(safe-area-inset-top)) 44px 0;
}

body[data-view='home'] .brand {
  gap: 12px;
  color: var(--ui-body);
  text-align: left;
}

body[data-view='home'] .brand-mark {
  position: relative;
  width: 36px;
  height: 31px;
  flex: 0 0 36px;
  overflow: visible;
  border-radius: 0;
  background: none;
}

body[data-view='home'] .brand-mark::before,
body[data-view='home'] .brand-mark::after {
  position: absolute;
  top: 1px;
  width: 29px;
  height: 29px;
  content: '';
  border-radius: 50%;
}

body[data-view='home'] .brand-mark::before {
  left: 0;
  background: var(--ui-accent);
  box-shadow: 0 0 22px rgb(var(--color-brand-red-rgb) / 0.12);
}

body[data-view='home'] .brand-mark::after {
  left: 15px;
  background: rgb(163 157 153 / 0.3);
  box-shadow: inset 0 1px rgb(255 255 255 / 0.08);
  backdrop-filter: blur(6px);
}

body[data-view='home'] .brand-copy {
  display: grid;
  gap: 2px;
}

body[data-view='home'] .brand-copy strong {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

body[data-view='home'] .brand-copy small {
  color: var(--ui-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

body[data-view='home'] .header-note,
body[data-view='home'] .footer {
  display: none;
}

body[data-view='home'] .page {
  display: flex;
  width: min(100%, 430px);
  min-height: 0;
  flex: 1;
  margin: 0 auto;
  padding: 0 44px max(24px, env(safe-area-inset-bottom));
}

body[data-view='home'] .home-hero {
  display: flex;
  min-height: 100%;
  flex: 1;
  flex-direction: column;
}

body[data-view='home'] .home-question {
  padding-top: 32px;
}

body[data-view='home'] .home-question h1 {
  margin: 0;
  color: var(--ui-text);
  font-family: 'PingFang SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(46px, 13.6vw, 58px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

body[data-view='home'] .home-question h1 span,
body[data-view='home'] .home-question h1 strong {
  display: block;
}

body[data-view='home'] .home-question h1 strong {
  margin-top: 8px;
  color: transparent;
  font-weight: inherit;
  background: linear-gradient(102deg, #c98580 0%, #f1d5d0 55%, #d49b96 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

body[data-view='home'] .inner-voices {
  display: grid;
  gap: var(--ui-space-3);
  margin-top: var(--ui-space-12);
}

body[data-view='home'] .inner-voices p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  min-height: 39px;
  padding: 9px 17px;
  border: 1px solid rgb(255 255 255 / 0.075);
  border-radius: 999px;
  color: #c7c3c0;
  background:
    linear-gradient(110deg, rgb(255 255 255 / 0.065), rgb(255 255 255 / 0.028)),
    rgb(15 15 16 / 0.58);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 0.035),
    0 8px 22px rgb(0 0 0 / 0.14);
  font-size: 12px;
  line-height: 1.45;
  backdrop-filter: blur(16px) saturate(0.8);
}

body[data-view='home'] .home-decision {
  margin-top: auto;
  padding: 44px 0 80px;
}

body[data-view='home'] .home-decision h2 {
  margin: 0;
  color: var(--ui-text);
  font-size: clamp(25px, 7.4vw, 31px);
  font-weight: 620;
  line-height: 1.24;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

body[data-view='home'] .home-decision h2 strong {
  color: #c95b58;
  font-weight: inherit;
}

body[data-view='home'] .home-decision > p {
  margin: 14px 0 0;
  color: var(--ui-body);
  font-size: 14px;
  line-height: 1.65;
}

body[data-view='home'] .home-decision .primary {
  position: relative;
  width: 100%;
  min-height: 62px;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgb(var(--color-brand-red-rgb) / 0.76);
  border-radius: 32px;
  color: var(--ui-text);
  background: var(--ui-button-fill);
  box-shadow: var(--ui-button-shadow);
  font-size: var(--ui-button-size);
  font-weight: 430;
  letter-spacing: 0;
  margin-top: var(--ui-space-16);
  backdrop-filter: blur(28px) saturate(1.06);
  -webkit-backdrop-filter: blur(28px) saturate(1.06);
}

body[data-view='home'] .home-decision .primary::before {
  position: absolute;
  inset: 1px 64px auto 20px;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, rgb(255 255 255 / 0.2), transparent);
}

body[data-view='home'] .home-decision .primary > span:first-child {
  position: relative;
  z-index: 1;
}

body[data-view='home'] .home-decision .arrow {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.05);
  border-radius: 50%;
  background: rgb(97 35 38 / 0.78);
  box-shadow:
    0 5px 16px rgb(0 0 0 / 0.24),
    inset 0 1px rgb(255 255 255 / 0.1);
  font-size: 26px;
  font-weight: 280;
}

body[data-view='home'] .home-decision .primary:hover {
  background: var(--ui-button-fill);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

body[data-view='home'] .home-decision .primary:active {
  filter: brightness(0.94);
  transform: translateY(0);
}

@media (max-height: 720px) {
  body[data-view='home'] header {
    padding-top: max(28px, env(safe-area-inset-top));
  }
  body[data-view='home'] .home-question {
    padding-top: 28px;
  }
  body[data-view='home'] .home-question h1 {
    font-size: 43px;
  }
  body[data-view='home'] .inner-voices {
    gap: 8px;
    margin-top: 20px;
  }
  body[data-view='home'] .home-decision {
    padding: 24px 0 18px;
  }
  body[data-view='home'] .home-decision > p {
    margin: 10px 0 16px;
  }
}
