:root {
  color-scheme: dark;
  --bg-body: #07090e;
  --bg-container: rgba(16, 20, 29, 0.94);
  --bg-nav: #0d1119;
  --bg-card: #151b25;
  --text-color: #eef3f7;
  --muted-text: #9ba9b7;
  --link-color: #70d8ff;
  --accent-color: #70d8ff;
  --link-hover: #bcecff;
  --heading-color: #ff4d67;
  --border-color: rgba(166, 190, 211, 0.16);
  --shadow-color: rgba(0, 0, 0, 0.44);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  padding: 28px;
  background:
    radial-gradient(circle at 14% 0%, rgba(58, 182, 221, 0.12), transparent 32rem),
    radial-gradient(circle at 88% 8%, rgba(255, 54, 93, 0.12), transparent 28rem),
    var(--bg-body);
  color: var(--text-color);
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.26;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover { color: var(--link-hover); }

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

p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .38rem; }

h1, h2, h3, h4 {
  margin: 0 0 .7rem;
  color: var(--text-color);
  line-height: 1.2;
}

.page-wrapper {
  width: min(100%, 1380px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 4px 22px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.site-title {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 1px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
}

.logo-dot {
  grid-row: 1 / span 2;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff4d67;
  box-shadow: 0 0 0 5px rgba(255,77,103,.1), 0 0 22px rgba(255,77,103,.8);
}

.site-tagline {
  display: block;
  grid-column: 2;
  color: var(--muted-text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
}

.site-subtitle {
  color: var(--muted-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.main-content {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  overflow: hidden;
  min-height: 680px;
  background: var(--bg-container);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px var(--shadow-color);
  backdrop-filter: blur(14px);
}

.tab {
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
  background: linear-gradient(180deg, rgba(13,17,25,.98), rgba(10,13,20,.98));
  border-right: 1px solid var(--border-color);
}

.tab a,
.tab button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #b8c3ce;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.tab a:hover,
.tab button:hover {
  color: #fff;
  background: rgba(112,216,255,.07);
  border-color: rgba(112,216,255,.13);
}

.tab a.active,
.tab button.active {
  color: #fff;
  background: linear-gradient(105deg, rgba(255,77,103,.24), rgba(255,77,103,.08));
  border-color: rgba(255,77,103,.28);
  box-shadow: inset 3px 0 #ff4d67;
}

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

.tabcontent {
  width: 100%;
  max-width: 1060px;
  padding: clamp(24px, 4vw, 52px);
}

.tabcontent > header {
  margin-bottom: 24px;
  color: var(--muted-text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.tabcontent h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -.055em;
}

.tabcontent h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -.025em;
}

.tabcontent h3 { color: #ffd1d9; }
.tabcontent p, .tabcontent li { color: #cad2da; }
.tabcontent > img { border-radius: 14px; }
.tabcontent img { max-width: 100%; border-radius: 12px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 4px 0;
  color: var(--muted-text);
  font-size: .84rem;
}

/* Homepage */
.home-content { max-width: none; padding: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  min-height: 530px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 72px);
}

.eyebrow {
  margin-bottom: 18px;
  color: #ff91a3;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 { max-width: 760px; }

.hero-lead {
  max-width: 640px;
  margin: 18px 0 28px;
  color: #b9c5cf;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(255,77,103,.48);
  border-radius: 10px;
  background: #f03e5b;
  color: #fff;
  font-weight: 700;
}

.button:hover, .btn:hover {
  transform: translateY(-2px);
  background: #ff526e;
  color: #fff;
  box-shadow: 0 10px 28px rgba(240,62,91,.25);
}

.button.secondary, .btn-secondary {
  border-color: var(--border-color);
  background: rgba(255,255,255,.045);
}

.hero-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #0c1118;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-container), transparent 35%),
              linear-gradient(0deg, rgba(7,9,14,.55), transparent 50%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat { padding: 24px clamp(20px, 3vw, 36px); }
.stat + .stat { border-left: 1px solid var(--border-color); }
.stat strong { display: block; color: #fff; font-size: 1.4rem; }
.stat span { color: var(--muted-text); font-size: .82rem; }

.home-section { padding: clamp(36px, 6vw, 68px); }
.section-intro { max-width: 700px; margin-bottom: 28px; }

.feature-grid,
.home-grid,
.download-grid,
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.feature-card,
.feature-box,
.download-card,
.download-item,
.info-card,
.step-card,
.section-block,
.intro,
.file-card,
.highlight-card,
.screenshot-card,
.grid-item {
  padding: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--border-color);
  border-radius: 13px;
}

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { margin: 0; font-size: .92rem; }

.article-section {
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent);
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
}

.article-body h2 {
  max-width: 720px;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.article-body p {
  color: #c7d0d8;
  font-size: 1.03rem;
  line-height: 1.85;
}

.article-body p:first-of-type {
  color: #e4e9ee;
  font-size: 1.13rem;
}

.article-art {
  width: 100%;
  margin-top: 24px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(26px, 5vw, 60px);
  background: rgba(4, 7, 12, .35);
  border-top: 1px solid var(--border-color);
}

.showcase-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,.34);
}

.showcase-copy p { max-width: 580px; }

.desktop-download {
  border-bottom: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 12% 100%, rgba(112,216,255,.08), transparent 24rem),
    rgba(4, 7, 12, .35);
}

/* Acid Cam Qt download page */
.acidcam-page {
  max-width: none;
  padding: 0;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(380px, .88fr) minmax(0, 1.12fr);
  min-height: 590px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 66px);
}

.back-link {
  align-self: flex-start;
  margin-bottom: 34px;
  color: var(--muted-text);
  font-size: .84rem;
  font-weight: 700;
}

.back-link:hover { color: #fff; }

.product-hero h1 {
  max-width: 620px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .96;
}

.product-note {
  margin: 20px 0 0;
  color: var(--muted-text) !important;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.product-hero-media {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  background: #07090e;
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.product-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-container), transparent 20%),
              linear-gradient(0deg, rgba(7,9,14,.68), transparent 35%);
  pointer-events: none;
}

.product-hero-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: rgba(255,255,255,.7);
  font-size: .76rem;
}

.product-section {
  padding: clamp(42px, 6vw, 78px);
  border-bottom: 1px solid var(--border-color);
}

.product-section .section-intro { max-width: 720px; }

.product-section .section-intro h2,
.requirements-section h2,
.product-cta h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

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

.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: clamp(24px, 3.5vw, 38px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(112,216,255,.1), transparent 17rem),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.022));
  border: 1px solid var(--border-color);
  border-radius: 15px;
}

