/* Mangatronic landing — Ink & Paper tokens (copied, not linked from static/) */

@import url("https://fonts.googleapis.com/css2?family=Bangers&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --paper: #f5f4f0;
  --ink: #111111;
  --ink-muted: #5e5e5e;
  --surface: #ffffff;
  --border: #111111;
  --accent: #8f2327;
  --accent-light: #b84a4e;
  --dot: rgba(17, 17, 17, 0.07);
  --dot-alt: rgba(17, 17, 17, 0.11);
  --chrome: rgba(245, 244, 240, 0.92);
  --max: 1120px;
  --panel-radius: 4px;
  --gutter: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 1px 1px, var(--dot) 1.25px, transparent 1.35px),
    radial-gradient(circle at 7px 7px, var(--dot-alt) 1.25px, transparent 1.35px);
  background-size: 14px 14px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

h1,
h2,
h3,
.brand__name,
.eyebrow {
  font-family: "Bangers", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

#video,
#how,
#use-cases,
#gallery,
#download {
  scroll-margin-top: 80px;
}

/* ── Nav ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--chrome);
  border-bottom: 2px solid var(--border);
}

.nav__inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  background: var(--surface);
}

.brand__name {
  font-size: 1.55rem;
  line-height: 1;
}

.brand__accent {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a:not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 6px 10px;
  border: 2px solid transparent;
  border-radius: var(--panel-radius);
}

.nav__links a:not(.btn):hover {
  color: var(--accent);
  border-color: var(--border);
  background: var(--surface);
}

.nav__lang {
  display: inline-flex;
  align-items: center;
}

.nav__lang-select {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 30px 6px 10px;
  border: 2px solid var(--border);
  border-radius: var(--panel-radius);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23111' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  max-width: 9.5rem;
}

.nav__lang-select:hover,
.nav__lang-select:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--border);
  border-radius: var(--panel-radius);
  cursor: pointer;
  color: var(--ink);
  background: var(--surface);
}

.btn-primary,
.btn-nav {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 4px 4px 0 var(--border);
}

.btn-primary:hover,
.btn-nav:hover,
.btn-primary:focus-visible,
.btn-nav:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:active,
.btn-nav:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
}

.btn-ghost {
  box-shadow: none;
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.15rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
  max-width: 14ch;
  animation: ink-in 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}

.hero__copy .eyebrow {
  animation: rise-in 0.55s ease 0.04s both;
}

.hero__copy .lede {
  animation: rise-in 0.55s ease 0.32s both;
}

.hero__copy .trust {
  animation: rise-in 0.55s ease 0.4s both;
}

.hero__copy .hero__cta {
  animation: rise-in 0.55s ease 0.48s both;
}

.lede {
  margin: 18px 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 28ch;
}

.trust {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.hero__cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
  animation: panel-in 0.9s cubic-bezier(0.2, 0.85, 0.2, 1) 0.18s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ink-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
    clip-path: inset(0 78% 0 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Phone bezel */

.phone {
  width: min(100%, 280px);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 12px 8px 14px;
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
}

.phone__speaker {
  width: 72px;
  height: 8px;
  margin: 0 auto 8px;
  background: #2a2a2a;
  border-radius: 8px;
}

.phone__screen {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

/* Before / after */

.compare {
  --pos: 52%;
  position: relative;
  aspect-ratio: 454 / 900;
  user-select: none;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
}

.compare.compare--fading img {
  opacity: 0;
}

.compare__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare__rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--ink);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  width: 100%;
  height: 100%;
  appearance: none;
  background: transparent;
}

.compare__tag {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  padding: 2px 8px;
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  background: var(--paper);
  border: 2px solid var(--ink);
  pointer-events: none;
}

.compare__tag--photo {
  left: 10px;
}

.compare__tag--manga {
  right: 10px;
  color: var(--accent);
}

/* ── Demo video ── */

