:root {
  --mynapet-blue: #003fae;
  --mynapet-blue-dark: #002a78;
  --mynapet-blue-foreground: #ffffff;
  --mynapet-gold: #dba935;
  --mynapet-card: #fffdf8;
  --mynapet-border-gold: rgb(225 181 62 / 0.4);
  --mynapet-bg: #faf9f5;

  --fg: #1f2937;
  --fg-muted: #6b7280;
  --rule: #e5e7eb;

  --radius-lg: 1.5rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  background: var(--mynapet-bg);
  color: var(--fg);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.site-header {
  background: var(--mynapet-blue);
  color: var(--mynapet-blue-foreground);
  padding: 14px 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.brand {
  color: var(--mynapet-blue-foreground);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Hero ---- */

.hero {
  margin: 32px -16px 0;
  padding: 48px 24px 56px;
  background: linear-gradient(160deg, var(--mynapet-blue) 0%, var(--mynapet-blue-dark) 100%);
  color: var(--mynapet-blue-foreground);
  text-align: center;
  border-radius: 0;
}

@media (min-width: 720px) {
  .hero {
    margin: 32px 0 0;
    border-radius: var(--radius-lg);
  }
}

.hero h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}

@media (min-width: 720px) {
  .hero h1 {
    font-size: 32px;
  }
}

.hero .lead {
  font-size: 15px;
  line-height: 1.85;
  margin: 0 auto 28px;
  max-width: 480px;
  opacity: 0.95;
}

.cta {
  display: inline-block;
  background: var(--mynapet-gold);
  color: #1f1300;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.18);
  transition: transform 0.15s ease;
}

.cta[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
}

.cta:hover {
  transform: translateY(-1px);
}

.hero-note {
  margin: 16px 0 0;
  font-size: 12px;
  opacity: 0.8;
}

/* ---- Section ---- */

.section {
  margin: 56px 0;
}

.section h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--mynapet-blue);
  margin: 0 0 24px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--mynapet-gold);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ---- Features ---- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

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

.feature-list li {
  background: var(--mynapet-card);
  border: 1px solid var(--mynapet-border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.04);
}

.feature-list h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mynapet-blue);
  line-height: 1.5;
}

.feature-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fg);
}

/* ---- Steps ---- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: var(--mynapet-card);
  border: 1px solid var(--mynapet-border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--mynapet-blue);
  color: var(--mynapet-blue-foreground);
  font-weight: 800;
  font-size: 16px;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mynapet-blue);
  line-height: 1.5;
}

.steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

/* ---- Company ---- */

.company {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  background: var(--mynapet-card);
  border: 1px solid var(--mynapet-border-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0;
  font-size: 14px;
}

.company dt {
  font-weight: 800;
  color: var(--fg-muted);
}

.company dd {
  margin: 0;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--mynapet-blue);
  color: var(--mynapet-blue-foreground);
  text-align: center;
  padding: 32px 20px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  margin-top: 48px;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
}

.legal-links a {
  color: var(--mynapet-blue-foreground);
  text-decoration: none;
  opacity: 0.9;
}

.legal-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

.site-footer small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}
