:root {
  color-scheme: light;
  --bg: #fbfbf7;
  --surface: #ffffff;
  --surface-alt: #eef6f4;
  --ink: #17211d;
  --muted: #5c6963;
  --line: #d8ddd8;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --accent-soft: #dff3ef;
  --warn: #b45309;
  --rose: #b42318;
  --blue: #285ea8;
  --shadow: 0 18px 50px rgba(23, 33, 29, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(251, 251, 247, 0.18), rgba(251, 251, 247, 0.74)),
    url("./assets/app-icon.png") right 8vw center / min(44vw, 520px) no-repeat,
    #eef6f4;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

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

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  max-width: 680px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 630px;
  margin-top: 22px;
  color: #34433c;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature .marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 780;
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
}

.product-panel {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 0;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mock-sidebar,
.mock-detail {
  background: #f4f6f2;
  padding: 22px;
}

.mock-sidebar {
  border-right: 1px solid var(--line);
}

.mock-detail {
  border-left: 1px solid var(--line);
}

.mock-main {
  padding: 22px;
}

.mock-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 760;
  text-transform: uppercase;
}

.mock-list {
  display: grid;
  gap: 10px;
}

.mock-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.mock-dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.mock-row strong,
.mock-pill {
  font-size: 0.92rem;
}

.mock-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.mock-pill {
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 720;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 8px 0;
  color: var(--muted);
}

.mock-nav-item strong {
  color: var(--ink);
}

.mock-detail dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.mock-detail dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.mock-detail dd {
  margin: 4px 0 0;
  color: var(--ink);
}

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

.link-tile {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.link-tile:hover {
  border-color: var(--accent);
  color: inherit;
}

.link-tile p {
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  padding: 76px 0 44px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  max-width: 900px;
}

.page-hero p {
  margin-top: 16px;
  color: #34433c;
  font-size: 1.12rem;
}

.content {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.content h2 {
  margin-top: 44px;
  font-size: 1.75rem;
}

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

.content h3 {
  margin-top: 28px;
}

.content p,
.content ul,
.content ol {
  color: #34433c;
  margin-top: 12px;
}

.content li + li {
  margin-top: 8px;
}

.notice {
  padding: 18px;
  border: 1px solid #f0c36d;
  border-radius: var(--radius);
  background: #fff8e7;
  color: #51340b;
}

.info-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq {
  display: grid;
  gap: 16px;
}

.faq article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #17211d;
  color: #dfe7e2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #dfe7e2;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(rgba(251, 251, 247, 0.4), rgba(251, 251, 247, 0.9)),
      url("./assets/app-icon.png") right -50px top 38px / 260px no-repeat,
      #eef6f4;
  }

  .hero-inner {
    padding: 72px 0;
  }

  .feature-grid,
  .link-list {
    grid-template-columns: 1fr;
  }

  .product-panel {
    grid-template-columns: 1fr;
  }

  .mock-sidebar,
  .mock-detail {
    border: 0;
  }

  .mock-sidebar {
    border-bottom: 1px solid var(--line);
  }

  .mock-detail {
    border-top: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mock-row {
    grid-template-columns: 18px 1fr;
  }

  .mock-pill {
    grid-column: 2;
    width: fit-content;
  }
}
