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

:root {
  --dark:        #1a1612;
  --dark-2:      #2e231a;
  --light:       #f5ede0;
  --white:       #fdfaf5;
  --text:        #1a1612;
  --text-muted:  #7a6e62;
  --text-light:  #f0e6d6;
  --text-dim:    #a09080;
  --accent:      #bf8438;
  --accent-h:    #a06e2a;
  --green:       #16a34a;
  --red:         #dc2626;
  --border:      #e5d8c5;
  --radius:      10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,245,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--dark-2) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

.hero {
  background: var(--dark);
  padding: 96px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  overflow: hidden;
}

.hero-copy { max-width: 500px; }

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.hero h1 span { color: #d4a85a; }

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); }

.btn-secondary {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.btn-secondary:hover { color: var(--text-light); }

.hero-note {
  margin-top: 16px;
  font-size: 12px;
  color: #8a7868;
}

.mock-wrap {
  flex-shrink: 0;
  perspective: 1000px;
}

.mock-popup {
  width: 340px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(-6deg) rotateX(2deg);
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--dark);
  color: var(--text-light);
}

.mock-bar-brand { font-size: 13px; font-weight: 600; }
.mock-bar-url   { font-size: 11px; color: #9e8e7a; }

.mock-score-section {
  padding: 12px 14px 10px;
  border-bottom: 1px solid #ede8de;
}

.mock-score-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9e8e7a;
  margin-bottom: 6px;
}

.mock-score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-grade      { font-size: 22px; font-weight: 800; color: #16a34a; line-height: 1; }
.mock-grade-desc { font-size: 13px; font-weight: 600; color: #2a2018; }
.mock-score-num  { margin-left: auto; font-size: 16px; font-weight: 700; color: #1a1612; }

.mock-progress { height: 3px; background: #ede8de; border-radius: 2px; }
.mock-progress-fill { height: 100%; width: 84%; background: #16a34a; border-radius: 2px; }

.mock-tabs {
  display: flex;
  background: #f5ede0;
  border-bottom: 1px solid #e5d8c5;
}

.mock-tab {
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #7a6e62;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.mock-tab.active { color: #1a1612; border-bottom-color: #1a1612; }

.mock-tab .pro-tag {
  font-size: 8px;
  background: #fdf0d8;
  color: #a07020;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 4px;
  font-weight: 700;
}

.mock-rows { list-style: none; }

.mock-row {
  display: grid;
  grid-template-columns: 22px 1fr 80px 60px;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid #ede8de;
  gap: 2px;
}

.mock-dot { width: 7px; height: 7px; border-radius: 50%; }
.mock-dot.green { background: #16a34a; }
.mock-dot.red   { background: #dc2626; }

.mock-hname {
  font-size: 11px;
  font-weight: 500;
  color: #1a1612;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-risk            { font-size: 10px; font-weight: 600; text-align: center; }
.mock-risk.high       { color: #b91c1c; }
.mock-risk.medium     { color: #92400e; }

.mock-status          { font-size: 10px; font-weight: 600; text-align: center; padding: 2px 0; border-radius: 3px; }
.mock-status.active   { color: #166534; background: #dcfce7; }
.mock-status.missing  { color: #991b1b; background: #fee2e2; }

section { padding: 88px 24px; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-heading {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 52px;
}

.pricing .section-heading,
.pricing .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.features { background: var(--light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #fdf0d8;
}

.feature-icon svg { width: 20px; height: 20px; stroke: var(--accent); }

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.pro-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fdf0d8;
  color: #a07020;
  padding: 2px 6px;
  border-radius: 4px;
}

.pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
}

.pricing-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}

.pricing-tier {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.pricing-features li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d6f0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li .check svg {
  width: 10px;
  height: 10px;
  stroke: var(--green);
  stroke-width: 2.5;
}

.pricing-features li .cross {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fce8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li .cross svg {
  width: 10px;
  height: 10px;
  stroke: var(--red);
  stroke-width: 2.5;
}

.pricing-features li.dim {
  color: var(--text-muted);
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: none;
  width: 100%;
  transition: background 0.15s, transform 0.1s;
}

.btn-pricing-free {
  background: var(--light);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-pricing-free:hover { background: #ede5d5; }

.btn-pricing-pro {
  background: var(--accent);
  color: var(--white);
}

.btn-pricing-pro:hover { background: var(--accent-h); transform: translateY(-1px); }

footer {
  background: var(--dark);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-links { display: flex; gap: 24px; list-style: none; }

.footer-links a {
  font-size: 13px;
  color: #9a8878;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-dim); }

.footer-copy { font-size: 13px; color: #7a6a5a; }

.policy-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.15s;
}
.policy-back:hover { color: var(--text); }

.policy-page h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.policy-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
  display: block;
}

.policy-intro {
  font-size: 15px;
  color: #44383a;
  line-height: 1.75;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.policy-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.policy-section:last-child { border-bottom: none; margin-bottom: 0; }

.policy-page h2 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.policy-page p {
  font-size: 15px;
  color: #44383a;
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-page p:last-child { margin-bottom: 0; }

.policy-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-page li {
  font-size: 15px;
  color: #44383a;
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.policy-page li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.policy-page a { color: var(--accent); text-decoration: none; }
.policy-page a:hover { text-decoration: underline; }

code {
  font-family: 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
  font-size: 13px;
  background: #f0e8d6;
  color: var(--text);
  padding: 1px 6px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 64px 24px 56px;
    text-align: center;
    gap: 48px;
  }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .mock-wrap { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { font-size: 26px; }
  .hero h1 { font-size: 36px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 16px; }
  section { padding: 64px 24px; }
}
