:root {
  color-scheme: light;
  --page: #e9e4dc;
  --header: rgba(242, 238, 231, 0.88);
  --surface: #f7f3ec;
  --surface-strong: #ded8cf;
  --surface-blue: #dfe6f6;
  --text: #292722;
  --muted: #666159;
  --soft: #89827a;
  --line: #c8c0b5;
  --accent: #3f62b2;
  --accent-hover: #34559f;
  --accent-text: #f8f9fc;
  --accent-ink: #20376d;
  --shadow: rgba(81, 70, 55, 0.18);
  --logo-filter: none;
  --radius: 18px;
  --radius-control: 12px;
  --content: 1180px;
  font-family: "Segoe UI Variable Text", "Segoe UI", "Pretendard Variable", "Apple SD Gothic Neo", "Malgun Gothic", "Yu Gothic UI", "Meiryo", "Microsoft YaHei UI", sans-serif;
  font-synthesis: none;
  background: var(--page);
  color: var(--text);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #151719;
  --header: rgba(27, 30, 33, 0.88);
  --surface: #202428;
  --surface-strong: #292e33;
  --surface-blue: #202b44;
  --text: #ecebe7;
  --muted: #aaa69f;
  --soft: #858b93;
  --line: #373c42;
  --accent: #7f9ce3;
  --accent-hover: #91a9e6;
  --accent-text: #111722;
  --accent-ink: #dce5fb;
  --shadow: rgba(4, 7, 11, 0.42);
  --logo-filter: invert(1) brightness(1.08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #151719;
    --header: rgba(27, 30, 33, 0.88);
    --surface: #202428;
    --surface-strong: #292e33;
    --surface-blue: #202b44;
    --text: #ecebe7;
    --muted: #aaa69f;
    --soft: #858b93;
    --line: #373c42;
    --accent: #7f9ce3;
    --accent-hover: #91a9e6;
    --accent-text: #111722;
    --accent-ink: #dce5fb;
    --shadow: rgba(4, 7, 11, 0.42);
    --logo-filter: invert(1) brightness(1.08);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background: var(--page);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--accent) 8%, transparent) 0, transparent 28rem),
    var(--page);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

:root[lang="ko"] body {
  overflow-wrap: break-word;
  word-break: keep-all;
}

:root[lang="en"] body {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

:root[lang="ja"] body,
:root[lang="zh-CN"] body {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  background: var(--header);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content));
  height: 70px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.brand img {
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 27px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
}

.nav-links > a:not(.nav-download),
.theme-toggle,
.language-trigger {
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-download):hover,
.theme-toggle:hover,
.language-trigger:hover {
  color: var(--text);
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.language-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 104px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.language-trigger:hover {
  border-color: var(--soft);
  background: var(--surface);
}

.language-trigger[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.language-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.language-trigger[aria-expanded="true"] .language-chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 11;
  display: grid;
  min-width: 164px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  box-shadow: 0 18px 44px var(--shadow);
}

.language-options[hidden] {
  display: none;
}

.language-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  text-align: left;
  cursor: pointer;
}

.language-options button:hover,
.language-options button:focus-visible {
  outline: none;
  background: color-mix(in srgb, var(--accent) 11%, var(--surface));
  color: var(--text);
}

.language-options button[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-text);
}

.language-options button[aria-selected="true"]::after {
  content: "✓";
  margin-left: 18px;
  font-size: 12px;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-download,
.button-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.nav-download:hover,
.button-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-download:active,
.button:active {
  transform: scale(0.98);
}

.button-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--soft);
  background: var(--surface);
  transform: translateY(-1px);
}

