/* Mobile-first presentation pass. Desktop styling remains unchanged. */
@media (max-width: 860px) {
  header[id],
  section[id] {
    scroll-margin-top: 78px;
  }

  .site-nav {
    min-height: 56px;
    padding: 6px 8px;
    gap: 8px;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .nav-brand strong {
    font-size: 18px;
  }

  .nav-brand span span {
    margin-top: 3px;
    font-size: 10px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links > a[href="#download"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(18, 63, 64, 0.14);
    border-radius: 7px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--deep);
    font-weight: 800;
  }

  .nav-links > a[href="#download"]::after {
    display: none;
  }

  .nav-account {
    min-height: 42px;
    padding-inline: 10px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero {
    min-height: min(700px, 86svh);
  }

  .hero-media img {
    object-position: 67% 12%;
    filter: saturate(0.94) contrast(0.99);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(248, 250, 247, 0.08) 0 24%, rgba(248, 250, 247, 0.72) 48%, rgba(248, 250, 247, 0.98) 72%),
      linear-gradient(90deg, rgba(248, 250, 247, 0.9), rgba(248, 250, 247, 0.42) 64%, rgba(248, 250, 247, 0.08));
  }

  .hero-inner {
    min-height: inherit;
    padding-top: 220px;
    padding-bottom: 24px;
  }

  .hero-mark {
    min-height: 32px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .hero-mark img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  h1 {
    margin-top: 12px;
    font-size: 52px;
    line-height: 1;
  }

  .hero-lede {
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.34;
  }

  .hero-body {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
  }

  .hero-actions .button {
    min-height: 48px;
    padding-inline: 8px;
    font-size: 15px;
  }

  .below-hint.identity-hint {
    min-height: 58px;
    margin-top: 18px;
  }

  .identity-hint .hint-item {
    min-height: 58px;
    padding: 8px 2px;
  }

  .identity-hint .hint-item strong {
    font-size: 12px;
  }

  section.band {
    padding: 56px 0;
  }

  .section-head::before {
    width: 30px;
    height: 4px;
  }

  .section-head h2,
  .concept-grid .section-head h2,
  .presence-grid .section-head h2 {
    font-size: 31px;
    line-height: 1.18;
  }

  .section-head p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.72;
  }

  .flow {
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step {
    min-height: 154px;
    padding: 16px 14px;
  }

  .flow-step small {
    font-size: 23px;
  }

  .flow-step h3 {
    margin-top: 8px;
    font-size: 17px;
    line-height: 1.3;
  }

  .flow-step p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.58;
  }

  .concept-grid,
  .presence-grid,
  .product-grid {
    gap: 32px;
  }

  .concept-list {
    margin-top: 24px;
  }

  .concept-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding-block: 15px;
  }

  .concept-item b {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .concept-item strong {
    font-size: 17px;
  }

  .concept-item span {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.62;
  }

  .concept-device {
    min-height: 430px;
    padding: 24px 12px;
  }

  .personality-orbit {
    width: min(288px, calc(100vw - 70px));
  }

  .personality-orbit::before {
    inset: 26px;
  }

  .persona-core {
    width: 132px;
  }

  .persona-core img {
    width: 98px;
    height: 98px;
  }

  .persona-core strong {
    font-size: 16px;
  }

  .persona-axis {
    min-width: 78px;
    min-height: 32px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .persona-quote {
    width: min(300px, 100%);
    margin-top: 18px;
    padding: 12px 13px;
    font-size: 13px;
  }

  .presence-actions {
    margin-top: 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .presence-actions span {
    min-height: 0;
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    font-size: 13px;
    line-height: 1.55;
  }

  .presence-actions strong {
    font-size: 15px;
  }

  .elder-scene,
  .elder-scene img {
    height: auto;
    min-height: 0;
  }

  .elder-scene {
    aspect-ratio: 4 / 5;
  }

  .elder-scene img {
    height: 100%;
    object-position: 58% 32%;
  }

  .voice-bubble {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 13px;
  }

  .voice-bubble strong {
    font-size: 15px;
  }

  .feature-list {
    margin-top: 22px;
  }

  .feature {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding-block: 15px;
  }

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

  .feature span {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.6;
  }

  .product-scene {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
  }

  .product-scene figcaption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .product-scene figcaption strong {
    font-size: 26px;
  }

  .product-scene figcaption > span:last-child {
    font-size: 13px;
    line-height: 1.6;
  }

  .download-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .download-card:nth-child(2) {
    order: -1;
    border-color: rgba(49, 120, 110, 0.28);
    background: #ffffff;
  }

  .download-card {
    min-height: 0;
    padding: 18px;
  }

  .platform-mark {
    width: 54px;
    height: 54px;
    font-size: 16px;
  }

  .download-card h3 {
    margin-top: 18px;
    font-size: 28px;
  }

  .download-card p {
    font-size: 14px;
    line-height: 1.65;
  }

  .download-card:not(:nth-child(2)) .package-meta {
    display: none;
  }

  .package-meta {
    margin-top: 18px;
    padding-top: 14px;
    gap: 7px;
    font-size: 12px;
  }

  .download-actions {
    margin-top: 18px;
    gap: 8px;
  }

  .download-button {
    min-height: 48px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .download-all-actions {
    display: none;
  }

  .download-note {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.65;
  }

  .seal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .seal {
    min-height: 0;
    padding: 18px;
  }

  .seal::after {
    width: 46px;
    height: 46px;
  }

  .seal-icon {
    width: 46px;
    height: 46px;
  }

  .seal h3 {
    margin-top: 18px;
    font-size: 20px;
  }

  .seal p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.65;
  }

  .cta-band {
    min-height: 520px;
    padding: 64px 0;
  }

  .cta-band::before {
    background-position: 66% center;
  }

  .cta-band::after {
    background: linear-gradient(180deg, rgba(248, 250, 247, 0.95), rgba(248, 250, 247, 0.78) 70%, rgba(248, 250, 247, 0.22));
  }

  .cta-copy h2 {
    font-size: 32px;
    line-height: 1.18;
  }

  .cta-copy p {
    font-size: 15px;
    line-height: 1.7;
  }

  .footer-row {
    gap: 8px;
    font-size: 12px;
    line-height: 1.55;
  }
}

@media (max-width: 360px) {
  .nav-brand span span {
    display: none;
  }

  .nav-account span {
    display: none;
  }

  .nav-account {
    width: 42px;
    padding: 0;
  }

  .hero-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .identity-hint .hint-item strong {
    font-size: 11px;
  }
}

@media (max-width: 640px) and (max-height: 700px) {
  .hero {
    min-height: calc(100svh - 4px);
  }

  .hero-inner {
    padding-top: 142px;
    padding-bottom: 18px;
  }

  .hero-body {
    display: none;
  }

  .below-hint.identity-hint {
    margin-top: 14px;
  }
}

@media (max-width: 860px) and (max-height: 520px) and (orientation: landscape) {
  .nav-brand span span {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .hero-media img {
    object-position: 70% 28%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(248, 250, 247, 0.98) 0 44%, rgba(248, 250, 247, 0.58) 62%, rgba(248, 250, 247, 0.06) 84%),
      linear-gradient(180deg, rgba(248, 250, 247, 0.08), rgba(248, 250, 247, 0.58));
  }

  .hero-inner {
    padding-top: 84px;
    padding-bottom: 24px;
  }

  .hero-copy {
    max-width: 52%;
  }

  .hero-mark {
    font-size: 12px;
  }

  h1 {
    margin-top: 10px;
    font-size: 46px;
  }

  .hero-lede {
    margin-top: 9px;
    font-size: 20px;
    line-height: 1.28;
  }

  .hero-body,
  .below-hint.identity-hint {
    display: none;
  }

  .hero-actions {
    margin-top: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-actions .button {
    min-height: 44px;
    padding-inline: 8px;
    font-size: 13px;
  }
}
