/* Marketing site of the platform. Tokens taken from the design (Figma, node 480:5620). */
:root {
  --yellow: #ffe500;
  --ink: #0d0d0d;
  --ink-2: #262626;
  --grey-1: #525252;
  --grey-2: #737373;
  --grey-3: #a3a3a3;
  --line: #e5e5e5;
  --paper: #faf9f6;
  --white: #ffffff;
  --radius: 18px;
  --wrap: 1332px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 108px);
  margin: 0 auto;
  padding: 0 54px;
}

/* Header */
.top {
  background: var(--yellow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  white-space: nowrap;
  font-weight: 900;
  font-size: 27px;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: var(--ink);
}

.brand.big {
  font-size: 34px;
}

.star {
  font-weight: 700;
  font-size: 0.8em;
  margin-left: 4px;
}

.nav {
  display: flex;
  gap: 36px;
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.pill.dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pill.light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--mono);
  font-size: 15.75px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pill.big {
  font-size: 15.75px;
  padding: 18px 36px;
}

/* Hero */
.hero {
  background: var(--yellow);
  padding: 72px 0 56px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  font-weight: 900;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 756px;
  margin: 28px 0 36px;
  font-size: clamp(18px, 2vw, 22.5px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.eyebrow {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(38, 38, 38, 0.8);
}

.center {
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: 22px;
  margin-top: 64px;
}

.card {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 11px 17px -3px rgba(0, 0, 0, 0.1),
    0 4px 7px -4px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.card.photo {
  padding: 0;
  display: flex;
  align-items: flex-end;
}

.card.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 60%);
}

.card-text {
  position: relative;
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chip {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card.plain {
  background: var(--white);
}

.card.dark {
  background: #131313;
  border-color: #262626;
  color: var(--white);
}

.card h2 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}

.card .small {
  font-size: 13px;
  color: var(--grey-2);
}

.card.dark .small {
  color: var(--grey-3);
}

.micro {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.micro.gold {
  color: var(--yellow);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0 14px;
}

.mock-grid span {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  background: linear-gradient(135deg, #fef3c7, #e5e5e5, #d6d3d1);
}

/* Key facts */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.metrics > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 36px;
}

.metrics > div + div {
  border-left: 2px solid rgba(0, 0, 0, 0.15);
}

.metrics strong {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.metrics span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-2);
}

/* Sections */
.section {
  padding: 90px 54px;
  border-top: 1px solid var(--line);
  max-width: calc(var(--wrap) + 108px);
}

.kicker {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-2);
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 28px;
}

h2.xl {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 28px;
}

.body {
  margin-top: 18px;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--grey-1);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 28px;
}

.split > div:first-child h2 {
  margin-top: 0;
}

.split .pill {
  margin-top: 28px;
}

/* Steps */
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.steps b {
  flex: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d4d4d4;
  background: var(--white);
  font-size: 15.75px;
}

.steps li.on b {
  background: var(--yellow);
  border-color: transparent;
}

.steps li.on > div {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 22px 26px;
  flex: 1;
}

.steps h3 {
  font-size: 22.5px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.steps li > div p {
  margin-top: 6px;
  font-size: 15.75px;
  color: var(--ink-2);
}

/* Templates */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}

.tpl-face {
  height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tpl-face.white {
  background: #f0eeea;
}

.tpl-face.yellow {
  background: var(--yellow);
  border-color: transparent;
}

.tpl-face.dark {
  background: #131313;
  border-color: #262626;
}

.tpl-inner {
  flex: 1;
  border-radius: 9px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tpl-face.white .tpl-inner {
  background: var(--white);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: flex-end;
}

.tpl-face.white .tpl-inner span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.tpl-face.yellow .tpl-inner {
  justify-content: space-between;
}

.tpl-face.yellow strong {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.tpl-face.yellow .bar {
  align-self: flex-start;
  background: var(--ink);
  color: var(--yellow);
  padding: 2px 9px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tpl-face.dark .tpl-inner {
  background: #000;
  border: 1px solid #262626;
  justify-content: space-between;
  padding: 20px;
}

.tpl-face.dark .kick {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-2);
}

.tpl-face.dark strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.tpl-meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tpl-meta h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tpl-meta p {
  margin-top: 6px;
  font-size: 12.4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.tag {
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.4px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--grey-1);
}

/* Portfolio visual */
.visual {
  margin: 0;
}

.visual img {
  width: 100%;
  height: auto;
  border-radius: 27px;
  border: 1px solid var(--line);
  box-shadow:
    0 11px 17px -3px rgba(0, 0, 0, 0.1),
    0 4px 7px -4px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.visual figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--grey-3);
}

/* Sales */
.sales-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 27px;
  margin-top: 40px;
  align-items: start;
}

.shop,
.admin {
  border-radius: 27px;
  padding: 37px;
}

.shop {
  background: var(--paper);
  border: 1px solid var(--line);
}

.shop-top,
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.shop-top small,
.admin-top small {
  font-size: 11px;
  color: var(--grey-3);
}

.shop-top b {
  font-family: var(--mono);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.shop-title {
  margin-top: 18px;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

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

.work {
  background: var(--white);
  border: 1px solid #d4d4d4;
  border-radius: 13.5px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--grey-2);
  margin-bottom: 10px;
}

.thumb.t1 {
  background: linear-gradient(135deg, #fef3c7, #e5e5e5 50%, #d6d3d1);
}

.thumb.t2 {
  background: linear-gradient(45deg, #d4d4d4, #e7e5e4 50%, #fef3c7);
}

.thumb.t3 {
  background: linear-gradient(135deg, #fef08a, #fcd34d 50%, #a3a3a3);
}

.work b {
  font-size: 13.5px;
}

.work small {
  font-size: 11.25px;
  color: var(--grey-3);
}

.work em {
  margin-top: 6px;
  font-style: normal;
  font-weight: 900;
  font-size: 15.75px;
}

.admin {
  background: #131313;
  border: 1px solid #262626;
  color: var(--white);
}

.admin-top {
  border-bottom-color: #262626;
  justify-content: flex-start;
}

.admin-top small {
  margin-left: auto;
  color: var(--grey-2);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yellow);
}

.admin .micro {
  margin-top: 26px;
}

.admin h3 {
  margin-top: 10px;
  font-size: 22.5px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rows {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  background: #171717;
  border: 1px solid #262626;
  border-radius: 9px;
  padding: 14px 16px;
  font-size: 13.5px;
}

.rows li b {
  font-weight: 700;
}

.rows li span:last-child {
  font-family: var(--mono);
  font-weight: 700;
}

.pill-s {
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11.25px;
  font-weight: 600;
  border: 1px solid;
}

.pill-s.ok {
  background: #022c22;
  border-color: #065f46;
  color: #34d399;
}

.pill-s.no {
  background: #450a0a;
  border-color: #991b1b;
  color: #f87171;
}

.counts {
  margin-top: 28px;
  font-size: 15.75px;
  color: var(--grey-2);
}

/* Final call to action */
.final {
  margin: 0 auto 90px;
  padding: 80px 54px;
  background: var(--yellow);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 27px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 11px 17px -3px rgba(0, 0, 0, 0.1),
    0 4px 7px -4px rgba(0, 0, 0, 0.1);
  max-width: calc(var(--wrap) + 108px - 108px);
}

.star-big {
  font-size: 67px;
  font-weight: 300;
  line-height: 1;
}

.final h2 {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 81px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
}

.final .lead {
  margin: 24px 0 40px;
  font-size: 22.5px;
  color: rgba(0, 0, 0, 0.8);
  max-width: 648px;
}

.final .eyebrow {
  color: rgba(0, 0, 0, 0.6);
}

/* Footer */
.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}

.foot .body {
  margin-top: 18px;
  font-size: 18px;
}

.foot-bottom {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-2);
}

/* Small screens */
@media (max-width: 1000px) {
  .wrap,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav {
    display: none;
  }

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

  .metrics {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .metrics > div + div {
    border-left: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
    padding-top: 28px;
  }

  .split,
  .sales-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .wrap,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bar {
    min-height: 64px;
  }

  .brand {
    font-size: 21px;
  }

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

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

  .final {
    padding: 56px 24px;
    margin-bottom: 56px;
  }

  .kicker {
    flex-direction: column;
    gap: 6px;
  }

  .shop,
  .admin {
    padding: 24px;
  }
}

/* ---- Second pass: layout of the design text (sections in page order) ---- */
.hero-top {
  background: var(--yellow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 72px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 0 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.topbar .brand {
  font-size: 27px;
}
.menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.menu a {
  text-decoration: none;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 72px;
}
.hero-copy h1 {
  font-size: clamp(48px, 8vw, 108px);
}
.tagline {
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(38, 38, 38, 0.8);
}
.micro.center,
.center {
  text-align: center;
}
.metrics {
  padding-top: 90px;
  padding-bottom: 60px;
  text-align: center;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}
.metric-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 36px;
}
.metric-row > div + div {
  border-left: 2px solid rgba(0, 0, 0, 0.15);
}
.metric-row strong {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.metric-row strong span {
  font-size: 40px;
}
.metric-row .caption {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-2);
}
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 27px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-2);
}
.dots {
  display: flex;
  gap: 7px;
}
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d4d4;
  display: block;
}
.dots i.on {
  width: 22px;
  border-radius: 4px;
  background: var(--ink);
}
.ready {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 27px;
  padding: 37px;
}
.ready h3 {
  font-size: 22.5px;
  font-weight: 900;
}
.ready p {
  margin: 6px 0 18px;
  color: var(--grey-2);
  font-size: 15.75px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.chip {
  border: 1px solid #d4d4d4;
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 22px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--grey-1);
}
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.tpl-face.white .tpl-inner .kick {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey-3);
}
.tpl-face.yellow .bottom,
.tpl-face.dark .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.tpl-face.dark .bottom {
  color: var(--grey-2);
  font-weight: 400;
}
.tpl-face.dark .tpl-inner strong {
  font-size: 27px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.tpl-face.yellow .bar {
  align-self: auto;
}
.tag.tag-preview {
  cursor: pointer;
}
.portfolio .visual {
  position: relative;
}
.visual .shade {
  position: absolute;
  inset: 0;
  border-radius: 27px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}
.visual figcaption {
  position: absolute;
  left: 27px;
  right: 27px;
  bottom: 18px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 12.4px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visual img {
  border-radius: 27px;
  aspect-ratio: 16/10;
}
.options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 27px;
}
.options span {
  background: var(--white);
  border: 1px solid #deded9;
  border-radius: 18px;
  padding: 26px 17px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.options span::after {
  content: "↗";
  color: #111;
}
.shop-top {
  flex-wrap: wrap;
}
.shop-nav {
  display: flex;
  gap: 18px;
  font-size: 13.5px;
  color: var(--grey-1);
}
.shop-nav .on {
  color: var(--ink);
  font-weight: 700;
}
.badge {
  background: var(--yellow);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.25px;
  font-weight: 700;
}
.work {
  position: relative;
}
.add {
  margin-top: 8px;
  background: var(--yellow);
  border-radius: 4.5px;
  padding: 9px;
  text-align: center;
  font-size: 12.4px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.admin-top {
  flex-wrap: wrap;
}
.admin-top .who {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--grey-3);
}
.avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #404040;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--grey-3);
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 0;
}
.admin-head h3 {
  font-size: 22.5px;
  margin: 6px 0 0;
}
.add-btn {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 700;
}
.rows li {
  grid-template-columns: 36px 1fr auto auto;
}
.rows .num {
  width: 36px;
  height: 36px;
  background: #262626;
  border-radius: 4.5px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
}
.rows small {
  display: block;
  color: var(--grey-3);
  font-size: 11.25px;
}
.rows .price {
  font-family: var(--mono);
  font-weight: 700;
}
.admin-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid #262626;
  color: var(--grey-3);
  font-size: 12.4px;
}
.pay-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 27px;
  margin-top: 40px;
  align-items: start;
}
.pay-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pay {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
}
.pay.hi {
  background: var(--yellow);
  border-color: transparent;
}
.pay h3 {
  font-size: 18px;
  font-weight: 700;
}
.pay p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--grey-1);
  line-height: 1.5;
}
.pay .ico {
  flex: none;
  width: 45px;
  height: 45px;
  border-radius: 13.5px;
  background: var(--ink);
}
.checkout {
  background: #131313;
  border: 1px solid #262626;
  color: var(--white);
  border-radius: 27px;
  padding: 37px;
}
.checkout-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 23px;
  border-bottom: 1px solid #262626;
  font-size: 13.5px;
}
.checkout-top .dot {
  display: inline-block;
  margin-right: 9px;
}
.ssl {
  background: #262626;
  color: #d4d4d4;
  border-radius: 4.5px;
  padding: 2px 9px;
  font-family: var(--mono);
  font-size: 11px;
}
.checkout .micro {
  margin-top: 22px;
}
.checkout h3 {
  font-size: 18px;
  margin-top: 4px;
}
.checkout .small {
  font-size: 13.5px;
  color: var(--grey-3);
  margin-top: 4px;
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(38, 38, 38, 0.8);
  color: var(--grey-3);
  font-size: 13.5px;
}
.total b {
  font-family: var(--mono);
  font-size: 27px;
  color: var(--yellow);
}
.total small {
  font-size: 13.5px;
  color: var(--grey-3);
}
.method {
  background: #171717;
  border: 1px solid #262626;
  border-radius: 13.5px;
  padding: 19px;
  margin-top: 12px;
  display: grid;
  gap: 13px;
}
.method-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
}
.brands {
  display: flex;
  gap: 7px;
}
.brands i {
  background: #262626;
  border-radius: 4.5px;
  padding: 1px 7px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: #d4d4d4;
}
.card-no {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #262626;
  border-radius: 9px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: #d4d4d4;
  display: flex;
  justify-content: space-between;
}
.card-no span {
  color: var(--grey-2);
  font-size: 11.25px;
}
.card-row {
  display: flex;
  gap: 9px;
}
.card-row span {
  flex: 1;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #262626;
  border-radius: 9px;
  padding: 10px;
  font-family: var(--mono);
  font-size: 12.4px;
  color: var(--grey-3);
}
.card-row .secure {
  color: #34d399;
  text-align: center;
}
.deposit {
  margin-top: 12px;
  background: rgba(23, 23, 23, 0.6);
  border: 1px solid #262626;
  border-radius: 13.5px;
  padding: 15px;
  display: grid;
  gap: 7px;
  font-size: 12.4px;
  color: var(--grey-3);
}
.deposit p {
  display: flex;
  justify-content: space-between;
  margin: 0;
}
.deposit b {
  color: var(--white);
  font-family: var(--mono);
}
.deposit b.ok {
  color: #34d399;
  font-family: var(--sans);
}
.confirm {
  display: block;
  margin-top: 18px;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  border-radius: 999px;
  padding: 14px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.svc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 27px;
  margin-top: 40px;
}
.svc {
  border-radius: 27px;
  border: 1px solid var(--line);
  padding: 33px;
  min-height: 487px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.svc.big {
  background: #fafafa;
  border: 2px solid #deded9;
  position: relative;
}
.svc.yellow {
  background: var(--yellow);
  border-color: transparent;
}
.svc h3 {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.svc.big p {
  margin-top: 18px;
  font-size: 15.75px;
  color: var(--grey-1);
  line-height: 1.5;
  max-width: 340px;
}
.svc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #272727;
  padding-top: 19px;
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 24px;
}
.svc.big .svc-foot {
  border-top: 0;
  justify-content: flex-start;
  gap: 12px;
  text-transform: uppercase;
  font-size: 13.5px;
}
.round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a2a2a;
  display: grid;
  place-items: center;
}
.round img {
  filter: invert(1);
}
.svc.yellow .round {
  background: #2a2a2a;
}
.status {
  position: absolute;
  right: 33px;
  top: 33px;
  width: 249px;
  background: var(--white);
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  padding: 12px;
}
.status {
  display: none;
}
.final .tagline {
  margin-top: 54px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding-bottom: 73px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .body {
  font-size: 18px;
  margin-top: 18px;
  max-width: 576px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.4px;
  color: var(--grey-3);
  letter-spacing: 0.06em;
}
.status-line .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  display: block;
}
.foot-news {
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.news-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.news-body {
  font-size: 13.5px;
  color: var(--grey-2);
}
.news-form {
  display: flex;
  gap: 11px;
  margin-top: 4px;
}
.news-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  padding: 12px 19px;
  font: inherit;
  font-size: 13.5px;
  background: var(--white);
}
.news-form button {
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 0 27px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.05em;
}
.news-fine {
  font-size: 11.25px;
  color: var(--grey-3);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 63px 0 64px;
  border-bottom: 1px solid var(--line);
}
.foot-cols h4 {
  margin: 0 0 18px;
  font-size: 11.25px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.foot-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.foot-bottom {
  margin-top: 36px;
}
@media (max-width: 1000px) {
  .menu {
    display: none;
  }
  .metric-row,
  .options,
  .svc-grid,
  .pay-grid,
  .foot-top,
  .foot-cols {
    grid-template-columns: 1fr;
  }
  .metric-row > div + div {
    border-left: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
    padding-top: 24px;
  }
  .foot-news {
    padding-left: 0;
  }
  .foot-cols {
    gap: 24px;
  }
}

/* Hero screenshot strip, positions taken from the design (1440px frame) */
.hero-strip {
  position: relative;
  height: 367px;
  margin-top: 56px;
}
.hero-strip img {
  position: absolute;
  object-fit: cover;
  display: block;
}
.hero-strip .side {
  top: 91px;
  width: 30.67%;
  height: 275px;
  filter: brightness(0.65);
}
.hero-strip .side.left {
  left: -0.49%;
}
.hero-strip .side.right {
  left: 72.43%;
}
.hero-strip .mid {
  top: 0;
  left: 30.83%;
  width: 40.9%;
  height: 367px;
  box-shadow: 0 11px 17px -3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1000px) {
  .hero-strip {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-strip img {
    position: static;
    width: 100%;
    height: auto;
    filter: none;
  }
}

/* Nothing may widen the page: the screenshot strip is clipped to the hero. */
.hero-top {
  overflow: hidden;
}
.hero-strip .side.right {
  left: 72.4%;
  width: 27.6%;
}
@media (max-width: 1000px) {
  .hero-strip .side.right {
    left: auto;
    width: 100%;
  }
}

/* Phone and tablet: the three screenshots stack, each at full width. */
@media (max-width: 1000px) {
  .hero-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    margin-top: 40px;
  }
  .hero-strip .side,
  .hero-strip .mid {
    position: static;
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    filter: none;
    box-shadow: none;
  }
  .hero-strip .side {
    filter: brightness(0.65);
  }
}

/* Key metrics band: yellow, full width, three columns side by side (design 480:6230). */
.metrics.wrap {
  display: block;
  max-width: none;
  background: var(--yellow);
  padding: 90px 0;
  text-align: center;
}
.metrics .micro {
  display: block;
  color: var(--grey-1);
  margin: 0 auto;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--wrap);
  margin: 56px auto 0;
  padding: 0 54px;
}
.metric-row > div {
  align-items: center;
  padding: 0 38px;
}
.metric-row strong {
  color: var(--ink);
}
.metric-row .caption {
  white-space: nowrap;
  font-size: 19px;
  font-weight: 700;
}
@media (max-width: 1000px) {
  .metric-row {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .metric-row .caption {
    white-space: normal;
  }
}

/* The old rule .metrics > div stacked the row as a column: reset it for the row itself. */
.metrics > .metric-row {
  display: grid;
  flex-direction: initial;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0;
  padding: 0 54px;
}
@media (max-width: 1000px) {
  .metrics > .metric-row {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
}

/* Sizes taken from the Figma capture of the key metrics band. */
.metrics.wrap {
  padding: 96px 0 104px;
}
.metric-row {
  margin-top: 72px;
}
.metric-row strong {
  font-size: 80px;
}
.metric-row strong span {
  font-size: 48px;
}
.metric-row .caption {
  font-size: 24px;
}
.metrics > .metric-row > div + div {
  border-left: 2px solid rgba(0, 0, 0, 0.2);
}
@media (max-width: 1000px) {
  .metric-row strong {
    font-size: 56px;
  }
  .metric-row strong span {
    font-size: 36px;
  }
  .metric-row .caption {
    font-size: 20px;
  }
  .metrics > .metric-row > div + div {
    border-left: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    padding-top: 28px;
  }
}

/* Captions wrap inside their column instead of running into the next one. */
.metric-row .caption {
  white-space: normal;
  font-size: 22px;
  max-width: 340px;
  text-wrap: balance;
}

/* Corrections from the design: payment icons, preview panel, swatch, commerce images. */
.pay .ico {
  display: grid;
  place-items: center;
}
.pay .ico img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}
.preview-panel {
  margin-top: 27px;
  height: 291px;
  max-width: 648px;
  background: #f8f7f3;
  border: 1px solid var(--line);
  border-radius: 27px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.tpl-face.white .tpl-inner {
  position: relative;
}
.swatch {
  position: absolute;
  top: 36%;
  left: 50%;
  width: 72px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background: linear-gradient(51deg, #bae6fd 0%, #fde68a 50%, #fda4af 100%);
}
.tpl-face.white .tpl-inner .kick {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
}
.svc-shots {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
}
.svc-shots .shot {
  flex: 1;
  border-radius: 9px;
  overflow: hidden;
  background: #e5e5e5;
  aspect-ratio: 16 / 10;
}
.svc-shots .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.status-box {
  position: absolute;
  right: 33px;
  top: 33px;
  width: 249px;
  background: #171717;
  border-radius: 9px;
  padding: 11px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.25px;
  color: var(--grey-3);
}
.status-box b {
  color: var(--yellow);
  text-align: right;
}
.svc.big {
  position: relative;
}
.status {
  display: none;
}

/* Fixes: icons rendered white on the black tile; status box flows under the images, no overlap. */
.pay .ico img {
  filter: brightness(0) invert(1);
}
.status-box {
  position: static;
  width: 100%;
  margin-top: 12px;
}

/* Hero carousel: the three screenshots take turns in the centre slot (desktop). */
.hero-strip img {
  transition:
    left 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.9s;
}
.hero-strip img.slot-0 {
  left: -0.49%;
  top: 91px;
  width: 30.67%;
  height: 275px;
  filter: brightness(0.65);
  z-index: 1;
}
.hero-strip img.slot-1 {
  left: 30.83%;
  top: 0;
  width: 40.9%;
  height: 367px;
  filter: none;
  z-index: 2;
}
.hero-strip img.slot-2 {
  left: 72.4%;
  top: 91px;
  width: 27.6%;
  height: 275px;
  filter: brightness(0.65);
  z-index: 1;
}
.hero-strip img.slot-1 {
  box-shadow: 0 11px 17px -3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1000px) {
  .hero-strip img.slot-0,
  .hero-strip img.slot-1,
  .hero-strip img.slot-2 {
    position: static;
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    z-index: auto;
    filter: none;
    box-shadow: none;
  }
}

/* Perspective layout as on the Squarespace hero: the centre card is flat, the two side cards turn away and bleed off the edges. */
.hero-strip {
  perspective: 1400px;
}
.hero-strip img {
  transition:
    left 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.9s,
    transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-strip img.slot-0 {
  left: -3%;
  top: 70px;
  width: 32%;
  height: 300px;
  transform: rotateY(24deg) rotateZ(-3deg);
  transform-origin: right center;
}
.hero-strip img.slot-2 {
  left: 71%;
  top: 70px;
  width: 32%;
  height: 300px;
  transform: rotateY(-24deg) rotateZ(3deg);
  transform-origin: left center;
}
.hero-strip img.slot-1 {
  transform: none;
}

/* Symmetric spacing: the centre card is centred, the side cards meet it with no gap and bleed the same amount on each edge. */
.hero-strip img.slot-1 {
  left: 29.55%;
  width: 40.9%;
}
.hero-strip img.slot-0 {
  left: -1.45%;
  width: 31%;
}
.hero-strip img.slot-2 {
  left: 70.45%;
  width: 31%;
}

/* Key metrics captions: larger, one line on desktop, as in the reference capture. */
.metric-row .caption {
  white-space: nowrap;
  font-size: 28px;
  max-width: none;
}
@media (max-width: 1000px) {
  .metric-row .caption {
    white-space: normal;
    font-size: 20px;
  }
}

/* One line per caption: 24px, narrower column padding, so nothing crosses the dividers. */
.metric-row .caption {
  font-size: 24px;
}
.metric-row > div {
  padding: 0 12px;
}
.metrics > .metric-row {
  padding: 0 24px;
}

/* Captions at 20px: the width of "Build your website without coding" matches the reference capture. */
.metric-row .caption {
  font-size: 20px;
}

/* The "KEY METRICS" label, larger. */
.metrics .micro {
  font-size: 20px;
  letter-spacing: 0.12em;
}

/* Gutters follow the design proportion (54px on a 1440px frame = 3.75vw), so the content fills the screen on wide displays. */
:root {
  --gutter: 3.75vw;
}
.wrap,
.metrics.wrap,
.final {
  max-width: none;
}
.wrap {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.topbar,
.hero-copy {
  padding-left: 0;
  padding-right: 0;
}
.metric-row {
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.metrics > .metric-row {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.final {
  margin-left: var(--gutter);
  margin-right: var(--gutter);
  max-width: none;
  width: auto;
}
@media (max-width: 1000px) {
  :root {
    --gutter: 24px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }
}

/* "How it work": the text column is wider than the steps column, with a small gap between them (reference capture). */
#how .split {
  grid-template-columns: 1.24fr 1fr;
  column-gap: 4vw;
}

/* "How it work" on the design's 12-column grid: text and preview in columns 1-7, steps and the start card in columns 8-12. */
#how .split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
#how .split > div:first-child {
  grid-column: 1 / span 7;
}
#how .split > div:last-child {
  grid-column: 8 / span 5;
  padding-top: 4.4%;
}
#how .preview-panel {
  max-width: 648px;
}
@media (max-width: 1000px) {
  #how .split {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  #how .split > div:last-child {
    padding-top: 0;
  }
}

/* The step indicator line matches the width of the preview card (648px). */
#how .step-indicator {
  max-width: 648px;
}

/* The vertical line that links the step numbers, drawn behind the circles. */
.steps {
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 22px;
  width: 1px;
  background: var(--line);
  z-index: 0;
}
.steps li {
  position: relative;
  z-index: 1;
}

/* Template cards at the design's size (420 x 316 on a 1440 frame) and proportions. */
#templates .tpl-face {
  height: auto;
  aspect-ratio: 420 / 316;
}
#templates .tpl-face.white .swatch {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 108px;
  height: 144px;
  transform: translate(-50%, -50%);
  background: #f5f5f5;
  border: 1.125px solid #e5e5e5;
  border-radius: 0;
}
#templates .tpl-face.white .swatch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 90px;
  transform: translate(-50%, -50%);
  background: linear-gradient(51.3deg, #bae6fd 0%, #fde68a 50%, #fda4af 100%);
}
#templates .tag {
  padding: 7.9px 19px;
  border: 1.125px solid #d4d4d4;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-radius: 999px;
  text-decoration: none;
  background: var(--white);
}

