:root {
  --ink: #17211b;
  --muted: #5f6a63;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d9ddd5;
  --field: #f2f6ef;
  --red: #ba2435;
  --red-dark: #8f1725;
  --green: #2f6f4f;
  --gold: #b8842f;
  --shadow: 0 18px 48px rgba(23, 33, 27, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.86rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a,
.language-switch a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}

.main-nav a:hover,
.language-switch a:hover,
.language-switch .is-active {
  color: var(--ink);
  background: var(--field);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--panel);
}

.flash-stack {
  position: fixed;
  top: 78px;
  right: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 36px));
}

.flash {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.flash-success {
  border-color: rgba(47, 111, 79, 0.35);
}

.flash-error,
.flash-warning {
  border-color: rgba(186, 36, 53, 0.38);
}

.coming-soon-page {
  min-height: 100vh;
  background: #07100c;
}

.coming-soon {
  position: relative;
  min-height: 100vh;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, center);
  filter: saturate(0.95);
}

.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 16, 12, 0.9), rgba(7, 16, 12, 0.66) 48%, rgba(7, 16, 12, 0.22));
}

.coming-soon-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 52px);
}

.coming-soon-top .brand small,
.coming-soon-top .main-nav a {
  color: rgba(255, 255, 255, 0.76);
}

.coming-soon-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.coming-soon-hero {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 48px 0 76px;
}

.coming-soon-hero > div {
  max-width: 760px;
}

.coming-soon-hero h1 {
  font-size: 6rem;
}

.coming-soon-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.coming-soon-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.coming-soon-note h2 {
  font-size: 1.75rem;
}

.launch-note {
  margin-top: 26px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: clamp(96px, 16vh, 170px) clamp(20px, 6vw, 76px) clamp(44px, 10vh, 88px);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, center);
  filter: saturate(0.95);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 24, 19, 0.83) 0%, rgba(13, 24, 19, 0.55) 42%, rgba(13, 24, 19, 0.12) 100%);
}

.hero-content {
  width: min(680px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd7d8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 6.8rem;
  line-height: 0.94;
}

h2 {
  margin: 0 0 10px;
  font-size: 2.25rem;
  line-height: 1.08;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.hero p:not(.eyebrow) {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 1.25rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 33, 27, 0.16);
}

.button-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-wide {
  width: 100%;
}

.text-link {
  color: var(--red-dark);
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-band article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  background: #f7f8f2;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.8rem;
}

.section,
.page-header,
.about-layout,
.checkout-layout,
.account-layout,
.auth-grid,
.support-layout,
.receipt,
.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: clamp(48px, 8vw, 86px) 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 26px;
}

.section-heading h2,
.page-header h1 {
  color: var(--ink);
}

.page-header {
  padding: clamp(46px, 8vw, 84px) 0 28px;
}

.page-header.compact {
  max-width: 820px;
}

.page-header p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-header h1 {
  font-size: 4.8rem;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 33, 27, 0.08);
}

.product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center bottom;
  background: var(--field);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.product-card-body p {
  color: var(--muted);
}

