/* Wuji landing page – brand and layout (marketing spec) */
@font-face {
  font-family: "Jinsei";
  src: url("../assets/fonts/Jinsei.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Japandi: warm neutrals, soft contrast, natural restraint – light beige + paper feel */
  --color-bg: #f5f2ed;
  --color-bg-raw: 245, 242, 237;
  --color-surface: #fff;
  --color-surface-elevated: #fff;
  --color-text: #2c2a26;
  --color-muted: rgba(44, 42, 38, 0.6);
  --color-border: rgba(44, 42, 38, 0.08);
  --color-accent: #3d4a3d;
  --color-accent-dark: #2f392f;
  --color-accent-text: #3d4a3d;
  --color-on-accent: #fff;
  --color-wood: #e8e4df;
  /* Typography – Japandi: display (Jinsei) + refined sans (Plus Jakarta Sans) */
  --font-logo: "Jinsei", ui-serif, Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", monospace;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --max-width: 960px;
  --radius: 12px;
  --radius-sm: 8px;
  /* Typography scale – airy, high-end */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --text-base: 1.0625rem;
  --text-lead: 1.1875rem;
  --line-height-body: 1.75;
  --line-height-tight: 1.45;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: radial-gradient(ellipse 100% 80% at 85% 10%, rgba(61, 74, 61, 0.04) 0%, transparent 55%);
  font-weight: var(--font-weight-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Subtle paper/linen texture overlay – Japandi-style warmth (no extra assets) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  opacity: 0.04;
}

a {
  color: var(--color-accent-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Layout – Japandi: minimal header */
.site-header {
  padding: var(--space-xl) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 480px) {
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
  }
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--font-logo);
  font-weight: var(--font-weight-light);
  font-size: 1.75rem;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

/* Logo mark (brushstroke symbol) – invert so it reads dark on light header */
.site-header .logo .logo-mark {
  height: 1.6em;
  width: auto;
  display: block;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.85;
}

.site-header .logo:hover {
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.site-header nav a {
  position: relative;
  color: var(--color-text);
  padding: var(--space-sm) var(--space-md);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4ch;
  transition: color 0.25s ease;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-sm);
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header nav a:hover {
  color: var(--color-accent-text);
  text-decoration: none;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl) var(--space-md);
}

@media (max-width: 640px) {
  main {
    padding: 0 var(--space-md) var(--space-lg);
  }
}

/* Hero full-bleed for award-style layout */
.hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Footer – solid green bar (Shizukesa-style) */
.site-footer {
  margin-top: var(--space-3xl);
  padding: var(--space-xl) var(--space-xl);
  background: var(--color-accent-dark);
  color: var(--color-on-accent);
  font-size: 1rem;
  font-weight: var(--font-weight-light);
  box-shadow: 0 -4px 24px rgba(44, 42, 38, 0.06);
}

@media (max-width: 640px) {
  .site-footer {
    padding: var(--space-lg) var(--space-md);
  }
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.site-footer nav a {
  color: var(--color-on-accent);
  padding: var(--space-xs) var(--space-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.site-footer p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--color-on-accent);
  outline-offset: 2px;
}

/* Hero – generous vertical padding so section breathes; text and image center-aligned */
.hero {
  position: relative;
  overflow: visible;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px var(--space-xl);
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(245, 242, 237, 0.97) 50%, rgba(232, 228, 223, 0.3) 100%);
}

/* Faint vertical strokes – calligraphy / washi atmosphere */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='400'%3E%3Cpath d='M24 0v400 M48 0v400 M72 0v400 M96 0v400' stroke='%232c2a26' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 120px 400px;
  background-position: 70% 0;
  background-repeat: repeat-x;
}

/* Grid: natural height (no shrink); equal-height columns; text and image centered in row */
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 28rem) 1fr;
  gap: var(--space-3xl);
  align-items: stretch;
  text-align: left;
  overflow: visible;
}

.hero__copy {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  align-self: stretch;
  overflow: visible;
  padding-left: var(--space-2xl);
  padding-right: var(--space-2xl);
}

.hero__badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(61, 74, 61, 0.3);
  border-radius: 999px;
}

/* Staggered reveal on load */
@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge {
  animation: heroReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.05s;
}

.hero h1 {
  animation: heroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.12s;
}

.hero .tagline {
  animation: heroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.22s;
}

.hero .hero-sub {
  animation: heroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.32s;
}

.hero .cta-button {
  animation: heroReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.45s;
}

.hero__visual {
  animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  animation-delay: 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero h1,
  .hero .tagline,
  .hero .hero-sub,
  .hero .cta-button,
  .hero__visual {
    animation: none;
    opacity: 1;
  }
}

