:root {
  --bg: #fffaf3;
  --surface: rgba(255, 255, 255, 0.78);
  --white: #ffffff;
  --ink: #17314f;
  --ink-deep: #0f2239;
  --muted: #607086;
  --line: rgba(32, 56, 82, 0.12);
  --blue: #3e79bd;
  --blue-deep: #1c426f;
  --blue-soft: #edf5ff;
  --peach: #f0a171;
  --peach-soft: #fff0e8;
  --green-soft: #edf6ef;
  --shadow: 0 24px 70px rgba(28, 66, 111, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 6%, rgba(62, 121, 189, 0.08), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(240, 161, 113, 0.13), transparent 30rem),
    radial-gradient(circle, rgba(23, 49, 79, 0.035) 0 1px, transparent 1px 100%),
    var(--bg);
  background-size: auto, auto, 24px 24px, auto;
  color: var(--ink-deep);
  font-family: "Nunito Sans", ui-rounded, "Avenir Next", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

main,
.topbar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.nav a {
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 13px 22px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, #4c86c8, #2f67aa);
  box-shadow: 0 10px 24px rgba(47, 103, 170, 0.22);
}

.nav-cta:hover {
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 240ms var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(62, 121, 189, 0.14);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.love-label span,
.heart {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
  background: var(--peach);
  transform: rotate(45deg);
  border-radius: 4px;
  box-shadow: 0 5px 14px rgba(240, 161, 113, 0.32);
}

.love-label span::before,
.love-label span::after,
.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: inherit;
}

.love-label span::before,
.heart::before {
  left: -8px;
}

.love-label span::after,
.heart::after {
  top: -8px;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 36px;
  align-items: center;
  padding: 36px 0 64px;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(34px, 3.7vw, 46px);
  line-height: 1.08;
  font-weight: 850;
}

.hero-copy p:not(.label) {
  max-width: 400px;
  margin-bottom: 30px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 850;
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button:active {
  transform: scale(0.98);
}

.button.primary,
.button.blue {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(180deg, #4d87c9, #2f69ad);
  box-shadow: 0 14px 30px rgba(47, 103, 170, 0.23);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.hero-meta {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: rgba(62, 121, 189, 0.22);
}

.hero-scene {
  min-height: 430px;
  position: relative;
}

.hero-window {
  position: absolute;
  inset: 62px 18px auto 0;
  height: 306px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.hero-window picture,
.hero-window img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-window img {
  object-fit: cover;
  object-position: top left;
  opacity: 0.92;
}

.float-photo {
  position: absolute;
  width: 118px;
  height: 82px;
  padding: 8px;
  border: 1px solid rgba(23, 49, 79, 0.12);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 42px rgba(23, 49, 79, 0.16);
  transform: rotate(-10deg);
}

.float-photo span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(62, 121, 189, 0.28), transparent),
    linear-gradient(45deg, #f5c7a9, #cbd9ea);
}

.photo-one {
  right: 4px;
  top: 26px;
  transform: rotate(-13deg);
}

.photo-two {
  left: -58px;
  bottom: 76px;
  transform: rotate(-9deg);
}

.photo-three {
  right: -30px;
  bottom: 88px;
  transform: rotate(9deg);
}

.photo-two span {
  background: linear-gradient(135deg, #f4be91, #8db0ce);
}

.photo-three span {
  background: linear-gradient(135deg, #b8d3e9, #f1d4b9);
}

.heart {
  position: absolute;
}

.heart-one {
  left: -10px;
  top: 216px;
}

.heart-two {
  right: -14px;
  top: 148px;
}

.heart-three {
  right: 76px;
  bottom: 82px;
}

.soft-panel {
  margin: 24px 0 56px;
  padding: 28px;
  border: 1px solid rgba(23, 49, 79, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 80px rgba(23, 49, 79, 0.08);
}

.import-section {
  padding: 34px 36px;
}

.import-section .label {
  margin-bottom: 12px;
  padding: 6px 11px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.panel-head {
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: center;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2,
.panel-head h2,
.download-head h1,
.final-cta h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.12;
  font-weight: 850;
}

.panel-head h2 {
  max-width: 490px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
}

.section-title p:not(.label),
.panel-head p {
  max-width: 535px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.flow-visual {
  display: grid;
  grid-template-columns: 330px 18px 200px;
  column-gap: 4px;
  align-items: center;
  justify-items: end;
}

.source-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 330px;
}

.source-card,
.archive-card,
.feature-cards article,
.library-points article,
.download-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(23, 49, 79, 0.06);
}

.source-card {
  min-height: 132px;
  display: grid;
  grid-template-rows: 48px 22px 34px;
  align-content: start;
  justify-items: center;
  gap: 6px;
  padding: 14px 8px;
  text-align: center;
}

.source-card b,
.archive-card b,
.feature-cards h3,
.library-points h3,
.download-card h2 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 17px;
  line-height: 1.24;
  font-weight: 850;
}

.source-card b,
.archive-card b {
  font-size: 15px;
}

.source-card small,
.archive-card small {
  color: var(--muted);
  line-height: 1.35;
}

.source-card small {
  min-height: 34px;
}

.device-icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: block;
  align-self: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--blue-soft);
}

.phone-icon {
  width: 24px;
  height: 40px;
  border-radius: 8px;
}

.phone-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(-50%);
}

.tablet-icon {
  width: 32px;
  height: 40px;
  border-radius: 9px;
  background: var(--green-soft);
}

.folder-icon {
  width: 40px;
  height: 30px;
  margin-top: 0;
  border-radius: 6px;
  background: var(--peach-soft);
}

.folder-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -8px;
  width: 18px;
  height: 10px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: var(--peach-soft);
}

.transfer-line {
  display: grid;
  justify-items: center;
  gap: 0;
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
}

.transfer-line span {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(62, 121, 189, 0.35);
}

.transfer-line span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.archive-card {
  width: 188px;
  min-height: 118px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  background: #f8fbff;
}

.archive-card img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

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

.feature-cards article,
.library-points article,
.download-card {
  padding: 20px;
}

.feature-cards article {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  align-content: center;
  min-height: 118px;
}

.feature-cards h3 {
  grid-column: 2;
  margin: 0;
  font-size: 16px;
  line-height: 1.22;
}

.feature-cards p {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.45;
}

.feature-cards p,
.library-points p,
.download-card p,
.rows p,
.final-cta p,
.site-footer {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.feature-icon,
.point-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 0;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 850;
  font-size: 12px;
}

.folder-small,
.heic-small,
.calendar-small,
.image-small,
.refresh-small,
.clock-small {
  position: relative;
}

.feature-cards .feature-icon {
  grid-row: 1 / span 2;
  align-self: start;
}

.folder-small::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 24px;
  height: 18px;
  border-radius: 5px;
  background: #7f8fa2;
  box-shadow: -8px 6px 0 #cbd7e4, 6px 4px 0 rgba(62, 121, 189, 0.25);
}

.folder-small::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--peach);
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(240, 161, 113, 0.25);
}

