:root {
  --background: #f7f7f5;
  --foreground: #0d0d14;
  --primary: #1430d4;
  --primary-foreground: #ffffff;
  --secondary: #eeeeed;
  --muted: #e2e2e0;
  --muted-foreground: #6b6b69;
  --border: rgba(13, 13, 20, 0.09);
  --radius: 2px;
  --max: 72rem;
  --font: "DM Sans", "Noto Sans JP", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

#pricing {
  scroll-margin-top: 5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(48rem, calc(100% - 3rem));
  margin-inline: auto;
}

.wrap-faq {
  width: min(48rem, calc(100% - 3rem));
  margin-inline: auto;
}

.wrap-cta {
  width: min(36rem, calc(100% - 3rem));
  margin-inline: auto;
  text-align: center;
}

.wrap-pricing {
  width: min(48rem, 100%);
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--foreground);
}

.nav-link.is-active {
  font-weight: 500;
}

.menu-btn {
  display: grid;
  place-items: center;
  color: var(--foreground);
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.nav-mobile.is-open {
  display: flex;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-btn,
  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-lg svg.icon-chrome {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-inverted {
  background: var(--primary-foreground);
  color: var(--primary);
}

.btn-inverted:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid rgba(247, 247, 245, 0.25);
  color: var(--background);
}

.btn-outline:hover {
  background: rgba(247, 247, 245, 0.1);
}

.btn-ghost {
  border: 1px solid rgba(247, 247, 245, 0.25);
  color: rgba(247, 247, 245, 0.8);
}

.btn-ghost:hover {
  background: rgba(247, 247, 245, 0.1);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-md {
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.btn-bold {
  font-weight: 700;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .actions {
    flex-direction: row;
  }
}

/* Hero */
.hero {
  background: var(--foreground);
  color: var(--background);
  padding: 9rem 0 7rem;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 50%, transparent);
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 2rem;
}

.badge svg {
  width: 11px;
  height: 11px;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.hero-lead {
  color: rgba(247, 247, 245, 0.65);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.hero-note {
  margin-top: 1.5rem;
  color: rgba(247, 247, 245, 0.4);
  font-size: 0.875rem;
}

/* Mockup */
.mockup {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.mockup-bar {
  background: #111118;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dots {
  display: flex;
  gap: 0.375rem;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-ext {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  padding: 0.25rem 0.5rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.mockup-ext svg {
  width: 10px;
  height: 10px;
}

.mockup-body {
  padding: 1rem;
  display: grid;
  gap: 0.625rem;
}

.job {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.job.is-hidden {
  opacity: 0.25;
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.job-cat {
  display: inline-block;
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  padding: 0.125rem 0.375rem;
  margin-bottom: 0.25rem;
}

.job-title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}

.job-price {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.job-hide {
  flex-shrink: 0;
  border: 1px solid #C62828;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: #C62828;
}

.job-hidden-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: color-mix(in srgb, var(--primary) 70%, transparent);
  font-size: 0.75rem;
  white-space: nowrap;
}

.job-hidden-label svg {
  width: 11px;
  height: 11px;
}

.mockup-foot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  text-align: center;
  padding-top: 0.25rem;
}

/* Stats */
.stats {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
}

.stat {
  text-align: center;
  padding: 1rem 1.5rem;
}

.stat + .stat {
  border-top: 1px solid var(--border);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-top: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat + .stat {
    border-top: 0;
    border-left: 1px solid var(--border);
  }
}

/* Sections */
.section {
  padding: 7rem 0;
}

.section-tight {
  padding: 5rem 0;
}

.section-muted {
  background: var(--secondary);
}

.section-dark {
  background: var(--foreground);
  color: var(--background);
}

.section-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section-border {
  border-top: 1px solid var(--border);
}

.kicker {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.section h2,
.legal h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.intro {
  max-width: 42rem;
  margin-bottom: 4rem;
}

.intro h2 {
  margin-bottom: 1.5rem;
}

.lead {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.center {
  text-align: center;
  margin-bottom: 5rem;
}

.center h2 {
  font-size: 2.25rem;
}

.center .lead {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(247, 247, 245, 0.5);
}

.cards {
  display: grid;
  gap: 1px;
  background: var(--border);
}

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

  .cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--background);
  padding: 2rem;
}

.section-muted .card {
  background: var(--secondary);
}

@media (min-width: 1024px) {
  .card {
    padding: 2.5rem;
  }
}

.card-icon {
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-icon-lg {
  color: var(--primary);
}

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

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
}

.tag-muted {
  background: var(--muted);
  color: var(--muted-foreground);
}

.tag-premium {
  background: var(--primary);
  color: var(--primary-foreground);
}

.card h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.card h3.bold {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.step-n {
  font-size: 3rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--primary) 15%, transparent);
  margin-bottom: 2rem;
  line-height: 1;
  font-family: var(--mono);
}

/* Pricing */
.pricing {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  padding: 2.5rem;
}

.plan-free {
  background: var(--foreground);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-premium {
  background: var(--primary);
  position: relative;
}

.plan-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  color: rgba(247, 247, 245, 0.5);
}

.plan-premium .plan-kicker {
  color: rgba(255, 255, 255, 0.6);
}

.plan-price {
  margin-bottom: 2rem;
}

.plan-price strong {
  font-size: 3rem;
  font-weight: 700;
}

.plan-price span {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  color: rgba(247, 247, 245, 0.4);
}

.plan-premium .plan-price span {
  color: rgba(255, 255, 255, 0.5);
}

.plan-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.plan-list svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.plan-premium .plan-list svg {
  color: var(--primary-foreground);
}

.plan-list .off {
  color: rgba(247, 247, 245, 0.3);
}

.plan-list .off svg {
  color: inherit;
}

.recommend {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--background);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-note {
  text-align: center;
  color: rgba(247, 247, 245, 0.35);
  font-size: 0.75rem;
  margin-top: 2rem;
  letter-spacing: 0.04em;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}

.faq-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-btn svg {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding-bottom: 1.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-a {
  display: block;
}

.bottom-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.bottom-cta p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.section-primary .bottom-cta h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.section-primary .bottom-cta p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
}

/* Product */
.page-hero {
  padding: 9rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.page-hero p.lead {
  font-size: 1.25rem;
  max-width: 42rem;
}

.feature-row {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.feature-row h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.feature-copy {
  display: grid;
  gap: 1rem;
}

.feature-copy p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.visual {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

@media (min-width: 1024px) {
  .visual {
    padding: 2.5rem;
  }
}

.manage {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  text-align: left;
  width: 100%;
  max-width: 28rem;
}

.manage h3 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.manage .sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.manage li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.625rem 0.75rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.manage li span:last-child {
  color: var(--primary);
  font-size: 10px;
  white-space: nowrap;
}

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

.price-visual strong {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price-visual p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Legal */
.legal {
  padding: 9rem 0 7rem;
}

.legal h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.legal-date {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 3.5rem;
}

.legal-body {
  display: grid;
  gap: 3rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.legal-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-body p,
.legal-body li {
  color: var(--muted-foreground);
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  display: grid;
  gap: 0.5rem;
}

.legal-body a {
  text-decoration: underline;
}

.legal-body a:hover {
  color: var(--foreground);
}

.legal-table {
  border-top: 1px solid var(--border);
}

.legal-row {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .legal-row {
    grid-template-columns: 200px 1fr;
  }
}

.legal-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.125rem;
}

.legal-row dd {
  color: var(--muted-foreground);
  margin: 0;
}

.legal-note {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--muted-foreground) 70%, transparent);
  line-height: 1.7;
  padding-top: 1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 3.5rem 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-tag {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav a:hover {
  color: var(--foreground);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-disclaimer {
  color: color-mix(in srgb, var(--muted-foreground) 60%, transparent);
}