/* "STREET ART" is a small label, as in the design. */
#templates .tpl-face.yellow .bar {
  display: inline-block;
  height: auto;
  width: auto;
  padding: 5px 9px;
  border-radius: 4.5px;
  line-height: 1.2;
}

#templates .tpl-face.yellow .bottom .bar {
  flex: none;
  align-self: center;
  height: 22px;
  width: auto;
  min-height: 0;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
}

/* Artist portfolio, as in the reference: text in columns 1-5 at the bottom, studio image and option cards in columns 6-12. */
#portfolio .split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: stretch;
}
#portfolio .split > div:first-child {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#portfolio .split > figure {
  grid-column: 6 / span 7;
  margin: 0;
}
#portfolio .options {
  grid-column: 6 / span 7;
}
#portfolio .split > div:first-child .pill {
  align-self: flex-start;
}
#portfolio .visual img {
  height: 470px;
  aspect-ratio: auto;
  width: 100%;
  object-fit: cover;
}
#portfolio .options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 27px;
}
#portfolio .options span {
  height: 76px;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  background: var(--white);
  border: 1.15px solid #deded9;
  border-radius: 18px;
}
#portfolio .options span::after {
  content: none;
}
#portfolio .options img {
  width: 18px;
  height: 18px;
}
@media (max-width: 1000px) {
  #portfolio .split {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  #portfolio .options {
    grid-template-columns: repeat(2, 1fr);
  }
}