.heic-small {
  display: grid;
  color: transparent;
}

.heic-small::before,
.heic-small::after {
  position: absolute;
  left: 15px;
  width: 25px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #315f91, #1d426d);
  color: var(--white);
  font-size: 9px;
  line-height: 1;
  font-weight: 850;
  box-shadow: 0 8px 16px rgba(28, 66, 111, 0.18);
}

.heic-small::before {
  content: "HEIC";
  top: 10px;
}

.heic-small::after {
  content: "JPG";
  top: 30px;
  background: linear-gradient(180deg, #4b83bd, #275b92);
}

.calendar-small::before {
  content: "2026";
  font-size: 11px;
}

.image-small::before {
  content: "";
  width: 28px;
  height: 22px;
  border: 2px solid var(--blue-deep);
  border-radius: 6px;
}

.clock-small::before {
  content: "";
  width: 28px;
  height: 28px;
  border: 4px solid var(--blue-deep);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.clock-small::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-top: 4px solid var(--blue-deep);
  border-right: 4px solid var(--blue-deep);
  transform: rotate(20deg);
}

.refresh-small::before {
  content: "↻";
  font-size: 30px;
}

.library-section {
  padding: 18px 0 56px;
  position: relative;
}

.library-left {
  min-width: 0;
}

.library-left .section-title {
  margin-bottom: 18px;
}

.library-section .section-title h2 {
  max-width: 600px;
  font-size: clamp(28px, 3vw, 38px);
}

.library-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 26px;
  align-items: end;
}

