/* Global styles */
body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  color: #333;
}

header {
  /* Updated to a softer gradient for a more modern look */
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  padding: 24px 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #e9ecef;
  padding: 15px 10px;
  text-align: center;
  font-size: 0.85em;
  color: #444;
}

main {
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Buttons */
button, .btn {
  background: linear-gradient(135deg, #4facfe 0%, #00c6ff 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  margin: 10px 0;
  font-size: 1em;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

button:hover, .btn:hover {
  background: linear-gradient(135deg, #5dc7ff 0%, #00d6ff 100%);
  transform: translateY(-2px);
}

/* Forms */
form {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

form input[type="text"],
form input[type="number"],
form select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.form-section {
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

/* Result and summary cards */
.result-container, .dashboard-summary {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.result-container h2 {
  margin-top: 0;
}

.result-list {
  list-style-type: none;
  padding: 0;
}

.result-list li {
  margin-bottom: 5px;
}

/* Dashboard table */
.lead-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.lead-table th, .lead-table td {
  border: 1px solid #e0e0e0;
  padding: 8px;
  text-align: left;
}

.lead-table th {
  background-color: #f2f2f2;
}

.dashboard-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-card {
  flex: 1 1 150px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.summary-card h3 {
  margin: 0 0 4px 0;
  font-size: 1.1em;
  color: #007bff;
}

.summary-card p {
  margin: 4px 0 0;
  font-size: 1em;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  main {
    padding: 10px;
  }
  button, .btn {
    width: 100%;
  }
}

/* Intro and buttons styling */
.intro {
  text-align: center;
  margin-bottom: 20px;
}
.intro p {
  font-size: 1.2em;
  color: #555;
}
.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.buttons .btn {
  width: auto;
  min-width: 160px;
  text-align: center;
}

/* Reference and advice sections on the result page */
.reference-section,
.advice-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.reference-section p,
.advice-section p {
  margin: 0;
  line-height: 1.5;
  color: #333;
}

.advice-section ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
  color: #333;
}

.advice-section li {
  margin-bottom: 6px;
}

.consultation-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}
/* Calculator page */
.header-subtitle {
  margin: 6px auto 0;
  max-width: 720px;
  font-size: 1rem;
  opacity: 0.92;
}

.calculator-notice,
.general-advice {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.calculator-notice h2,
.general-advice h2 {
  margin-top: 0;
}

.calculator-notice p,
.general-advice p,
.general-advice li {
  line-height: 1.6;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.calculator-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calculator-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #006bb6;
}

.calculator-form {
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.calculator-result {
  margin-top: 16px;
}

.result-box {
  background: #f8fbff;
  border: 1px solid #d9ecff;
  border-radius: 8px;
  padding: 14px;
}

.result-box h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.result-box ul {
  margin: 0 0 0 18px;
  padding: 0;
}

.result-box li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* Enhanced calculator lab */
.calculator-hero {
  padding: 34px 16px 38px;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  opacity: 0.9;
}

.prominent-notice {
  border-left: 5px solid #00a8ff;
}

.notice-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.notice-chips span,
.calculator-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef7ff;
  color: #0369a1;
  border: 1px solid #cfeeff;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.calculator-toolbar {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 280px);
  gap: 14px;
  align-items: end;
}

.calculator-toolbar h2 {
  margin: 0 0 4px;
}

.toolbar-caption {
  margin: 0;
  color: #5f6b7a;
}

.calculator-search-wrap label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.calculator-search-wrap input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccd6e0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.98rem;
}

.category-filters {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-filter {
  width: auto;
  margin: 0;
  padding: 9px 13px;
  color: #1f2a37;
  background: #f7fafc;
  border: 1px solid #d6e0ea;
  border-radius: 999px;
  box-shadow: none;
}

.category-filter:hover {
  background: #eef7ff;
  transform: none;
}

.category-filter.active {
  color: #ffffff;
  background: linear-gradient(135deg, #007bff 0%, #00b7ff 100%);
  border-color: transparent;
}

.enhanced-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  align-items: start;
}

.enhanced-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #dde7f0;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.calculator-card-head {
  padding: 20px 20px 0;
}

.calculator-card-head h2 {
  margin: 12px 0 8px;
  color: #162033;
  font-size: 1.18rem;
}

.calculator-card-head p {
  margin: 0 0 14px;
  color: #5b6675;
  line-height: 1.5;
  min-height: 44px;
}

.enhanced-card form {
  border-radius: 0;
  box-shadow: none;
  padding-top: 4px;
}

.enhanced-card form label {
  color: #2d3748;
  font-size: 0.92rem;
}

.enhanced-card form input,
.enhanced-card form select {
  border-color: #d5dde7;
  border-radius: 9px;
  padding: 10px 11px;
}

.enhanced-card form button {
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
}

.calculator-result {
  padding: 0 20px 20px;
}

.result-box {
  border: 1px solid #d9e7f5;
  border-radius: 13px;
  background: #f8fbff;
  padding: 16px;
  margin-top: 4px;
}

.result-verdict {
  margin: 0 0 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  line-height: 1.4;
}

.result-verdict.good {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.result-verdict.warn {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.result-verdict.danger {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.result-verdict.neutral {
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.two-column-result li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #d9e2ec;
}

.two-column-result li:last-child {
  border-bottom: 0;
}

.two-column-result span {
  text-align: right;
  font-weight: 800;
  color: #0f172a;
}

.result-box h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
}

.result-notes {
  margin: 0;
  padding-left: 18px;
  color: #42526b;
  line-height: 1.5;
}

.result-notes li {
  margin-bottom: 5px;
}

@media (max-width: 720px) {
  .calculator-toolbar {
    grid-template-columns: 1fr;
  }

  .category-filter {
    flex: 1 1 auto;
  }

  .calculator-card-head p {
    min-height: auto;
  }
}

/* Enhanced tax diagnostic page */
.header-subtitle {
  margin: 8px auto 0;
  max-width: 860px;
  color: #eaf2ff;
  font-size: 1rem;
  line-height: 1.5;
}

.tax-diagnostic-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 52px;
}

.diagnostic-intro-card,
.form-card {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 24px;
  margin-bottom: 18px;
}

.diagnostic-intro-card h2,
.form-card h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1.25rem;
}

.diagnostic-intro-card p {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.6;
}

.tax-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tax-chip-row span {
  background: #eef6ff;
  border: 1px solid #cfe5ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.88rem;
  font-weight: 700;
}

.tax-diagnostic-form {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid label {
  font-weight: 700;
  color: #334155;
  line-height: 1.5;
}

.form-grid input,
.form-grid select {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #d7dee9;
  border-radius: 11px;
  background: #fbfdff;
  padding: 11px 12px;
  font-size: 0.98rem;
}

.form-grid input:focus,
.form-grid select:focus {
  outline: 2px solid #bfdbfe;
  border-color: #3b82f6;
}

.primary-wide {
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 800;
}

.result-headline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid #e5edf7;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.risk-level-badge {
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

.risk-level-badge.good {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.risk-level-badge.warn {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.risk-level-badge.danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.tax-summary-panel {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.tax-summary-panel h3 {
  margin-top: 0;
}

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

.estimate-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}

.estimate-item span {
  display: block;
  color: #64748b;
  font-size: 0.87rem;
  margin-bottom: 6px;
}

.estimate-item strong {
  color: #0f172a;
  font-size: 1.02rem;
  word-break: keep-all;
}

.tax-detail-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tax-detail-panel > div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.tax-detail-panel h3 {
  margin-top: 0;
}

.tax-detail-panel ul,
.result-container ul,
.advice-section ul {
  line-height: 1.55;
}

@media (max-width: 860px) {
  .form-grid.two,
  .form-grid.three,
  .estimate-grid,
  .tax-detail-panel {
    grid-template-columns: 1fr;
  }

  .result-headline {
    flex-direction: column;
  }
}

/* Enhanced funding diagnostic page */
.funding-hero {
  padding: 34px 16px 38px;
}

.funding-diagnostic-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 52px;
}

.funding-intro-card {
  border-left: 5px solid #14b8a6;
}

.funding-intro-card .tax-chip-row span {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #065f46;
}

.contact-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.contact-section h3 {
  margin-top: 0;
  color: #0f172a;
}

.section-caption {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.6;
}

.funding-consent-section {
  border-top: 4px solid #14b8a6;
}

.consent-box {
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.consent-box label {
  margin: 0 0 6px;
}

.consent-box p {
  margin: 6px 0 0 24px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.required-mark,
.optional-mark {
  display: inline-flex;
  margin-left: 6px;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 800;
}

.required-mark {
  color: #991b1b;
  background: #fee2e2;
}

.optional-mark {
  color: #1e3a8a;
  background: #dbeafe;
}

.compact-advice {
  margin-top: 18px;
}

.compact-advice h3 {
  margin-top: 0;
}

#advancedFundingResultPanel {
  border-top: 4px solid #2563eb;
}

/* Monetization funnel and admin/deployment pages */
.eyebrow.dark {
  color: #0f766e;
  margin-bottom: 4px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.monetization-panel {
  border-top: 4px solid #0f766e;
}

.monetization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 18px;
}

.monetization-card {
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 16px;
  line-height: 1.55;
}

.monetization-card strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.monetization-card p {
  margin: 0 0 10px;
  color: #475569;
}

.monetization-card span {
  display: inline-flex;
  border-radius: 999px;
  background: #ccfbf1;
  color: #115e59;
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 800;
}

.monetization-card.warning {
  background: #fff7ed;
  border-color: #fed7aa;
}

.monetization-card.warning span {
  background: #ffedd5;
  color: #9a3412;
}

.monetization-form {
  box-shadow: none;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.launch-page,
.admin-page,
.policy-page {
  max-width: 1120px;
}

.launch-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.launch-card,
.policy-card,
.admin-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.launch-card h3,
.policy-card h3,
.admin-card h3 {
  margin-top: 0;
  color: #0f172a;
}

.launch-card ul,
.policy-card ul,
.admin-card ul {
  line-height: 1.65;
}

.checklist-tag {
  display: inline-flex;
  margin: 3px 4px 3px 0;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.admin-stat {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.admin-stat span {
  display: block;
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.admin-stat strong {
  font-size: 1.35rem;
  color: #0f172a;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.table-wrap table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px;
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

.table-wrap th {
  background: #f8fafc;
  color: #334155;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.secondary-btn {
  background: #0f172a;
}

.danger-btn {
  background: #dc2626;
}

.small-muted {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .monetization-grid,
  .launch-grid,
  .policy-grid,
  .admin-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Online operation landing and admin additions */
.site-nav {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.site-menu {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-menu a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
}

.site-menu a:hover {
  background: #eef2ff;
  color: #1e40af;
}

.home-hero {
  background: radial-gradient(circle at top left, #dbeafe 0, #f8fafc 34%, #ffffff 100%);
  padding: 46px 18px 38px;
  border-bottom: 1px solid #e2e8f0;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 5vw, 4.3rem);
  line-height: 1.05;
  margin: 12px 0 14px;
  color: #0f172a;
  letter-spacing: -0.055em;
}

.hero-copy p {
  color: #475569;
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 760px;
}

.hero-actions,
.contact-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  max-width: 720px;
}

.hero-stat {
  background: rgba(255,255,255,0.82);
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  padding: 14px;
}

.hero-stat strong {
  display: block;
  font-size: 1.4rem;
  color: #0f172a;
}

.hero-stat span {
  color: #64748b;
  font-size: 0.88rem;
}

.hero-panel {
  background: #0f172a;
  color: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.18);
}

.hero-panel h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.hero-panel ol {
  padding-left: 22px;
  line-height: 1.75;
}

.hero-panel .mini-note {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 14px;
  margin-top: 12px;
  color: #cbd5e1;
}

.home-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 18px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
  max-width: 620px;
}

.service-grid,
.revenue-grid,
.launch-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.revenue-card,
.launch-step-card,
.ad-slot,
.contact-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.service-card h3,
.revenue-card h3,
.launch-step-card h3 {
  margin-top: 0;
  color: #0f172a;
}

.service-card p,
.revenue-card p,
.launch-step-card p,
.contact-panel p {
  color: #64748b;
  line-height: 1.65;
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 800;
  color: #2563eb;
  text-decoration: none;
}

.flow-band {
  background: #0f172a;
  color: #fff;
  border-radius: 28px;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  padding: 14px;
}

.flow-step strong {
  display: block;
  color: #bfdbfe;
  margin-bottom: 6px;
}

.flow-step span {
  color: #e2e8f0;
  line-height: 1.5;
  font-size: 0.92rem;
}

.ad-slot {
  background: #f8fafc;
  border-style: dashed;
  text-align: center;
}

.ad-slot strong {
  display: block;
  color: #334155;
  margin-bottom: 6px;
}

.ad-slot p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.disabled-link {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-token-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-token-row input {
  min-width: 280px;
  flex: 1;
}

.operation-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ecfeff;
  color: #0e7490;
  font-weight: 900;
  font-size: 0.84rem;
}

@media (max-width: 920px) {
  .hero-inner,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .revenue-grid,
  .launch-steps-grid,
  .flow-band {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .site-nav,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.launch-order-list {
  line-height: 1.75;
  color: #334155;
}

.launch-order-list li {
  margin: 8px 0;
}

.launch-order-list code {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 5px;
  color: #0f172a;
}


/* Public trust/content upgrade */
.compact-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.compact-nav .site-brand {
  text-decoration: none;
  font-size: 1.08rem;
}
.trust-hero {
  padding-top: 58px;
  padding-bottom: 50px;
}
.clean-panel ol li {
  margin-bottom: 10px;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.trust-badges span {
  display: inline-flex;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.86rem;
  font-weight: 800;
}
.clean-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
.clean-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}
.stacked-heading {
  align-items: flex-start;
}
.quick-action-grid,
.trust-grid,
.guide-preview-grid,
.guide-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.quick-action-card,
.trust-card,
.guide-preview-grid a,
.guide-list-card {
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.quick-action-card:hover,
.guide-preview-grid a:hover,
.guide-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15,23,42,0.1);
  border-color: #bfdbfe;
}
.quick-action-card span {
  display: inline-flex;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}
.quick-action-card strong,
.guide-preview-grid strong,
.guide-list-card strong {
  display: block;
  color: #0f172a;
  font-size: 1.12rem;
  margin: 12px 0 7px;
}
.quick-action-card p,
.trust-card p,
.guide-preview-grid span,
.guide-list-card span {
  display: block;
  color: #64748b;
  line-height: 1.62;
  margin: 0;
}
.quick-action-card.primary {
  border-color: #93c5fd;
  background: linear-gradient(180deg,#eff6ff 0%,#fff 82%);
}
.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-card h3 {
  margin-top: 0;
  color: #0f172a;
}
.clean-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.text-link {
  color: #2563eb;
  font-weight: 900;
  text-decoration: none;
}
.guide-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.consult-panel {
  border-top: 4px solid #2563eb;
}
.vertical-actions {
  min-width: 190px;
  flex-direction: column;
}
.vertical-actions .btn {
  text-align: center;
}
.clean-footer a {
  color: #1e40af;
}
.guide-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  padding: 48px 18px;
  text-align: center;
}
.guide-hero h1 {
  margin: 8px auto 12px;
  max-width: 900px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}
.guide-hero p {
  margin: 0 auto;
  max-width: 760px;
  color: #dbeafe;
  line-height: 1.7;
}
.guide-page,
.guide-index-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 18px 54px;
}
.guide-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}
.guide-article,
.guide-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.05);
}
.guide-article {
  padding: 26px;
}
.guide-article section + section {
  border-top: 1px solid #e2e8f0;
  margin-top: 22px;
  padding-top: 22px;
}
.guide-article h2,
.guide-side-card h3 {
  color: #0f172a;
  margin-top: 0;
}
.guide-article p,
.guide-article li,
.guide-side-card p {
  color: #475569;
  line-height: 1.72;
}
.guide-cta-box {
  background: #f8fafc;
  border-radius: 18px;
  padding: 20px;
}
.guide-side-card {
  padding: 20px;
  position: sticky;
  top: 86px;
  align-self: start;
}
.guide-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}
.guide-bottom-cta {
  margin-top: 20px;
}
@media (max-width: 1020px) {
  .quick-action-grid,
  .trust-grid,
  .guide-preview-grid,
  .guide-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-page {
    grid-template-columns: 1fr;
  }
  .guide-side-card {
    position: static;
  }
}
@media (max-width: 640px) {
  .quick-action-grid,
  .trust-grid,
  .guide-preview-grid,
  .guide-list-grid,
  .clean-flow {
    grid-template-columns: 1fr;
  }
  .home-section {
    padding: 24px 14px;
  }
  .site-menu a {
    padding: 7px 8px;
    font-size: 0.92rem;
  }
}

/* Cleaner public-first home layout */
.clean-home-body {
  background: #f6f8fb;
  color: #111827;
}

.clean-home-nav {
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
}

.clean-menu a {
  font-size: 0.94rem;
}

.simple-hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(219, 234, 254, 0.95), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  padding: 70px 18px 44px;
  border-bottom: 1px solid #e5e7eb;
}

.simple-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 32px;
  align-items: center;
}

.simple-hero-copy h1 {
  margin: 14px 0 16px;
  max-width: 760px;
  font-size: clamp(2.45rem, 5.6vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  color: #0f172a;
}

.simple-hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.78;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
  font-size: 0.9rem;
}

.simple-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-cta {
  background: #1d4ed8;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.24);
}

.primary-cta:hover {
  background: #1e40af;
}

.quiet-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.quiet-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

.micro-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.micro-trust-row span {
  border-radius: 999px;
  padding: 7px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 800;
}

.simple-start-card {
  background: #ffffff;
  border: 1px solid #dbe4ef;
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

.simple-start-card h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.start-choice {
  display: block;
  text-decoration: none;
  padding: 15px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.start-choice + .start-choice {
  margin-top: 10px;
}

.start-choice:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  background: #f8fafc;
}

.start-choice.primary {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.start-choice strong {
  display: block;
  color: #0f172a;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.start-choice span {
  display: block;
  color: #64748b;
  line-height: 1.52;
  font-size: 0.92rem;
}

.simple-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 18px;
}

.compact-process-section {
  padding-top: 26px;
}

.simple-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.simple-process-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.simple-process-card span {
  display: inline-flex;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  padding: 4px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.simple-process-card strong {
  display: block;
  margin: 12px 0 7px;
  color: #0f172a;
  font-size: 1.08rem;
}

.simple-process-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.simple-section-head {
  margin-bottom: 18px;
}

.simple-section-head.with-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.simple-section-head h2 {
  margin: 0;
  color: #0f172a;
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.simple-section-head p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #64748b;
  line-height: 1.7;
  max-width: 740px;
}

.clean-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.clean-reason-grid article {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.clean-reason-grid h3 {
  margin: 0 0 10px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.clean-reason-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.clean-guide-preview {
  padding-top: 22px;
}

.simple-guide-grid a {
  border-radius: 20px;
}

.second-step-section {
  padding-bottom: 54px;
}

.second-step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.second-step-card .eyebrow.dark {
  color: #93c5fd;
}

.second-step-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.second-step-card p {
  color: #cbd5e1;
  line-height: 1.72;
}

.second-step-card .small-muted {
  color: #dbeafe;
}

.second-step-actions {
  display: grid;
  gap: 10px;
}

.second-step-actions .btn {
  text-align: center;
  margin: 0;
}

.simple-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 980px) {
  .simple-hero-inner,
  .second-step-card {
    grid-template-columns: 1fr;
  }
  .simple-start-card {
    max-width: 640px;
  }
  .simple-process-grid,
  .clean-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .simple-hero {
    padding-top: 42px;
  }
  .simple-hero-copy h1 {
    font-size: 2.38rem;
  }
  .simple-hero-actions .btn,
  .second-step-actions .btn {
    width: 100%;
  }
  .simple-process-grid,
  .clean-reason-grid {
    grid-template-columns: 1fr;
  }
  .simple-section-head.with-link {
    display: block;
  }
  .simple-start-card,
  .second-step-card {
    border-radius: 24px;
    padding: 20px;
  }
  .micro-trust-row span {
    width: 100%;
    box-sizing: border-box;
  }
}