/* Hero image: same height as text column (row is sized by copy only; image fills visual cell) */
.hero-logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

/* No extra line – hero flows directly into quote section */

@media (max-width: 900px) {
  .hero {
    overflow: hidden;
    min-height: auto;
    padding: 80px var(--space-md);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero-logo {
    transform: none;
    max-height: 70vh;
  }

  .hero__copy {
    max-width: none;
  }

  /* Screen (TV image) below copy on mobile – natural DOM order */
  .hero__visual {
    order: 1;
    justify-content: center;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .cta-button {
    align-self: center;
  }

  /* Marketing-style: large, left-aligned; may be cut off on small viewports */
  .hero-logo {
    width: clamp(400px, 95vw, 600px);
    height: auto;
    object-position: left center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px var(--space-md);
  }
}

.hero h1 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-logo);
  font-weight: var(--font-weight-light);
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.hero .tagline {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.3125rem, 3vw, 1.75rem);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.hero .hero-sub {
  margin: 0 0 var(--space-xl);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  max-width: 34em;
  line-height: var(--line-height-body);
}

@media (max-width: 900px) {
  .hero .hero-sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  min-height: 48px;
  min-width: 44px;
  box-sizing: border-box;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: var(--font-weight-normal);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.cta-button:hover {
  text-decoration: none;
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(61, 74, 61, 0.25);
}

.cta-button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cta-button-disabled {
  background: var(--color-muted);
  cursor: not-allowed;
  pointer-events: none;
}

/* Prominent quote – full-bleed green bar, quote really stands out */
.prominent-quote {
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) var(--space-3xl) calc(50% - 50vw);
  padding: var(--space-3xl) var(--space-xl);
  background: var(--color-accent);
  border: none;
  box-shadow: 0 4px 32px rgba(61, 74, 61, 0.2);
}

@media (max-width: 640px) {
  .prominent-quote {
    padding: var(--space-2xl) var(--space-md);
    margin: 0 0 var(--space-2xl);
  }
}

.prominent-quote__block {
  max-width: 52em;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  border: none;
}

/* Remove default blockquote padding so quote aligns evenly on mobile */
blockquote.prominent-quote__block {
  padding-inline: 0;
}

.prominent-quote__text {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 200;
  line-height: 1.25;
  color: var(--color-on-accent);
  letter-spacing: 0.02em;
}

.prominent-quote__author {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: var(--font-weight-light);
  color: rgba(255, 255, 255, 0.9);
  font-style: normal;
  letter-spacing: 0.03em;
}

/* Available soon anchor (pre-launch) */
#available-soon {
  scroll-margin-top: 2rem;
}

/* Proof section – hero-style frames, asymmetric editorial grid */
.proof {
  margin: var(--space-3xl) 0;
}

@media (max-width: 640px) {
  .proof {
    margin: var(--space-2xl) 0;
  }
}

/* Proof + How it works: display font (Jinsei) for editorial punch (frontend-design) */
.proof__title,
.proof h2,
.how-it-works-section h2 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-logo);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--color-text);
}

.proof__title,
.proof h2 {
  margin-bottom: var(--space-sm);
}

.proof__intro {
  margin: 0 0 var(--space-2xl);
  text-align: center;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  letter-spacing: 0.02em;
  max-width: 100%;
  line-height: var(--line-height-body);
}

/* Proof: one large video block */
.proof-video {
  margin: 0 auto;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--color-wood);
  box-shadow: 0 20px 56px rgba(44, 42, 38, 0.1), 0 8px 24px rgba(44, 42, 38, 0.06);
}

.proof-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.proof-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: linear-gradient(160deg, rgba(61, 74, 61, 0.06) 0%, rgba(232, 228, 223, 0.5) 50%, rgba(245, 242, 237, 0.9) 100%);
  z-index: 1;
}

.proof-video-fallback__play {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.proof-video-fallback__play svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 12px rgba(44, 42, 38, 0.12));
}

