:root {
  --bg: #f4faf8;
  --bg-2: #e8f5f0;
  --surface: #ffffff;
  --ink: #12241f;
  --muted: #5a7169;
  --line: #cfe3db;
  --accent: #0d8a6a;
  --accent-2: #066b52;
  --accent-soft: #d4f0e6;
  --warn: #b45309;
  --warn-bg: #fff7ed;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 36, 31, 0.06);
  --font: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #c8efe2 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #dceee8 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(244, 250, 248, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, var(--accent), #1bb890);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.92rem;
}

.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.top nav a:hover {
  color: var(--accent-2);
}

.hero,
.section {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 3.2rem 0 2rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.pay-badge {
  color: var(--warn);
  background: var(--warn-bg);
  border: 1px solid #fdba74;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-2);
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  text-decoration: none;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.section {
  padding: 1.75rem 0 0.5rem;
}

.section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.section-lede,
.muted {
  color: var(--muted);
}

.section-lede {
  margin: 0 0 1.1rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.65rem;
}

.platform-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.9rem 0.6rem;
  text-align: center;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}

.platform-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.platform-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-2);
}

.platform-btn .short {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.product-list {
  display: grid;
  gap: 0.7rem;
  padding-bottom: 0.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.product-card .meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-card .price {
  text-align: right;
  white-space: nowrap;
}

.product-card .price strong {
  display: block;
  font-size: 1.05rem;
  color: var(--accent-2);
}

.product-card .price small {
  color: var(--muted);
}

.product-card .actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.product-card.selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f7fffc, #fff);
}

.order-panel {
  margin-bottom: 1rem;
}

.order-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.order-form input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fbfffd;
  color: var(--ink);
}

.order-form input:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.order-form small {
  font-weight: 400;
}

.quote {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border-radius: 10px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.order-result {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--warn-bg);
  border: 1px solid #fdba74;
}

.order-result h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.order-result pre {
  margin: 0.75rem 0;
  padding: 0.75rem;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #fed7aa;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.order-result .result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.foot {
  width: min(960px, calc(100% - 2rem));
  margin: 2rem auto 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 640px) {
  .top nav {
    display: none;
  }

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

  .product-card .price {
    text-align: left;
  }
}