.library-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: #fffdf9;
}

.mini-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0d8ce;
}

.mini-window-bar span:first-child {
  background: #ee9b77;
}

.mini-window-bar span:nth-child(2) {
  background: #f4c96f;
}

.mini-window-bar span:nth-child(3) {
  background: #8fca91;
}

.mini-app {
  min-height: 282px;
  display: grid;
  grid-template-columns: 126px 1fr;
}

.mini-app aside {
  padding: 18px 13px;
  border-right: 1px solid var(--line);
  background: #fbfaf8;
}

.mini-app aside strong {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
}

.mini-app aside i {
  display: block;
  margin-bottom: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 760;
}

.mini-app aside .active {
  color: var(--blue);
  background: var(--blue-soft);
}

.mini-app section {
  padding: 18px;
}

.mini-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
}

.mini-head small {
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-head h3 {
  grid-column: 1;
  margin: 2px 0 0;
  font-size: 34px;
  line-height: 1;
}

.mini-head em {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
}

.mini-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 14px;
}

.mini-tabs span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
}

.mini-tabs span:first-child {
  color: #3c6d43;
  background: var(--green-soft);
}

.mini-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mini-thumbs span {
  aspect-ratio: 1.22;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(62, 121, 189, 0.2), transparent),
    #eef2f6;
}

.mini-thumbs span:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(240, 161, 113, 0.25), transparent),
    #f6f0ea;
}

.library-points {
  display: grid;
  gap: 12px;
  padding-bottom: 12px;
}

.library-points article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: start;
  min-height: 104px;
}

.library-points .point-icon {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.library-points h3 {
  grid-column: 2;
  font-size: 15px;
}

.library-points p {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.5;
  max-width: 260px;
}

.library-points h3,
.library-points p {
  margin: 0;
}

.local-section {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.rows {
  display: grid;
  gap: 12px;
}

.rows div {
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.rows span {
  color: var(--blue);
  font-weight: 850;
}

.rows b {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  background: var(--blue-soft);
  position: relative;
}

.rows b::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.final-cta {
  margin: 42px 0 70px;
  padding: 30px 42px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 45%, rgba(255, 255, 255, 0.1), transparent 14rem),
    linear-gradient(135deg, #1c426f, #17314f);
  box-shadow: 0 24px 70px rgba(23, 49, 79, 0.18);
}

.final-cta img {
  width: 74px;
  height: 74px;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
}

.final-cta h2 {
  max-width: none;
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.light-download {
  min-width: 160px;
  color: var(--ink);
  background: var(--white);
}

.download-head {
  max-width: 100%;
  padding: 72px 0 26px;
}

.download-head h1 {
  max-width: 75%;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  font-weight: 850;
}

.download-head p {
  max-width: none;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 38px 0 28px;
}

.download-card {
  min-height: 230px;
  padding: 24px;
}

.download-card .button {
  margin-top: 16px;
}

code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f7f4ef;
  color: var(--ink);
}

.site-footer {
  margin: 40px 0 80px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .panel-head,
  .library-showcase,
  .local-section,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero-scene {
    min-height: 430px;
  }

  .hero-window {
    inset: 30px 0 auto;
  }

  .flow-visual {
    grid-template-columns: 1fr;
  }

  .transfer-line {
    margin: 4px 0;
  }

  .transfer-line span {
    width: 1px;
    height: 42px;
  }

  .transfer-line span::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
  }

  .section-title h2,
  .panel-head h2,
  .download-head h1 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  main,
  .topbar {
    width: min(100% - 28px, 680px);
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 250, 243, 0.96);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 34px;
  }

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

  .hero-scene {
    min-height: 330px;
  }

  .hero-window {
    height: 260px;
  }

  .float-photo {
    width: 104px;
    height: 74px;
  }

  .source-stack,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .source-card {
    min-height: 118px;
  }

  .mini-app {
    grid-template-columns: 1fr;
  }

  .mini-app aside {
    display: none;
  }

  .library-points article {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

@media (max-width: 520px) {
  main,
  .topbar {
    width: calc(100% - 22px);
  }

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

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .soft-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .rows div {
    grid-template-columns: 1fr;
  }

  .rows b {
    display: none;
  }

  .mini-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    flex-direction: column;
  }
}