#portfolio .split > div:first-child {
  grid-row: 1 / span 2;
  padding-bottom: 0;
}

#portfolio .options span {
  font-size: 15px;
  padding: 0 16px;
  white-space: nowrap;
}

/* Option cards: same structure, cleaner type and arrow, a quiet hover. */
#portfolio .options span {
  height: 84px;
  padding: 0 14px 0 24px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  cursor: pointer;
}
#portfolio .options img {
  width: 16px;
  height: 16px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #f2f2f2;
  transition: background-color 0.25s ease;
}
#portfolio .options span:hover {
  border-color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
#portfolio .options span:hover img {
  background: var(--yellow);
}

#portfolio .options span {
  white-space: normal;
  line-height: 1.25;
  gap: 12px;
  padding: 0 14px 0 20px;
  font-size: 16px;
}
#portfolio .options img {
  width: 12px;
  height: 12px;
  padding: 8px;
}

/* Clickable controls: real buttons with a visible hover and focus state. */
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.chip {
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.chip:hover {
  border-color: var(--ink);
}
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.tag {
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.tag:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.add {
  cursor: pointer;
  border: 0;
  transition: filter 0.2s ease;
}
.add:hover {
  filter: brightness(0.94);
}
.options button {
  text-align: left;
}
.options button:hover {
  border-color: var(--ink);
}
.options button.on {
  border-color: var(--ink);
}
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* READ LOGISTICS SPEC is a real button: the round arrow turns yellow on hover. */
.spec-link {
  background: none;
  border: 0;
  padding: 0;
  width: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.spec-link .round {
  transition: background-color 0.25s ease;
}
.spec-link .round img {
  transition: filter 0.25s ease;
}
.spec-link:hover .round {
  background: var(--yellow);
}
.spec-link:hover .round img {
  filter: none;
}
.spec-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

/* The option cards are buttons now: same layout as the span version (row, text left, arrow right, white card). */
#portfolio .options button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  height: 84px;
  width: 100%;
  padding: 0 14px 0 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: left;
}
#portfolio .options button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Commerce cards: the main card is twice the width of each yellow card, as in the reference capture. */
#commerce .svc-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Main commerce card, as in the reference: text on the left, the image panel and status on the right. */
#commerce .svc.big {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 32px;
  align-items: start;
}
#commerce .svc.big h3 {
  grid-column: 1;
  grid-row: 1;
  max-width: 300px;
}
#commerce .svc.big > p {
  grid-column: 1;
  grid-row: 2;
  max-width: 300px;
  margin-top: 18px;
}
#commerce .svc.big .spec-link {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  margin-top: 24px;
}
#commerce .svc.big .svc-shots {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  background: var(--white);
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  padding: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  align-self: center;
}
#commerce .svc.big .svc-shots .shot {
  aspect-ratio: auto;
  height: 130px;
  border-radius: 9px;
}
#commerce .svc.big .status-box {
  grid-column: 2;
  grid-row: 4;
  margin-top: 0;
  align-self: end;
}