.demo {
  padding: 8px 0 40px;
}

.demo__layout {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.demo__phone {
  width: min(100%, 280px);
}

.demo__player {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--ink);
}

.demo__facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.demo__facade[hidden] {
  display: none;
}

.demo__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo__play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.demo__play:hover {
  background: var(--accent-light);
  transform: scale(1.04);
}

.demo__play:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.demo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
}

.demo__video[hidden] {
  display: none;
}

.demo__cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ── How ── */

/* App screenshot carousel */

.showcase-carousel {
  margin: 0 0 32px;
  padding: 28px 0 32px;
  overflow: hidden;
}

.showcase-carousel__message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.showcase-carousel__avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  box-shadow: 2px 2px 0 var(--border);
  object-fit: cover;
}

.showcase-carousel .lede {
  margin: 0;
  max-width: none;
  font-size: clamp(0.82rem, 2.4vw, 1.25rem);
  white-space: nowrap;
}

.showcase-carousel__viewport {
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 10px 22px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.showcase-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.showcase-carousel__track {
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.showcase-carousel__track::-webkit-scrollbar {
  display: none;
}

.showcase-carousel__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}

.showcase-carousel__item {
  flex: 0 0 auto;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.16);
}

.showcase-carousel__item img {
  height: clamp(200px, 30vw, 296px);
  width: auto;
  display: block;
  border-radius: 6px;
}

.use-cases {
  padding: 0 0 56px;
}

.use-cases__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.use-cases__list li {
  margin: 0;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: var(--panel-radius);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.975rem;
  line-height: 1.55;
}

.how {
  padding: 8px 0 56px;
}

.how__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  margin: 36px 0 32px;
  padding: 0;
  list-style: none;
}

.how__pill {
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.07em;
  line-height: 1;
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--border);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.how__pill:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--border);
}

.how__pill--ai {
  background: linear-gradient(135deg, #f8f2e8 0%, #efe4d4 100%);
}

.how__pill--render {
  background: linear-gradient(135deg, #fdecef 0%, #f5d4da 100%);
  color: var(--accent);
}

.how__pill--stories {
  background: linear-gradient(135deg, #eef4fb 0%, #dce8f5 100%);
}

.how__pill--share {
  background: linear-gradient(135deg, #edf8ee 0%, #d8efd9 100%);
}

.section-head {
  margin: 0 0 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  max-width: 46ch;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.panel:nth-child(2) {
  transform: translateY(8px);
}

.panel:nth-child(3) {
  transform: translateY(-4px);
}

.panel__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 2px solid var(--border);
  background: var(--paper);
}

.panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.panel__body {
  padding: 16px 16px 18px;
}

.panel__num {
  margin: 0 0 6px;
  font-family: "Bangers", system-ui, sans-serif;
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.panel__body h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.panel__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ── Gallery ── */

.faq {
  padding-block: 56px 48px;
}

.faq__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.faq__item {
  margin: 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}

.faq__item dt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--accent);
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.faq__item dt::before {
  content: "?";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45em;
  height: 1.45em;
  margin-top: 0.02em;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: "Bangers", system-ui, sans-serif;
  font-size: 0.95em;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 2px 2px 0 var(--border);
}

.faq__item dd {
  margin: 10px 0 0;
  color: var(--ink-muted);
}

.gallery {
  padding: 8px 0 72px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.tile {
  display: block;
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 3 / 4;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--paper) 22%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition:
    filter 0.35s ease,
    transform 0.35s ease;
}

@media (hover: hover) {
  .tile::after {
    opacity: 1;
  }

  .tile img {
    filter: blur(2px) saturate(0.92) brightness(0.96);
  }

  .tile:hover::after,
  .tile:focus-visible::after {
    opacity: 0;
  }

  .tile:hover img,
  .tile:focus-visible img {
    filter: blur(0) saturate(1) brightness(1);
    transform: scale(1);
  }
}

.tile:hover,
.tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tile img,
  .tile::after {
    transition: none;
  }
}

.tile--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.tile--square {
  aspect-ratio: 1;
}

.gallery__cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.btn-ig {
  --ig-1: #f9ce34;
  --ig-2: #ee2a7b;
  --ig-3: #6228d7;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, var(--ig-1) 0%, var(--ig-2) 48%, var(--ig-3) 100%);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  animation: ig-glow 2.6s ease-in-out infinite;
}

.btn-ig svg {
  flex: 0 0 auto;
}

.btn-ig::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 65%
  );
  transform: translateX(-130%);
  animation: ig-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.btn-ig:hover,
.btn-ig:focus-visible {
  color: #fff;
  border-color: var(--ink);
  filter: brightness(1.08);
  animation: none;
  box-shadow: 5px 5px 0 var(--ink);
  transform: translateY(-1px);
}

.btn-ig:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  filter: none;
}

@keyframes ig-glow {
  0%,
  100% {
    box-shadow: 4px 4px 0 var(--ink), 0 0 0 0 rgba(238, 42, 123, 0.5);
  }
  50% {
    box-shadow: 4px 4px 0 var(--ink), 0 0 0 10px rgba(238, 42, 123, 0);
  }
}

@keyframes ig-shine {
  0%,
  58% {
    transform: translateX(-130%);
  }
  78%,
  100% {
    transform: translateX(130%);
  }
}

/* ── Download ── */

.download {
  padding: 8px 0 80px;
}

.download__panel {
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 6px 6px 0 var(--border);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.download__panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.download__panel p {
  margin: 0;
  color: var(--ink-muted);
}

.store-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--surface);
  background: var(--ink);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 var(--border);
}

