:root {
  color-scheme: light;
  --bg: #fffaf6;
  --surface: #ffffff;
  --ink: #241812;
  --muted: #6f6259;
  --line: #eadfd6;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --apricot: #fff0e4;
  --mint: #dff6ef;
  --blue: #dbeafe;
  --shadow: 0 24px 80px rgba(80, 45, 20, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 246, 0.86);
  border-bottom: 1px solid rgba(234, 223, 214, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.brand-text strong {
  margin-right: 0.5em;
  font-weight: 850;
}

.brand-text span {
  color: var(--muted);
  font-weight: 500;
}

.brand img,
.hero-title-icon {
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.32));
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--orange-dark);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-button {
  min-width: 64px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.active {
  background: var(--ink);
  color: #fff;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  min-height: auto;
  padding: clamp(34px, 5vw, 56px) clamp(20px, 6vw, 88px) clamp(24px, 4vw, 44px);
}

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

.hero-title-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  align-items: center;
}

.hero-title-icon {
  width: clamp(78px, 7.2vw, 104px);
  height: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  overflow-wrap: normal;
}

h1 {
  max-width: 720px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: 0;
}

html[lang="en"] h1 {
  column-gap: 0.25em;
}

h1 span {
  display: inline-block;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.52vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.privacy-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0;
}

.privacy-title span {
  white-space: nowrap;
}

html[lang="en"] .privacy-title {
  column-gap: 0.25em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-lead,
.intro-text p,
.support-section > .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
}

/* Lower hero block (App Store / trust pills) centers within the
   same 660px box as the lead text, so their horizontal centers line up. */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 660px;
}

.app-store-badge {
  display: flex;
  width: fit-content;
  margin: 30px 0 0;
}

.app-store-badge img {
  display: block;
  width: 142px;
  height: auto;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-shot {
  width: min(480px, 100%);
  height: auto;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 800px;
}

/* How it works */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.how-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 40px;
}

.how-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 18px 26px;
  background: #ffe4c8;
  border: 1px solid #f0cba8;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(80, 45, 20, 0.1);
}

.how-art-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  margin-bottom: 18px;
}

.how-art {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.how-step-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  background: var(--apricot);
  color: var(--orange-dark);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 950;
}

.how-step h3 {
  margin: 0 0 6px;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  color: var(--orange-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.why-shot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(36, 24, 18, 0.04),
    0 16px 34px rgba(36, 24, 18, 0.14);
}

.intro-text {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
}

.intro-text p {
  margin: 0;
}

#features {
  background: var(--apricot);
  border-top: 1px solid var(--line);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.support-section .section-heading {
  position: sticky;
  top: 94px;
}

.support-section .section-heading p:not(.eyebrow) {
  max-width: 520px;
}

.qa-list {
  display: grid;
  gap: 8px;
}

.qa-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(80, 45, 20, 0.05);
}

.qa-list summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 20px;
  color: var(--ink);
  font-weight: 680;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.qa-list summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--orange-dark);
  border-bottom: 2px solid var(--orange-dark);
  content: "";
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.16s ease;
}

.qa-list details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.qa-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.inline-mail-link {
  display: inline-block;
  margin-left: 0.35em;
  color: var(--orange-dark);
  font-weight: 800;
}

.feature-showcase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(28px, 5vw, 56px);
  margin: 40px 0 48px;
  padding: 32px clamp(20px, 5vw, 48px);
  background: linear-gradient(180deg, #fbe3c9 0%, #f3d3ae 100%);
  border: 1px solid rgba(36, 24, 18, 0.16);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(80, 45, 20, 0.06);
}

.showcase-item {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  min-width: 0;
}

.showcase-img {
  display: block;
  width: auto;
  height: clamp(280px, 30vw, 400px);
  max-width: none;
  filter: drop-shadow(0 0 20px rgba(36, 24, 18, 0.14));
}

.showcase-caption {
  margin: 0;
  color: #7a6248;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 36px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(80, 45, 20, 0.06);
}

.feature-card p,
.policy-panel p {
  margin: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.updated {
  margin: 58px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.policy-panel {
  margin-top: calc(0.82rem * 1.65 + 12px);
  padding: 32px;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-panel h3 + p {
  margin-bottom: 26px;
}

.policy-panel h3:last-of-type + p {
  margin-bottom: 34px;
}

.policy-panel p:last-child,
.policy-panel p.updated {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 30px clamp(20px, 6vw, 88px);
  background: var(--ink);
  color: #fff;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 56px);
}

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

.footer-brand-line {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 28px;
  white-space: nowrap;
}

.site-footer span {
  color: #d9cec5;
}

.site-footer small {
  color: #bdaea3;
  font-size: 0.82rem;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  min-height: 28px;
  gap: 18px;
  color: #d9cec5;
}

/* Footer SNS links (note / X) — official brand assets, dark footer */
.footer-social {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 28px;
  gap: 16px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d9cec5;
  font-size: 0.9rem;
  font-weight: 700;
  transition: opacity 0.15s ease;
}

.footer-social-link:hover {
  opacity: 0.72;
}

.footer-social-link img {
  display: block;
}

@media (max-width: 1080px) {
  .how-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .how-arrow {
    display: none;
  }
}

@media (max-width: 920px) {
  :root {
    --stack-content-gap: 24px;
  }

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

  .nav-links {
    display: none;
  }

  .hero,
  .intro-section,
  .two-column,
  .support-section {
    grid-template-columns: 1fr;
    gap: var(--stack-content-gap);
  }

  .support-section .section-heading {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-lead {
    max-width: none;
  }

  .hero-cta {
    max-width: none;
  }

  .how-track {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--stack-content-gap);
  }

  .feature-showcase {
    flex-direction: column;
    align-items: center;
    margin: var(--stack-content-gap) 0 32px;
    padding: 24px clamp(16px, 6vw, 28px);
  }

  .showcase-item {
    width: 100%;
    max-width: 480px;
  }

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

  .intro-text {
    margin-top: 0;
  }

  .policy-panel {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    gap: 7px;
    font-size: clamp(0.72rem, 3.1vw, 0.86rem);
  }

  .brand img {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
  }

  .brand-text {
    display: inline-flex;
  }

  .language-button {
    min-width: 44px;
    height: 32px;
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(1.56rem, 8.4vw, 2.68rem);
  }

  .hero-title-row {
    gap: 10px;
  }

  .hero-title-icon {
    width: 58px;
  }

  .app-store-badge {
    margin-top: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .policy-panel {
    padding: 24px;
  }

  .qa-list summary {
    padding: 16px 46px 16px 16px;
  }

  .qa-list summary::after {
    right: 18px;
  }

  .qa-list p {
    padding: 0 16px 18px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-left {
    flex-direction: column;
    gap: 14px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