.platform-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.platform-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(112,216,255,.2);
  border-radius: 13px;
  background: rgba(112,216,255,.08);
  color: #8ce1ff;
  font-size: 1.8rem;
  line-height: 1;
}

.linux-mark {
  border-color: rgba(255,77,103,.25);
  background: rgba(255,77,103,.1);
  color: #ff7188;
}

.platform-label {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.platform-card h3 { margin: 0; color: #fff; font-size: 1.35rem; }
.platform-card p { flex: 1; }
.platform-card strong { color: #fff; }
.platform-button {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 16px;
}

.file-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  margin: 0;
  color: var(--muted-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.meta-separator { color: #ff7188; }

.file-hash {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.file-hash span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-text);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.file-hash code {
  display: block;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  border: 0;
  background: transparent;
  color: #9de5ff;
  font-size: .72rem;
  line-height: 1.55;
  user-select: all;
}

.install-strip {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  border-radius: 13px;
  background: rgba(4,7,12,.42);
}

.install-strip strong,
.install-strip span { display: block; }
.install-strip span { color: var(--muted-text); font-size: .85rem; }
.install-strip code { margin: 0; }

.feature-section {
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent);
}

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

.product-feature-grid .feature-card { min-height: 195px; }

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: #ff7188;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, .72fr);
  gap: 16px;
  align-items: stretch;
}

.screenshot-gallery figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  background: #090c12;
  box-shadow: 0 20px 55px rgba(0,0,0,.25);
}

.screenshot-gallery img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
}

.screenshot-gallery figcaption {
  padding: 12px 15px;
  color: var(--muted-text);
  font-size: .78rem;
}

.requirements-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.requirement-list { margin: 28px 0 0; padding: 0; list-style: none; }
.requirement-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--border-color);
}
.requirement-list strong { color: #fff; }
.requirement-list span { color: var(--muted-text); }

.memory-callout {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255,77,103,.22);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,77,103,.13), transparent 18rem),
    rgba(255,255,255,.025);
}

