@charset "UTF-8";

:root {
  --bg: #f6f7fb;
  --card: #fff;
  --ink: #15131f;
  --muted: #696579;
  --line: rgba(28, 22, 52, .1);
  --violet: #7455ff;
  --blue: #2c8cff;
  --cyan: #19c7d8;
  --pink: #f14ca7;
  --dark: #111019;
  --grad: linear-gradient(135deg, #f14ca7 0%, #7555ff 48%, #20c8d8 100%);
  --shadow: 0 28px 80px rgba(64, 49, 135, .15);
  --max: 1180px;
  --r: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .11;
  background-image: radial-gradient(rgba(83, 61, 165, .18) .6px, transparent .6px);
  background-size: 9px 9px;
  mask-image: linear-gradient(#000, transparent);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 247, 251, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .3s;
}

.header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(30, 24, 60, .06);
}

.header-in {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

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

.nav a,
.mobile a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.pill-link {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: .25s;
}

.mobile {
  display: none;
  padding: 8px 20px 20px;
  gap: 12px;
}

.mobile.open {
  display: grid;
}

/* Hero */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0 96px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 700px;
  margin: 28px 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: .25s;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #7954ff, #2d86f8 68%, #18c9dc);
  box-shadow: 0 16px 34px rgba(75, 74, 230, .24);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-3px);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stats div {
  display: grid;
}

.stats strong {
  font-size: 18px;
}

.stats span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Hero Art */
.hero-art {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: conic-gradient(
    from 30deg,
    rgba(241, 76, 167, .22),
    rgba(117, 85, 255, .2),
    rgba(32, 200, 216, .22),
    rgba(241, 76, 167, .22)
  );
  filter: blur(1px);
  animation: spin 18s linear infinite;
}

.flower {
  width: 220px;
  border-radius: 46px;
  box-shadow: var(--shadow);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.floating-shot {
  position: absolute;
  width: 178px;
  border-radius: 28px;
  border: 5px solid #17151e;
  box-shadow: 0 25px 55px rgba(39, 31, 88, .24);
  z-index: 3;
}

.shot-a {
  left: 0;
  top: 40px;
  transform: rotate(-8deg);
}

.shot-b {
  right: 0;
  bottom: 30px;
  transform: rotate(7deg);
}

.app-bubble {
  position: absolute;
  z-index: 4;
  width: 88px;
  height: 88px;
  border-radius: 25px;
  box-shadow: 0 16px 40px rgba(42, 32, 97, .22);
  animation: float 4s ease-in-out infinite;
}

.bubble-a {
  right: 24px;
  top: 34px;
}

.bubble-b {
  left: 40px;
  bottom: 20px;
  animation-delay: -1.8s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

/* Sections */
.section {
  padding: 108px 0;
}

.dark {
  background: var(--dark);
  color: #fff;
}

.heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.heading h2,
.about h2,
.legal h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.18;
  letter-spacing: -.04em;
}

.heading > p {
  max-width: 470px;
  color: #aaa6b5;
}

/* App Cards */
.app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.app-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 34px;
  background: rgba(255, 255, 255, .05);
  transition: .3s;
}

.app-card:hover {
  transform: translateY(-7px);
  border-color: rgba(122, 86, 255, .55);
}

.app-preview {
  height: 360px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(117, 85, 255, .25), rgba(32, 200, 216, .12));
}

.app-preview img.screen {
  width: 220px;
  position: absolute;
  left: 50%;
  top: 38px;
  transform: translateX(-50%);
  border: 5px solid #191721;
  border-radius: 34px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .35);
}

.app-preview img.icon {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 92px;
  border-radius: 25px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}

.app-body {
  padding: 30px;
}

.meta {
  display: flex;
  gap: 8px;
}

.meta span {
  font-size: 9px;
  letter-spacing: .08em;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #c6c0d6;
}

.app-body h3 {
  font-size: 27px;
  margin: 12px 0;
}

.app-body p {
  color: #aaa6b5;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.card-actions .btn {
  min-height: 45px;
  padding: 0 17px;
}

.card-actions .btn-secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(55, 42, 110, .06);
}

.feature .num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(117, 85, 255, .15), rgba(32, 200, 216, .16));
  color: var(--violet);
  font-weight: 900;
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* About */
.about {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 86px;
  align-items: center;
}