.store-badge svg {
  flex: 0 0 auto;
}

.store-badge small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}

.store-badge strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.store-badge:hover,
.store-badge:focus-visible {
  background: var(--accent);
}

.store-badge.is-soon {
  background: var(--surface);
  color: var(--ink-muted);
  box-shadow: none;
  cursor: default;
}

.store-badge.is-soon:hover {
  background: var(--surface);
}

.store-badge.is-soon strong {
  color: var(--ink);
}

/* ── Footer ── */

.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 24px 32px;
  font-size: 0.875rem;
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 16px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer a {
  color: var(--accent-light);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer a:has(strong):hover strong {
  color: var(--accent-light);
}

.site-footer strong {
  color: #fff;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer__links svg {
  flex: 0 0 auto;
}

.site-footer a.site-footer__legal {
  color: #fff;
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel:nth-child(2),
  .panel:nth-child(3) {
    transform: none;
  }

  .btn-primary:active,
  .btn-nav:active,
  .btn-ig:active {
    transform: none;
  }

  .hero__copy .eyebrow,
  .hero__copy h1,
  .hero__copy .lede,
  .hero__copy .trust,
  .hero__copy .hero__cta,
  .hero__visual,
  .btn-ig,
  .btn-ig::after {
    animation: none;
  }

}

/* ── Breakpoints ── */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0 56px;
    text-align: left;
  }

  .hero h1 {
    max-width: none;
  }

  .showcase-carousel__message {
    align-items: flex-start;
  }

  .showcase-carousel .lede {
    white-space: normal;
    max-width: 28ch;
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .how__grid,
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel:nth-child(2),
  .panel:nth-child(3) {
    transform: none;
  }

  .how__grid .panel:nth-child(3) {
    grid-column: 1 / -1;
  }

  .download__panel {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .nav__inner {
    width: calc(100% - 32px);
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .brand__name {
    font-size: 1.3rem;
  }

  .nav__links a:not(.btn) {
    display: none;
  }

  .how__grid,
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tile--wide {
    grid-column: span 2;
  }

  .hero {
    padding-top: 28px;
  }

  .phone {
    width: min(100%, 240px);
  }
}