.callout-label {
  color: #ff91a3;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.memory-callout h3 { margin-top: 13px; color: #fff; font-size: 1.45rem; }
.memory-callout p { margin: 0; }
.memory-callout strong { color: #fff; }

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(42px, 6vw, 74px);
  background:
    radial-gradient(circle at 0 100%, rgba(112,216,255,.1), transparent 24rem),
    radial-gradient(circle at 100% 0, rgba(255,77,103,.12), transparent 24rem);
}

.product-cta .eyebrow { margin-bottom: 10px; }
.product-cta h2 { margin-bottom: 0; }

.project {
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 13px;
}
.project-header { padding: 16px 20px; border-bottom: 1px solid var(--border-color); font-weight: 700; }
.project-content { padding: 20px; }

.download button {
  padding: 11px 17px;
  border: 0;
  border-radius: 9px;
  background: #f03e5b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

code {
  display: block;
  overflow-x: auto;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-left: 3px solid #ff4d67;
  border-radius: 8px;
  background: #0a0d13;
  color: #ff9dac;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { padding: 12px; border-bottom: 1px solid var(--border-color); text-align: left; }
th { background: rgba(255,77,103,.14); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; }
.profile_pic { width: min(100%, 300px) !important; margin: 0 auto; }
.page-break { margin: 40px 0; }

/* Love letter */
.love-page {
  max-width: none;
  padding: 0;
}

.love-page > .love-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  text-transform: none;
  letter-spacing: normal;
}

.love-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
  background:
    radial-gradient(circle at 20% 18%, rgba(255,77,103,.13), transparent 24rem),
    linear-gradient(145deg, rgba(255,255,255,.018), transparent);
}

.love-hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: .88;
  letter-spacing: -.075em;
}

.love-hero h1 span {
  color: #ff6079;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .75em;
  letter-spacing: -.065em;
}

.love-lead {
  max-width: 610px;
  margin: 28px 0 30px;
  color: #c4ced7 !important;
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
  line-height: 1.65;
}

.love-scroll-link {
  align-self: flex-start;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(112,216,255,.35);
  font-size: .86rem;
  font-weight: 700;
}

.love-scroll-link span { padding-left: 7px; }

.love-hero-art {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: #090b11;
}

.love-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg-container), transparent 24%),
    linear-gradient(0deg, rgba(7,9,14,.72), transparent 45%);
  pointer-events: none;
}

.love-hero-art img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.love-hero-art figcaption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: rgba(255,255,255,.66);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.love-section {
  display: grid;
  grid-template-columns: minmax(130px, .28fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(48px, 7vw, 86px);
  border-bottom: 1px solid var(--border-color);
}

.love-section-label {
  padding-top: 10px;
  color: #ff91a3;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.love-section-copy { max-width: 770px; }

.love-section h2,
.love-coda h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  letter-spacing: -.045em;
}

.love-section p,
.love-coda p {
  color: #c7d0d8;
  font-size: 1.02rem;
  line-height: 1.85;
}

.love-section .love-large-copy {
  color: #e7ecf0;
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.7;
}

.love-code {
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid rgba(112,216,255,.18);
  border-radius: 14px;
  background: #080b10;
  box-shadow: 0 22px 50px rgba(0,0,0,.3);
}

.love-code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255,255,255,.035);
}

.love-code-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6079;
}