.about-card {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 40px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.about-card img {
  width: 270px;
  margin: auto;
}

.about-card p {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .15em;
}

.about-copy p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.chips span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.signature {
  width: 150px;
  margin-top: 25px;
}

/* Band */
.band {
  padding: 76px 0;
  background: linear-gradient(135deg, #6d4ff0, #287ff0 65%, #16bfd0);
  color: #fff;
}

.band-in {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
}

.band h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.2;
  margin: 0;
}

.band p {
  max-width: 600px;
  opacity: .86;
}

.band .btn-secondary {
  border: 0;
}

/* Footer */
.footer {
  padding: 50px 0 30px;
  background: #0e0d15;
  color: #aaa6b5;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer img {
  display: block;
  width: clamp(150px, 18vw, 210px);
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer a {
  text-decoration: none;
}

.footer small {
  display: block;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Inner pages */
.page-hero {
  padding: 84px 0 66px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.page-hero .hero-image {
  max-height: 570px;
  margin: auto;
  border-radius: 38px;
  border: 6px solid #17151e;
  box-shadow: var(--shadow);
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  text-decoration: none;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.toc a {
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.guide-section {
  padding: 78px 0;
}

.guide-section.alt {
  background: #fff;
}

.guide-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.guide-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0;
  letter-spacing: -.035em;
}

.guide-head p {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 12px 35px rgba(45, 35, 98, .06);
}

.step:nth-child(even) {
  grid-template-columns: .9fr 1fr;
}

.step:nth-child(even) .step-img {
  order: 2;
}

.step-img {
  height: 390px;
  object-fit: contain;
  border-radius: 23px;
  background: #f2f3f8;
}

.step h3 {
  font-size: 21px;
  margin: 8px 0;
}

.step p,
.step li {
  color: var(--muted);
  font-size: 14px;
}

.step-no {
  color: var(--violet);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.mini h3 {
  margin-top: 0;
}

.mini p,
.mini li {
  color: var(--muted);
  font-size: 14px;
}

.callout {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(117, 85, 255, .1), rgba(32, 200, 216, .1));
  border: 1px solid rgba(117, 85, 255, .16);
}

/* Legal */
.legal {
  padding: 70px 0 110px;
}

.legal-wrap {
  max-width: 900px;
}

.legal-meta {
  color: var(--muted);
  font-size: 13px;
}

.legal article {
  margin-top: 45px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(54, 42, 110, .06);
}

.legal h2 {
  margin-top: 36px;
  font-size: 23px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  font-size: 17px;
}

.legal p,
.legal li {
  color: #575365;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal th,
.legal td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: #f4f3fa;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.policy-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.policy-card h3 {
  margin-top: 0;
}

.policy-card a {
  color: var(--violet);
  font-weight: 800;
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .hero,
  .page-hero-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 45px;
  }

  .hero-art {
    min-height: 500px;
  }

  .app-cards,
  .feature-grid,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .step:nth-child(even) .step-img {
    order: 0;
  }

  .heading,
  .band-in,
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 26px), var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 45px;
  }

  .hero-art {
    min-height: 430px;
  }

  .orb {
    width: 330px;
    height: 330px;
  }

  .flower {
    width: 160px;
  }

  .floating-shot {
    width: 124px;
  }

  .app-bubble {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .app-cards,
  .feature-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .app-preview {
    height: 310px;
  }

  .app-preview img.screen {
    width: 190px;
  }

  .section {
    padding: 78px 0;
  }

  .step-img {
    height: 320px;
  }

  .legal article {
    padding: 23px;
  }

  .stats {
    gap: 20px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    padding-top: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Footer brand visibility fix */
.footer-top > a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}

.footer-top > a img {
  max-width: 210px;
  min-width: 150px;
  aspect-ratio: 1 / 1;
}

@media (max-width: 620px) {
  .footer-top > a img {
    width: 165px;
    min-width: 165px;
  }

  .footer-top {
    gap: 24px;
  }
}

/* =========================================================
   First-design derivative: Aurora Studio Edition
   ========================================================= */
:root {
  --bg: #fbf9ff;
  --card: rgba(255, 255, 255, .82);
  --ink: #171426;
  --muted: #6f6a80;
  --line: rgba(83, 61, 135, .13);
  --violet: #7857ff;
  --blue: #3e84ff;
  --cyan: #39c8c3;
  --pink: #f166a7;
  --dark: #201a39;
  --grad: linear-gradient(120deg, #f166a7 0%, #7d5cff 47%, #39c8c3 100%);
  --shadow: 0 30px 90px rgba(80, 56, 150, .16);
  --r: 36px;
}

body {
  background:
    radial-gradient(circle at 10% 5%, rgba(241, 102, 167, .12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(57, 200, 195, .12), transparent 30%),
    linear-gradient(180deg, #fdfbff 0%, #f7f8ff 56%, #fffafc 100%);
}

.noise {
  opacity: .065;
  background-size: 12px 12px;
}

.header {
  background: rgba(253, 251, 255, .76);
  border-bottom: 1px solid rgba(94, 72, 145, .06);
}

.header.scrolled {
  background: rgba(253, 251, 255, .93);
  box-shadow: 0 14px 45px rgba(71, 47, 126, .08);
}

.header-in {
  height: 82px;
}

.brand img {
  width: 58px;
  height: 58px;
}

.nav {
  gap: 22px;
}

.nav a {
  font-size: 12px;
}

.pill-link {
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .7));
  box-shadow: 0 8px 24px rgba(76, 57, 128, .08);
}

.hero {
  min-height: calc(100vh - 82px);
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  padding: 88px 0 118px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: -9vw;
  top: 12%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(120, 87, 255, .14);
  border-radius: 42% 58% 65% 35%;
  animation: morph 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: 9%;
  width: 145px;
  height: 145px;
  background: linear-gradient(135deg, rgba(241, 102, 167, .13), rgba(57, 200, 195, .12));
  border-radius: 58% 42% 32% 68%;
  filter: blur(.2px);
  animation: morph 9s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes morph {
  to {
    border-radius: 35% 65% 45% 55%;
    transform: rotate(18deg) translateY(-12px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(120, 87, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 8px 28px rgba(78, 57, 132, .07);
  letter-spacing: .16em;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(48px, 6.3vw, 88px);
  line-height: 1.04;
}

.lead {
  font-size: 18px;
  line-height: 1.9;
}

.btn {
  border-radius: 16px;
  min-height: 54px;
}

.btn-primary {
  background: var(--grad);
  box-shadow: 0 18px 38px rgba(116, 83, 234, .24);
}

.btn-secondary {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(12px);
}

.stats {
  border-top: 0;
  gap: 12px;
  padding-top: 8px;
}

.stats div {
  min-width: 132px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 12px 32px rgba(65, 43, 123, .06);
}

.hero-art {
  min-height: 620px;
}

.orb {
  width: 500px;
  height: 500px;
  background: conic-gradient(
    from 20deg,
    rgba(241, 102, 167, .18),
    rgba(125, 92, 255, .22),
    rgba(57, 200, 195, .2),
    rgba(241, 102, 167, .18)
  );
  filter: blur(5px);
}

.flower {
  width: 205px;
  border-radius: 48px;
  box-shadow: 0 34px 90px rgba(77, 55, 143, .22);
}

.floating-shot {
  border: 6px solid #0d0d13;
  border-radius: 36px;
  box-shadow:
    0 30px 70px rgba(27, 20, 58, .3),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.floating-shot::after {
  content: "";
}

.app-bubble {
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: 0 20px 45px rgba(55, 39, 113, .22);
}

.section {
  padding: 120px 0;
}

.dark {
  background: linear-gradient(155deg, #1c1732 0%, #282044 58%, #182d3d 100%);
  position: relative;
  overflow: hidden;
}

.dark::before {
  content: "";
  position: absolute;
  inset: auto -10% -36% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 200, 195, .18), transparent 65%);
}

.heading {
  margin-bottom: 50px;
}

.heading h2,
.about h2,
.legal h1 {
  font-size: clamp(36px, 4.7vw, 62px);
}

.app-cards {
  gap: 30px;
}

.app-card {
  border-radius: 40px;
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .18);
}

.app-card:hover {
  transform: translateY(-9px) rotate(-.25deg);
}

.app-card:nth-child(2):hover {
  transform: translateY(-9px) rotate(.25deg);
}

.app-preview {
  height: 390px;
  background: linear-gradient(
    145deg,
    rgba(241, 102, 167, .18),
    rgba(125, 92, 255, .24) 55%,
    rgba(57, 200, 195, .16)
  );
  overflow: hidden;
}

.app-preview::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
}

.app-preview img.screen {
  width: 225px;
  top: 34px;
  border: 6px solid #0d0d13;
  border-radius: 38px;
  box-shadow: 0 30px 72px rgba(0, 0, 0, .42);
}

.app-preview img.icon {
  width: 84px;
  border-radius: 22px;
  right: 30px;
  bottom: 28px;
}

.app-body {
  padding: 34px;
}

.meta span {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .08);
}

.feature-grid {
  gap: 22px;
}

.feature {
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .67));
  backdrop-filter: blur(14px);
  transition: .3s;
}

.feature:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(74, 52, 139, .12);
}

.feature .num {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
}

.about {
  gap: 100px;
}

.about-card {
  border-radius: 46px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .66));
  transform: rotate(-1.2deg);
  box-shadow: 0 34px 95px rgba(79, 57, 141, .16);
}

.about-card::before {
  content: "HANA-LAB";
  display: block;
  margin-bottom: 16px;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .25em;
  color: var(--violet);
}

.chips span {
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 24px rgba(76, 54, 137, .06);
}

.band {
  background: linear-gradient(120deg, #ef6aa6 0%, #7658f7 45%, #3b8aff 72%, #37c8c1 100%);
  position: relative;
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}

.footer {
  background: #171326;
}

.footer-top {
  padding-top: 46px;
}

.footer-top > a img {
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain;
}

.footer-links {
  gap: 10px 24px;
}

.footer-links a {
  font-size: 12px;
}

.page-hero {
  background: linear-gradient(180deg, rgba(245, 239, 255, .86), rgba(251, 249, 255, .3));
  border-bottom: 1px solid rgba(99, 77, 149, .08);
}

.page-hero-grid {
  gap: 70px;
}

.page-hero .phone,
.guide-phone,
.step-img {
  border: 6px solid #0d0d13 !important;
  border-radius: 38px !important;
  box-shadow: 0 28px 68px rgba(28, 20, 59, .25) !important;
  background: #0d0d13 !important;
  object-fit: cover;
}

.guide-section.alt {
  background: rgba(255, 255, 255, .58);
}

.step {
  border-radius: 34px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(64, 42, 125, .08);
}

.mini,
.legal article,
.policy-card {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
}

.reveal {
  transform: translateY(26px) scale(.985);
}

.reveal.visible {
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-art {
    min-height: 520px;
  }

  .app-cards {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 50px;
  }

  .footer-top > a img {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-bottom: 82px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 43px;
  }

  .hero-art {
    min-height: 440px;
  }

  .floating-shot {
    border-width: 5px;
    border-radius: 30px;
  }

  .app-preview img.screen {
    border-width: 5px;
    border-radius: 32px;
  }

  .stats div {
    min-width: calc(50% - 8px);
  }

  .footer-top > a img {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
  }

  .eyebrow {
    font-size: 9px;
  }
}

/* Screenshots that do not include the native iPhone status bar are shown as plain UI captures. */
.step-img.no-phone-frame,
.guide-phone.no-phone-frame,
.hero-image.no-phone-frame {
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: 0 18px 46px rgba(28, 20, 59, .16) !important;
  padding: 0 !important;
}

/* =========================================================
   Mobile-first refinement (2026-07)
   ========================================================= */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-in {
    height: 68px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .menu {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
  }

  .mobile {
    width: 100%;
    padding: 8px 16px 18px;
    background: rgba(253, 251, 255, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(54, 38, 105, .08);
  }

  .mobile.open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mobile a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(83, 61, 135, .08);
    font-size: 13px;
    line-height: 1.35;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 48px 0 72px;
  }

  .hero::before,
  .hero::after {
    opacity: .5;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1.08;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  .lead {
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 1.82;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
    line-height: 1.45;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 15px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
  }

  .stats div {
    min-width: 0;
    padding: 13px 12px;
  }

  .stats div:last-child {
    grid-column: 1 / -1;
  }

  .stats strong {
    font-size: 16px;
  }

  .stats span {
    line-height: 1.35;
  }

  .hero-art {
    min-height: 360px;
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .orb {
    width: 280px;
    height: 280px;
  }

  .flower {
    width: 132px;
    border-radius: 32px;
  }

  .floating-shot {
    width: 110px;
    border-width: 4px;
    border-radius: 27px;
  }

  .shot-a {
    left: 4px;
    top: 20px;
  }

  .shot-b {
    right: 4px;
    bottom: 18px;
  }

  .app-bubble {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  .bubble-a {
    right: 18px;
    top: 18px;
  }

  .bubble-b {
    left: 26px;
    bottom: 8px;
  }

  .section {
    padding: 72px 0;
  }

  .heading {
    display: block;
    margin-bottom: 30px;
  }

  .heading h2,
  .about h2,
  .legal h1 {
    font-size: clamp(32px, 9vw, 43px);
    line-height: 1.16;
  }

  .heading > p {
    margin: 16px 0 0;
    font-size: 14px;
  }

  .app-cards {
    gap: 18px;
  }

  .app-card {
    border-radius: 28px;
  }

  .app-preview {
    height: 300px;
  }

  .app-preview::before {
    inset: 14px;
    border-radius: 22px;
  }

  .app-preview img.screen {
    width: 170px;
    top: 26px;
    border-width: 4px;
    border-radius: 29px;
  }

  .app-preview img.icon {
    width: 66px;
    right: 18px;
    bottom: 18px;
    border-radius: 18px;
  }

  .app-body {
    padding: 24px 20px 22px;
  }

  .app-body h3 {
    font-size: 23px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .app-body p {
    font-size: 14px;
  }

  .meta {
    flex-wrap: wrap;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .card-actions .btn {
    width: 100%;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature {
    padding: 22px;
    border-radius: 24px;
  }

  .feature h3 {
    font-size: 17px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-card {
    padding: 28px 22px;
    border-radius: 32px;
    transform: none;
  }

  .about-card img {
    width: min(230px, 78%);
  }

  .about-copy p {
    font-size: 14px;
  }

  .signature {
    width: 126px;
  }

  .band {
    padding: 58px 0;
  }

  .band-in {
    gap: 20px;
  }

  .band h2 {
    font-size: 31px;
  }

  .band p {
    font-size: 14px;
  }

  .footer {
    padding: 34px 0 24px;
  }

  .footer-top {
    width: 100%;
    gap: 22px;
  }

  .footer-top > a img {
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-links a {
    display: block;
    padding: 9px 0;
    font-size: 12px;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    overflow-wrap: anywhere;
  }

  .footer small {
    margin-top: 22px;
    font-size: 11px;
    line-height: 1.5;
  }

  .page-hero {
    padding: 48px 0 48px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero .hero-image {
    width: min(100%, 300px);
    max-height: none;
    border-width: 4px;
    border-radius: 29px;
  }

  .breadcrumb {
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .toc {
    gap: 7px;
  }

  .toc a {
    padding: 8px 10px;
    font-size: 11px;
  }

  .guide-section {
    padding: 58px 0;
  }

  .guide-head {
    margin-bottom: 24px;
  }

  .guide-head h2 {
    font-size: 31px;
    line-height: 1.2;
  }

  .guide-head p {
    font-size: 14px;
  }

  .steps {
    gap: 16px;
  }

  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 25px;
  }

  .step:nth-child(even) .step-img {
    order: 0;
  }

  .step-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-width: 4px !important;
    border-radius: 28px !important;
  }

  .step h3 {
    font-size: 19px;
    line-height: 1.35;
  }

  .step p,
  .step li {
    font-size: 13px;
  }

  .mini-grid {
    gap: 12px;
  }

  .mini {
    padding: 20px;
    border-radius: 21px;
  }

  .callout {
    padding: 21px;
    border-radius: 22px;
  }

  .legal {
    padding: 46px 0 76px;
  }

  .legal article {
    margin-top: 30px;
    padding: 20px 17px;
    border-radius: 23px;
    overflow: hidden;
  }

  .legal h2 {
    margin-top: 28px;
    font-size: 20px;
    line-height: 1.4;
  }

  .legal h3 {
    font-size: 16px;
  }

  .legal p,
  .legal li {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .legal ul,
  .legal ol {
    padding-left: 1.25em;
  }

  .legal table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12px;
  }

  .legal th,
  .legal td {
    min-width: 130px;
    padding: 10px;
  }

  .policy-grid {
    gap: 12px;
  }

  .policy-card {
    padding: 20px;
    border-radius: 20px;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-art {
    min-height: 330px;
  }

  .floating-shot {
    width: 98px;
  }

  .app-preview {
    height: 280px;
  }

  .app-preview img.screen {
    width: 158px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats div:last-child {
    grid-column: auto;
  }

  .legal article {
    padding: 18px 14px;
  }
}

/* =========================================================
   Large iPhone viewport + animated menu refinement (2026-07)
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 820px) {
  body {
    min-width: 0;
    overscroll-behavior-x: none;
  }

  .shell {
    width: 100%;
    max-width: var(--max);
    padding-inline: max(18px, env(safe-area-inset-left));
    padding-left: max(18px, calc(env(safe-area-inset-left) + 12px));
    padding-right: max(18px, calc(env(safe-area-inset-right) + 12px));
  }

  .header {
    padding-top: env(safe-area-inset-top);
  }

  .hero,
  .page-hero,
  .section,
  .band,
  .footer,
  .guide-section,
  .legal {
    width: 100%;
  }

  .hero {
    min-height: calc(100svh - 68px - env(safe-area-inset-top));
  }

  .menu {
    position: relative;
    display: block;
    flex: 0 0 46px;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      background-color .28s ease,
      border-color .28s ease,
      box-shadow .28s ease,
      transform .2s ease;
  }

  .menu:active {
    transform: scale(.94);
  }

  .menu span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition:
      transform .34s cubic-bezier(.68, -.55, .27, 1.55),
      opacity .2s ease,
      width .25s ease;
  }

  .menu span:nth-child(1) {
    transform: translate(-50%, -7px);
  }

  .menu span:nth-child(2) {
    transform: translate(-50%, 0);
  }

  .menu span:nth-child(3) {
    transform: translate(-50%, 7px);
  }

  .menu[aria-expanded="true"] {
    color: #fff;
    background: linear-gradient(135deg, #7658f7, #3b8aff 70%, #37c8c1);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(77, 75, 217, .25);
  }

  .menu[aria-expanded="true"] span:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
  }

  .menu[aria-expanded="true"] span:nth-child(2) {
    width: 0;
    opacity: 0;
    transform: translate(-50%, 0) scaleX(0);
  }

  .menu[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  .mobile {
    display: grid;
    position: fixed;
    z-index: 59;
    top: calc(68px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 68px - env(safe-area-inset-top));
    overflow-y: auto;
    padding:
      14px max(18px, calc(env(safe-area-inset-right) + 12px))
      calc(22px + env(safe-area-inset-bottom))
      max(18px, calc(env(safe-area-inset-left) + 12px));
    gap: 8px;
    background: rgba(248, 247, 253, .96);
    border-bottom: 1px solid rgba(83, 61, 135, .1);
    box-shadow: 0 24px 60px rgba(35, 25, 74, .16);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(.985);
    transform-origin: top center;
    transition:
      opacity .25s ease,
      transform .32s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear .32s;
  }

  .mobile.open {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .mobile a {
    opacity: 0;
    transform: translateY(-7px);
    transition:
      opacity .22s ease,
      transform .3s cubic-bezier(.22, 1, .36, 1),
      background-color .2s ease;
  }

  .mobile.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile.open a:nth-child(1) {
    transition-delay: .05s;
  }

  .mobile.open a:nth-child(2) {
    transition-delay: .08s;
  }

  .mobile.open a:nth-child(3) {
    transition-delay: .11s;
  }

  .mobile.open a:nth-child(4) {
    transition-delay: .14s;
  }

  .mobile.open a:nth-child(5) {
    transition-delay: .17s;
  }

  .mobile.open a:nth-child(6) {
    transition-delay: .20s;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (min-width: 391px) and (max-width: 480px) {
  .shell {
    padding-left: max(20px, calc(env(safe-area-inset-left) + 14px));
    padding-right: max(20px, calc(env(safe-area-inset-right) + 14px));
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 68px;
  }

  .hero-art {
    width: 100%;
    max-width: none;
    min-height: 400px;
  }

  .app-preview {
    height: 330px;
  }

  .page-hero .hero-image {
    width: min(78vw, 340px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu span,
  .mobile,
  .mobile a {
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   iPhone screenshot frame stability fix (2026-07)
   Keep the black device frame fully visible on narrow screens.
   ========================================================= */
.page-hero .hero-image:not(.no-phone-frame),
.page-hero .phone:not(.no-phone-frame),
.guide-phone:not(.no-phone-frame),
.step-img:not(.no-phone-frame),
.app-preview img.screen {
  display: block;
  box-sizing: border-box !important;
  border-style: solid !important;
  border-color: #08080c !important;
  background-color: #08080c !important;
  background-clip: padding-box;
  overflow: hidden;
}

@media (max-width: 820px) {
  .page-hero .hero-image:not(.no-phone-frame),
  .page-hero .phone:not(.no-phone-frame),
  .guide-phone:not(.no-phone-frame),
  .step-img:not(.no-phone-frame) {
    width: min(100%, 320px) !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin-inline: auto !important;
    border-width: 4px !important;
    border-radius: 30px !important;
    padding: 0 !important;
    object-fit: contain !important;
    box-shadow: 0 18px 42px rgba(15, 12, 28, .24) !important;
  }

  .step {
    min-width: 0;
    overflow: visible;
  }

  .step > * {
    min-width: 0;
  }

  .app-preview img.screen {
    border-width: 4px !important;
    border-radius: 30px !important;
    max-width: calc(100% - 36px) !important;
    height: auto !important;
  }
}

@media (max-width: 390px) {
  .page-hero .hero-image:not(.no-phone-frame),
  .page-hero .phone:not(.no-phone-frame),
  .guide-phone:not(.no-phone-frame),
  .step-img:not(.no-phone-frame) {
    width: min(100%, 286px) !important;
    border-width: 3px !important;
    border-radius: 27px !important;
  }

  .app-preview img.screen {
    border-width: 3px !important;
    border-radius: 27px !important;
  }
}

/* =========================================================
   Final mobile image balance adjustment
   - Slightly thicker iPhone frame
   - Smaller explanatory images in guide pages
   ========================================================= */
@media (max-width: 820px) {
  .page-hero .hero-image:not(.no-phone-frame),
  .page-hero .phone:not(.no-phone-frame),
  .guide-phone:not(.no-phone-frame),
  .step-img:not(.no-phone-frame) {
    border-width: 5px !important;
  }

  .step-img {
    width: min(74vw, 278px) !important;
    max-width: 278px !important;
    margin-inline: auto !important;
  }

  .step-img.no-phone-frame {
    width: min(78vw, 300px) !important;
    max-width: 300px !important;
  }
}

@media (max-width: 390px) {
  .page-hero .hero-image:not(.no-phone-frame),
  .page-hero .phone:not(.no-phone-frame),
  .guide-phone:not(.no-phone-frame),
  .step-img:not(.no-phone-frame) {
    border-width: 4px !important;
  }

  .step-img {
    width: min(72vw, 252px) !important;
    max-width: 252px !important;
  }

  .step-img.no-phone-frame {
    width: min(78vw, 280px) !important;
    max-width: 280px !important;
  }
}

/* =========================================================
   Guide image size refinement
   Keep explanatory screenshots secondary to the text.
   ========================================================= */
.guide-section .step-img {
  width: min(100%, 230px) !important;
  max-width: 230px !important;
  height: auto !important;
  max-height: 430px !important;
  margin-inline: auto !important;
  object-fit: contain !important;
}

.guide-section .step-img.no-phone-frame {
  width: min(100%, 270px) !important;
  max-width: 270px !important;
  max-height: 360px !important;
}

@media (max-width: 820px) {
  .guide-section .step-img {
    width: min(62vw, 220px) !important;
    max-width: 220px !important;
    max-height: 410px !important;
  }

  .guide-section .step-img.no-phone-frame {
    width: min(70vw, 250px) !important;
    max-width: 250px !important;
    max-height: 330px !important;
  }
}

@media (max-width: 390px) {
  .guide-section .step-img {
    width: min(60vw, 200px) !important;
    max-width: 200px !important;
  }

  .guide-section .step-img.no-phone-frame {
    width: min(68vw, 230px) !important;
    max-width: 230px !important;
  }
}

/* =========================================================
   Guide screenshot background fix
   Keep resized screenshots visually isolated without exposing
   the image element's background or a fixed-size canvas.
   ========================================================= */
.guide-section .step-img {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  object-fit: contain !important;
  object-position: center !important;
}

.guide-section .step-img:not(.no-phone-frame) {
  background: transparent !important;
  padding: 0 !important;
}

.guide-section .step-img.no-phone-frame {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: 0 14px 34px rgba(28, 20, 59, .12) !important;
}

.guide-section .step {
  align-items: center !important;
}

.guide-section .step > .step-img {
  align-self: center !important;
  justify-self: center !important;
}

@media (max-width: 820px) {
  .guide-section .step {
    grid-template-columns: 1fr !important;
  }

  .guide-section .step:nth-child(even) {
    grid-template-columns: 1fr !important;
  }

  .guide-section .step:nth-child(even) .step-img {
    order: 0 !important;
  }
}
/* =========================================================
   Guide screenshot frame refinement (2026-07)
   Remove the heavy black frames from guide screenshots and
   replace them with a subtle floating shadow for depth.
   ========================================================= */
.page-hero .hero-image,
.page-hero .hero-image:not(.no-phone-frame),
.page-hero .phone:not(.no-phone-frame),
.guide-phone,
.guide-phone:not(.no-phone-frame),
.guide-section .step-img,
.guide-section .step-img:not(.no-phone-frame),
.guide-section .step-img.no-phone-frame {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  box-shadow:
    0 18px 42px rgba(28, 20, 59, .14),
    0 4px 14px rgba(28, 20, 59, .08) !important;
}

.page-hero .hero-image,
.guide-phone,
.guide-section .step-img {
  border-radius: 28px !important;
}

.guide-section .step-img.no-phone-frame {
  border-radius: 22px !important;
}

@media (max-width: 820px) {
  .page-hero .hero-image,
  .page-hero .hero-image:not(.no-phone-frame),
  .page-hero .phone:not(.no-phone-frame),
  .guide-phone,
  .guide-phone:not(.no-phone-frame),
  .guide-section .step-img,
  .guide-section .step-img:not(.no-phone-frame),
  .guide-section .step-img.no-phone-frame {
    border: 0 !important;
    box-shadow:
      0 14px 32px rgba(28, 20, 59, .13),
      0 3px 10px rgba(28, 20, 59, .07) !important;
  }
}

/* =========================================================
   Guide screenshot final adjustment (2026-07-08)
   - Restore the black frame only on the first/top guide image.
   - Prevent side letterboxing caused by fixed width + max-height.
   ========================================================= */
.page-hero .hero-image {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 570px !important;
  border: 6px solid #08080c !important;
  border-radius: 38px !important;
  background: #08080c !important;
  padding: 0 !important;
  object-fit: cover !important;
  box-shadow:
    0 28px 68px rgba(28, 20, 59, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
}

.guide-section .step-img,
.guide-section .step-img:not(.no-phone-frame),
.guide-section .step-img.no-phone-frame {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 230px) !important;
  max-height: 430px !important;
  margin-inline: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow:
    0 18px 42px rgba(28, 20, 59, .14),
    0 4px 14px rgba(28, 20, 59, .08) !important;
}

.guide-section .step-img.no-phone-frame {
  max-width: min(100%, 270px) !important;
  max-height: 360px !important;
}

@media (max-width: 820px) {
  .page-hero .hero-image {
    width: auto !important;
    max-width: min(100%, 320px) !important;
    max-height: none !important;
    border-width: 5px !important;
    border-radius: 30px !important;
  }

  .guide-section .step-img,
  .guide-section .step-img:not(.no-phone-frame) {
    width: auto !important;
    max-width: min(72vw, 220px) !important;
    max-height: 410px !important;
  }

  .guide-section .step-img.no-phone-frame {
    width: auto !important;
    max-width: min(76vw, 250px) !important;
    max-height: 330px !important;
  }
}

@media (max-width: 390px) {
  .page-hero .hero-image {
    max-width: min(100%, 286px) !important;
    border-width: 4px !important;
    border-radius: 27px !important;
  }

  .guide-section .step-img,
  .guide-section .step-img:not(.no-phone-frame) {
    max-width: min(70vw, 200px) !important;
  }

  .guide-section .step-img.no-phone-frame {
    max-width: min(74vw, 230px) !important;
  }
}

/* =========================================================
   Guide image correction (2026-07-08 v3)
   - Restore the black iPhone frame on the first screenshot in each guide.
   - Remove the fixed-height/contain layout that created white side space.
   ========================================================= */
.guide-section .steps .step:first-child > .step-img {
  display: block !important;
  width: min(100%, 260px) !important;
  max-width: min(100%, 260px) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  border: 6px solid #08080c !important;
  border-radius: 38px !important;
  background: #08080c !important;
  padding: 0 !important;
  margin-inline: auto !important;
  box-shadow:
    0 28px 68px rgba(28, 20, 59, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
}

.guide-section .steps .step:not(:first-child) > .step-img,
.guide-section .steps .step:not(:first-child) > .step-img.no-phone-frame {
  display: block !important;
  width: min(100%, 290px) !important;
  max-width: min(100%, 290px) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin-inline: auto !important;
  box-shadow:
    0 18px 42px rgba(28, 20, 59, .14),
    0 4px 14px rgba(28, 20, 59, .08) !important;
}

@media (max-width: 820px) {
  .guide-section .steps .step:first-child > .step-img {
    width: min(78vw, 250px) !important;
    max-width: min(78vw, 250px) !important;
    border-width: 5px !important;
    border-radius: 32px !important;
  }

  .guide-section .steps .step:not(:first-child) > .step-img,
  .guide-section .steps .step:not(:first-child) > .step-img.no-phone-frame {
    width: min(82vw, 290px) !important;
    max-width: min(82vw, 290px) !important;
    max-height: none !important;
  }
}

@media (max-width: 390px) {
  .guide-section .steps .step:first-child > .step-img {
    width: min(76vw, 230px) !important;
    max-width: min(76vw, 230px) !important;
    border-width: 4px !important;
    border-radius: 28px !important;
  }

  .guide-section .steps .step:not(:first-child) > .step-img,
  .guide-section .steps .step:not(:first-child) > .step-img.no-phone-frame {
    width: min(82vw, 270px) !important;
    max-width: min(82vw, 270px) !important;
  }
}


/* =========================================================
   Guide image correction (2026-07-08 v4)
   - Black frame should be on the first monthly hero screen,
     not on the first STEP screenshot.
   - All STEP screenshots keep the frameless subtle shadow.
   ========================================================= */
.guide-section .steps .step:first-child > .step-img,
.guide-section .steps .step:first-child > .step-img.no-phone-frame,
.guide-section .steps .step > .step-img,
.guide-section .steps .step > .step-img.no-phone-frame {
  display: block !important;
  width: min(100%, 290px) !important;
  max-width: min(100%, 290px) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: initial !important;
  object-position: initial !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin-inline: auto !important;
  box-shadow:
    0 18px 42px rgba(28, 20, 59, .14),
    0 4px 14px rgba(28, 20, 59, .08) !important;
}

.calendar-guide-hero-month {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 570px !important;
  object-fit: cover !important;
  object-position: center !important;
  border: 6px solid #08080c !important;
  border-radius: 38px !important;
  background: #08080c !important;
  background-color: #08080c !important;
  padding: 0 !important;
  box-shadow:
    0 28px 68px rgba(28, 20, 59, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
}

.page-hero .hero-image:not(.calendar-guide-hero-month) {
  border: 0 !important;
  border-radius: 28px !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  box-shadow:
    0 18px 42px rgba(28, 20, 59, .14),
    0 4px 14px rgba(28, 20, 59, .08) !important;
}

@media (max-width: 820px) {
  .guide-section .steps .step:first-child > .step-img,
  .guide-section .steps .step:first-child > .step-img.no-phone-frame,
  .guide-section .steps .step > .step-img,
  .guide-section .steps .step > .step-img.no-phone-frame {
    width: min(82vw, 290px) !important;
    max-width: min(82vw, 290px) !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 24px !important;
  }

  .calendar-guide-hero-month {
    width: auto !important;
    max-width: min(100%, 320px) !important;
    max-height: none !important;
    border-width: 5px !important;
    border-radius: 30px !important;
  }
}

@media (max-width: 390px) {
  .guide-section .steps .step:first-child > .step-img,
  .guide-section .steps .step:first-child > .step-img.no-phone-frame,
  .guide-section .steps .step > .step-img,
  .guide-section .steps .step > .step-img.no-phone-frame {
    width: min(82vw, 270px) !important;
    max-width: min(82vw, 270px) !important;
  }

  .calendar-guide-hero-month {
    max-width: min(100%, 286px) !important;
    border-width: 4px !important;
    border-radius: 27px !important;
  }
}

/* =========================================================
   Guide image correction (2026-07-08 v5)
   Force a visible black frame on the calendar guide monthly
   hero image. Using padding + black background and a spread
   shadow makes the frame visible even when browser border
   rendering/cached rules override normal border styling.
   ========================================================= */
body .page-hero img.hero-image.calendar-guide-hero-month,
body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
  display: block !important;
  box-sizing: content-box !important;
  width: auto !important;
  max-width: min(100%, 360px) !important;
  height: auto !important;
  max-height: 570px !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  padding: 6px !important;
  background: #08080c !important;
  background-color: #08080c !important;
  border-radius: 44px !important;
  outline: 0 !important;
  box-shadow:
    0 0 0 1px #08080c,
    0 28px 68px rgba(28, 20, 59, .25),
    0 8px 24px rgba(28, 20, 59, .14) !important;
}

@media (max-width: 820px) {
  body .page-hero img.hero-image.calendar-guide-hero-month,
  body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
    max-width: min(100%, 320px) !important;
    max-height: none !important;
    padding: 5px !important;
    border-radius: 35px !important;
  }
}

@media (max-width: 390px) {
  body .page-hero img.hero-image.calendar-guide-hero-month,
  body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
    max-width: min(100%, 286px) !important;
    padding: 4px !important;
    border-radius: 31px !important;
  }
}

/* =========================================================
   Mobile guide navigation / compact mode (2026-07-08 v6)
   - Adds a sticky table of contents and display controls on
     guide pages so mobile users do not need to scroll through
     every screenshot.
   ========================================================= */
.guide-mobile-controls {
  display: none;
}

.section-toggle {
  display: none;
}

@media (max-width: 820px) {
  .page-hero .toc {
    display: none;
  }

  .guide-mobile-controls {
    display: block;
    position: sticky;
    top: 76px;
    z-index: 55;
    padding: 10px 0 8px;
    margin-top: -18px;
    margin-bottom: 4px;
    pointer-events: none;
  }

  .guide-mobile-controls-card {
    padding: 10px;
    border: 1px solid rgba(28, 22, 52, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 35px rgba(45, 35, 98, .12);
    pointer-events: auto;
  }

  .guide-mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .guide-mode-buttons button,
  .section-toggle {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    min-height: 40px;
    padding: 0 14px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .03em;
  }

  .guide-mode-buttons button.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #7954ff, #2d86f8 68%, #18c9dc);
    box-shadow: 0 10px 22px rgba(75, 74, 230, .20);
  }

  .guide-mobile-toc {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .guide-mobile-toc::-webkit-scrollbar {
    display: none;
  }

  .guide-mobile-toc a {
    flex: 0 0 auto;
    text-decoration: none;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
  }

  .guide-mobile-toc a.is-active {
    color: var(--blue);
    border-color: rgba(44, 140, 255, .38);
    background: rgba(44, 140, 255, .08);
  }

  .guide-head {
    display: grid;
    gap: 12px;
  }

  .section-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: 6px;
  }

  body.guide-compact .guide-section {
    padding: 34px 0;
  }

  body.guide-compact .guide-section .guide-head {
    margin-bottom: 0;
  }

  body.guide-compact .guide-section:not(.is-open) .steps,
  body.guide-compact .guide-section:not(.is-open) .mini-grid,
  body.guide-compact .guide-section:not(.is-open) .feature-grid,
  body.guide-compact .guide-section:not(.is-open) .cards,
  body.guide-compact .guide-section:not(.is-open) .guide-grid,
  body.guide-compact .guide-section:not(.is-open) .split,
  body.guide-compact .guide-section:not(.is-open) .stack,
  body.guide-compact .guide-section:not(.is-open) > .shell > :not(.guide-head) {
    display: none !important;
  }

  body.guide-compact .guide-section.is-open .steps {
    margin-top: 22px;
  }

  body.guide-compact .guide-section:not(.is-open) {
    border-top: 1px solid rgba(28, 22, 52, .08);
  }

  body.guide-compact .guide-section:not(.is-open) .guide-head h2 {
    font-size: 25px;
  }

  body.guide-compact .guide-section:not(.is-open) .guide-head p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
  }

  body.guide-compact .band {
    margin-top: 18px;
  }
}

@media (max-width: 390px) {
  .guide-mobile-controls {
    top: 72px;
  }

  .guide-mobile-controls-card {
    border-radius: 19px;
    padding: 9px;
  }

  .guide-mode-buttons button,
  .section-toggle {
    min-height: 38px;
    font-size: 11px;
  }
}

/* =========================================================
   Mobile guide image compact adjustment (2026-07-08 v7)
   Make guide screenshots smaller on smartphones to reduce
   vertical scrolling while preserving desktop layout.
   ========================================================= */
@media (max-width: 820px) {
  body .page-hero img.hero-image,
  body .page-hero img.hero-image.reveal,
  body .guide-phone,
  body .guide-section .step-img,
  body .guide-section .step-img.no-phone-frame,
  body .guide-section .steps .step > .step-img,
  body .guide-section .steps .step > .step-img.no-phone-frame {
    width: min(64vw, 220px) !important;
    max-width: min(64vw, 220px) !important;
    height: auto !important;
    max-height: none !important;
    margin-inline: auto !important;
  }

  body .page-hero img.hero-image.calendar-guide-hero-month,
  body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
    width: min(68vw, 250px) !important;
    max-width: min(68vw, 250px) !important;
    height: auto !important;
    max-height: none !important;
    padding: 5px !important;
    border-radius: 31px !important;
  }

  .step {
    gap: 16px !important;
    padding: 18px !important;
  }
}

@media (max-width: 390px) {
  body .page-hero img.hero-image,
  body .page-hero img.hero-image.reveal,
  body .guide-phone,
  body .guide-section .step-img,
  body .guide-section .step-img.no-phone-frame,
  body .guide-section .steps .step > .step-img,
  body .guide-section .steps .step > .step-img.no-phone-frame {
    width: min(60vw, 200px) !important;
    max-width: min(60vw, 200px) !important;
  }

  body .page-hero img.hero-image.calendar-guide-hero-month,
  body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
    width: min(64vw, 224px) !important;
    max-width: min(64vw, 224px) !important;
    padding: 4px !important;
    border-radius: 28px !important;
  }

  .step {
    gap: 14px !important;
    padding: 16px !important;
  }
}

/* =========================================================
   Mobile guide image extra compact adjustment (2026-07-08 v8)
   Further reduce guide screenshots on smartphones.
   ========================================================= */
@media (max-width: 820px) {
  body .page-hero img.hero-image,
  body .page-hero img.hero-image.reveal,
  body .guide-phone,
  body .guide-section .step-img,
  body .guide-section .step-img.no-phone-frame,
  body .guide-section .steps .step > .step-img,
  body .guide-section .steps .step > .step-img.no-phone-frame {
    width: min(50vw, 170px) !important;
    max-width: min(50vw, 170px) !important;
    height: auto !important;
    max-height: none !important;
    margin-inline: auto !important;
  }

  body .page-hero img.hero-image.calendar-guide-hero-month,
  body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
    width: min(56vw, 200px) !important;
    max-width: min(56vw, 200px) !important;
    height: auto !important;
    max-height: none !important;
    padding: 4px !important;
    border-radius: 25px !important;
  }

  .step {
    gap: 12px !important;
    padding: 14px !important;
  }

  .steps {
    gap: 18px !important;
  }
}

@media (max-width: 390px) {
  body .page-hero img.hero-image,
  body .page-hero img.hero-image.reveal,
  body .guide-phone,
  body .guide-section .step-img,
  body .guide-section .step-img.no-phone-frame,
  body .guide-section .steps .step > .step-img,
  body .guide-section .steps .step > .step-img.no-phone-frame {
    width: min(46vw, 150px) !important;
    max-width: min(46vw, 150px) !important;
  }

  body .page-hero img.hero-image.calendar-guide-hero-month,
  body .page-hero img.hero-image.calendar-guide-hero-month.reveal {
    width: min(52vw, 180px) !important;
    max-width: min(52vw, 180px) !important;
    padding: 3px !important;
    border-radius: 22px !important;
  }

  .step {
    gap: 10px !important;
    padding: 12px !important;
  }
}

/* =========================================================
   Mobile STEP image hard resize (2026-07-08 v9)
   Previous rules used width-based sizing, which was not
   visibly changing some tall STEP screenshots. This rule
   controls the rendered height directly on mobile/tablet.
   ========================================================= */
@media (max-width: 1100px) {
  body .guide-section .steps article.step > img.step-img,
  body .guide-section .steps article.step > img.step-img.no-phone-frame,
  body .guide-section article.step > img.step-img,
  body .guide-section article.step > img.step-img.no-phone-frame {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: 150px !important;
    max-height: 150px !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
  }

  body .guide-section .steps article.step,
  body .guide-section article.step {
    justify-items: center !important;
    align-items: start !important;
  }

  body .guide-section .steps article.step > div,
  body .guide-section article.step > div {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  body .guide-section .steps article.step > img.step-img,
  body .guide-section .steps article.step > img.step-img.no-phone-frame,
  body .guide-section article.step > img.step-img,
  body .guide-section article.step > img.step-img.no-phone-frame {
    height: 125px !important;
    max-height: 125px !important;
  }
}

@media (max-width: 360px) {
  body .guide-section .steps article.step > img.step-img,
  body .guide-section .steps article.step > img.step-img.no-phone-frame,
  body .guide-section article.step > img.step-img,
  body .guide-section article.step > img.step-img.no-phone-frame {
    height: 110px !important;
    max-height: 110px !important;
  }
}

/* =========================================================
   Mobile STEP image enforced compact size (2026-07-08 v10)
   The previous mobile rules could be hidden by browser cache or
   earlier width/height declarations. These final selectors use the
   exact STEP image structure and make the screenshots visibly smaller.
   ========================================================= */
@media (max-width: 820px) {
  html body main .guide-section .steps article.step > img.step-img,
  html body main .guide-section .steps article.step > img.step-img.no-phone-frame,
  html body main .guide-section article.step > img.step-img,
  html body main .guide-section article.step > img.step-img.no-phone-frame {
    display: block !important;
    width: min(34vw, 128px) !important;
    min-width: 0 !important;
    max-width: min(34vw, 128px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 auto 8px !important;
  }

  html body main .guide-section .steps article.step,
  html body main .guide-section article.step {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  html body main .guide-section .steps article.step > div,
  html body main .guide-section article.step > div {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  html body main .guide-section .steps article.step > img.step-img,
  html body main .guide-section .steps article.step > img.step-img.no-phone-frame,
  html body main .guide-section article.step > img.step-img,
  html body main .guide-section article.step > img.step-img.no-phone-frame {
    width: min(30vw, 112px) !important;
    max-width: min(30vw, 112px) !important;
  }
}

@media (max-width: 360px) {
  html body main .guide-section .steps article.step > img.step-img,
  html body main .guide-section .steps article.step > img.step-img.no-phone-frame,
  html body main .guide-section article.step > img.step-img,
  html body main .guide-section article.step > img.step-img.no-phone-frame {
    width: min(28vw, 96px) !important;
    max-width: min(28vw, 96px) !important;
  }
}

/* =========================================================
   Large smartphone optimization (6.9-inch class / v11)
   Targets modern large phones around 430–480 CSS px wide,
   including notched devices and tall portrait viewports.
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  :root {
    --r: 24px;
  }

  .shell {
    width: auto;
    margin-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right));
  }

  .header {
    padding-top: env(safe-area-inset-top);
  }

  .header-in {
    height: 66px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .menu {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    touch-action: manipulation;
  }

  .mobile {
    padding: 8px 0 18px;
  }

  .mobile a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 8px 12px;
    border-radius: 14px;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 36px 0 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 10.4vw, 50px);
    line-height: 1.12;
    letter-spacing: -.045em;
    word-break: auto-phrase;
  }

  .lead {
    margin: 20px 0;
    font-size: 16px;
  }

  .actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .btn,
  .card-actions .btn {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
    text-align: center;
    touch-action: manipulation;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
  }

  .stats strong {
    font-size: 15px;
  }

  .stats span {
    font-size: 8px;
    line-height: 1.4;
  }

  .hero-art {
    min-height: clamp(350px, 92vw, 430px);
    width: 100%;
  }

  .orb {
    width: min(88vw, 390px);
    height: min(88vw, 390px);
  }

  .flower {
    width: min(40vw, 180px);
    border-radius: 34px;
  }

  .floating-shot {
    width: min(31vw, 142px);
    border-width: 4px;
    border-radius: 23px;
  }

  .shot-a {
    left: 1%;
    top: 4%;
  }

  .shot-b {
    right: 1%;
    bottom: 3%;
  }

  .app-bubble {
    width: min(17vw, 76px);
    height: min(17vw, 76px);
    border-radius: 21px;
  }

  .bubble-a {
    right: 3%;
    top: 2%;
  }

  .bubble-b {
    left: 5%;
    bottom: 1%;
  }

  .section,
  .guide-section {
    padding: 72px 0;
  }

  .heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .heading h2,
  .about h2,
  .legal h1,
  .guide-head h2 {
    font-size: clamp(31px, 8.5vw, 40px);
  }

  .app-card,
  .feature,
  .about-card,
  .step,
  .mini,
  .legal article,
  .policy-card {
    max-width: 100%;
  }

  .app-preview {
    height: 310px;
  }

  .app-preview img.screen {
    width: 190px;
  }

  .app-preview img.icon {
    right: 18px;
    bottom: 18px;
    width: 76px;
  }

  .app-body {
    padding: 24px 20px;
  }

  .app-body h3 {
    font-size: 24px;
    line-height: 1.35;
  }

  .meta {
    flex-wrap: wrap;
  }

  .about-card {
    padding: 28px 20px;
    transform: none;
  }

  .band-in,
  .footer-top {
    align-items: stretch;
  }

  .band .btn {
    width: 100%;
  }

  .footer {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }

  .footer-links {
    gap: 12px 16px;
  }

  .page-hero {
    padding: 46px 0 50px;
  }

  .page-hero-grid {
    gap: 30px;
  }

  .toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .toc a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

  .legal {
    padding: 50px 0 80px;
  }

  .legal article {
    padding: 24px 18px;
  }

  .legal table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) and (min-height: 850px) {
  .hero {
    padding-top: 44px;
  }

  .hero-art {
    min-height: 420px;
  }
}

@media (max-width: 480px) and (orientation: landscape) {
  .hero-art {
    min-height: 330px;
  }

  .section,
  .guide-section {
    padding-block: 58px;
  }
}

/* =========================================================
   Full-width mobile viewport fix (v12)
   Prevents the document from ending before the visual viewport
   on large iPhone / Safari screens.
   ========================================================= */
@media (max-width: 820px) {
  html {
    width: 100%;
    min-width: 100%;
    max-width: none;
    overflow-x: clip;
  }

  body {
    width: 100%;
    min-width: 100%;
    max-width: none;
    margin: 0;
    overflow-x: clip;
  }

  body > .noise,
  body > .header,
  body > main,
  body > .footer,
  main,
  .header,
  .band,
  .footer,
  .section,
  .guide-section,
  .legal,
  .hero,
  .page-hero {
    width: 100%;
    max-width: none;
  }

  .header {
    left: 0;
    right: 0;
  }

  .shell {
    width: 100%;
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    padding-left: max(18px, calc(env(safe-area-inset-left) + 12px));
    padding-right: max(18px, calc(env(safe-area-inset-right) + 12px));
  }
}

@supports (width: 100dvw) {
  @media (max-width: 820px) {
    html,
    body,
    body > .header,
    body > main,
    body > .footer {
      width: 100dvw;
      min-width: 100dvw;
    }
  }
}
