:root {
  --home-bg: #fff6f2;
  --home-ink: #201b2a;
  --home-mint: #39e2c0;
  --home-sun: #ffd166;
  --home-pop: #ff73b7;
  --home-blue: #4e7bff;
  --home-lime: #c7f36b;
  --home-card: #ffffff;
  --home-border: rgba(32, 27, 42, 0.14);
  --home-shadow: rgba(32, 27, 42, 0.16);
  --home-glow: rgba(255, 115, 183, 0.25);
}

html {
  scroll-behavior: smooth;
}

body.home {
  margin: 0;
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  color: var(--home-ink);
  background-color: var(--home-bg);
  background-image:
    radial-gradient(circle at 8% 10%, rgba(255, 115, 183, 0.18), transparent 46%),
    radial-gradient(circle at 92% 12%, rgba(78, 123, 255, 0.16), transparent 44%),
    radial-gradient(circle at 20% 86%, rgba(255, 209, 102, 0.22), transparent 52%),
    radial-gradient(circle at 85% 78%, rgba(57, 226, 192, 0.2), transparent 52%);
  min-height: 100vh;
}

body.home {
  --swf-max-h: min(860px, 100vh);
}

@supports (height: 1svh) {
  body.home {
    --swf-max-h: min(860px, 100svh);
  }
}

body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72'><circle cx='10' cy='12' r='2.5' fill='%23201b2a' opacity='0.08'/><circle cx='50' cy='22' r='2.5' fill='%23201b2a' opacity='0.08'/><circle cx='28' cy='52' r='2.5' fill='%23201b2a' opacity='0.08'/></svg>");
  opacity: 0.6;
  z-index: 0;
}

.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(90deg, rgba(255, 246, 242, 0.95), rgba(230, 255, 248, 0.95));
  border-bottom: 1px solid rgba(32, 27, 42, 0.08);
  box-shadow: 0 12px 30px rgba(32, 27, 42, 0.12);
  backdrop-filter: blur(12px);
}

.rotate-tip {
  position: fixed;
  top: var(--rotate-tip-offset, 72px);
  left: 16px;
  right: 16px;
  z-index: 9;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(32, 27, 42, 0.1);
  box-shadow: 0 12px 24px rgba(32, 27, 42, 0.12);
  font-size: 13px;
  letter-spacing: 0.1px;
  text-align: start;
  backdrop-filter: blur(10px);
}

.rotate-tip.is-visible {
  display: flex;
}

.rotate-tip__text {
  flex: 1 1 auto;
}

.rotate-tip__dismiss {
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(32, 27, 42, 0.08);
  color: var(--home-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.rotate-tip__dismiss:hover {
  background: rgba(32, 27, 42, 0.14);
}

.home-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.home-page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 72px;
}

h3 {
  font-weight: 600;
  letter-spacing: 0.2px;
}

main > section {
  margin-bottom: 64px;
  scroll-margin-top: 140px;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  margin-right: 12px;
}

.home-logo picture {
  display: block;
  line-height: 0;
}

.home-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.home-logo span {
  font-size: 18px;
  letter-spacing: 0.2px;
}

.home-nav {
  display: flex;
  gap: 12px;
  font-weight: 600;
  flex-wrap: wrap;
  flex: 1 1 420px;
  margin-left: 8px;
}

.home-nav a {
  text-decoration: none;
  color: inherit;
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-nav a.is-active {
  background: var(--home-mint);
  color: #0b3a2f;
  box-shadow: 0 8px 18px rgba(57, 226, 192, 0.35);
}

.home-nav a:hover {
  background: rgba(78, 123, 255, 0.15);
  color: var(--home-blue);
  transform: translateY(-1px);
}

.nav-start {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #39e2c0, #ffd166);
  color: #1b1b1b;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(32, 27, 42, 0.15);
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.lang-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23201b2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18'/><path d='M12 3a15 15 0 0 1 0 18'/><path d='M12 3a15 15 0 0 0 0 18'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(32, 27, 42, 0.14);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(230, 255, 248, 0.9));
  padding: 8px 36px 8px 40px;
  font-weight: 600;
  cursor: pointer;
  color: #1b1b1b;
  box-shadow: 0 12px 20px rgba(32, 27, 42, 0.14);
  background-image: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-select:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(32, 27, 42, 0.16);
}

.lang-switch::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(32, 27, 42, 0.7);
  border-bottom: 2px solid rgba(32, 27, 42, 0.7);
  transform: rotate(45deg);
  pointer-events: none;
}

.lang-switch--nav {
  display: none;
  width: 100%;
}

.lang-switch--nav .lang-select {
  width: 100%;
}

.lang-select:focus {
  outline: 2px solid rgba(78, 123, 255, 0.45);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(32, 27, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(32, 27, 42, 0.12);
  cursor: pointer;
  line-height: 0;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--home-ink);
  display: block;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(32, 27, 42, 0.12);
  background: linear-gradient(140deg, rgba(255, 209, 102, 0.95), rgba(57, 226, 192, 0.95));
  color: #1b1b1b;
  box-shadow: 0 14px 24px rgba(32, 27, 42, 0.18);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 12;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(32, 27, 42, 0.22);
  }
}