.love-code-bar span:nth-child(2) { background: #e6bd55; }
.love-code-bar span:nth-child(3) { background: #70d8ff; }
.love-code-bar small { margin-left: auto; color: #778796; font-family: ui-monospace, monospace; }

.love-code pre { margin: 0; padding: clamp(24px, 4vw, 38px); overflow-x: auto; }
.love-code code {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eef3f7;
  font-size: clamp(.86rem, 1.8vw, 1.12rem);
  line-height: 1.75;
}
.love-code code b { color: #ff7188; }
.love-code code i { color: #85ddff; font-style: normal; }
.love-code code em { color: #fff; font-style: normal; }
.love-code code span { color: #72808d; }

.love-beatles {
  background:
    radial-gradient(circle at 100% 50%, rgba(255,77,103,.09), transparent 28rem),
    rgba(4,7,12,.3);
}

.love-section blockquote {
  margin: 34px 0;
  padding: 8px 0 8px clamp(22px, 4vw, 36px);
  border-left: 3px solid #ff4d67;
}

.love-section blockquote p {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.love-section blockquote cite {
  color: var(--muted-text);
  font-size: .78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.love-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0;
  border: 1px solid var(--border-color);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.love-principles div { padding: 20px; }
.love-principles div + div { border-left: 1px solid var(--border-color); }
.love-principles strong,
.love-principles span { display: block; }
.love-principles strong { margin-bottom: 6px; color: #ff91a3; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.love-principles span { color: #eef3f7; font-weight: 700; }

.love-coda {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(52px, 8vw, 96px);
  background:
    radial-gradient(circle at 0 100%, rgba(112,216,255,.11), transparent 27rem),
    radial-gradient(circle at 100% 0, rgba(255,77,103,.13), transparent 25rem);
}

.love-coda > div { max-width: 720px; }
.love-coda h2 { margin-top: 0; }
.love-coda .button { flex: 0 0 auto; gap: 8px; }

@media (max-width: 900px) {
  body { padding: 12px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 2px; padding: 6px 4px 16px; }
  .main-content { display: block; min-height: 0; }
  .tab {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    scrollbar-width: thin;
  }
  .tab a, .tab button { flex: 0 0 auto; width: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 310px; order: -1; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg-container), transparent 42%); }
  .home-showcase { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero-media { min-height: 380px; order: -1; }
  .product-hero-media::after { background: linear-gradient(0deg, var(--bg-container), transparent 42%); }
  .platform-grid,
  .requirements-section { grid-template-columns: 1fr; }
  .product-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-strip { grid-template-columns: 1fr; }
  .product-cta { align-items: flex-start; flex-direction: column; }
  .love-hero { grid-template-columns: 1fr; }
  .love-hero-art { min-height: 380px; order: -1; }
  .love-hero-art::after { background: linear-gradient(0deg, var(--bg-container), transparent 45%); }
  .love-coda { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .tabcontent { padding: 24px 18px; }
  .hero-copy, .home-section { padding: 32px 20px; }
  .hero h1 { font-size: clamp(2.25rem, 13vw, 3.25rem); }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border-color); }
  .button { width: 100%; }
  .site-footer { flex-direction: column; }
  .product-hero-copy,
  .product-section,
  .product-cta { padding: 34px 20px; }
  .product-hero h1 { font-size: clamp(2.8rem, 16vw, 4rem); }
  .product-hero-media { min-height: 285px; }
  .product-feature-grid,
  .screenshot-gallery { grid-template-columns: 1fr; }
  .product-feature-grid .feature-card { min-height: 0; }
  .requirement-list li { grid-template-columns: 1fr; gap: 2px; }
  .love-hero-copy,
  .love-section,
  .love-coda { padding: 36px 20px; }
  .love-hero-art { min-height: 270px; }
  .love-hero h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .love-section { grid-template-columns: 1fr; gap: 16px; }
  .love-section-label { padding-top: 0; }
  .love-principles { grid-template-columns: 1fr; }
  .love-principles div + div { border-top: 1px solid var(--border-color); border-left: 0; }
}
