/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f6efe6;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffaf3;
  --card: #fffdf9;
  --text: #231b16;
  --muted: #6c5d51;
  --line: rgba(96, 70, 45, 0.12);
  --primary: #c76d4d;
  --primary-deep: #a8593d;
  --accent: #86a36f;
  --accent-soft: #edf3e6;
  --shadow: 0 24px 64px rgba(95, 62, 35, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 242, 224, 0.95), transparent 32%),
    linear-gradient(180deg, #f9f3ec 0%, #f6efe6 32%, #fbf8f4 100%);
  -webkit-font-smoothing: antialiased;
}

/* ===== Layout ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249, 243, 236, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(96, 70, 45, 0.08);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.header-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

/* ===== Hero ===== */
.hero {
  padding: 132px 0 88px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(199, 109, 77, 0.12);
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-sub {
  max-width: 34rem;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
}

/* ===== Button ===== */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(199, 109, 77, 0.22);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(199, 109, 77, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-full {
  width: 100%;
  text-align: center;
  padding: 18px;
  font-size: 17px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #eadfce;
}

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

.hero-badge {
  position: absolute;
  max-width: 250px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid rgba(96, 70, 45, 0.08);
  box-shadow: 0 20px 50px rgba(69, 49, 31, 0.12);
  backdrop-filter: blur(10px);
}

.hero-badge strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-badge span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-badge-top {
  top: 28px;
  left: -18px;
}

.hero-badge-bottom {
  right: -12px;
  bottom: 22px;
}

/* ===== Values ===== */
.values {
  padding: 56px 0 88px;
}

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

.value-card {
  position: relative;
  padding: 32px;
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(102, 75, 51, 0.06);
}

.value-icon {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.value-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

/* ===== Usecases ===== */
.usecases {
  padding: 88px 0;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.56) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-title-left {
  text-align: left;
}

.usecase-list {
  display: grid;
  gap: 14px;
}

.usecase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.usecase-item:hover {
  border-color: rgba(199, 109, 77, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(96, 70, 45, 0.08);
}

.usecase-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(134, 163, 111, 0.14);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.usecase-label {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
}

/* ===== Privacy ===== */
.privacy {
  padding: 88px 0;
}

.privacy-card {
  text-align: center;
  padding: 56px 40px;
  background:
    radial-gradient(circle at top, rgba(255, 242, 224, 0.9), transparent 42%),
    var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.privacy-card h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  text-wrap: balance;
}

.privacy-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.privacy-list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.privacy-list li {
  font-size: 15px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.privacy-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Register ===== */
.register {
  padding: 88px 0 110px;
}

.register-sub {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.register-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.register-copy {
  padding: 10px 8px 0 0;
}

.register-points {
  list-style: none;
  display: grid;
  gap: 12px;
}

.register-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 15px;
}

.register-points li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}

.register-form {
  background: rgba(255, 253, 249, 0.92);
  padding: 40px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px rgba(102, 75, 51, 0.09);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.required {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: #ff6b6b;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(96, 70, 45, 0.14);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input[type="email"]:focus {
  border-color: var(--primary);
}

.radio-group {
  display: grid;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(96, 70, 45, 0.12);
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  font-weight: 400;
}

.radio-label:hover {
  border-color: rgba(199, 109, 77, 0.38);
  background: rgba(255, 248, 242, 0.92);
}

.radio-label input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: #8f8478;
  margin-top: 16px;
}

.beta-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* Beta status indicator */
.beta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 16px;
  background: rgba(134, 163, 111, 0.12);
  border: 1px solid rgba(134, 163, 111, 0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #4a7c35;
}
.beta-status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Register form inner */
.register-form-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.register-form-lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* Register FAQ */
.register-qa {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.register-qa-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.register-qa-item summary {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.register-qa-item summary::-webkit-details-marker { display: none; }
.register-qa-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s;
}
.register-qa-item[open] summary::after { content: '−'; }
.register-qa-item p {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(96, 70, 45, 0.08);
  text-align: center;
}

.footer-logo {
  font-family: 'Oxanium', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 12px 0;
}

.footer-legal a {
  font-size: 12px;
  color: #9d9287;
  text-decoration: none;
}

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

.footer-copy {
  font-size: 12px;
  color: #9d9287;
}

/* ===== Responsive ===== */
@media (min-width: 700px) {
  .radio-group {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero-shell,
  .register-shell,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 114px;
  }

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

  .hero-sub,
  .section-head {
    max-width: none;
  }

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

  .hero-visual {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-badge-top {
    left: 16px;
  }

  .hero-badge-bottom {
    right: 16px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .header-link {
    display: none;
  }

  .hero {
    padding: 108px 0 72px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-image-frame {
    border-radius: 24px;
  }

  .section-title,
  .section-title-left,
  .section-head {
    text-align: left;
  }

  .privacy-card {
    padding: 42px 22px;
  }

  .register-form {
    padding: 28px 20px;
  }

  .values,
  .usecases,
  .privacy,
  .register {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .usecase-item {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .usecase-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .hero-points {
    justify-content: flex-start;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }
}