/* Image panel as in the reference capture: two images side by side with a hairline gap, then the status bar. */
#commerce .svc.big .svc-shots {
  gap: 4px;
  padding: 10px;
  border-radius: 20px;
}
#commerce .svc.big .svc-shots .shot {
  height: 150px;
  border-radius: 10px;
}
#commerce .svc.big .status-box {
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  align-items: center;
}
#commerce .svc.big .status-box span {
  color: #a3a3a3;
}
#commerce .svc.big .status-box b {
  font-size: 13px;
}

/* Status bar compact, as in the Figma capture: small type, short bar under the images. */
#commerce .svc.big .status-box {
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.35;
  border-radius: 8px;
  gap: 12px;
}
#commerce .svc.big .status-box b {
  font-size: 11px;
}
#commerce .svc.big .svc-shots .shot {
  height: 150px;
}

/* One small white frame holds the two images and the status bar (as in the reference). */
#commerce .svc.big .svc-shots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#commerce .svc.big .svc-shots > .shot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
#commerce .svc.big .svc-shots .status-box {
  margin-top: 0;
}

/* The image frame is a square, reduced, aligned to the right of the card. */
#commerce .svc.big .svc-shots {
  width: 300px;
  height: 300px;
  aspect-ratio: auto;
  justify-self: end;
  padding: 9px;
}
#commerce .svc.big .svc-shots > .shot-row {
  flex: 1;
  min-height: 0;
}
#commerce .svc.big .svc-shots .shot {
  height: 100%;
  min-height: 0;
}
#commerce .svc.big .svc-shots .status-box {
  flex: none;
  padding: 10px 12px;
}