.home .btn {
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: var(--home-card);
  color: var(--home-ink);
  box-shadow: 0 10px 22px var(--home-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(32, 27, 42, 0.2);
}

.home .btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(32, 27, 42, 0.2);
}

.home .btn-primary {
  background: linear-gradient(135deg, #39e2c0, #ffd166);
  color: #1b1b1b;
}

.home .btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(32, 27, 42, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

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

.hero.hero-centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero.hero-centered .hero-stage {
  width: 100%;
  display: grid;
  justify-items: center;
}

.hero.hero-centered .hero-copy {
  max-width: 720px;
}

.hero.hero-centered .hero-actions,
.hero.hero-centered .hero-tags {
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 115, 183, 0.18);
  color: #5c1537;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.hero h1 {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.1;
  margin: 14px 0;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(32, 27, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: inherit;
}

.hero-stage {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.swf-shell {
  position: relative;
  border-radius: 26px;
  padding: 12px;
  background: var(--home-card);
  border: 1px solid rgba(32, 27, 42, 0.12);
  box-shadow: 0 22px 40px rgba(32, 27, 42, 0.16);
  overflow: hidden;
  width: min(100%, calc(var(--swf-max-h, 860px) * var(--swf-aspect, 1) + 24px));
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.swf-fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(32, 27, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 20px rgba(32, 27, 42, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swf-fullscreen:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(32, 27, 42, 0.2);
}

.swf-fullscreen svg {
  width: 18px;
  height: 18px;
}

.swf-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 115, 183, 0.08), rgba(57, 226, 192, 0.08));
  pointer-events: none;
}

.swf-player {
  position: relative;
  width: min(100%, calc(var(--swf-max-h, 860px) * var(--swf-aspect, 1)));
  max-height: var(--swf-max-h, 860px);
  aspect-ratio: var(--swf-aspect, 1);
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(32, 27, 42, 0.06);
  background: #fffdfb;
  overflow: hidden;
}

.swf-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  padding: 18px;
  background: #0f1218;
  display: grid;
  place-items: center;
}

.swf-shell:fullscreen .swf-player {
  width: min(100%, calc(100vh * var(--swf-aspect, 1)));
  max-height: 100%;
  border-radius: 18px;
  background: #ffffff;
}

.swf-poster {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.swf-poster picture {
  width: 100%;
  height: 100%;
  display: block;
}

.swf-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.swf-play {
  position: absolute;
  inset: auto;
  top: 18px;
  right: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(32, 27, 42, 0.15);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 22px rgba(32, 27, 42, 0.16);
}

.swf-player.is-loading .swf-poster,
.swf-player.is-loaded .swf-poster,
.swf-player.is-error .swf-poster {
  display: none;
}

.swf-stage {
  width: 100%;
  height: 100%;
}

.swf-stage > * {
  width: 100%;
  height: 100%;
}

.swf-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  text-align: center;
  padding: 24px;
  gap: 12px;
  font-size: 15px;
  background: #eaf7ef;
  color: #23352f;
  z-index: 3;
}

.swf-player.is-loading .swf-fallback,
.swf-player.is-error .swf-fallback {
  display: grid;
}

.swf-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.swf-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--home-blue);
  border-bottom: 2px solid rgba(78, 123, 255, 0.3);
}

.swf-chip {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(57, 226, 192, 0.18);
  font-weight: 600;
  font-size: 12px;
}

.swf-status {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-weight: 600;
}

.swf-status strong {
  font-size: 16px;
  color: #2bbfa1;
  letter-spacing: 0.2px;
}

.swf-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(35, 53, 47, 0.18);
  border-top-color: #2bbfa1;
  animation: swf-spin 0.9s linear infinite;
}

.swf-progress {
  width: 220px;
  height: 4px;
  border-radius: 999px;
  background: rgba(43, 191, 161, 0.18);
  overflow: hidden;
}

.swf-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: #2bbfa1;
  transition: width 0.3s ease;
}

.swf-substatus {
  font-size: 13px;
  color: rgba(35, 53, 47, 0.72);
}

.swf-retry-link {
  border: none;
  background: none;
  padding: 0;
  color: #2d6cdf;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.swf-player.is-loading .swf-retry-link {
  display: none;
}

.swf-player.is-error .swf-spinner {
  animation-play-state: paused;
  border-top-color: var(--home-pop);
}

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

.section-title {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
}

