:root {
  --green: #18bf8f;
  --green-dark: #0b8d68;
  --green-soft: #e9fbf5;
  --green-tint: #f4fffb;
  --ink: #101225;
  --muted: #62657a;
  --line: #e8ebef;
  --paper: #ffffff;
  --canvas: #eef2f4;
  --panel: #f8faf9;
  --danger: #b42318;
  --shadow: 0 22px 70px rgba(20, 24, 40, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(1360px, calc(100% - 72px));
  margin: 56px auto;
  background:
    linear-gradient(90deg, rgba(24, 191, 143, .05) 1px, transparent 1px) 0 0 / 86px 86px,
    linear-gradient(180deg, #fff, #fbfefd);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(18, 28, 38, .12);
}

.unpublished {
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 32px;
  text-align: center;
  background: var(--green-tint);
}

.unpublished img {
  width: 170px;
  margin-bottom: 18px;
}

.unpublished h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
}

.unpublished p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.site-header {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 64px));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 142px;
  max-height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 660;
}

.nav-links a,
.footer a {
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--green-dark);
}

.nav-cta {
  justify-self: end;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 13px 22px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
  box-shadow: 0 14px 28px rgba(24, 191, 143, .24);
}

.button,
button,
input[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
  font: inherit;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-shadow: 0 14px 28px rgba(24, 191, 143, .22);
}

.button.secondary,
button.secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button.light {
  background: #fff;
  color: var(--green-dark);
  box-shadow: none;
}