/* The text of the main commerce card uses its full left column. */
#commerce .svc.big h3,
#commerce .svc.big > p {
  max-width: none;
}

/* Round buttons: the arrow is white on the black circle, black on the yellow hover state. */
.round img,
.spec-link .round img,
.svc .round img {
  filter: brightness(0) invert(1);
}
.spec-link:hover .round img {
  filter: brightness(0);
}

/* Template captures in the hero strip: cover the slots so each capture fills its frame. */
.hero-strip img {
  object-fit: cover;
}

/* Hero strip at the sizes the owner set: centre 589 x 366.47, sides 441.75 x 274.85, sides tucked behind the centre. */
.hero-strip {
  height: 366.47px;
  margin-top: 56px;
  perspective: 1400px;
}
.hero-strip img.slot-1 {
  left: calc(50% - 294.5px);
  top: 0;
  width: 589px;
  height: 366.47px;
  object-fit: cover;
}
.hero-strip img.slot-0 {
  left: calc(50% - 294.5px - 441.75px + 60px);
  top: 46px;
  width: 441.75px;
  height: 274.85px;
  object-fit: cover;
}
.hero-strip img.slot-2 {
  left: calc(50% + 294.5px - 60px);
  top: 46px;
  width: 441.75px;
  height: 274.85px;
  object-fit: cover;
}
@media (max-width: 1000px) {
  .hero-strip img.slot-0,
  .hero-strip img.slot-1,
  .hero-strip img.slot-2 {
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
  }
}