.section-subtitle {
  margin: 0 0 24px;
  line-height: 1.7;
}

.share-strip {
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 22px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.08);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.share-strip--compact {
  margin-top: 12px;
}

.share-strip--inline {
  width: min(100%, 560px);
  margin: 0 auto;
}

.share-label {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.share-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(32, 27, 42, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.share-btn::after {
  content: "Copied!";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 6px);
  background: #1b1b1b;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(32, 27, 42, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(32, 27, 42, 0.18);
}

.share-btn.is-copied {
  background: rgba(57, 226, 192, 0.25);
}

.share-btn.is-copied::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.share-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.about-section {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(32, 27, 42, 0.08);
  box-shadow: 0 20px 32px rgba(32, 27, 42, 0.12);
}

.long-copy p {
  margin: 0 0 18px;
  line-height: 1.8;
}

.long-copy p:last-child {
  margin-bottom: 0;
}

.feature-strip {
  display: grid;
  gap: 16px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  border-radius: 18px;
  padding: 18px;
  background: #fff7e6;
  box-shadow: 0 14px 24px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.08);
}

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

.feature-card p {
  margin: 0;
  line-height: 1.6;
}

.mode-links {
  display: grid;
  gap: 16px;
}

.mode-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mode-card {
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.1);
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 32px rgba(32, 27, 42, 0.14);
}

.mode-card h3 {
  margin: 0;
  font-size: 20px;
}

.mode-card p {
  margin: 0;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 24px;
}

.gallery-card {
  border-radius: 18px;
  padding: 10px;
  background: var(--home-card);
  box-shadow: 0 12px 22px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.1);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.gallery-note {
  margin: 0;
  line-height: 1.7;
}

.use-cases {
  display: grid;
  gap: 16px;
}

.use-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.use-card {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 24px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.use-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.use-card p {
  margin: 0;
  line-height: 1.6;
}

.use-card .btn {
  align-self: flex-start;
  margin-top: 2px;
}

.step-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.step-card {
  border-radius: 18px;
  padding: 18px;
  background: #f5fffb;
  box-shadow: 0 14px 24px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.08);
}

.step-figure {
  margin-top: 12px;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.step-figure-placeholder {
  margin-top: 12px;
  border-radius: 16px;
  min-height: 140px;
  aspect-ratio: 6 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(32, 27, 42, 0.62);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.32), rgba(57, 226, 192, 0.24));
  border: 1px dashed rgba(32, 27, 42, 0.14);
}

.step-number {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 18px;
  color: var(--home-blue);
  font-weight: 600;
}

.tips {
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(32, 27, 42, 0.08);
  box-shadow: 0 16px 26px rgba(32, 27, 42, 0.12);
}

.comparison-card {
  margin-top: 18px;
  border-radius: 20px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(32, 27, 42, 0.1);
  box-shadow: 0 16px 26px rgba(32, 27, 42, 0.12);
}

.comparison-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.comparison-card p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.comparison-card p:last-child {
  margin-bottom: 0;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.tips-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}

.tips-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-pop);
  box-shadow: 0 0 0 4px rgba(255, 115, 183, 0.15);
}

.tips-note {
  margin: 0;
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.faq-grid details {
  border-radius: 16px;
  padding: 16px;
  background: var(--home-card);
  box-shadow: 0 12px 20px rgba(32, 27, 42, 0.12);
  border: 1px solid rgba(32, 27, 42, 0.08);
}

.faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

.home-footer {
  border-top: 1px solid rgba(32, 27, 42, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 14px;
}

.home-footer a {
  text-decoration: none;
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  justify-content: flex-end;
  text-align: right;
}

@media (max-width: 900px) {
  body.home {
    background-image: none;
  }

  body.home::before {
    display: none;
  }

  .home-header {
    backdrop-filter: none;
  }

  .home-header-inner {
    align-items: center;
  }

  .home-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 12px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(32, 27, 42, 0.1);
    box-shadow: 0 12px 20px rgba(32, 27, 42, 0.12);
  }

  .home-header.is-open .home-nav {
    display: flex;
  }

  main > section {
    content-visibility: auto;
    contain-intrinsic-size: 800px 600px;
  }

  .home-header.is-open .home-nav .lang-switch--nav {
    display: inline-flex;
  }

  .home-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .home-actions {
    display: none;
  }

  .nav-start {
    display: inline-flex;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .back-to-top {
    display: inline-flex;
  }

  .swf-player {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .home-page {
    padding: 130px 18px 60px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .swf-shell {
    padding: 12px;
    border-radius: 20px;
  }

  .swf-player {
    width: 100%;
  }

  .swf-fullscreen {
    width: 34px;
    height: 34px;
  }

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

  .share-strip,
  .about-section,
  .tips {
    padding: 20px;
  }
}