.proof-video-fallback__label {
  font-size: 1rem;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* Scroll-triggered reveal – Japandi: gentle fade-in on enter viewport */
.section,
.prominent-quote,
.proof {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.section:not(.in-view),
.prominent-quote:not(.in-view),
.proof:not(.in-view) {
  opacity: 0;
  transform: translateY(18px);
}

.section.in-view,
.prominent-quote.in-view,
.proof.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section:not(.in-view),
  .prominent-quote:not(.in-view),
  .proof:not(.in-view) {
    opacity: 1;
    transform: none;
  }
}

/* Section green accent (Shizukesa-style bar) – keep left-aligned content */
.section--green-edge {
  padding-left: var(--space-xl);
  border-left: 4px solid var(--color-accent);
}

.section--green-edge h2 {
  text-align: left;
}

@media (max-width: 640px) {
  .section--green-edge {
    padding-left: var(--space-md);
  }
}

/* How it works – Japandi: clear hierarchy, generous spacing */
.section {
  margin: var(--space-3xl) 0;
}

.section:first-of-type {
  margin-top: var(--space-3xl);
}

@media (max-width: 640px) {
  .section {
    margin: var(--space-2xl) 0;
  }
}

.section h2 {
  margin: 0 0 var(--space-2xl);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-align: center;
}

/* How it works – horizontal layout with icons (Japandi, distinctive) */
.how-it-works-section h2 {
  margin-bottom: var(--space-2xl);
}

.how-it-works {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

/* Connector line between steps (desktop) – sits behind circles */
.how-it-works::before {
  content: "";
  position: absolute;
  top: calc(var(--space-lg) + 2.25rem); /* align with center of 4.5rem circle */
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 74, 61, 0.2) 20%, rgba(61, 74, 61, 0.2) 80%, transparent);
  pointer-events: none;
  z-index: 0;
}

.how-it-works__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.how-it-works__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-bg);
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
}

.how-it-works__icon svg {
  width: 2.375rem;
  height: 2.375rem;
}

.how-it-works__num {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.how-it-works__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
  color: var(--color-text);
  line-height: 1.3;
}

.how-it-works__desc {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: var(--font-weight-light);
  line-height: 1.5;
  color: var(--color-muted);
}

/* Mobile: vertical stack with left connector */
@media (max-width: 900px) {
  .how-it-works {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .how-it-works::before {
    left: 1.5rem;
    right: auto;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(61, 74, 61, 0.2) 10%, rgba(61, 74, 61, 0.2) 90%, transparent);
  }

  .how-it-works__step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto auto;
    align-items: start;
    text-align: left;
    padding: var(--space-md) 0;
    gap: 0 var(--space-md);
  }

  .how-it-works__icon {
    grid-column: 1;
    grid-row: 1 / -1;
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 0;
    width: 3rem;
    height: 3rem;
  }

  .how-it-works__icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .how-it-works__num {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
  }

  .how-it-works__title {
    grid-column: 2;
    grid-row: 2;
    font-size: 1rem;
  }

  .how-it-works__desc {
    grid-column: 2;
    grid-row: 3;
    font-size: 0.875rem;
  }
}

/* Features */
/* Features – cards with image + body (frontend-design: stand out) */
.features-section__intro {
  margin: 0 0 var(--space-2xl);
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  letter-spacing: 0.02em;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-body);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(44, 42, 38, 0.08);
  box-shadow: 0 12px 40px rgba(44, 42, 38, 0.06), 0 4px 12px rgba(44, 42, 38, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(44, 42, 38, 0.1), 0 8px 24px rgba(44, 42, 38, 0.06);
  border-color: rgba(44, 42, 38, 0.1);
}

.feature-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(232, 228, 223, 0.95) 0%, rgba(245, 242, 237, 0.98) 50%, rgba(61, 74, 61, 0.06) 100%);
}

.feature-card__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card__img-wrap img {
  transform: scale(1.03);
}

.feature-card__img-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(232, 228, 223, 0.9) 0%, rgba(245, 242, 237, 0.95) 40%, rgba(61, 74, 61, 0.08) 100%);
  pointer-events: none;
}

.feature-card__img-fallback.visible {
  display: block;
}

.feature-card__img-fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(61, 74, 61, 0.15);
  background: rgba(61, 74, 61, 0.06);
}

.feature-card__body {
  padding: var(--space-xl);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .feature-card__body {
    padding: var(--space-lg);
  }
}

@media (min-width: 900px) {
  .feature-card__body {
    padding: var(--space-md) var(--space-lg);
  }
}

.feature-list h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.03em;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .feature-list h3 {
    font-size: 1.0625rem;
  }
}

.feature-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: var(--line-height-body);
}

@media (min-width: 900px) {
  .feature-list p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

/* Packs: dynamic cards with image + hierarchy (featured vs coming soon) */
.packs-section__intro {
  margin: 0 0 var(--space-2xl);
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  letter-spacing: 0.02em;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-body);
}

.packs-featured {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-2xl);
}

@media (max-width: 640px) {
  .packs-featured {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }
}

