:root {
  color-scheme: light;
  --bg: #f2ecdf;
  --bg-strong: #173a2d;
  --panel: rgba(255, 250, 241, 0.9);
  --panel-strong: #fffdf8;
  --line: #d8cebd;
  --text: #162117;
  --muted: #56645d;
  --accent: #0d7a5b;
  --accent-2: #f3a027;
  --shadow: 0 24px 48px rgba(25, 39, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0 0 12px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.skip-link:focus {
  top: 0;
}

body {
  font-family: 'Segoe UI Variable Text', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 160, 39, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(13, 122, 91, 0.18), transparent 32%),
    linear-gradient(180deg, #f8f3e9 0%, var(--bg) 100%);
}

h1,
h2,
h3,
.section-label,
.eyebrow {
  font-family: Georgia, 'Times New Roman', serif;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 50px;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(216, 206, 189, 0.92);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at right top, rgba(243, 160, 39, 0.28), transparent 30%),
    linear-gradient(140deg, #133529 0%, #1d4737 48%, #235844 100%);
  color: #f8f4eb;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -60px -90px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 160, 39, 0.38), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 235, 0.75);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.hero-copy {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(248, 244, 235, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  font-weight: 600;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  background: #f7ecd2;
  color: #173a2d;
  box-shadow: 0 12px 24px rgba(9, 19, 15, 0.16);
}

.btn-secondary {
  background: rgba(248, 244, 235, 0.95);
  color: #173a2d;
  border: 1px solid #f8f4eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
  background: rgba(248, 244, 235, 0.14);
  color: #f8f4eb;
  border: 1px solid rgba(248, 244, 235, 0.12);
}

.hero-note {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 0.96rem;
  color: rgba(248, 244, 235, 0.78);
}

.hero-links {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(248, 244, 235, 0.88);
}

.hero-links .link {
  font-weight: 600;
  text-decoration-color: rgba(248, 244, 235, 0.45);
}

.hero-links .dot {
  opacity: 0.6;
}

.social-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.social-label {
  font-size: 0.85rem;
  color: rgba(248, 244, 235, 0.7);
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(248, 244, 235, 0.22);
  background: rgba(248, 244, 235, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8f4eb;
  text-decoration: none;
}

.social-chip:hover {
  background: rgba(248, 244, 235, 0.18);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.full-span {
  grid-column: 1 / -1;
}

.spotlight,
.usecases-panel,
.features-panel,
.workflow-panel,
.details-panel,
.plans-panel,
.trust-panel,
.cta-panel {
  padding: 28px;
}

.section-label {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.08;
}

.steps {
  margin: 18px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.usecase-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid,
.workflow-grid,
.detail-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

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

.feature-card,
.detail-grid article,
.step-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(216, 206, 189, 0.85);
}

.feature-card h3,
.detail-grid h3,
.step-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.feature-card p,
.detail-grid p,
.step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(13, 122, 91, 0.12);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}

.trust-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Plans table ── */

.plans-intro {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.plans-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

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

.plans-table th,
.plans-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.plans-table th {
  background: rgba(13, 122, 91, 0.06);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.plans-table tbody tr:nth-child(even) {
  background: rgba(216, 206, 189, 0.18);
}

.plans-table tbody tr:last-child td {
  border-bottom: 0;
}

.plans-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.plan-pro {
  color: var(--accent);
  font-weight: 700;
}

.plans-note {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}


.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notice {
  margin-top: 12px;
  font-size: 0.94rem;
  color: rgba(248, 244, 235, 0.82);
}

.notice.info {
  color: rgba(248, 244, 235, 0.88);
}

.notice.pre-release {
  background: rgba(16, 24, 16, 0.35);
  border: 1px solid rgba(248, 244, 235, 0.22);
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.5;
}

.notice.success {
  color: #bff7d0;
}

.notice.error {
  color: #ffd7cc;
}

@media (max-width: 980px) {
  .content-grid,
  .workflow-grid,
  .detail-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 18px, 100%);
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .hero,
  .spotlight,
  .usecases-panel,
  .features-panel,
  .workflow-panel,
  .details-panel,
  .plans-panel,
  .trust-panel,
  .cta-panel,
  .full-span {
    padding: 22px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
