/* ============ Tsumupick - Common Styles ============ */

:root {
  --color-primary: #A855F7;       /* Purple 500 */
  --color-primary-dark: #9333EA;  /* Purple 600 */
  --color-pink: #EC4899;          /* Pink 500 */
  --color-orange: #F59E0B;        /* Amber 500 */
  --color-accent: #EC4899;
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAF5FF;        /* Purple 50 */
  --color-border: #E5E7EB;
  --color-success: #10B981;
  --gradient-brand: linear-gradient(135deg, #EC4899 0%, #A855F7 100%);
  --gradient-brand-soft: linear-gradient(135deg, #FDF2F8 0%, #FAF5FF 100%);
  --max-width: 1080px;
  --content-width: 720px;
  --radius: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
  --shadow-brand: 0 8px 24px -4px rgba(168, 85, 247, 0.35);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic",
    Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

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

/* ============ Header ============ */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.site-header__logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-header__nav a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-header__nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ============ Hero ============ */

.hero {
  background: var(--gradient-brand-soft);
  padding: 96px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 24px;
}

.hero__subheadline {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-block;
  background: var(--gradient-brand);
  color: white;
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow-brand);
  transition: all 0.15s;
}

.hero__cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(168, 85, 247, 0.5);
  text-decoration: none;
}

/* ============ Section ============ */

.section {
  padding: 80px 24px;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__lead {
  text-align: center;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ============ Steps ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: var(--shadow-brand);
}

.step__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============ Features ============ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature {
  padding: 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature__desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============ Pricing ============ */

.pricing {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 40px;
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-brand);
  background-image: linear-gradient(white, white), var(--gradient-brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.pricing__plan {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing__price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing__price-unit {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 400;
}

.pricing__initial {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.pricing__features {
  text-align: left;
  list-style: none;
  margin: 24px 0;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.pricing__features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--color-text);
}

.pricing__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

/* ============ Target ============ */

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

.target {
  text-align: center;
  padding: 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.target__emoji {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.target__name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============ FAQ ============ */

.faq {
  max-width: var(--content-width);
  margin: 40px auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq__q {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.faq__q::before {
  content: "Q. ";
  color: var(--color-primary);
}

.faq__a {
  color: var(--color-text-light);
  padding-left: 24px;
}

.faq__a::before {
  content: "A. ";
  color: var(--color-text-light);
  font-weight: 600;
  margin-left: -24px;
}

/* ============ CTA Section ============ */

.cta-section {
  background: var(--gradient-brand);
  color: white;
  text-align: center;
  padding: 80px 24px;
}

.cta-section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.cta-section__lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.cta-section__btn {
  display: inline-block;
  background: white;
  color: var(--color-primary);
  padding: 16px 40px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.cta-section__btn:hover {
  color: var(--color-primary-dark);
  background: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ============ Footer ============ */

.site-footer {
  background: #111827;
  color: #9CA3AF;
  padding: 56px 24px 24px;
  font-size: 0.9rem;
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer__title {
  color: white;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #9CA3AF;
}

.site-footer a:hover {
  color: white;
  text-decoration: none;
}

.site-footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ============ Legal Pages ============ */

.legal-page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-page__updated {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.legal-page h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page h3 {
  font-size: 1.075rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}

.legal-page th,
.legal-page td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
}

.legal-page th {
  background: var(--color-bg-alt);
  font-weight: 600;
}

/* ============ Responsive ============ */

@media (max-width: 640px) {
  .site-header__nav {
    gap: 16px;
  }

  .site-header__nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 64px 24px 40px;
  }

  .section {
    padding: 56px 24px;
  }
}