.packs-coming {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.packs-coming__label {
  grid-column: 1 / -1;
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
}

@media (max-width: 640px) {
  .packs-coming {
    grid-template-columns: 1fr;
  }
}

.pack-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(44, 42, 38, 0.08);
  box-shadow: 0 12px 40px rgba(44, 42, 38, 0.06), 0 4px 12px rgba(44, 42, 38, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.2s ease;
}

.pack-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(44, 42, 38, 0.1), 0 8px 24px rgba(44, 42, 38, 0.06);
  border-color: rgba(44, 42, 38, 0.1);
}

.pack-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(232, 228, 223, 0.95) 0%, rgba(245, 242, 237, 0.98) 50%, rgba(61, 74, 61, 0.06) 100%);
}

.pack-card--dao .pack-card__img-wrap {
  background: linear-gradient(160deg, rgba(61, 74, 61, 0.08) 0%, rgba(232, 228, 223, 0.95) 40%, rgba(245, 242, 237, 0.98) 100%);
}

.pack-card__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pack-card:hover .pack-card__img-wrap img {
  transform: scale(1.03);
}

.pack-card__img-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(232, 228, 223, 0.9) 0%, rgba(245, 242, 237, 0.95) 40%, rgba(61, 74, 61, 0.08) 100%);
  pointer-events: none;
}

.pack-card__img-fallback.visible {
  display: block;
}

.pack-card__img-fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(61, 74, 61, 0.15);
  background: rgba(61, 74, 61, 0.06);
}

.pack-card__img-wrap--muted::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  z-index: 1;
}

.pack-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 4px;
}

.pack-badge-included {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(61, 74, 61, 0.25);
}

.pack-badge-available {
  background: var(--color-surface);
  color: var(--color-accent);
  border: 1px solid rgba(61, 74, 61, 0.3);
}

.pack-badge-coming {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-muted);
  border: 1px solid rgba(44, 42, 38, 0.1);
}

.pack-card__body {
  padding: var(--space-xl);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .pack-card__body {
    padding: var(--space-lg);
  }
}

.pack-card h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.pack-card p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: var(--line-height-body);
}

.pack-card-coming p {
  font-style: italic;
}

/* Screenshots grid + lightbox trigger */
.screenshots {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.screenshots figure {
  margin: 0;
}

.screenshots a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screenshots a:hover {
  text-decoration: none;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(44, 42, 38, 0.12);
}

.screenshots a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.screenshots img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screenshots figcaption {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  margin-top: var(--space-xs);
  padding: 0 var(--space-xs);
}

/* Lightbox – Japandi: soft overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(var(--color-bg-raw), 0.96);
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

@media (max-width: 640px) {
  .lightbox-overlay {
    padding: var(--space-md);
  }
}

.lightbox-overlay[aria-hidden="false"] {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-height: 90vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  padding: var(--space-md);
  background: var(--color-surface-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-surface);
}

.lightbox-close {
  top: -2.5rem;
  right: 0;
}

.lightbox-prev {
  left: -3rem;
}

.lightbox-next {
  right: -3rem;
}

@media (max-width: 640px) {
  .lightbox-prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .lightbox-next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* FAQ */
/* FAQ – accordion (one open at a time, smooth animation, Japandi) */
.faq-accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  margin: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.01em;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  gap: var(--space-md);
  -webkit-tap-highlight-color: transparent;
}

.faq-item__trigger:hover {
  color: var(--color-accent-text);
}

.faq-item__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.faq-item__question {
  flex: 1;
  line-height: 1.4;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.2rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(-135deg);
  margin-bottom: -0.15rem;
}

.faq-item__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__panel.is-open {
  max-height: 20rem;
}

.faq-item__panel p {
  margin: 0 0 var(--space-lg);
  padding: 0 0 var(--space-lg);
  font-size: 1.0625rem;
  line-height: var(--line-height-body);
  color: var(--color-muted);
}

.faq-item__panel a {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .faq-item__trigger {
    padding: var(--space-md) 0;
  }

  .faq-item__panel p {
    margin: 0 0 var(--space-md);
    padding: 0 0 var(--space-md);
  }
}

/* Legal/support pages – Japandi: clean hierarchy, airy */
.legal-page h1 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
}

.legal-page .effective-date {
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: var(--font-weight-light);
  margin-bottom: var(--space-xl);
}

.legal-page h2 {
  margin: var(--space-xl) 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
}

.legal-page p {
  font-size: 1.0625rem;
  line-height: var(--line-height-body);
}

.legal-page p,
.legal-page ul {
  margin: 0 0 var(--space-md);
}

.legal-page ul {
  padding-left: 1.5rem;
}
