@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;700;800;900&family=Noto+Sans+KR:wght@400;500;700;800;900&display=swap');

:root {
  --ink: #704830;
  --muted: #8e6d58;
  --cream: #f3eedb;
  --paper: #fffbf5;
  --sage: #71806a;
  --sage-dark: #704830;
  --accent: #eb9e5a;
  --accent-dark: #de8e48;
  --lavender: #a49bad;
  --line: rgba(112, 72, 48, 0.18);
  --shadow: 0 16px 40px rgba(112, 72, 48, 0.08);
  --font: 'Outfit', 'Noto Sans JP', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Apple SD Gothic Neo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: var(--font);
  --max: 1180px;
  --legal: 760px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: 100%;
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
}

.legal-shell {
  width: 100%;
  max-width: var(--legal);
  margin: auto;
  padding: 0 24px;
}

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

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 219, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--ink);
}

.top-nav .shell {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: grid;
  grid-template-columns: 40px auto;
  grid-template-rows: 22px 16px;
  column-gap: 12px;
  align-items: center;
}

.nav-logo img {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--line);
}

.nav-logo span {
  font-weight: 800;
  letter-spacing: .02em;
  font-family: var(--font);
}

.nav-logo small {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1;
}

.nav-links, .lang-switch {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 26px;
  font-size: .88rem;
  font-weight: 650;
  color: var(--muted);
}

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