.theme-toggle,
.menu-toggle {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.theme-toggle {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(510px, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
  width: min(calc(100% - 40px), var(--content));
  min-height: calc(100dvh - 70px);
  margin: 0 auto;
  padding: 44px 0 54px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 4.1vw, 60px);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

@media (min-width: 768px) {
  :root[lang="en"] .hero-copy h1 {
    font-size: clamp(40px, 3.35vw, 48px);
    letter-spacing: -0.045em;
  }

  :root[lang="ja"] .hero-copy h1,
  :root[lang="zh-CN"] .hero-copy h1 {
    font-size: clamp(38px, 3.15vw, 44px);
    letter-spacing: -0.045em;
  }

  :root[lang="ja"] .hero-copy h1 span,
  :root[lang="zh-CN"] .hero-copy h1 span {
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

.hero-copy p {
  max-width: 510px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.hero-actions .button {
  min-width: 112px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 11% 8% -8% 12%;
  z-index: -1;
  border-radius: 40%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  filter: blur(70px);
}

.app-window {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    0 34px 80px var(--shadow),
    inset 0 1px 0 color-mix(in srgb, var(--surface) 72%, transparent);
  transform: rotate(0.7deg);
}

.app-window img {
  width: 100%;
  height: auto;
}

.messenger-strip {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 24px 0 20px;
}

.messenger-strip p,
.language-strip > p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  font-weight: 650;
}

.language-strip {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.language-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 690px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  list-style: none;
}

.language-strip li {
  white-space: nowrap;
}

.language-strip li + li {
  border-left: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.language-strip button {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: inherit;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.language-strip button:hover {
  background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
  color: var(--text);
}

.language-strip button[aria-pressed="true"] {
  background: var(--surface-strong);
  color: var(--text);
}

.messenger-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(30px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 22px;
  max-width: 690px;
}

.messenger-logos a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-control);
}

.messenger-logos a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.messenger-logos img {
  opacity: 0.67;
  filter: var(--logo-filter);
  transition:
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.messenger-logos a:hover img,
.messenger-logos a:focus-visible img {
  opacity: 1;
  transform: translateY(-2px);
}

.section-shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: clamp(92px, 11vw, 150px) 0;
}

.story-heading,
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-heading h2,
.section-heading h2,
.download h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.story-heading h2 span {
  display: block;
}

.download-lead h2 {
  font-size: clamp(36px, 3.8vw, 52px);
  overflow-wrap: normal;
  word-break: keep-all;
}

:root[lang="ja"] .download-lead h2,
:root[lang="zh-CN"] .download-lead h2 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.story-heading p,
.section-heading p {
  max-width: 660px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  word-break: keep-all;
}

.hero-copy p,
.story-heading p,
.section-heading p,
.story-flow span,
.feature p,
.download-lead p,
.download-options small,
.faq-list details p {
  text-wrap: pretty;
}

:root[lang="en"] .hero-copy p,
:root[lang="en"] .story-heading p,
:root[lang="en"] .section-heading p,
:root[lang="en"] .feature p,
:root[lang="en"] .download-lead p,
:root[lang="en"] .faq-list details p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

:root[lang="ja"] .hero-copy p,
:root[lang="ja"] .story-heading p,
:root[lang="ja"] .section-heading p,
:root[lang="ja"] .feature p,
:root[lang="ja"] .download-lead p,
:root[lang="ja"] .faq-list details p,
:root[lang="zh-CN"] .hero-copy p,
:root[lang="zh-CN"] .story-heading p,
:root[lang="zh-CN"] .section-heading p,
:root[lang="zh-CN"] .feature p,
:root[lang="zh-CN"] .download-lead p,
:root[lang="zh-CN"] .faq-list details p {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.story-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 58px 0 44px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.story-flow li {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 134px;
  padding: 25px 28px 20px 0;
}

.story-flow li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.story-flow strong {
  font-size: 17px;
}

.story-flow span {
  max-width: 280px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.search-figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 26px 68px color-mix(in srgb, var(--shadow) 72%, transparent);
}

.search-figure video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #151719;
  object-fit: contain;
  cursor: pointer;
  -webkit-appearance: none;
}

.search-figure video::-webkit-media-controls {
  display: none !important;
}

.features {
  padding-top: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(245px, auto);
  gap: 16px;
  margin-top: 58px;
}

.feature {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 690;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.feature p {
  max-width: 470px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
  word-break: keep-all;
}

.feature-search {
  grid-column: span 7;
  grid-row: span 2;
  flex-direction: column;
  min-height: 600px;
  padding: 37px 37px 0;
}

.feature-search-media {
  position: relative;
  flex: 1;
  min-height: 400px;
  margin-top: 30px;
}

.feature-shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface-strong);
  box-shadow: 0 20px 46px var(--shadow);
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-shot-search {
  top: 0;
  left: 0;
  z-index: 1;
  width: min(88%, 650px);
  transform: rotate(-0.55deg);
}

.feature-shot-detail {
  right: 0;
  bottom: -1px;
  z-index: 2;
  width: min(70%, 520px);
  transform: rotate(0.65deg);
}

.feature-local {
  grid-column: span 5;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 31px 32px;
  background: var(--surface-blue);
}

.feature-local p {
  color: color-mix(in srgb, var(--accent-ink) 72%, var(--muted));
}

.local-mark {
  color: var(--accent);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 780;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.feature-collection {
  grid-column: span 5;
  flex-direction: column;
  justify-content: space-between;
  min-height: 264px;
  padding: 31px 32px;
}

.collection-stats {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.collection-stats strong {
  color: var(--accent);
  font-size: 20px;
}

.collection-stats span {
  color: var(--soft);
  font-size: 13px;
}

.feature-sync {
  grid-column: span 12;
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  min-height: 260px;
  padding: 36px clamp(34px, 6vw, 80px);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface-strong));
}

.feature-sync img {
  width: clamp(104px, 12vw, 150px);
  flex: 0 0 auto;
  border-radius: 28%;
  box-shadow: 0 18px 40px var(--shadow);
  transform: rotate(-4deg);
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
}

.download-lead img {
  width: 112px;
  margin-bottom: 30px;
  border-radius: 28%;
  box-shadow: 0 16px 38px var(--shadow);
}

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

.download-main {
  min-height: 50px;
  padding: 0 21px;
}

.download-options {
  display: grid;
  border-top: 1px solid var(--line);
}

.download-options > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    padding 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.download-options > a:hover {
  padding-right: 0;
  padding-left: 10px;
  color: var(--accent);
}

.download-options > a span:first-child {
  display: grid;
  gap: 3px;
}

.download-options strong {
  font-size: 16px;
}

.download-options small {
  color: var(--muted);
  font-size: 13px;
}

.download-options > a span:last-child {
  color: var(--soft);
  font-size: 18px;
}

.download-notice {
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.65;
}

.github-star {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.github-star div {
  display: grid;
  gap: 5px;
}

.github-star strong {
  font-size: 15px;
}

.github-star p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.github-star .button {
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 130px);
  padding-top: 72px;
}

.faq .section-heading h2 {
  font-size: clamp(34px, 3.8vw, 50px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 50px 23px 0;
  font-size: 17px;
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 4px;
  color: var(--soft);
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;
  margin: -2px 0 24px;
  padding-right: 46px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 50px;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  color: var(--text);
  font-size: 17px;
}

.site-footer > div > p {
  margin: 10px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a:hover {
  color: var(--text);
}

.site-footer > p {
  margin: 0;
  white-space: nowrap;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1,
  .hero-copy p,
  .hero-actions,
  .hero-visual {
    animation: hero-enter 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-copy p {
    animation-delay: 80ms;
  }

  .hero-actions {
    animation-delay: 150ms;
  }

  .hero-visual {
    animation-delay: 100ms;
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(455px, 0.94fr) minmax(0, 1.06fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(41px, 4.55vw, 49px);
  }

  .feature-search {
    grid-column: span 8;
  }

  .feature-local,
  .feature-collection {
    grid-column: span 4;
  }
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 20px 50px var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links > a:not(.nav-download),
  .theme-toggle,
  .language-picker {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
  }

  .theme-toggle {
    width: 100%;
  }

  .language-trigger {
    width: 100%;
  }

  .language-options {
    right: 12px;
    left: 12px;
  }

  .nav-download {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

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

  .hero-copy {
    max-width: 690px;
  }

  .hero-visual {
    max-width: 760px;
    margin: 10px auto 0;
  }

  .story-flow {
    grid-template-columns: 1fr;
  }

  .story-flow li {
    min-height: 0;
    padding: 22px 0;
  }

  .story-flow li + li {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .feature-search,
  .feature-local,
  .feature-collection,
  .feature-sync {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-search,
  .feature-sync {
    grid-column: 1 / -1;
  }

  .feature-search {
    min-height: 620px;
  }

  .feature-search-media {
    min-height: clamp(300px, 58vw, 460px);
  }

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

  .download-options {
    margin-top: 10px;
  }

  .faq {
    gap: 36px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .nav-shell,
  .hero,
  .messenger-strip,
  .language-strip,
  .section-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav-shell {
    height: 64px;
  }

  .nav-links {
    top: 64px;
    right: 14px;
    left: 14px;
  }

  .brand {
    font-size: 18px;
  }

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

  .menu-toggle {
    justify-content: flex-end;
    min-width: 44px;
    min-height: 44px;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding: 38px 0 42px;
  }

  .hero-copy h1 {
    max-width: 11.5em;
    font-size: clamp(34px, 9.3vw, 40px);
    line-height: 1.07;
    letter-spacing: -0.05em;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-copy p {
    max-width: 35em;
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-height: 48px;
  }

  .app-window {
    border-radius: 14px;
    box-shadow: 0 22px 52px color-mix(in srgb, var(--shadow) 78%, transparent);
    transform: none;
  }

  .messenger-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0 22px;
  }

  .language-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 28px;
  }

  .language-strip ul {
    width: 100%;
    font-size: 13px;
  }

  .language-strip li {
    min-width: 0;
  }

  .language-strip button {
    min-height: 44px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .messenger-logos {
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
  }

  .messenger-logos img {
    width: 25px;
    height: 25px;
  }

  .section-shell {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .story-heading h2,
  .section-heading h2,
  .download h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.14;
    letter-spacing: -0.045em;
  }

  .story-heading p,
  .section-heading p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .story-flow {
    margin: 34px 0 28px;
  }

  .story-flow li {
    gap: 5px;
    padding: 18px 0;
  }

  .story-flow strong {
    font-size: 16px;
  }

  .story-flow span {
    max-width: 34em;
    font-size: 13.5px;
  }

  .search-figure {
    margin-right: 0;
    margin-left: 0;
    border-radius: 14px;
  }

  .features {
    padding-top: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .feature-search,
  .feature-local,
  .feature-collection,
  .feature-sync {
    grid-column: 1;
  }

  .feature-search {
    min-height: 450px;
    padding: 24px 20px 0;
  }

  .feature-search-media {
    min-height: 290px;
    margin-top: 22px;
  }

  .feature-shot-search {
    width: 94%;
  }

  .feature-shot-detail {
    width: 76%;
  }

  .feature-local,
  .feature-collection {
    min-height: 220px;
    padding: 24px 20px;
  }

  .feature h3 {
    font-size: clamp(21px, 6vw, 25px);
  }

  .feature p {
    margin-top: 9px;
    font-size: 14.5px;
    line-height: 1.65;
  }

  .local-mark {
    font-size: clamp(42px, 14vw, 58px);
  }

  .feature-sync {
    align-items: flex-start;
    gap: 22px;
    min-height: 0;
    padding: 26px 20px;
  }

  .feature-sync img {
    width: 78px;
  }

  .download-lead p {
    margin: 16px 0 24px;
    font-size: 15px;
    line-height: 1.7;
  }

  .download-lead img {
    width: 82px;
    margin-bottom: 22px;
  }

  .download-main {
    width: 100%;
    min-height: 48px;
  }

  .download-options > a {
    gap: 14px;
    min-height: 74px;
    padding: 15px 2px;
  }

  .download-options small {
    font-size: 12.5px;
  }

  .github-star {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .github-star .button {
    width: 100%;
  }

  .faq-list summary {
    padding: 20px 40px 20px 0;
    font-size: 15.5px;
    line-height: 1.5;
  }

  .faq-list summary::after {
    top: 16px;
    right: 0;
  }

  .faq-list details p {
    margin-bottom: 22px;
    padding-right: 0;
    font-size: 14.5px;
    line-height: 1.7;
  }

  .faq {
    gap: 28px;
    padding-top: 62px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    padding: 44px 0 28px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .site-footer > p {
    grid-column: auto;
    white-space: normal;
  }

}

@media (max-width: 560px) {
  .messenger-logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .nav-download {
    grid-column: auto;
  }

  .feature-sync {
    flex-direction: column;
  }

  .collection-stats {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .nav-shell,
  .hero,
  .messenger-strip,
  .language-strip,
  .section-shell,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .language-strip ul {
    font-size: 12px;
  }

  .language-strip button {
    padding-right: 3px;
    padding-left: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
