:root {
  --bg: #f5f8ff;
  --bg-soft: #eef3ff;
  --bg-surface: rgba(255, 255, 255, 0.74);
  --bg-surface-strong: rgba(255, 255, 255, 0.9);
  --bg-surface-muted: rgba(238, 243, 255, 0.68);
  --ink: #111a35;
  --text: #253257;
  --muted: #667393;
  --muted-strong: #4a587b;
  --accent: #3a5bff;
  --accent-strong: #1d46f5;
  --accent-soft: rgba(58, 91, 255, 0.1);
  --line: rgba(58, 91, 255, 0.14);
  --line-strong: rgba(58, 91, 255, 0.22);
  --shadow-soft: 0 12px 36px rgba(17, 26, 53, 0.08);
  --shadow: 0 24px 80px rgba(17, 26, 53, 0.14);
  --shadow-strong: 0 30px 90px rgba(17, 26, 53, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --site-width: min(1120px, calc(100% - 32px));
  --narrow-slogan-scale: 1;
  --narrow-chrome-scale: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.copyport-i18n-pending body {
  visibility: hidden;
}

html[data-copyport-lang="ja"] body,
html[data-copyport-lang="ko"] body {
  font-family:
    "Avenir Next",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    "PingFang SC",
    sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(93, 126, 255, 0.2), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(58, 91, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 44%, #f7f9ff 100%);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(32px);
}

body::before {
  top: 84px;
  left: -72px;
  width: 240px;
  height: 240px;
  background: rgba(58, 91, 255, 0.14);
  animation: drift 18s ease-in-out infinite;
}

body::after {
  right: -110px;
  bottom: 72px;
  width: 320px;
  height: 320px;
  background: rgba(109, 140, 255, 0.12);
  animation: drift 24s ease-in-out infinite reverse;
}

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

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(58, 91, 255, 0.08);
  color: var(--accent-strong);
  font-family: "SFMono-Regular", "SFMono", "Menlo", monospace;
  font-size: 0.9em;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: var(--site-width);
  margin: 0 auto;
}

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 22px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: rgba(247, 249, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(17, 26, 53, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(58, 91, 255, 0.24);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.site-nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  border: 1px solid rgba(58, 91, 255, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav-menu-btn:hover,
.site-nav-menu-btn:focus-visible {
  background: rgba(58, 91, 255, 0.08);
  border-color: rgba(58, 91, 255, 0.22);
  outline: none;
}

.site-nav-menu-bars {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.lang-switch select {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(58, 91, 255, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-switch select:focus-visible {
  outline: 2px solid rgba(58, 91, 255, 0.35);
  outline-offset: 2px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-strong);
  background: rgba(58, 91, 255, 0.08);
  transform: translateY(-1px);
}

.hero {
  max-width: 840px;
  margin: 0 auto;
  padding: 82px 0 54px;
  text-align: center;
}

.hero-badge,
.feature-kicker,
.workflow-step,
.download-badge,
.showcase-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(58, 91, 255, 0.1);
  border: 1px solid rgba(58, 91, 255, 0.12);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(58, 91, 255, 0.1);
  border: 1px solid rgba(58, 91, 255, 0.12);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-chip-icon,
.window-chip-icon {
  font-size: 1.02rem;
  line-height: 1;
}

.card-symbol-icon {
  font-size: 1.18rem;
  line-height: 1;
}

.card-symbol-row {
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.card-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(58, 91, 255, 0.12);
  background: rgba(58, 91, 255, 0.1);
  color: var(--accent-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.hero-icon {
  width: 92px;
  height: 92px;
  margin: 22px auto 28px;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(58, 91, 255, 0.2);
}

.hero h1,
.section-heading h2,
.legal-hero h1,
.shortcut-section h2,
.cta-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Avenir Next", "PingFang SC", sans-serif;
  letter-spacing: -0.035em;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.28em;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 1.1;
  text-align: center;
}

.hero h1 > span {
  display: block;
}

.hero h1 .gradient-word {
  background: linear-gradient(135deg, #5d7cff 0%, #1d46f5 52%, #6fa0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead,
.section-heading p,
.showcase-copy p,
.highlight-card p,
.feature-card p,
.download-card p,
.faq-item p,
.shortcut-section p,
.cta-panel p,
.legal-hero p,
.legal-card p,
.legal-section p,
.legal-section li,
.summary-note {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.08rem;
  line-height: 1.86;
}

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

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

.hero-cta-row {
  width: min(100%, 580px);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-cta-row {
  --hero-cta-height: 44px;
  --hero-cta-radius: 12px;
  --hero-badge-img-height: 44px;
  --hero-cta-font-size: 0.82rem;
  --hero-cta-icon-size: 14px;
}

.hero-store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hero-cta-height);
  padding: 8px 0;
  line-height: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hero-store-badge-link:hover,
.hero-store-badge-link:focus-visible {
  transform: translateY(-1px);
}

.hero-store-badge-link:focus-visible {
  outline: 2px solid rgba(58, 91, 255, 0.34);
  outline-offset: 4px;
}

.hero-store-badge-link.is-disabled {
  opacity: 0.9;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-store-badge-img,
.hero-github-badge-img {
  display: block;
  height: var(--hero-badge-img-height);
  width: auto;
  max-width: min(200px, 78vw);
}

.hero-github-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hero-cta-height);
  padding: 8px 0;
  line-height: 0;
  transition: transform 0.2s ease;
}

.hero-github-badge-link:hover,
.hero-github-badge-link:focus-visible {
  transform: translateY(-1px);
}

.hero-github-badge-link:focus-visible {
  outline: 2px solid rgba(58, 91, 255, 0.34);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #5d7cff 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 28px rgba(58, 91, 255, 0.28);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(58, 91, 255, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.button.ghost {
  color: var(--accent-strong);
  background: rgba(58, 91, 255, 0.08);
}

/* Mac App Store badge: use Apple-provided artwork only; min height 40px + clear space per marketing guidelines */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 0;
  line-height: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-store-badge:focus-visible {
  outline: 2px solid rgba(58, 91, 255, 0.4);
  outline-offset: 4px;
  border-radius: 2px;
}

.app-store-badge.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
}

.app-store-badge-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(280px, 78vw);
}

.coming-soon-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.screenshot-section {
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 74px;
}

.screenshot-frame,
.glass-card,
.highlight-card,
.feature-card,
.workflow-card,
.download-card,
.faq-item,
.legal-card,
.legal-section,
.showcase-visual-card,
.shortcut-card,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.screenshot-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(58, 91, 255, 0.08);
  background: rgba(255, 255, 255, 0.52);
}

.window-dots {
  display: inline-flex;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff7b7b; }
.window-dots span:nth-child(2) { background: #ffcb59; }
.window-dots span:nth-child(3) { background: #37d999; }

.window-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(58, 91, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.screenshot-frame img {
  width: 100%;
  height: auto;
}

.store-visual.screenshot-section {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.store-visual-top {
  width: var(--site-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.store-visual-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.store-visual-viewport {
  overflow: hidden;
  width: 100%;
}

.store-visual-track {
  display: flex;
  width: 300%;
  transform: translateX(0%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.store-visual-slide {
  flex: 0 0 33.333333%;
  width: 33.333333%;
  max-width: 33.333333%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

@media (prefers-reduced-motion: reduce) {
  .store-visual-track {
    transition: none;
  }
}

.store-visual-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 6px;
}

.store-visual-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(58, 91, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.store-visual-dot:hover {
  background: rgba(58, 91, 255, 0.38);
}

.store-visual-dot.is-active {
  background: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(58, 91, 255, 0.2);
  transform: scale(1.2);
}

.store-visual-dot:focus-visible {
  outline: 2px solid rgba(58, 91, 255, 0.45);
  outline-offset: 3px;
}

.store-visual-below {
  width: var(--site-width);
  max-width: 100%;
  margin: 20px auto 0;
  padding: 0 16px;
}

.feature-text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-text-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.feature-text-card .card-symbol-row {
  margin-top: 0;
}

.feature-text-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.32;
}

.feature-text-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.screenshot-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.screenshot-tabs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(58, 91, 255, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-grid,
.shot-grid,
.action-grid {
  display: grid;
  gap: 18px;
}

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

.trust-card,
.action-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.trust-card h3,
.action-card h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.3;
}

.trust-card p,
.action-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.76;
}

.shot-grid {
  margin-top: 24px;
}

.shot-grid-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.screenshot-card {
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(17, 26, 53, 0.12);
}

.screenshot-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.32;
}

.screenshot-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.section {
  padding: 44px 0;
}

.section-surface {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 82px 0;
  background:
    linear-gradient(180deg, rgba(238, 243, 255, 0.7) 0%, rgba(248, 250, 255, 0.82) 100%);
}

.surface-inner {
  width: var(--site-width);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.shortcut-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 1.05;
}

.section-heading p {
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.86;
}

.showcase-stack {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
  align-items: center;
}

.showcase-row.reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.showcase-visual-card,
.showcase-copy,
.shortcut-card,
.cta-panel {
  border-radius: var(--radius-xl);
}

.showcase-visual-card {
  padding: 18px;
}

.showcase-copy {
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.showcase-tag {
  margin-bottom: 14px;
}

.showcase-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.68rem;
  line-height: 1.2;
}

.showcase-copy p {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.84;
}

.showcase-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.showcase-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.showcase-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #5d7cff, #1d46f5);
  box-shadow: 0 0 0 4px rgba(58, 91, 255, 0.08);
}

.highlight-grid,
.feature-grid,
.download-grid {
  display: grid;
  gap: 18px;
}

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

.highlight-card,
.feature-card,
.download-card,
.faq-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.highlight-card {
  padding: 24px;
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(58, 91, 255, 0.1);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.highlight-card h3,
.feature-card h3,
.download-card h3,
.workflow-card h3,
.legal-card h2,
.legal-card h3,
.legal-section h2,
.legal-section h3 {
  margin: 14px 0 0;
  color: var(--ink);
}

.highlight-card h3,
.feature-card h3,
.download-card h3 {
  font-size: 1.12rem;
  line-height: 1.32;
}

.highlight-card p,
.feature-card p,
.download-card p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.78;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-card {
  padding: 24px;
}

.feature-card .feature-kicker {
  min-width: auto;
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.76rem;
}

.shortcut-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 0 28px;
  text-align: center;
}

.shortcut-section p {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.82;
}

.shortcut-card {
  margin-top: 24px;
  padding: 26px;
}

.kbd-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(58, 91, 255, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: 0 5px 0 rgba(58, 91, 255, 0.08);
  font-family: "SFMono-Regular", "SFMono", "Menlo", monospace;
  font-size: 1.25rem;
  font-weight: 700;
}

.kbd-plus {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
}

.shortcut-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.download-card {
  padding: 28px;
}

.download-card ul,
.legal-card ul,
.legal-section ul,
.legal-section ol {
  margin: 16px 0 0;
  padding-left: 20px;
}

.download-card li,
.legal-card li,
.legal-section li {
  margin-top: 8px;
}

.download-actions,
.legal-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.download-actions .app-store-badge {
  width: 100%;
  justify-content: center;
}

.code-block,
.install-chip {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(24, 35, 77, 0.96);
  color: #edf2ff;
  font-family: "SFMono-Regular", "SFMono", "Menlo", monospace;
  font-size: 0.9rem;
  line-height: 1.72;
  overflow-x: auto;
}

.install-chip {
  display: inline-flex;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted-strong);
  border: 1px solid rgba(58, 91, 255, 0.1);
  font-family: "SFMono-Regular", "SFMono", "Menlo", monospace;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

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

.faq-item p {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.74;
}

.faq-page-wrap {
  max-width: min(1000px, var(--site-width));
  margin: 0 auto;
  padding: 0 0 56px;
}

.faq-flat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.faq-flat-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.faq-flat-q {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-flat-a {
  flex: 1 1 auto;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.74;
}

.faq-flat-a p {
  margin: 0;
}

@media (max-width: 720px) {
  .faq-flat-list {
    grid-template-columns: 1fr;
  }
}

.cta-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  text-align: center;
  border-radius: var(--radius-xl);
}

.cta-panel h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
}

.cta-panel p {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 1rem;
  line-height: 1.82;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 36px 0 56px;
  color: var(--muted);
}

.footer-meta {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
}

.footer-tagline {
  margin: 0;
}

.footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 18px;
  flex: 0 1 auto;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-strong);
}

.legal-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 62px 0 28px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.06;
}

.legal-hero p {
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.82;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 48px;
}

.legal-summary {
  position: sticky;
  top: 106px;
  align-self: start;
}

.legal-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.legal-card h2,
.legal-card h3 {
  font-size: 1.08rem;
  line-height: 1.34;
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  line-height: 1.74;
}

.legal-meta {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.legal-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-meta span,
.legal-meta a {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-section {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.legal-section h2 {
  font-size: 1.56rem;
  line-height: 1.24;
}

.legal-section h3 {
  font-size: 1.04rem;
  line-height: 1.38;
}

.legal-section p,
.legal-section li {
  font-size: 0.96rem;
  line-height: 1.8;
}

.legal-section p:first-of-type,
.legal-section ul:first-of-type,
.legal-section ol:first-of-type {
  margin-top: 14px;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(58, 91, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.link-pill:hover,
.link-pill:focus-visible {
  background: rgba(58, 91, 255, 0.14);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (max-width: 1024px) {
  .showcase-row,
  .showcase-row.reverse,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

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

@media (max-width: 800px) {
  .highlight-grid,
  .feature-grid,
  .download-grid,
  .trust-grid,
  .feature-text-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .brand-subtitle {
    display: none;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 0 48px;
    gap: 14px;
  }

  .footer-meta {
    flex: none;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
  }

  .footer-end {
    justify-content: center;
    width: 100%;
  }

  .footer-links {
    justify-content: center;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .topbar-wrap {
    padding-top: 16px;
  }

  .topbar {
    overflow: visible;
    border-radius: 20px;
  }

  .topbar-row {
    overflow: visible;
  }

  .site-nav-menu-btn {
    display: inline-flex;
  }

  .site-nav-toggle:not(:checked) ~ .nav {
    display: none !important;
  }

  .site-nav-toggle:checked ~ .nav {
    display: flex !important;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(292px, calc(100vw - 28px));
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(58, 91, 255, 0.16);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    z-index: 55;
  }

  .site-nav-toggle:checked ~ .nav a {
    width: 100%;
    text-align: start;
    border-radius: 12px;
    transform: none;
  }

  .hero {
    padding: 54px 0 36px;
  }

  .hero-icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .hero-cta-row {
    width: min(100%, 460px);
  }

  .section-surface {
    padding: 62px 0;
  }

  .showcase-copy,
  .download-card,
  .shortcut-card,
  .cta-panel,
  .legal-card,
  .legal-section {
    padding: 22px;
  }

  .screenshot-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .topbar {
    padding: 14px;
  }

  .nav a {
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .download-actions {
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-cta-row {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-row {
    --hero-badge-img-height: 40px;
  }

  .hero-store-badge-img,
  .hero-github-badge-img {
    max-width: min(200px, 72vw);
  }

  kbd {
    min-width: 48px;
    min-height: 48px;
    font-size: 1.08rem;
  }

  .window-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 449px) {
  :root {
    --narrow-slogan-scale: 0.95;
    --narrow-chrome-scale: 0.92;
  }
}

@media (max-width: 429px) {
  :root {
    --narrow-slogan-scale: 0.9025;
    --narrow-chrome-scale: 0.8464;
  }
}

@media (max-width: 409px) {
  :root {
    --narrow-slogan-scale: 0.857375;
    --narrow-chrome-scale: 0.778688;
  }
}

@media (max-width: 389px) {
  :root {
    --narrow-slogan-scale: 0.81450625;
    --narrow-chrome-scale: 0.71639296;
  }
}

@media (max-width: 369px) {
  :root {
    --narrow-slogan-scale: 0.7737809375;
    --narrow-chrome-scale: 0.6590815232;
  }
}

@media (max-width: 349px) {
  :root {
    --narrow-slogan-scale: 0.735091890625;
    --narrow-chrome-scale: 0.606354921344;
  }
}

@media (max-width: 329px) {
  :root {
    --narrow-slogan-scale: 0.698337315594;
    --narrow-chrome-scale: 0.558846527636;
  }
}

@media (max-width: 309px) {
  :root {
    --narrow-slogan-scale: 0.663420449814;
    --narrow-chrome-scale: 0.514138805425;
  }
}

@media (max-width: 289px) {
  :root {
    --narrow-slogan-scale: 0.630249427323;
    --narrow-chrome-scale: 0.47300770101;
  }
}

@media (max-width: 269px) {
  :root {
    --narrow-slogan-scale: 0.598736955957;
    --narrow-chrome-scale: 0.43516709293;
  }
}

@media (max-width: 249px) {
  :root {
    --narrow-slogan-scale: 0.568800108159;
    --narrow-chrome-scale: 0.400353725496;
  }
}

@media (max-width: 229px) {
  :root {
    --narrow-slogan-scale: 0.540360102751;
    --narrow-chrome-scale: 0.368325427456;
  }
}

@media (max-width: 449px) {
  body[data-page="index"] .hero h1 {
    font-size: calc(clamp(2.3rem, 12vw, 3.4rem) * var(--narrow-slogan-scale));
  }

  .brand-title {
    font-size: calc(1.08rem * var(--narrow-chrome-scale));
  }

  .site-nav-menu-btn {
    width: calc(42px * var(--narrow-chrome-scale));
    height: calc(42px * var(--narrow-chrome-scale));
    border-radius: calc(12px * var(--narrow-chrome-scale));
  }

  .site-nav-menu-bars {
    width: calc(18px * var(--narrow-chrome-scale));
    height: calc(2px * var(--narrow-chrome-scale));
    box-shadow:
      0 calc(-6px * var(--narrow-chrome-scale)) 0 var(--ink),
      0 calc(6px * var(--narrow-chrome-scale)) 0 var(--ink);
  }

  .lang-switch select {
    min-height: calc(38px * var(--narrow-chrome-scale));
    padding: 0 calc(12px * var(--narrow-chrome-scale));
    font-size: calc(0.9rem * var(--narrow-chrome-scale));
  }

  .footer {
    font-size: 90%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