.lang-switch {
  gap: 7px;
  padding: 5px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch .active {
  color: var(--ink);
  font-weight: 800;
}

/* Hero Section */
.hero {
  padding: 64px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow, .section-kicker {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.9vw, 2.45rem);
  line-height: 1.32;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 18px 0 24px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-points span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
}

.cta-button {
  display: inline-flex;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-weight: 800;
  border: 2.5px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.cta-button:hover {
  background: var(--accent-dark);
  transform: translateY(2px);
  box-shadow: 0 6px 0 var(--ink);
}

.cta-button:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 var(--ink);
}

.cta-button.disabled {
  opacity: .68;
  cursor: not-allowed;
  background: var(--muted);
  box-shadow: none;
  border-color: var(--muted);
}

.cta-button.disabled:hover {
  transform: none;
  background: var(--muted);
  box-shadow: none;
}

.hero-visual {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  border: 5px solid var(--ink);
  box-shadow: 0 16px 0 var(--line);
  background: var(--paper);
  max-width: 380px;
  margin: 0 auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Campaign Banner */
.campaign-banner {
  padding: 24px 0 0;
}

.banner-box {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 0 var(--line);
}

.banner-tag {
  background: var(--accent);
  color: var(--paper);
  border: 2px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.banner-text {
  font-size: 0.96rem;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* Moments Section */
.moments {
  padding: 100px 0;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.25;
  margin-top: 10px;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.moment-grid article {
  background: var(--cream);
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--line);
  display: flex;
  flex-direction: column;
}

.moment-shot {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid var(--ink);
  box-shadow: 0 6px 0 var(--line);
  margin-bottom: 24px;
  display: block;
  background: var(--paper);
}

.moment-number {
  font-family: var(--font);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.moment-grid h3 {
  font-family: var(--font);
  font-size: 1.24rem;
  margin: 10px 0;
}

.moment-grid p, .feature-card p, .section-heading > p, .secondary-copy p, .privacy-grid p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Features Section */
.features {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2, .secondary-copy h2, .privacy-grid h2 {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.28;
  margin-top: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 34px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 8px 0 var(--line);
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 var(--line);
}

.line-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--accent);
  background: var(--cream);
  box-shadow: 0 4px 0 var(--line);
  margin-bottom: 24px;
}

.line-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-family: var(--font);
  font-size: 1.24rem;
  margin: 18px 0 10px;
}

/* Secondary Feature (Memo Scan) */
.secondary-feature {
  padding: 110px 0;
  background: #e9e4db;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.secondary-grid img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 40px;
  border: 5px solid var(--ink);
  box-shadow: 0 16px 0 var(--line);
}

.secondary-copy > p:not(.section-kicker) {
  font-size: 1.08rem;
  margin-top: 24px;
}

.small-note {
  font-size: .8rem !important;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  margin-top: 24px;
}

/* Privacy Callout */
.privacy-callout {
  padding: 110px 0;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.privacy-grid .section-kicker {
  color: var(--accent);
}

.privacy-grid p {
  color: rgba(243, 238, 219, 0.88);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.privacy-pricing-note {
  color: var(--paper) !important;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  margin-bottom: 24px !important;
}

.privacy-visual {
  margin: 0;
  display: flex;
  justify-content: center;
}

.privacy-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 36px;
  border: 4px solid var(--paper);
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.4);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
}

.text-link:hover {
  color: var(--paper);
  border-color: var(--paper);
}

/* Appropriate Use */
.appropriate-use {
  padding: 80px 0;
}

.use-box {
  max-width: 820px;
  margin: auto;
  text-align: center;
  padding: 36px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 8px 0 var(--line);
}

.use-box h3 {
  font-family: var(--font);
  margin-bottom: 12px;
}

.use-box p {
  font-size: .92rem;
  color: var(--muted);
}

/* Bottom CTA */
.bottom-cta {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.bottom-cta h2 {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.12rem;
}

.text-center {
  text-align: center;
}

/* Footer */
.bottom-footer {
  padding: 56px 0 34px;
  background: var(--paper);
}

.bottom-footer > .shell {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: var(--font);
  font-size: 1.4rem;
  color: var(--ink);
}

.footer-brand span {
  color: var(--muted);
  font-size: .78rem;
}

.footer-content {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

.copyright {
  color: var(--muted);
  opacity: 0.8;
  font-size: .78rem;
  margin-top: 18px;
}

/* Legal Pages */
.legal-page {
  padding: 80px 0 120px;
}

.legal-header {
  margin-bottom: 52px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-family: var(--font);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.legal-header p, .legal-content p, .legal-content li {
  color: var(--muted);
}

.legal-content h2 {
  font-family: var(--font);
  font-size: 1.4rem;
  margin: 40px 0 12px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.legal-content h3 {
  font-family: var(--font);
  font-size: 1.12rem;
  margin: 24px 0 8px;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.4em;
  margin: 12px 0;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-top: 48px;
  color: var(--accent);
  font-weight: 800;
  border-bottom: 2px solid var(--accent);
}

/* Responsive Web (Mobile) */
@media(max-width: 900px) {
  .nav-links > a {
    display: none;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-grid, .section-heading, .secondary-grid, .privacy-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 38px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-points {
    justify-content: center;
  }
  .hero-visual {
    border-radius: 28px;
    max-width: 320px;
  }
  .moment-grid, .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-heading, .privacy-grid {
    gap: 24px;
  }
  .secondary-grid {
    gap: 42px;
  }
  .secondary-grid img {
    order: -1;
    border-radius: 28px;
    max-width: 320px;
  }
  .bottom-footer > .shell {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-content {
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

@media(max-width: 560px) {
  .shell {
    padding: 0 20px;
  }
  .top-nav .shell {
    height: 68px;
  }
  .nav-logo small {
    display: none;
  }
  .nav-logo {
    grid-template-rows: auto;
  }
  .nav-logo img {
    grid-row: auto;
  }
  .hero {
    padding-bottom: 64px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-copy {
    font-size: 1rem;
  }
  .hero-visual img {
    aspect-ratio: auto;
  }
  .moments, .features, .secondary-feature, .privacy-callout {
    padding: 76px 0;
  }
  .moment-grid {
    margin-top: 36px;
  }
  .moment-grid article, .feature-card {
    padding: 28px 24px;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .footer-links {
    gap: 14px 18px;
  }
}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .feature-card, .cta-button {
    transition: none;
  }
}

/* Mobile Nav Menu Styling */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 30;
}

.menu-toggle .hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 0;
  transition: transform 0.2s, top 0.2s;
}

.menu-toggle .hamburger::before {
  top: -6px;
}

.menu-toggle .hamburger::after {
  top: 6px;
}

.nav-open .menu-toggle .hamburger {
  background: transparent;
}

.nav-open .menu-toggle .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-open .menu-toggle .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

@media(max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    padding: 24px 28px;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 12px 30px rgba(112, 72, 48, 0.12);
    z-index: 10;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links > a {
    display: block !important;
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
    border-bottom: 1.5px solid var(--line);
  }
  .nav-links .lang-switch {
    margin-top: 8px;
    align-self: flex-start;
  }
}
#faq .use-box {
  text-align: left;
}

#faq .use-box h2,
#faq .use-box h3,
#faq .use-box p {
  text-align: left;
}

#faq .use-box h3 {
  margin-top: 18px;
}