/* Left capture (hero-left.png) shows its top part: menu and headline stay visible, as in the reference capture. */
.hero-strip img.slot-0 {
  object-position: top center;
}

/* Footer links: clickable, visible hover and focus. */
.foot-cols a {
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}
.foot-cols a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-cols a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Footer on narrow screens: nothing wider than the screen; the subscribe row wraps. */
.foot-top,
.foot-top > div {
  min-width: 0;
}
.foot-news {
  min-width: 0;
}
.news-form {
  flex-wrap: wrap;
}
.news-form input {
  min-width: 0;
  width: 100%;
}
@media (max-width: 1000px) {
  .foot-top {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .news-form {
    flex-direction: column;
  }
  .news-form button {
    width: 100%;
    padding: 14px 0;
  }
  .news-fine,
  .news-body,
  .status-line {
    overflow-wrap: anywhere;
  }
}

/* "Pick a template": the visible template from the registry, card as in the reference capture. */
.tpl-picker {
  margin-top: 27px;
  max-width: 648px;
}
.pick-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pick-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(135deg, #ece7dc, #d9cfb8);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: #555;
  text-align: center;
  line-height: 1.4;
}
.pick-meta {
  margin-top: 16px;
}
.pick-meta h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.pick-meta p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--grey-1);
  line-height: 1.45;
}
.pick-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.pick-btn {
  border: 1px solid #d4d4d4;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}
.pick-btn:hover {
  border-color: var(--ink);
}
.pick-btn.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.pick-btn.dark:hover {
  background: #262626;
}
.pick-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* Step 01 as a short sequence of three screens: pick, confirm, website. Only the active one shows. */
.flow {
  position: relative;
  margin-top: 27px;
  max-width: 648px;
  min-height: 480px;
}
.flow .scr {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s;
}
.flow .scr.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  position: relative;
}
.pick-actions.end {
  justify-content: flex-end;
}
.confirm-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.confirm-list li {
  padding-left: 22px;
  position: relative;
}
.confirm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.pick-note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--grey-1);
}
.dots i[data-go] {
  cursor: pointer;
}
.dots i:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.pick-card .micro {
  margin: 0;
}