.button.danger,
button.danger {
  background: #fff0ee;
  color: var(--danger);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero {
  width: min(1160px, calc(100% - 64px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 54px;
}

.hero-copy-block h1 {
  max-width: 620px;
  margin: 0 0 22px;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy-block > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  margin: 0 0 30px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-product-circle {
  width: min(490px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: inset 0 0 0 22px #fff, var(--shadow);
}

.hero-product-circle::before,
.hero-product-circle::after {
  content: "";
  position: absolute;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-product-circle::before {
  width: 42%;
  height: 22%;
  right: -24px;
  top: 64px;
}

.hero-product-circle::after {
  width: 34%;
  height: 18%;
  left: -18px;
  bottom: 82px;
}

.hero-product-circle img {
  width: min(80%, 410px);
  max-height: 360px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 34px rgba(13, 31, 42, .24));
}

.hero-orbit span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: .55;
}

.hero-orbit span:nth-child(1) { left: 12%; top: 18%; }
.hero-orbit span:nth-child(2) { right: 10%; top: 21%; width: 10px; height: 10px; }
.hero-orbit span:nth-child(3) { left: 8%; bottom: 23%; background: #f6bd45; }
.hero-orbit span:nth-child(4) { right: 16%; bottom: 14%; background: #4d79ff; }
.hero-orbit span:nth-child(5) { left: 45%; top: 8%; background: #ff8aa0; }

.floating-note {
  position: absolute;
  z-index: 4;
  min-width: 170px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note strong {
  font-size: 18px;
}

.floating-note span {
  color: var(--muted);
  font-size: 13px;
}

.note-top {
  right: 0;
  top: 100px;
}

.note-bottom {
  left: 8px;
  bottom: 102px;
}

.brand-strip {
  width: 100%;
  min-height: 110px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
  color: #9297a5;
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 820;
}

.feature-section,
.section,
.faq-section,
.story-section,
.driver-section {
  width: min(1160px, calc(100% - 64px));
  margin: 90px auto 0;
}

.center-title {
  text-align: center;
  margin-bottom: 46px;
}

.center-title h2,
.section-copy h2,
.green-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.center-title p,
.section-copy p,
.green-cta p {
  color: var(--muted);
  max-width: 690px;
}

.center-title p {
  margin: 0 auto;
}

.feature-grid.compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 16px 48px rgba(20, 24, 40, .06);
}

.feature-card:nth-child(even) {
  background: var(--green-tint);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 860;
  margin-bottom: 26px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.feature-card p,
.product-body p,
.faq-list p,
.faq-contact p,
.footer p,
.footer span {
  color: var(--muted);
}

.story-section,
.driver-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 62px;
  align-items: center;
}

.driver-section {
  grid-template-columns: 1fr 1fr;
}

.story-visual {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.soft-panel {
  position: absolute;
  inset: 34px 10px;
  border-radius: 34px;
  background: var(--green-soft);
  border: 1px solid rgba(24, 191, 143, .13);
  box-shadow: 0 28px 70px rgba(13, 31, 42, .09);
}

.story-visual::before {
  content: none;
}

.story-visual img {
  width: min(78%, 430px);
  max-height: 315px;
  object-fit: contain;
  z-index: 2;
  transform: translateY(-4px);
  border-radius: 24px;
  filter: drop-shadow(0 24px 30px rgba(13, 31, 42, .14));
}

.chip-row {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(92%, 380px);
}

.chip-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-dark);
  padding: 11px 16px;
  min-width: 62px;
  text-align: center;
  font-weight: 780;
  box-shadow: 0 12px 28px rgba(20, 24, 40, .08);
  border: 1px solid rgba(16, 18, 37, .04);
}

.section-copy {
  max-width: 620px;
}

.story-section .section-copy h2 {
  max-width: 560px;
  font-size: clamp(38px, 4.35vw, 64px);
}

.story-section .section-copy > p:not(.eyebrow) {
  margin: 0;
  font-size: 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 12px;
  font-size: 16px;
  font-weight: 720;
}

.check-list li::before {
  content: ">";
  color: var(--green-dark);
  margin-right: 12px;
}

.metric-cloud {
  min-height: 460px;
  position: relative;
}

.metric-card {
  position: absolute;
  width: 240px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
  padding: 24px;
}

.metric-card.main {
  width: 270px;
  left: 28px;
  top: 58px;
}

.metric-card:nth-child(2) {
  right: 38px;
  top: 10px;
}

.metric-card:nth-child(3) {
  left: 160px;
  bottom: 56px;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 34px;
}

.bars {
  height: 118px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}

.bars i {
  width: 22px;
  border-radius: 999px 999px 0 0;
  background: var(--green);
}

.bars i:nth-child(1) { height: 42%; opacity: .55; }
.bars i:nth-child(2) { height: 78%; opacity: .75; }
.bars i:nth-child(3) { height: 54%; opacity: .6; }
.bars i:nth-child(4) { height: 92%; }
.bars i:nth-child(5) { height: 66%; opacity: .7; }

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

.product-card {
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 16px 46px rgba(20, 24, 40, .06);
}

.product-media {
  aspect-ratio: 1.12;
  margin: 16px 16px 0;
  padding: 16px 18px 6px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(16, 18, 37, .05);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
  filter: drop-shadow(0 16px 24px rgba(13, 31, 42, .14));
}

.product-body {
  padding: 16px 24px 26px;
}

.product-body span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 740;
}

.product-body h3 {
  margin: 6px 0 10px;
  font-size: 21px;
  line-height: 1.08;
}

.product-body p {
  font-size: 13px;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.card-links a {
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
}

.card-links a::after {
  content: " >";
  color: var(--green-dark);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  font-size: 22px;
  color: var(--green-dark);
}

.faq-list details[open] summary::after {
  content: "x";
}

.faq-list p {
  max-width: 720px;
}

.faq-contact {
  min-height: 330px;
  border-radius: 28px;
  background: var(--green-soft);
  padding: 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.green-cta {
  width: min(1160px, calc(100% - 64px));
  margin: 86px auto;
  border-radius: 34px;
  background: var(--green);
  color: #fff;
  padding: clamp(48px, 8vw, 86px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.green-cta::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 28px;
}

.green-cta > * {
  position: relative;
}

.green-cta p {
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, .82);
}

.footer {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 52px;
}

.footer img {
  width: 142px;
  margin-bottom: 24px;
}

.footer h4 {
  margin: 0 0 18px;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.copyright {
  background: #071410;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

.admin-shell {
  background: #f5f7f6;
}

.admin-shell .page-shell {
  width: auto;
  margin: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.admin-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.admin-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
}

.settings-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fbfdfc;
}

.settings-group h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #34443b;
  font-size: 14px;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d2d8d5;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 96px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkbox-row input {
  width: auto;
}

.message {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 750;
}

.message.error {
  background: #fff0ee;
  color: var(--danger);
}

.product-table {
  display: grid;
  gap: 12px;
}

.product-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.product-row img {
  width: 86px;
  height: 70px;
  object-fit: contain;
  background: var(--green-tint);
  border-radius: 12px;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.user-list {
  display: grid;
  gap: 14px;
}

.user-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.user-card h3 {
  margin: 0 0 4px;
}

.user-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

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

.login-wrap {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.login-card img {
  width: 138px;
  margin-bottom: 22px;
}

@media (max-width: 1040px) {
  .page-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .hero,
  .story-section,
  .driver-section,
  .faq-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .brand-strip,
  .feature-grid.compact,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .story-section {
    gap: 28px;
  }

  .story-visual {
    min-height: 430px;
  }

  .story-section .section-copy {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .nav {
    width: min(100% - 28px, 1160px);
    height: auto;
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    overflow-x: auto;
  }

  .nav-cta {
    min-width: auto;
  }

  .hero,
  .feature-section,
  .story-section,
  .driver-section,
  .section,
  .faq-section,
  .green-cta,
  .footer {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: auto;
    gap: 20px;
  }

  .hero-copy-block h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-product-circle {
    width: min(360px, 84vw);
  }

  .floating-note {
    min-width: 145px;
    padding: 13px 14px;
  }

  .brand-strip,
  .feature-grid.compact,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    min-height: 360px;
  }

  .soft-panel {
    inset: 22px 0;
    border-radius: 34px;
  }

  .story-visual img {
    width: min(82%, 340px);
    max-height: 250px;
    border-radius: 20px;
  }

  .story-section .section-copy h2 {
    font-size: 36px;
  }

  .metric-cloud {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .metric-card,
  .metric-card.main,
  .metric-card:nth-child(2),
  .metric-card:nth-child(3) {
    position: static;
    width: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  .admin-grid,
  .product-row,
  .inline-form {
    grid-template-columns: 1fr;
  }
}
