:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f7;
  color: #20242a;
  --ink: #20242a;
  --muted: #65707d;
  --line: #d2d8df;
  --surface: #ffffff;
  --soft: #eef2f5;
  --teal: #0f6f78;
  --blue: #496f9b;
  --green: #668052;
  --gold: #8a6a2d;
  --plum: #7b5a88;
  --clay: #a56142;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f5f6f7;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(210, 216, 223, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

nav a {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #3e4650;
  text-decoration: none;
}

nav a:hover {
  background: #eef2f5;
}

.intro,
.product-band,
.compare-band,
.details-band {
  padding: clamp(34px, 7vw, 78px) clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.intro {
  padding-top: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 54px);
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 720px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.intro-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.intro-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #b9c0c8;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: #28313b;
}

.button:hover {
  transform: translateY(-1px);
}

.button.disabled {
  border-color: #c8cdd3;
  background: #eef0f2;
  color: #6d7580;
}

.text-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-band {
  background: #f5f6f7;
}

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

.product-card {
  --accent: #6d7885;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 13px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(25, 33, 43, 0.06);
}

.product-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.14;
  letter-spacing: 0;
}

.product-card p {
  margin-bottom: 0;
  color: #4c5662;
  font-size: 14px;
  line-height: 1.45;
}

.product-card ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  color: #3e4650;
  font-size: 14px;
  line-height: 1.35;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 15px;
}

.product-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-topline img,
.album-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.album-mark {
  display: inline-block;
  border: 2px solid var(--plum);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 0 47%, var(--plum) 47% 53%, transparent 53% 100%),
    #f7f1fa;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf7f8;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.badge.muted {
  background: #f1f2f4;
  color: #596574;
}

.product-free {
  --accent: var(--green);
}

.product-mosaic {
  --accent: var(--teal);
}

.product-builder {
  --accent: var(--blue);
}

.product-designer {
  --accent: var(--clay);
}

.product-album {
  --accent: var(--plum);
}

.featured {
  background: #fffdf9;
}

.preview {
  position: relative;
  display: grid;
  min-height: 138px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #d7dde3;
  border-radius: 8px;
  background: #f3f6f8;
}

.preview span {
  display: block;
  border-radius: 4px;
  background: #b7c7d8;
}

.mosaic-preview {
  grid-template-columns: 1.1fr 0.8fr 1fr;
  grid-template-rows: 0.8fr 1.2fr;
  gap: 8px;
}

.mosaic-preview span:nth-child(1) {
  background: #9ab2ca;
}

.mosaic-preview span:nth-child(2) {
  background: #c8b58f;
}

.mosaic-preview span:nth-child(3) {
  background: #94a97f;
}

.mosaic-preview span:nth-child(4) {
  background: #c49a82;
}

.mosaic-preview span:nth-child(5) {
  background: #91bdc1;
}

.mosaic-preview span:nth-child(6) {
  background: #a99ab4;
}

.mosaic-preview.dense {
  grid-template-columns: 0.8fr 1.1fr 0.9fr;
  grid-template-rows: 1fr 0.75fr 0.95fr;
}

.collage-preview {
  grid-template-columns: 1.2fr 0.85fr;
  grid-template-rows: 1fr 1fr 0.72fr;
  gap: 8px;
}

.collage-preview .large {
  grid-row: span 2;
  background: #8fb1c9;
}

.collage-preview span:nth-child(2) {
  background: #caa17f;
}

.collage-preview span:nth-child(3) {
  background: #9aaf82;
}

.collage-preview span:nth-child(4) {
  grid-column: 1 / -1;
  background: #f2f5f7;
  border: 1px solid #ccd5dd;
}

.designer-preview {
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: 0.75fr 1fr 0.6fr;
  gap: 8px;
}

.designer-preview .hero-block {
  grid-row: span 2;
  background: #94b2c7;
}

.designer-preview .text-block {
  background: repeating-linear-gradient(#f8fafb 0 7px, #d3dbe3 7px 9px);
  border: 1px solid #cbd4dc;
}

.designer-preview span:nth-child(3) {
  background: #c4937d;
}

.designer-preview span:nth-child(4) {
  grid-column: 1 / -1;
  background: #9cae82;
}

.album-preview {
  grid-template-columns: 1fr 12px 1fr;
  gap: 0;
  background: #f7f1fa;
}

.album-preview .page {
  border: 1px solid #d5c8dc;
  border-radius: 5px;
  background:
    linear-gradient(135deg, #9fb5ca 0 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 54%, #c99b82 54%),
    #ffffff;
}

.album-preview .left {
  margin-right: 8px;
}

.album-preview .right {
  margin-left: 8px;
}

.album-preview .gutter {
  width: 12px;
  border-radius: 99px;
  background: #7b5a88;
}

.compare-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

th,
td {
  padding: 16px;
  border-bottom: 1px solid #e1e5e9;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
}

thead th {
  background: #eef2f5;
  color: #3f4853;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

tbody th {
  width: 24%;
  color: #20242a;
  font-weight: 800;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.details-band {
  background: #f5f6f7;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.detail-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.detail-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.detail-item p {
  margin-bottom: 0;
  color: #4c5662;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: #4c5662;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  color: var(--teal);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .product-grid,
  .detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  h1 {
    font-size: 40px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .product-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand span {
    max-width: 230px;
  }

  nav {
    gap: 4px;
    font-size: 13px;
  }

  nav a {
    padding-inline: 7px;
  }

  .button {
    width: 100%;
  }

  .card-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
