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

:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --text: #111111;
  --muted: #6B6B6B;
  --border: rgba(17, 17, 17, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.page-hero {
  padding: 5rem 5% 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-tag {
  display: inline-block;
  background: #f3efe8;
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.guide {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 5% 6rem;
}

.guide h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.2rem 0 0.8rem;
}

.guide h2:first-child {
  margin-top: 0;
}

.guide p,
.guide li {
  color: #3d3d3d;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.guide ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.guide strong {
  color: var(--text);
}

.guide a {
  color: var(--text);
  font-weight: 600;
}

.guide-figure {
  margin: 1.6rem 0 2rem;
}

.guide-figure img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
}

.guide-figure figcaption {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.compare-wrap {
  overflow-x: auto;
  margin: 1.4rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}

.compare th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #f3efe8;
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.notice {
  margin: 0 0 1.4rem;
  padding: 0.9rem 1rem;
  background: #f3efe8;
  border-radius: 14px;
  font-size: 0.9rem;
  color: #3d3d3d;
  line-height: 1.6;
}

.related {
  margin-top: 2.4rem;
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.related h2 {
  margin-top: 0;
}

.guide-cta {
  margin-top: 2.5rem;
  padding: 2.2rem 1.6rem 1.8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  text-align: center;
}

.guide-cta h2 {
  margin: 0 0 0.75rem;
}

.guide-cta p {
  margin-bottom: 1.1rem;
}

.pricing-tag {
  display: inline-flex;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border-radius: 8px;
  background: #111;
  color: #fff;
  height: 44px;
  min-width: 158px;
}

.guide-cta .btn-store {
  color: #fff;
  font-weight: 500;
}

.store-icon {
  width: 22px;
  height: 22px;
}

.btn-store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.btn-store-copy small {
  font-size: 0.58rem;
}

.btn-store-copy strong {
  font-size: 1.02rem;
  color: #fff;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

.blog-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.5rem 5% 6rem;
}

.blog-block {
  margin-bottom: 4rem;
}

.blog-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.blog-block > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.video-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.guide-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.4rem;
  text-decoration: none;
  color: inherit;
}

.guide-card span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.guide-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.guide-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 600px) {
  .page-hero,
  .guide,
  .blog-wrap {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .compare td:first-child {
    white-space: normal;
  }
}
