:root {
  --gray-50: #f7f7f8;
  --gray-100: #eeeeef;
  --gray-200: #dcdcdf;
  --gray-300: #c0c0c5;
  --gray-500: #8e8e94;
  --gray-700: #2b2b30;
  --gray-900: #0b0b0f;
  --accent-dark: #111214;
  --accent-light: #ffffff;
  --text-body: #1c1c1f;
  --text-subtle: #4c4c54;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin: 0;
}

.page {
  overflow-x: hidden;
}

.container {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  width: min(780px, 100%);
}

.section {
  padding: clamp(64px, 10vw, 110px) 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vw, 140px) 0;
  background-color: #050505;
  background-image: url('assets/hero_sample2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 0 auto;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 48px);
  box-shadow: 0 30px 80px rgba(11, 11, 15, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .hero-grid {
    justify-content: flex-start;
  }

  .hero-copy {
    margin: 0;
  }
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  margin: 24px 0 16px;
}

.hero-lede {
  font-size: 1.25rem;
  color: var(--text-subtle);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-buttons--center {
  justify-content: center;
}

.cta-buttons {
  margin-bottom: 32px;
  gap: 20px;
}

.cta-form {
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:focus-visible {
  outline: 2px solid #4d7fff;
  outline-offset: 3px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-dark {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.btn-dark:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
  box-shadow: none;
}

.btn-outline[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-light {
  background: #fff;
  color: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
  opacity: 0.8;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.waitlist-form input {
  flex: 1;
  min-width: 250px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px solid var(--gray-200);
  font-size: 1rem;
  transition: border-color 150ms ease;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--accent-dark);
}

.waitlist-form--dark input {
  background: #16161b;
  border-color: #3d3d44;
  color: #fff;
}

.waitlist-form--dark input::placeholder {
  color: #9b9ba5;
}

.waitlist-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #6b6b75;
}

.waitlist-feedback {
  font-size: 0.95rem;
  margin: -4px 0 8px;
  min-height: 1.2em;
  color: #0f8d54;
}

.waitlist-feedback.is-error {
  color: #c3192c;
}

.waitlist-feedback.is-success {
  color: #0f8d54;
}

.problem {
  background: var(--gray-50);
}

.section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.section-lede {
  font-size: 1.2rem;
  color: var(--text-subtle);
  max-width: 640px;
  margin: 0 auto 48px;
}

.strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.info-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
}

.info-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 16px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent-dark);
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-subtle);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 992px) {
  .step {
    flex-direction: row;
    align-items: center;
  }

  .step.step--reverse {
    flex-direction: row-reverse;
  }
}

.step-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-copy h3 {
  font-size: 2rem;
}

.step-copy p {
  font-size: 1.1rem;
  color: var(--text-subtle);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-media {
  flex: 1;
}

.media-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 32px;
}

.features {
  background: var(--gray-900);
  color: #fff;
}

.features .section-lede {
  color: #b4b4c2;
}

.feature-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background: #16161b;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid #2f2f36;
  height: 100%;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #262630;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-card p {
  color: #a0a0b2;
}

.maker-card {
  background: var(--gray-50);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid var(--gray-200);
}

.maker-header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.maker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maker-subtitle {
  font-weight: 600;
  color: var(--text-subtle);
}

.maker-card blockquote {
  margin: 0 0 32px;
  font-size: 1.2rem;
  color: #33343a;
  border-left: 4px solid var(--accent-dark);
  padding-left: 24px;
}

.maker-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 600;
}

.maker-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
}

.cta {
  background: var(--gray-900);
  color: #fff;
  text-align: center;
}

.cta .section-lede {
  color: #a0a0b2;
}

.site-footer {
  background: #000;
  color: #b5b5c0;
  padding: 72px 0 32px;
  border-top: 1px solid #1c1c1f;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.footer-grid h4 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-grid p {
  margin-bottom: 16px;
}

.footer-columns {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-columns h5 {
  color: #fff;
  margin-bottom: 12px;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-columns a,
.footer-columns span {
  color: #b5b5c0;
  font-size: 0.95rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #1f1f25;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-meta a {
  color: #8d8da2;
}

@media (max-width: 599px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .hero-buttons,
  .hero-buttons--center {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons {
    margin-bottom: 24px;
  }
}