/* Confirmation screen: left-aligned, regular weight text, round bullets aligned on the first line. */
.pick-card.confirm,
.pick-card.confirm * {
  text-align: left;
}
.pick-card.confirm h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 6px;
}
.pick-card.confirm .confirm-list {
  font-weight: 400;
}
.pick-card.confirm .confirm-list b {
  font-weight: 700;
}
.pick-card.confirm .confirm-list li::before {
  top: 4px;
}
.pick-card.confirm .micro {
  text-align: left;
}

/* First screen: the four-card chooser (from the owner's reference capture), inside the step area. */
.chooser {
  max-width: 648px;
}
.ch-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ch-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--grey-2);
}
.ch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.ch-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 14px;
}
.ch-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(135deg, #ece7dc, #d9cfb8);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: #555;
  text-align: center;
  line-height: 1.4;
}
.ch-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.ch-head h3 {
  font-size: 16px;
  font-weight: 800;
}
.ch-free,
.ch-lock {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #efece6;
  color: var(--ink-2);
  white-space: nowrap;
}
.ch-lock {
  background: var(--ink);
  color: var(--white);
}
.ch-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--grey-1);
  line-height: 1.45;
}
.ch-card .pick-actions {
  margin-top: 12px;
}
.pick-btn:disabled {
  color: #9a9a9a;
  border-color: #e5e5e5;
  cursor: not-allowed;
}

/* Artwork thumbnails: the owner's paintings fill the square, signatures cropped out. */
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

/* Commerce section on phones: one column, the main card stacks its text, images and status. */
@media (max-width: 1000px) {
  #commerce .svc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #commerce .svc {
    min-height: 0;
  }
  #commerce .svc.big {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #commerce .svc.big .svc-shots {
    width: 100%;
    height: auto;
  }
  #commerce .svc.big .svc-shots .shot-row {
    flex: none;
  }
  #commerce .svc.big .svc-shots .shot-row .shot {
    height: 150px;
  }
  #commerce .svc.big .svc-shots .status-box {
    padding: 10px 12px;
  }
  #commerce .svc.yellow {
    min-height: 260px;
  }
}

/* Phone and tablet: the three template captures stack as flat, full-width cards (no tilt, no offset, nothing cut off). */
@media (max-width: 1000px) {
  .hero-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
    perspective: none;
    margin-top: 40px;
  }
  .hero-strip img,
  .hero-strip img.slot-0,
  .hero-strip img.slot-1,
  .hero-strip img.slot-2 {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    filter: none;
  }
}
