:root {
  --ink: #202433;
  --muted: #657184;
  --blue: #9fc0ef;
  --blue-deep: #426797;
  --blue-soft: #eaf4ff;
  --cream: #fff9ec;
  --yellow: #ffd27d;
  --orange: #f8ad5d;
  --green: #8cc68b;
  --mint: #e8f8f2;
  --red: #b82c28;
  --line: #d9e1ea;
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(72, 101, 132, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #d7ebff 0, #f9fbff 34rem, #fffaf0 74rem, #f7fbff 100%);
  color: var(--ink);
}

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

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

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(66, 103, 151, 0.1);
  color: var(--blue-deep);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(215, 235, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.section,
.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 9px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(66, 103, 151, 0.15);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #4e627a;
  font-size: 15px;
  font-weight: 800;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(66, 103, 151, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 20px rgba(66, 103, 151, 0.08);
}

.lang-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4e627a;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.lang-button:hover,
.lang-button.is-active {
  background: var(--ink);
  color: #ffffff;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--blue-deep);
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 42px 0 64px;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-media {
  min-height: 700px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 610px;
  color: #39506b;
  font-size: 22px;
  line-height: 1.55;
}

.store-row,
.cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button,
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-button {
  padding: 14px 22px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(32, 36, 51, 0.18);
}

.store-button.light {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.button {
  padding: 13px 20px;
}

.primary-button,
.dark-button {
  background: var(--ink);
  color: #ffffff;
}

.secondary-button {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

.small-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.app-hero {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.hero-poster {
  background: #d9ecff;
}

.hero-poster img {
  object-position: center;
}

.status-panel {
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid rgba(66, 103, 151, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(72, 101, 132, 0.1);
}

.status-panel strong,
.status-panel span {
  display: block;
}

.status-panel strong {
  color: var(--ink);
  font-size: 15px;
}

.status-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 82px 0;
}

.screenshot-section {
  padding-top: 92px;
}

.screenshot-grid,
.plan-screens {
  display: grid;
  gap: 22px;
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.screenshot-card,
.plan-shot {
  overflow: hidden;
  border: 1px solid rgba(217, 225, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(72, 101, 132, 0.13);
}

.screenshot-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.screenshot-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  align-items: center;
}

.screenshot-card img,
.plan-shot img {
  width: 100%;
  background: #f7fbff;
  object-fit: cover;
}

.screenshot-card:not(.screenshot-card-wide) img {
  aspect-ratio: 853 / 1280;
  object-position: top;
}

.screenshot-card-wide img {
  max-height: 760px;
  object-position: top;
}

.screenshot-card > div,
.plan-shot > div {
  padding: 24px;
}

.screenshot-card h3,
.plan-shot h3 {
  margin: 14px 0 10px;
  font-size: 26px;
  line-height: 1.16;
}

.screenshot-card-wide h3 {
  max-width: 660px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.06;
}

.screenshot-card p,
.plan-shot p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.story-tag.orange {
  color: #e86115;
}

.story-tag.blue {
  color: #1665ca;
}

.story-tag.purple {
  color: #6840d8;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.premium-copy h2,
.legal-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.premium-copy p,
.legal-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.phone-card {
  margin: 0;
}

.phone-shell {
  padding: 12px;
  border-radius: 36px;
  background: #1b1e28;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 670px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #a9c8f3 0 96px, #fbfbfd 96px 100%);
}

.app-header {
  min-height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
}

.gear-icon {
  position: absolute;
  right: 2px;
  width: 22px;
  height: 22px;
  border: 4px solid #4e5968;
  border-radius: 50%;
}

.gear-icon::before,
.gear-icon::after {
  content: "";
  position: absolute;
  inset: -9px 7px;
  background: #4e5968;
}

.gear-icon::after {
  transform: rotate(90deg);
}

.energy-card,
.scan-card {
  border: 1px solid rgba(198, 187, 159, 0.7);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(66, 103, 151, 0.12);
}

.energy-card {
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #fff7c7 0%, #ffd083 100%);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 900;
}

.fork-icon {
  width: 22px;
  height: 22px;
  border-left: 5px solid var(--blue-deep);
  border-right: 5px solid var(--blue-deep);
  position: relative;
}

.fork-icon::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 0;
  width: 6px;
  height: 22px;
  border-radius: 6px;
  background: var(--blue-deep);
}

.energy-card strong {
  display: block;
  margin-top: 28px;
  color: var(--blue-deep);
  font-size: 64px;
  line-height: 0.95;
}

.energy-card > span {
  display: block;
  color: var(--blue-deep);
  font-size: 46px;
  font-weight: 900;
}

.progress-track {
  height: 13px;
  margin: 22px 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.progress-blue {
  width: 84%;
  background: var(--blue-deep);
}

.energy-card p,
.scan-card p {
  margin: 0;
  color: #5f5d5a;
  line-height: 1.5;
}

.scan-card {
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #fff6d8, #ffb86a);
}

.pill {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #805622;
  font-weight: 900;
}

.scan-card h3 {
  margin: 56px 0 20px;
  font-size: 42px;
  line-height: 1.15;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-list article,
.feature-card,
.score-panel,
.insight-panel,
.legal-card {
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(72, 101, 132, 0.08);
}

.process-list article {
  padding: 24px;
}

.step {
  color: var(--blue-deep);
  font-weight: 900;
}

.process-list h3,
.feature-card h3 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.18;
}

.process-list p,
.feature-card p,
.score-panel p,
.insight-panel p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.6;
}

.process-list p,
.feature-card p {
  margin: 0;
}

.soft-section {
  width: 100%;
  max-width: none;
  position: relative;
  overflow: hidden;
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  background: linear-gradient(180deg, rgba(232, 248, 242, 0.9), rgba(234, 244, 255, 0.86));
}

.soft-section::before {
  content: "";
  position: absolute;
  top: 50%;
  right: max(20px, calc((100vw - 1160px) / 2));
  width: min(50vw, 560px);
  aspect-ratio: 1;
  background: url("./assets/images/app_icon_final.png") center / contain no-repeat;
  opacity: 0.12;
  transform: translateY(-50%);
  pointer-events: none;
}

.soft-section > * {
  position: relative;
  z-index: 1;
}

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

.feature-card {
  min-height: 260px;
  padding: 26px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
  background: var(--blue-soft);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.camera-icon::before {
  inset: 14px 10px 11px;
  border: 4px solid var(--blue-deep);
  border-radius: 6px;
}

.camera-icon::after {
  width: 9px;
  height: 9px;
  left: 19px;
  top: 20px;
  border: 3px solid var(--blue-deep);
  border-radius: 50%;
}

.budget-icon,
.quota-icon {
  background: var(--cream);
}

.budget-icon::before,
.quota-icon::before {
  left: 10px;
  right: 10px;
  top: 15px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-deep) 72%, #dcdfe5 72%);
}

.coach-icon {
  background: #fff0d5;
}

.coach-icon::before {
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
}

.coach-icon::after {
  left: 20px;
  top: 5px;
  width: 6px;
  height: 36px;
  background: var(--orange);
  transform: rotate(45deg);
}

.log-icon {
  background: var(--mint);
}

.log-icon::before {
  left: 12px;
  top: 12px;
  width: 23px;
  height: 14px;
  border-left: 4px solid var(--green);
  border-bottom: 4px solid var(--green);
  transform: rotate(-45deg);
}

.weekly-icon {
  background: #f1ecff;
}

.weekly-icon::before {
  left: 10px;
  bottom: 10px;
  width: 5px;
  height: 22px;
  background: var(--blue-deep);
  box-shadow: 10px -8px 0 var(--orange), 20px -2px 0 var(--green);
}

.testimonials-section {
  padding-top: 88px;
}

.testimonial-heading {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: end;
}

.testimonial-heading h2 {
  margin: 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: 0;
}

.testimonial-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.testimonial-slider {
  display: grid;
  gap: 18px;
}

.testimonial-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.testimonial-carousel {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(234, 244, 255, 0.82));
  box-shadow: 0 22px 60px rgba(72, 101, 132, 0.12);
  display: grid;
  grid-template-columns: 0.82fr 1fr;
}

.testimonial-photo {
  min-height: 100%;
  background: var(--blue-soft);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.featured-testimonial .testimonial-photo img {
  object-position: center 42%;
}

.testimonial-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.story-tag {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(66, 103, 151, 0.1);
}

.testimonial-body p {
  margin: 0;
  color: #3f4b5d;
  font-size: 17px;
  line-height: 1.58;
}

.testimonial-body h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

.testimonial-body strong,
.testimonial-body span {
  display: block;
}

.testimonial-body strong {
  font-size: 19px;
}

.testimonial-body span {
  margin-top: 4px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
}

.carousel-control {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(66, 103, 151, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 2;
}

.carousel-control:hover {
  background: #ffffff;
}

.carousel-control span {
  width: 13px;
  height: 13px;
  border-left: 3px solid var(--blue-deep);
  border-bottom: 3px solid var(--blue-deep);
}

.carousel-control-prev {
  left: 18px;
}

.carousel-control-prev span {
  transform: rotate(45deg);
}

.carousel-control-next {
  right: 18px;
}

.carousel-control-next span {
  transform: rotate(-135deg);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-indicators button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(66, 103, 151, 0.3);
  cursor: pointer;
}

.carousel-indicators button.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}

.plan-screens {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 34px;
}

.plan-shot {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 244, 255, 0.78));
}

.premium-shot {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 236, 255, 0.86));
}

.plan-shot img {
  height: 100%;
  max-height: 640px;
  object-position: top;
}

.premium-copy {
  max-width: 560px;
}

.premium-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.score-panel,
.insight-panel {
  min-height: 310px;
  padding: 26px;
}

.score-panel {
  background: linear-gradient(135deg, #dff8f1, #fff4c8);
}

.insight-panel {
  background: linear-gradient(135deg, #ffe8ef, #eaf4ff);
}

.score-panel span,
.insight-panel span {
  display: block;
  color: var(--blue-deep);
  font-weight: 900;
}

.score-panel strong {
  display: block;
  margin: 22px 0 10px;
  font-size: 54px;
  line-height: 1;
}

.mini-bars {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.mini-bars i {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #dfe5ea);
}

.mini-bars i:nth-child(2) {
  background: linear-gradient(90deg, var(--blue-deep) 78%, #dfe5ea 78%);
}

.mini-bars i:nth-child(3) {
  background: linear-gradient(90deg, var(--yellow) 64%, #dfe5ea 64%);
}

.mini-bars i:nth-child(4) {
  background: linear-gradient(90deg, var(--orange) 91%, #dfe5ea 91%);
}

.insight-panel .button {
  width: 100%;
  margin-top: 24px;
}

.plan-compare {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(72, 101, 132, 0.08);
}

.plan-copy {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.plan-copy .eyebrow {
  margin-bottom: 8px;
}

.plan-copy h3 {
  margin: 0;
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(217, 225, 234, 0.9);
  border-radius: 8px;
  background: #ffffff;
}

.plan-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.plan-table th,
.plan-table td {
  padding: 18px 16px;
  border-bottom: 1px solid #e8edf2;
  text-align: left;
  vertical-align: middle;
}

.plan-table thead th {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-table tbody th {
  width: 34%;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.plan-table td {
  color: var(--muted);
  font-weight: 800;
}

.plan-table tr:last-child th,
.plan-table tr:last-child td {
  border-bottom: 0;
}

.plan-table .premium-col {
  background: linear-gradient(90deg, rgba(255, 244, 200, 0.75), rgba(234, 244, 255, 0.8));
}

.yes,
.no {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.yes {
  background: var(--mint);
  color: #427942;
}

.no {
  background: #f4f1ee;
  color: #8a7665;
}

.trust-section {
  text-align: center;
}

.centered {
  justify-content: center;
}

.footer {
  padding: 42px 0;
  color: #6d7888;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-hero {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 34px;
  text-align: center;
}

.legal-layout {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 82px;
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 28px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 960px) {
  h1 {
    font-size: 60px;
  }

  .brand {
    font-size: 24px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .lang-button {
    padding: 7px 8px;
  }

  .hero,
  .showcase-grid,
  .premium-layout,
  .app-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-media img {
    min-height: 520px;
  }

  .feature-grid,
  .premium-panels {
    grid-template-columns: 1fr 1fr;
  }

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

  .screenshot-card-wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .screenshot-card-wide img {
    max-height: 620px;
  }

  .plan-screens,
  .plan-shot {
    grid-template-columns: 1fr;
  }

  .plan-shot img {
    max-height: 620px;
    object-fit: cover;
  }

  .testimonial-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testimonial-heading h2 {
    font-size: 44px;
  }

  .plan-copy {
    display: block;
  }
}

@media (max-width: 680px) {
  .nav,
  .hero,
  .section,
  .footer,
  .legal-hero,
  .legal-layout {
    width: min(100% - 28px, 1160px);
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 23px;
  }

  .nav {
    gap: 12px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .lang-button {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 12px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .hero-media {
    min-height: 440px;
  }

  .hero-media img {
    min-height: 440px;
  }

  .store-row,
  .store-button,
  .cta-row,
  .button {
    width: 100%;
  }

  .status-panel {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading h2,
  .testimonial-heading h2,
  .premium-copy h2,
  .legal-hero h1 {
    font-size: 38px;
  }

  .section-heading p:not(.eyebrow),
  .testimonial-heading p:not(.eyebrow),
  .premium-copy p,
  .legal-hero p {
    font-size: 17px;
  }

  .phone-shell {
    border-radius: 28px;
  }

  .phone-screen {
    min-height: 610px;
    padding: 16px;
    border-radius: 22px;
  }

  .energy-card strong {
    font-size: 50px;
  }

  .energy-card > span {
    font-size: 34px;
  }

  .scan-card h3 {
    margin-top: 40px;
    font-size: 34px;
  }

  .feature-grid,
  .premium-panels,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card-wide {
    grid-column: auto;
  }

  .screenshot-card:not(.screenshot-card-wide) img,
  .screenshot-card-wide img,
  .plan-shot img {
    aspect-ratio: 853 / 1180;
    max-height: none;
    object-fit: cover;
    object-position: top;
  }

  .screenshot-card > div,
  .plan-shot > div {
    padding: 20px;
  }

  .screenshot-card h3,
  .plan-shot h3,
  .screenshot-card-wide h3 {
    font-size: 28px;
  }

  .testimonial-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .testimonial-photo img {
    min-height: 260px;
    height: 260px;
  }

  .testimonial-body {
    min-height: auto;
    padding: 22px;
  }

  .testimonial-body p {
    font-size: 16px;
  }

  .testimonial-body h3 {
    font-size: 28px;
  }

  .plan-compare {
    padding: 18px;
  }

  .plan-copy h3 {
    font-size: 28px;
  }

  .footer,
  .footer-links {
    flex-direction: column;
  }
}
