:root {
  --bg: #f7fef7;
  --surface: #ffffff;
  --surface-soft: #f7fef7;
  --surface-muted: #f0f8f0;
  --line: #dcebdd;
  --ink: #010705;
  --muted: #43564f;
  --green: #3d9c5e;
  --green-dark: #13311d;
  --green-soft: #e0f3e5;
  --hero-soft: #b3c9b4;
  --dark: #07110b;
  --dark-green: #13311d;
  --shadow: 0 24px 60px rgba(32, 80, 48, .11);
  --header-h: 122px;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.page-width {
  width: min(1176px, calc(100% - 136px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  z-index: 200;
}

.skip-link:focus { left: 8px; }

.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 254, 247, .9);
  backdrop-filter: blur(20px);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 250px 1fr 0;
  align-items: start;
  padding-top: 20px;
}

.brand-side {
  display: grid;
  gap: 26px;
}

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

.brand-mark {
  width: 34px;
  height: 22px;
  object-fit: contain;
  opacity: .9;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
}

.main-nav a {
  padding: 9px 17px;
  border-radius: 999px;
  color: #2b312c;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: #eff6ef;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 10px;
}

.admin-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.admin-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  text-decoration: none;
}

.icon-link svg,
.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon strong {
  position: absolute;
  right: -9px;
  top: -12px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

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

h1 { font-size: clamp(48px, 5.4vw, 72px); font-weight: 900; }
h2 { font-size: clamp(38px, 4.2vw, 50px); font-weight: 900; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0; color: var(--muted); }

.button {
  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(59, 162, 97, .24);
}

.button:hover { background: #3d9c5e; }

.button-outline,
.button.secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button-dark-outline { box-shadow: none; }

.button.small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.button-full { width: 100%; }

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #2b312c;
  font-size: 14px;
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.home-hero {
  min-height: 773px;
  padding: 126px 0 94px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 550px;
  gap: 76px;
  align-items: center;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 26px;
}

.hero-copy h1 {
  font-size: clamp(58px, 6vw, 72px);
  line-height: 1.02;
}

.hero-copy h1 span { color: #3d9c5e; }

.hero-copy > p {
  max-width: 560px;
  font-size: 21px;
  line-height: 1.42;
}

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

.trust-row {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  display: flex;
  gap: 22px 26px;
  flex-wrap: wrap;
  color: #2b312c;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.trust-row span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.hero-visual {
  position: relative;
  height: 550px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(140deg, #b3c9b4, #e7f2e8 52%, #b7d1ba);
  box-shadow: 0 26px 58px rgba(30, 73, 46, .13);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-badge {
  position: absolute;
  top: 20px;
  right: -8px;
  rotate: 6deg;
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
}

.personal-badge strong {
  color: var(--green);
  font-size: 12px;
  letter-spacing: .08em;
}

.hero-product-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  color: #2b312c;
}

.hero-product-bar span { color: var(--muted); }
.hero-product-bar > strong { color: var(--green); }

.section {
  padding: 72px 0;
}

.section-lined {
  border-top: 1px solid var(--line);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 50px;
}

.split-heading > div {
  display: grid;
  gap: 18px;
}

.split-heading > p {
  max-width: 450px;
  font-size: 18px;
}

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

.benefit-card {
  min-height: 212px;
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.benefit-card small {
  position: absolute;
  top: 28px;
  right: 28px;
  color: var(--muted);
  font-weight: 800;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.benefit-card h3 { margin-top: 14px; }
.benefit-card p { font-size: 16px; }

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-title-row > div {
  display: grid;
  gap: 18px;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.product-media {
  position: relative;
  display: block;
  height: 374px;
  overflow: hidden;
  background: #f0f8f0;
  text-decoration: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media__badge {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

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

.product-body p {
  margin-top: 8px;
  font-size: 14px;
}

.product-custom {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 14px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.price {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.steps-title {
  margin: 18px 0 56px;
}

.steps {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
}

.steps::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 27px;
  height: 1px;
  background: var(--line);
}

.steps li {
  position: relative;
  min-height: 206px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.steps li > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #3d9c5e;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.steps p { margin-top: 12px; }

.cta-band {
  padding: 48px 0 96px;
  border-top: 1px solid var(--line);
}

.cta-panel {
  min-height: 552px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
  padding: 64px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #d9ebdd 0%, #f0f8f0 52%, #c8ddca 100%);
  color: var(--ink);
}

.cta-panel h2 {
  margin: 42px 0 24px;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 60px);
}

.cta-panel p {
  max-width: 550px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.cta-mark {
  width: 34px;
  height: 26px;
  object-fit: contain;
  opacity: .55;
}

.cta-image {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.44);
}

.cta-image img {
  width: 100%;
  border-radius: 14px;
}

.site-footer {
  padding: 70px 0 36px;
  border-top: 1px solid var(--line);
  background: #f7fef7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 64px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 26px;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-col h3 {
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-col a,
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.shop-page {
  padding-top: 18px;
}

.shop-page h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.shop-grid {
  margin-top: 34px;
}

.designer-page {
  min-height: calc(100svh - var(--header-h));
  padding-top: 52px;
}

.designer-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(420px, 472px);
  justify-content: space-between;
  gap: 68px;
  align-items: start;
}

.designer-intro {
  padding-top: 52px;
  display: grid;
  gap: 24px;
}

.designer-intro h1 {
  font-size: clamp(48px, 5vw, 58px);
}

.designer-intro > p {
  font-size: 17px;
}

.notice {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  font-size: 13px;
}

.notice span {
  color: var(--green);
  font-weight: 900;
}

.notice p {
  font-size: 13px;
}

.designer-card,
.account-card,
.order-card,
.product-panel,
.filters,
.summary,
.admin-login {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.designer-card {
  padding: 28px 26px;
}

fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

legend,
label {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

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

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
}

.choice input:checked + span {
  border-color: var(--green);
  background: var(--green-soft);
}

.size-row .choice span {
  width: 36px;
  padding: 0;
}

input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--ink);
  outline: 0;
}

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

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 161, 98, .12);
}

.input-icon {
  position: relative;
  margin-bottom: 18px;
}

.input-icon span {
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--muted);
}

.input-icon input {
  padding-left: 40px;
}

.upload-box {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
  background: var(--surface-soft);
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-box span {
  color: var(--green);
  font-size: 22px;
}

.upload-box strong,
.upload-box small,
.upload-box em {
  font-size: 13px;
  font-style: normal;
}

.upload-box small,
.upload-box em { color: var(--muted); }

.checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 18px 0 22px;
  font-size: 13px;
  font-weight: 400;
}

.checkbox input {
  width: 14px;
  min-height: 14px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--green);
}

.alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: #030904;
  font-size: 14px;
}

.account-page {
  padding-top: 0;
}

.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.account-head h1 {
  font-size: 44px;
}

.account-grid {
  display: grid;
  grid-template-columns: .9fr 1.08fr;
  gap: 28px;
}

.account-card {
  min-height: 674px;
  padding: 30px;
}

.account-card h2 {
  font-size: 20px;
  margin-bottom: 24px;
}

.account-card h2 span {
  color: var(--green);
}

.empty-state {
  min-height: 130px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.profile-card form {
  display: grid;
  gap: 10px;
}

.profile-card h3 {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cart-list,
.orders {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.cart-thumb {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.properties {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 4px 12px;
  font-size: 14px;
}

.properties dt { font-weight: 800; }

.summary {
  max-width: 460px;
  margin: 26px 0 0 auto;
  padding: 22px;
}

.summary div {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 800;
}

.link-button {
  border: 0;
  background: none;
  color: #030904;
  text-decoration: underline;
  cursor: pointer;
}

.section .page-width > .eyebrow,
.eyebrow {
  color: var(--green);
  font-weight: 800;
}

.rte {
  max-width: 760px;
  color: var(--muted);
}

.auth-body {
  background: var(--bg);
}

.auth-page {
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding: 43px 24px 58px;
}

.auth-shell {
  width: min(404px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateX(-44px);
}

.auth-shell h1 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
}

.auth-shell > p {
  margin-top: 10px;
  font-size: 14px;
}

.auth-card {
  width: 100%;
  margin-top: 29px;
  padding: 29px 29px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.social-stack {
  display: grid;
  gap: 12px;
}

.social-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.social-google {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

.social-google span {
  color: #4285f4;
  font-weight: 900;
}

.social-apple {
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-form {
  display: grid;
  text-align: left;
}

.auth-form label {
  margin-bottom: 8px;
  font-size: 14px;
}

.auth-input {
  position: relative;
  margin-bottom: 17px;
}

.auth-input svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: #607068;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-input input {
  min-height: 42px;
  padding-left: 44px;
  border-radius: 16px;
}

.auth-form .button {
  min-height: 47px;
  margin-top: 5px;
}

.auth-switch {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.auth-switch a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.auth-back {
  margin-top: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.admin-body .site-footer {
  margin-top: 92px;
}

.admin-shell {
  min-height: 445px;
  padding: 40px 0 18px;
}

.admin-shell .page-width {
  width: min(1060px, calc(100% - 72px));
}

.admin-shell h1 {
  margin: 10px 0 28px;
  font-size: 32px;
  line-height: 1.05;
}

.admin-layout {
  display: grid;
  grid-template-columns: 198px 1fr;
  gap: 28px;
  align-items: start;
}

.admin-sidebar {
  display: grid;
  gap: 8px;
}

.admin-sidebar a {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: #2b312c;
  text-decoration: none;
  font-size: 14px;
}

.admin-sidebar a.is-active {
  border-color: #a8dfba;
  background: #e0f3e5;
  color: var(--green);
}

.admin-sidebar svg,
.metric-card svg,
.admin-shirt-info button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.admin-content {
  min-width: 0;
}

.admin-content-head {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.admin-content-head h2 {
  font-size: 24px;
}

.admin-content-head p {
  margin-top: 4px;
  font-size: 14px;
}

.admin-content-head select {
  width: 132px;
  min-height: 34px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 13px;
}

.admin-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.admin-tabs button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.admin-tabs button.is-active {
  background: var(--green-dark);
  color: #fff;
}

.admin-tabs svg,
.code-generate button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  min-height: 119px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.metric-card.is-highlight {
  border-color: #a8dfba;
  background: #e0f3e5;
}

.metric-card svg {
  color: #607068;
}

.metric-card.is-highlight svg {
  color: var(--green);
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.admin-empty {
  min-height: 78px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
}

.admin-orders {
  display: grid;
  gap: 12px;
}

.admin-order-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.admin-order-card h3 {
  font-size: 16px;
}

.admin-order-card p {
  margin-top: 4px;
  font-size: 13px;
}

.admin-add-button {
  min-height: 37px;
  padding: 0 24px;
  font-size: 14px;
}

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

.admin-shirt-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #ffffff;
}

.admin-shirt-image {
  height: 267px;
  display: grid;
  place-items: center;
  background: #f0f8f0;
  color: var(--muted);
  font-size: 12px;
}

.admin-shirt-info {
  position: relative;
  min-height: 104px;
  padding: 14px 16px;
  background: #ffffff;
}

.admin-shirt-info button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.admin-shirt-info h3 {
  padding-right: 28px;
  font-size: 16px;
}

.admin-shirt-info > strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 18px;
}

.admin-checks {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.admin-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
}

.admin-checks input {
  width: 12px;
  min-height: 12px;
  padding: 0;
  accent-color: var(--green);
}

.admin-codes-layout {
  display: grid;
  grid-template-columns: minmax(280px, 338px) minmax(360px, 1fr);
  gap: 22px;
}

.admin-form-card {
  min-height: 518px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.admin-form-card h3 {
  margin-bottom: 22px;
  font-size: 17px;
}

.admin-form-card p {
  font-size: 14px;
}

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

.admin-form-card label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.admin-form-card label input,
.admin-form-card label select {
  margin-top: 6px;
}

.code-generate {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
  align-items: center;
}

.code-generate button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.admin-form-card .two-cols {
  gap: 10px;
}

.admin-form-card input,
.admin-form-card select,
.admin-form-card textarea {
  min-height: 40px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.admin-form-card textarea {
  min-height: 54px;
}

.admin-form-card .admin-add-button {
  width: fit-content;
  min-height: 36px;
  margin-top: 4px;
}

@media (max-width: 1050px) {
  .hero-grid,
  .split-heading,
  .designer-layout,
  .account-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { height: 500px; }
  .benefit-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  :root { --header-h: 88px; }
  .page-width { width: min(100% - 32px, 1176px); }
  .site-header { height: auto; min-height: var(--header-h); }
  .header-inner {
    grid-template-columns: 1fr 44px;
    align-items: center;
    padding: 14px 0;
  }
  .brand-side { gap: 10px; }
  .header-actions { gap: 16px; padding-left: 0; }
  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding-top: 18px;
  }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .home-hero { padding-top: 56px; }
  .hero-grid { gap: 34px; }
  .hero-visual { height: 430px; border-radius: 24px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy > p { font-size: 18px; }
  .benefit-grid,
  .product-grid,
  .steps,
  .two-cols {
    grid-template-columns: 1fr;
  }
  .steps::before { display: none; }
  .product-media { height: 330px; }
  .cta-panel { padding: 32px; border-radius: 24px; }
  .account-card { min-height: auto; }
  .cart-item,
  .properties {
    grid-template-columns: 1fr;
  }
  .admin-layout,
  .metric-grid,
  .admin-shirt-grid,
  .admin-codes-layout {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    transform: none;
  }
}

/* Final light-theme guard: no black marketing sections on the storefront. */
.cta-panel {
  border: 1px solid var(--line) !important;
  background: linear-gradient(135deg, #d9ebdd 0%, #f7fef7 48%, #afcdb5 100%) !important;
  color: var(--ink) !important;
  box-shadow: 0 24px 60px rgba(32, 80, 48, .11);
}

.cta-panel h2 {
  color: var(--ink) !important;
}

.cta-panel p {
  color: var(--muted) !important;
}

.cta-panel .button-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.cta-image {
  border-color: var(--line) !important;
  background: rgba(255,255,255,.48) !important;
}

/* Lovable reference parity layer */
:root {
  --bg: #f7fef7;
  --surface: #ffffff;
  --line: #dee8df;
  --ink: #030904;
  --muted: #566158;
  --green: #3d9c5e;
  --green-dark: #174825;
  --green-soft: #ecf5ec;
  --header-h: 96px;
}

body {
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(61,156,94,.16), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(61,156,94,.1), transparent 70%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3,
h4,
.brand,
.price,
.hero-product-bar strong {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.page-width {
  width: 100%;
  max-width: 1240px;
  padding-inline: 32px;
}

.site-header {
  height: auto;
  min-height: 96px;
  border-bottom: 0;
  background: rgba(247,254,247,.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding-top: 0;
}

.brand-side {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  gap: 12px;
  font-size: 30px;
  font-weight: 700;
}

.brand-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.header-actions {
  order: 3;
  gap: 6px;
  padding-left: 0;
}

.main-nav {
  order: 2;
  gap: 4px;
}

.main-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  color: rgba(12,20,12,.8);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a.is-active,
.main-nav a:hover {
  background: var(--green-soft);
  color: var(--ink);
}

.icon-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.icon-link:hover {
  background: var(--green-soft);
}

.cart-icon strong {
  right: -2px;
  top: -2px;
  width: 20px;
  height: 20px;
}

.admin-pill {
  min-height: 40px;
  padding-inline: 14px;
  background: var(--green-dark);
}

.home-hero {
  min-height: auto;
  padding: 96px 0 112px;
  overflow: hidden;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 1fr);
  gap: 48px;
}

.pill {
  min-height: 30px;
  padding: 5px 12px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.hero-copy {
  gap: 0;
}

.hero-copy h1 {
  margin-top: 24px;
  font-size: clamp(48px, 6.1vw, 72px);
  font-weight: 700;
  line-height: 1.02;
}

.hero-copy h1 span {
  color: var(--green);
}

.hero-copy > p {
  max-width: 576px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 32px;
  gap: 12px;
}

.button {
  min-height: 52px;
  padding: 0 26px;
  border-color: var(--green);
  background: var(--green);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px -10px rgba(61,156,94,.6);
}

.button-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.trust-row {
  margin-top: 40px;
  padding: 0;
  gap: 12px 24px;
}

.trust-row li {
  font-size: 14px;
  color: rgba(12,20,12,.8);
}

.hero-visual {
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin-inline: auto;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(61,156,94,.15), var(--green-soft), var(--bg));
  box-shadow: 0 30px 80px -30px rgba(16,21,16,.25);
}

.hero-visual img {
  object-fit: cover;
}

.personal-badge {
  top: 24px;
  right: -8px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 4px 24px -8px rgba(16,21,16,.08);
}

.hero-product-bar {
  left: 20px;
  right: 20px;
  bottom: 20px;
  min-height: 64px;
  border-radius: 16px;
  background: rgba(247,254,247,.85);
  backdrop-filter: blur(12px);
}

.section {
  padding: 96px 0;
}

.section-lined {
  border-top: 0;
}

.split-heading,
.section-title-row {
  margin-bottom: 48px;
}

.benefit-card,
.steps li,
.product-card {
  border-color: var(--line);
  border-radius: 24px;
  background: var(--surface);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.benefit-card {
  padding: 28px;
}

.benefit-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61,156,94,.4);
  box-shadow: 0 8px 30px -12px rgba(61,156,94,.18);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

#shop {
  background: rgba(236,245,236,.4);
}

.product-media {
  aspect-ratio: 1;
  height: auto;
  background: var(--green-soft);
}

.product-media__badge {
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
}

.product-body {
  padding: 24px;
}

.steps li {
  padding: 24px;
}

.steps li > span {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 24px;
  background: var(--green);
}

.cta-band {
  padding: 0 0 96px;
  border-top: 0;
}

.cta-panel {
  min-height: 0;
  padding: 72px 64px !important;
  border: 0 !important;
  border-radius: 40px !important;
  background:
    radial-gradient(60% 80% at 100% 100%, rgba(61,156,94,.6), transparent 60%),
    radial-gradient(40% 60% at 0% 0%, rgba(61,156,94,.35), transparent 70%),
    var(--ink) !important;
  color: var(--bg) !important;
  box-shadow: none;
}

.cta-panel h2 {
  color: var(--bg) !important;
}

.cta-panel p {
  color: rgba(247,254,247,.7) !important;
}

.cta-panel .button-outline {
  border-color: rgba(247,254,247,.3);
  color: var(--bg);
}

.cta-panel .button-outline:hover {
  background: rgba(247,254,247,.1);
}

.cta-image {
  border: 1px solid rgba(247,254,247,.1) !important;
  background: rgba(247,254,247,.05) !important;
  border-radius: 24px;
}

.site-footer {
  background: rgba(236,245,236,.4);
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    order: 4;
  }

  .main-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    order: 4;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .page-width {
    padding-inline: 20px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .home-hero {
    padding: 64px 0 80px;
  }

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

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