.feature-list {
  padding-left: 19px;
  margin: 6px 0 18px;
  color: var(--ink);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-meta strong {
  color: var(--red-dark);
}

.product-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.inline-buy {
  display: grid;
  grid-template-columns: minmax(86px, 0.45fr) 1fr;
  gap: 10px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

label span {
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd2ca;
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

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

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(26px, 5vw, 62px);
  padding: 18px 0 clamp(52px, 8vw, 92px);
}

.about-image {
  position: sticky;
  top: 104px;
  align-self: start;
}

.about-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center bottom;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy {
  display: grid;
  gap: 28px;
}

.about-copy article {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.about-copy p,
.about-copy li {
  color: #354039;
  font-size: 1.04rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.36fr);
  align-items: start;
  gap: 24px;
  padding-bottom: clamp(52px, 8vw, 92px);
}

.checkout-main {
  display: grid;
  gap: 18px;
}

.form-panel,
.order-summary,
.profile-panel,
.orders-panel,
.receipt,
.admin-nav,
.admin-content,
.admin-create,
.admin-record {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(23, 33, 27, 0.07);
}

.form-panel,
.order-summary,
.profile-panel,
.orders-panel,
.receipt,
.admin-content,
.admin-create,
.admin-record {
  padding: clamp(18px, 3vw, 28px);
}

.form-panel h2,
.order-summary h2,
.profile-panel h2,
.orders-panel h2 {
  font-size: 1.35rem;
}

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

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

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

.order-summary {
  position: sticky;
  top: 100px;
}

.order-summary img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 14px 0;
  object-fit: cover;
  object-position: center bottom;
  border-radius: var(--radius);
}

dl {
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 750;
}

dd {
  margin: 0;
  text-align: right;
}

.receipt {
  max-width: 760px;
  margin-bottom: 72px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 0.68fr);
  gap: 22px;
  padding-bottom: 72px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 72px;
}

.auth-grid.single {
  grid-template-columns: minmax(280px, 520px);
  justify-content: center;
  padding-top: 64px;
}

.auth-grid .form-panel {
  display: grid;
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.support-layout {
  max-width: 860px;
  padding-bottom: 72px;
}

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

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: 38px 0 78px;
}

.admin-nav {
  position: sticky;
  top: 100px;
  padding: 20px;
}

.admin-nav h1 {
  margin-bottom: 18px;
  font-size: 1.45rem;
  line-height: 1.1;
}

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

.admin-nav a {
  padding: 10px 12px;
  color: var(--muted);
  background: var(--field);
  border-radius: var(--radius);
  font-weight: 750;
}

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

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

.metric-grid article {
  padding: 22px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-grid strong {
  display: block;
  color: var(--red-dark);
  font-size: 2rem;
}

.admin-create {
  margin-bottom: 22px;
}

.admin-create summary {
  cursor: pointer;
  font-weight: 800;
}

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

.admin-form {
  margin-top: 18px;
}

.settings-summary {
  margin-top: 18px;
}

.settings-stack {
  display: grid;
  gap: 18px;
}

.settings-panel {
  display: grid;
  gap: 18px;
}

.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.toggle-row input {
  width: 22px;
  min-height: 22px;
  margin-top: 2px;
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.record-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.record-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.status-pill {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--red-dark);
  background: #fae7e9;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
}

.status-pill.is-active {
  color: var(--green);
  background: #e7f1ea;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-label input {
  width: 18px;
  min-height: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 52px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .feature-band,
  .product-grid,
  .checkout-layout,
  .about-layout,
  .account-layout,
  .auth-grid,
  .admin-shell,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .about-image,
  .order-summary,
  .admin-nav {
    position: static;
  }

  h1 {
    font-size: 4.8rem;
  }

  .coming-soon-hero h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .page-header h1 {
    font-size: 3.4rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: block;
  }

  .brand,
  .main-nav,
  .language-switch {
    margin-bottom: 12px;
  }

  .coming-soon-top {
    display: grid;
  }

  .coming-soon-actions {
    justify-content: flex-start;
  }

  .coming-soon-hero {
    min-height: auto;
    padding-top: 72px;
  }

  .coming-soon-hero h1 {
    font-size: 3rem;
  }

  .coming-soon-hero p {
    font-size: 1rem;
  }

  .hero {
    min-height: 600px;
    padding-top: 120px;
  }

  .hero::after {
    background: rgba(13, 24, 19, 0.72);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero p:not(.eyebrow),
  .page-header p:last-child {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2.45rem;
  }

  .section-heading,
  .record-heading,
  .site-footer {
    display: grid;
  }

  .form-grid.two,
  .inline-buy {
    grid-template-columns: 1fr;
  }
}
