@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --forest: #1f5b3b;
  --forest-deep: #123523;
  --forest-dark: #0b281a;
  --leaf: #6e8d4c;
  --amber: #e5a92b;
  --amber-bright: #f3bd45;
  --terracotta: #a64718;
  --cream: #f7f3e9;
  --cream-strong: #efe7d6;
  --paper: #fffdf8;
  --ink: #18241d;
  --muted: #627067;
  --line: rgba(22, 58, 39, 0.16);
  --white-line: rgba(255, 255, 255, 0.18);
  --content: 1200px;
  --header-height: 78px;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(15, 39, 25, 0.14);
  --shadow-soft: 0 10px 30px rgba(15, 39, 25, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.lightbox-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2 {
  margin-bottom: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 64px;
}

h2 {
  font-size: 48px;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--forest-dark);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  color: #fff;
  background: rgba(9, 36, 23, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 36, 23, 0.97);
  box-shadow: 0 8px 25px rgba(2, 14, 8, 0.22);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav > a:not(.nav-download) {
  position: relative;
  padding: 25px 9px 23px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-nav > a:not(.nav-download)::after {
  position: absolute;
  right: 9px;
  bottom: 16px;
  left: 9px;
  height: 3px;
  content: "";
  background: var(--amber-bright);
  border-radius: 3px;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.site-nav > a[aria-current="page"] {
  color: #fff;
}

.site-nav > a.is-active::after,
.site-nav > a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-download {
  min-height: 0;
  margin-left: 10px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-dark);
  background: #fff;
  border: 2px solid var(--amber-bright);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-download:hover {
  transform: translateY(-1px);
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--amber-bright), 0 9px 24px rgba(0, 0, 0, 0.3);
}

.nav-download img {
  width: 154px;
  height: auto;
  display: block;
  object-fit: contain;
}

.menu-button {
  width: 46px;
  height: 46px;
  padding: 11px;
  display: none;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 100%;
  height: 2px;
  margin: 5px 0;
  display: block;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 790px;
  color: #fff;
  background-color: var(--forest-dark);
  background-image: none;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  background: var(--forest-dark);
  filter: none;
  transform: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), var(--content));
  min-height: 790px;
  margin: 0 auto;
  padding: 112px 0 70px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(53%, 650px);
}

.hero-copy h1,
.hero-lead,
.hero-note {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.58);
}

.institution-kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.institution-kicker img {
  width: 156px;
  height: auto;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow-light {
  color: var(--amber-bright);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-offer {
  width: fit-content;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--forest-dark);
  background: var(--amber-bright);
  border-radius: 7px;
}

.hero-offer strong {
  font-size: 18px;
}

.hero-offer span {
  font-size: 14px;
}

.hero-cta-grid {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-cta-grid .hero-offer {
  width: 100%;
  grid-column: 1 / -1;
  justify-content: center;
}

.hero-cta-grid > .play-badge-link,
.hero-cta-grid > .button {
  height: 56px;
  width: 100%;
}

.hero-cta-grid > .button {
  padding-inline: 14px;
  font-size: 15px;
  white-space: nowrap;
}

.hero-cta-grid > .play-badge-link {
  height: 56px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.hero-cta-grid > .play-badge-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.play-badge-link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.play-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.play-badge-link img {
  width: 190px;
  height: auto;
  object-fit: contain;
}

.button {
  min-height: 56px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

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

.button-secondary-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.hero-devices {
  position: absolute;
  right: 20px;
  bottom: 38px;
  width: 500px;
  height: 590px;
  pointer-events: none;
}

.phone-frame {
  position: absolute;
  margin: 0;
  padding: 8px;
  background: #101711;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.phone-frame-back {
  z-index: 2;
  top: 30px;
  left: 20px;
  width: 250px;
  height: 554px;
  opacity: 1;
  transform: rotate(-3deg);
}

.phone-frame-front {
  z-index: 1;
  top: 0;
  right: 0;
  width: 250px;
  height: 554px;
  transform: rotate(3deg);
}

.hero-next {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 28%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
}

.watermarked {
  position: relative;
}

.phone-frame.watermarked {
  position: absolute;
}

.watermarked::after {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  padding: 5px 8px 5px 32px;
  display: flex;
  align-items: center;
  content: "El Panelero";
  color: rgba(255, 255, 255, 0.88);
  background: rgba(9, 36, 23, 0.62) url("assets/brand/logo.png") 6px center / 20px 20px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.trust-band {
  padding: 28px 32px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid p {
  margin: 0;
  padding: 2px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}

.trust-grid p:first-child {
  padding-left: 0;
}

.trust-grid p:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-grid img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: invert(29%) sepia(14%) saturate(1499%) hue-rotate(95deg) brightness(92%);
}

.trust-grid strong,
.trust-grid small {
  display: block;
}

.trust-grid strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.trust-grid small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section {
  position: relative;
  padding: 105px 32px;
}

.section-heading {
  width: min(100%, 780px);
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading-light {
  position: relative;
  z-index: 1;
  color: #fff;
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.steps {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: none;
}

.steps li {
  position: relative;
  min-height: 210px;
  padding: 26px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.steps li:not(:nth-child(3n))::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -21px;
  width: 22px;
  height: 2px;
  content: "";
  background: var(--amber);
}

.step-icon,
.feature-icon,
.case-icon,
.large-section-icon,
.feature-dialog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 169, 43, 0.17);
  border: 1px solid rgba(166, 71, 24, 0.16);
  border-radius: 8px;
}

.step-icon {
  width: 56px;
  height: 56px;
}

.step-icon img,
.feature-icon img,
.case-icon img,
.large-section-icon img,
.feature-dialog-icon img {
  width: 28px;
  height: 28px;
  filter: invert(28%) sepia(67%) saturate(1536%) hue-rotate(351deg) brightness(82%);
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.photo-section {
  position: relative;
  color: #fff;
  background: var(--forest-deep);
  overflow: hidden;
}

.photo-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
}

.section-process {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: 70px;
}

.section-process .photo-layer {
  background-image: linear-gradient(90deg, rgba(11, 40, 26, 0.9), rgba(11, 40, 26, 0.42));
  opacity: 1;
}

.process-intro,
.process-visual {
  position: relative;
  z-index: 1;
}

.process-intro {
  width: min(100%, 520px);
  margin-left: auto;
}

.process-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
}

.text-link img {
  width: 17px;
  height: 17px;
}

.text-link-light {
  color: var(--amber-bright);
}

.text-link-light img {
  filter: invert(82%) sepia(51%) saturate(1136%) hue-rotate(336deg) brightness(102%);
}

.process-visual {
  min-height: 610px;
}

.editorial-shot {
  position: absolute;
  top: 0;
  right: 12%;
  width: 300px;
  height: 600px;
  margin: 0;
  background: #fff;
  border: 7px solid #fff;
  border-radius: 8px;
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: rotate(3deg);
}

.editorial-shot img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top;
}

.editorial-shot figcaption {
  min-height: 53px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font-size: 11px;
  line-height: 1.35;
}

.editorial-shot-lower {
  top: 96px;
  right: auto;
  left: 4%;
  width: 260px;
  height: 540px;
  transform: rotate(-5deg);
}

.editorial-shot-lower img {
  height: 480px;
}

.section-features {
  color: #fff;
  background: var(--forest-dark);
  overflow: hidden;
}

.section-features::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(rgba(5, 28, 17, 0.93), rgba(5, 28, 17, 0.95));
}

.feature-groups {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  gap: 48px;
}

.feature-group-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--white-line);
}

.feature-group-title img {
  width: 28px;
  height: 28px;
  filter: invert(84%) sepia(46%) saturate(1077%) hue-rotate(337deg) brightness(102%);
}

.feature-group-title h3 {
  margin: 0;
  color: var(--amber-bright);
  font-size: 18px;
}

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

.feature-card {
  min-width: 0;
}

.feature-trigger {
  position: relative;
  width: 100%;
  min-height: 205px;
  padding: 24px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.feature-trigger:hover,
.feature-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(243, 189, 69, 0.72);
  transform: translateY(-3px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(229, 169, 43, 0.2);
  border-color: rgba(243, 189, 69, 0.34);
}

.feature-icon img {
  filter: invert(84%) sepia(46%) saturate(1077%) hue-rotate(337deg) brightness(102%);
}

.feature-trigger strong,
.feature-trigger small,
.feature-trigger em {
  display: block;
}

.feature-trigger strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.feature-trigger small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.feature-trigger em {
  margin-top: 14px;
  color: var(--amber-bright);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.feature-arrow {
  width: 20px;
  height: 20px;
  margin-top: 14px;
  filter: invert(84%) sepia(46%) saturate(1077%) hue-rotate(337deg) brightness(102%);
  transition: transform 160ms ease;
}

.feature-trigger:hover .feature-arrow {
  transform: translateX(3px);
}

.section-cases {
  background: var(--cream);
}

.case-list {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-list article {
  min-height: 210px;
  padding: 28px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.case-icon {
  width: 58px;
  height: 58px;
}

.case-list p {
  margin-bottom: 14px;
  color: var(--muted);
}

.case-list .case-flow {
  margin: auto 0 0;
  padding-top: 12px;
  color: var(--terracotta);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.section-users {
  padding-block: 100px;
}

.section-users .photo-layer {
  background-image: linear-gradient(90deg, rgba(11, 40, 26, 0.96), rgba(11, 40, 26, 0.68)), url("assets/brand/panela-campo.jpg");
  opacity: 1;
}

.users-layout {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.users-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.role-grid {
  display: grid;
  gap: 14px;
}

.role-grid article {
  min-height: 150px;
  padding: 24px;
  display: grid;
  grid-template-columns: 48px 96px 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.role-grid article > img {
  width: 38px;
  height: 38px;
  filter: invert(28%) sepia(67%) saturate(1536%) hue-rotate(351deg) brightness(82%);
}

.role-grid p,
.role-grid h3 {
  margin: 0;
}

.role-grid .role-label {
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.role-grid article > p:not(.role-label) {
  color: var(--muted);
  font-size: 13px;
}

.role-grid strong {
  color: var(--forest);
  font-size: 12px;
}

.offline-band {
  padding: 0 32px;
}

.offline-band .photo-layer {
  background-image: linear-gradient(90deg, rgba(11, 40, 26, 0.95), rgba(11, 40, 26, 0.62));
  opacity: 1;
}

.offline-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 90px 0;
  display: grid;
  grid-template-columns: 1fr 0.48fr;
  align-items: center;
  gap: 70px;
}

.large-section-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
}

.offline-copy > p:not(.eyebrow, .offline-caveat) {
  color: rgba(255, 255, 255, 0.78);
}

.offline-copy ul {
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.offline-copy li {
  position: relative;
  padding-left: 28px;
}

.offline-copy li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--amber-bright);
  border-radius: 50%;
}

.offline-caveat {
  margin: 0;
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--amber);
  font-size: 12px;
}

.offline-phone {
  width: 310px;
  height: 610px;
  margin: 0 auto;
  padding: 8px;
  background: #111812;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.offline-phone > img {
  width: 100%;
  height: 548px;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
}

.offline-phone figcaption {
  padding: 10px 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  text-align: center;
}

.section-gallery {
  background: #fff;
  overflow: hidden;
}

.mac-gallery {
  width: min(100%, var(--content));
  margin: 0 auto;
  background: #f1f2ef;
  border: 1px solid #cfd4cf;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(12, 39, 25, 0.16);
  overflow: hidden;
}

.mac-gallery-toolbar {
  min-height: 52px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 94px;
  align-items: center;
  gap: 12px;
  background: #f8f8f7;
  border-bottom: 1px solid #d8dcd8;
}

.mac-window-controls {
  display: flex;
  gap: 7px;
}

.mac-window-controls i {
  width: 12px;
  height: 12px;
  display: block;
  background: #ffbd2e;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.09);
}

.mac-window-controls i:first-child {
  background: #ff5f57;
}

.mac-window-controls i:last-child {
  background: #28c840;
}

.mac-gallery-toolbar > p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #56605a;
  font-size: 13px;
  text-align: center;
}

.mac-gallery-toolbar > p img {
  width: 18px;
  height: 18px;
  opacity: 0.68;
}

.mac-gallery-toolbar > p strong {
  color: var(--forest-dark);
}

.mac-gallery-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.mac-gallery-nav button {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d0d6d1;
  border-radius: 6px;
  cursor: pointer;
}

.mac-gallery-nav button:hover,
.mac-gallery-nav button:focus-visible {
  background: var(--cream);
  border-color: var(--amber);
}

.mac-gallery-nav img {
  width: 18px;
  height: 18px;
}

.mac-gallery-stage {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(420px, 1.2fr) minmax(280px, 0.8fr);
  background: #e9ece8;
}

.mac-gallery-preview {
  position: relative;
  min-width: 0;
  min-height: 620px;
  margin: 0;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #fff 0, #eef0ed 52%, #dde1dc 100%);
  border-right: 1px solid #d0d5d0;
  overflow: hidden;
}

.mac-gallery-preview > img {
  width: auto;
  max-width: 100%;
  height: 550px;
  object-fit: contain;
  object-position: top;
  background: var(--cream);
  border: 7px solid #172019;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(7, 26, 17, 0.22);
}

.mac-gallery-preview.watermarked::after {
  right: max(18px, calc(50% - 160px));
  bottom: 44px;
}

.mac-gallery-copy {
  padding: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: #fff;
}

.gallery-position {
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mac-gallery-copy h3 {
  margin-bottom: 16px;
  color: var(--forest-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  line-height: 1.08;
}

.mac-gallery-copy > p:not(.gallery-position) {
  margin-bottom: 28px;
  color: var(--muted);
}

.gallery-expand {
  color: #fff;
  background: var(--forest);
}

.mac-gallery-strip {
  padding: 14px;
  display: flex;
  gap: 10px;
  background: #f8f8f7;
  border-top: 1px solid #d8dcd8;
  overflow-x: auto;
  scrollbar-color: #aeb8b0 transparent;
  scrollbar-width: thin;
}

.gallery-thumb {
  min-width: 0;
  flex: 0 0 142px;
  height: 78px;
  padding: 7px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--forest-dark);
  background: #fff;
  border: 1px solid #d8dcd8;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: var(--amber);
}

.gallery-thumb.is-active {
  background: #fff9e9;
  border-color: var(--amber);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.gallery-thumb img {
  width: 42px;
  height: 62px;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
}

.gallery-thumb span {
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.section-price {
  background: var(--cream);
}

.price-heading {
  max-width: 820px;
}

.price-heading .large-section-icon {
  margin: 0 auto 24px;
  background: rgba(31, 91, 59, 0.12);
  border-color: rgba(31, 91, 59, 0.22);
}

.price-heading .large-section-icon img {
  filter: invert(29%) sepia(14%) saturate(1499%) hue-rotate(95deg) brightness(92%);
}

.pricing-grid {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.price-card {
  min-width: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--forest-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.price-card-owner {
  color: #fff;
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  box-shadow: 0 24px 55px rgba(11, 40, 26, 0.22);
}

.price-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.price-card-heading > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.price-card-owner .price-card-heading > span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.price-card-heading img {
  width: 26px;
  height: 26px;
  filter: invert(28%) sepia(67%) saturate(1536%) hue-rotate(351deg) brightness(82%);
}

.price-card-owner .price-card-heading img {
  filter: brightness(0) invert(1);
}

.price-card-heading p {
  margin: 0 0 2px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-card-owner .price-card-heading p {
  color: var(--amber-bright);
}

.price-card-heading h3 {
  font-size: 22px;
}

.plan-price {
  margin: 30px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-size: 12px;
}

.price-card-owner .plan-price span,
.price-card-owner .plan-unit {
  color: rgba(255, 255, 255, 0.72);
}

.plan-unit {
  min-height: 42px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.price-card ul {
  margin: 0 0 28px;
  padding: 22px 0 0;
  display: grid;
  gap: 11px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-card-owner ul {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.price-card li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
}

.price-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "✓";
  color: var(--forest);
  font-weight: 800;
}

.price-card-owner li::before {
  color: var(--amber-bright);
}

.plan-action,
.plan-access {
  min-height: 48px;
  margin: auto 0 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.plan-action {
  color: var(--forest-dark);
  background: var(--amber-bright);
  text-decoration: none;
}

.plan-access {
  color: var(--forest);
  background: #eef5ef;
  border: 1px solid #d3e2d5;
}

.pricing-note {
  width: min(100%, var(--content));
  margin: 24px auto 0;
  padding: 17px 20px;
  color: var(--forest-dark);
  background: #fff8e4;
  border-left: 3px solid var(--amber);
  font-size: 13px;
}

.section-faq {
  background: #fff;
}

.faq-list {
  width: min(100%, 850px);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  padding: 20px 52px 20px 22px;
  color: var(--forest-deep);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.faq-list details > p,
.faq-list details > a {
  margin-right: 22px;
  margin-left: 22px;
}

.faq-list details > p {
  color: var(--muted);
}

.faq-list details > a {
  margin-bottom: 20px;
}

.institution-band {
  padding: 82px 32px;
}

.institution-band .photo-layer {
  background-image: linear-gradient(90deg, rgba(11, 40, 26, 0.94), rgba(11, 40, 26, 0.62));
  opacity: 1;
}

.institution-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 64px;
}

.institution-logo {
  padding: 0;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.institution-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.institution-inner h2 {
  font-size: 38px;
}

.institution-inner p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.download-band {
  padding: 74px 32px;
  color: #fff;
  background: linear-gradient(110deg, var(--terracotta), #6f2d14 58%, var(--forest-deep));
}

.download-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 32px;
}

.download-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.download-inner h2 {
  margin-bottom: 8px;
  font-size: 37px;
}

.download-inner p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  padding: 64px 32px 28px;
  color: rgba(255, 255, 255, 0.75);
  background: #071a11;
}

.footer-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) repeat(2, minmax(130px, 0.65fr)) minmax(230px, 1fr);
  align-items: start;
  gap: 44px;
}

.footer-intro > p {
  max-width: 300px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.footer-brand span,
.footer-association span {
  font-size: 11px;
}

.footer-play {
  width: 168px;
  display: block;
}

.footer-play img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-menu,
.footer-organization {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-menu > strong,
.footer-organization > strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-menu a {
  position: relative;
  padding-bottom: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-decoration: none;
}

.footer-menu a::after {
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--amber-bright);
  transition: right 160ms ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: #fff;
}

.footer-menu a:hover::after,
.footer-menu a:focus-visible::after {
  right: 0;
}

.footer-association {
  display: block;
  text-decoration: none;
}

.footer-association img {
  width: 220px;
  height: auto;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.footer-association span {
  max-width: 220px;
  margin-top: 8px;
  display: block;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--white-line);
  font-size: 11px;
}

.footer-meta a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.feature-dialog,
.lightbox {
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.feature-dialog::backdrop,
.lightbox::backdrop {
  background: rgba(3, 15, 9, 0.82);
  backdrop-filter: blur(6px);
}

.feature-dialog {
  width: min(1060px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  background: var(--paper);
  overflow: auto;
}

.dialog-close,
.lightbox-close,
.lightbox-nav {
  width: 46px;
  height: 46px;
  padding: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  cursor: pointer;
}

.dialog-close {
  position: sticky;
  z-index: 5;
  top: 14px;
  float: right;
  margin: 14px 14px -60px 0;
  color: #fff;
  background: var(--forest-deep);
}

.dialog-close img,
.lightbox-close img,
.lightbox-nav img {
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
}

.feature-dialog-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-dialog-copy {
  padding: 64px 56px;
}

.feature-dialog-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
}

.feature-dialog-copy h2 {
  font-size: 42px;
}

.feature-dialog-copy > div > p {
  color: var(--muted);
  font-size: 17px;
}

.feature-dialog-copy dl {
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.feature-dialog-copy dl div {
  padding: 13px 0 13px 18px;
  border-left: 3px solid var(--amber);
}

.feature-dialog-copy dt {
  margin-bottom: 2px;
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-dialog-copy dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.feature-dialog-visual {
  min-width: 0;
  min-height: 650px;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--forest-deep);
  overflow: hidden;
}

.feature-dialog-visual > img {
  width: 100%;
  height: 590px;
  object-fit: contain;
  object-position: center top;
}

.feature-dialog-visual figcaption {
  min-height: 60px;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--white-line);
  font-size: 11px;
}

.lightbox {
  width: min(1100px, calc(100% - 34px));
  height: min(900px, calc(100% - 34px));
  background: #071a11;
  overflow: hidden;
}

.lightbox-shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.lightbox-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox figure {
  width: calc(100% - 150px);
  height: 100%;
  margin: 0 auto;
  padding: 26px 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox figure > img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 56px;
  padding: 16px 20px;
  color: #fff;
  background: rgba(7, 26, 17, 0.94);
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .mac-gallery-stage {
    grid-template-columns: minmax(360px, 1.1fr) minmax(250px, 0.9fr);
  }

  .mac-gallery-copy {
    padding: 36px;
  }

  .price-card {
    padding: 24px;
  }

  .plan-price strong {
    font-size: 42px;
  }

  .site-nav > a:not(.nav-download) {
    padding-inline: 6px;
    font-size: 12px;
  }

  .site-nav > a:not(.nav-download)::after {
    right: 6px;
    left: 6px;
  }

  .nav-download img {
    width: 138px;
  }

  .hero-copy {
    width: min(54%, 590px);
  }

  h1 {
    font-size: 54px;
  }

  .hero-devices {
    right: 10px;
    bottom: 34px;
    width: 440px;
    height: 540px;
    transform: none;
  }

  .phone-frame-back,
  .phone-frame-front {
    width: 220px;
    height: 488px;
  }

  .phone-frame-back {
    left: 20px;
  }

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

  .role-grid article {
    grid-template-columns: 42px 76px 150px minmax(0, 1fr);
  }

  .role-grid strong {
    grid-column: 4;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .mac-gallery-stage {
    grid-template-columns: 1fr;
  }

  .mac-gallery-preview {
    min-height: 540px;
    border-right: 0;
    border-bottom: 1px solid #d0d5d0;
  }

  .mac-gallery-preview > img {
    height: 470px;
  }

  .mac-gallery-preview.watermarked::after {
    bottom: 42px;
  }

  .mac-gallery-copy {
    padding: 32px;
  }

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

  .price-card-owner {
    grid-column: 1 / -1;
  }

  .menu-button {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    max-height: calc(100vh - 84px);
    padding: 10px;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    background: var(--forest-deep);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.nav-download) {
    width: 100%;
    padding: 13px 14px;
    font-size: 14px;
  }

  .site-nav > a:not(.nav-download)::after {
    top: 9px;
    right: auto;
    bottom: 9px;
    left: 4px;
    width: 3px;
    height: auto;
    transform: scaleY(0.4);
  }

  .site-nav > a.is-active::after,
  .site-nav > a[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .site-nav .nav-download {
    width: 100%;
    margin: 5px 0 0;
    justify-content: center;
  }

  .nav-download img {
    width: 160px;
  }

  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .header-inner {
    padding: 8px 0 14px;
    flex-wrap: wrap;
  }

  html:not(.js) .menu-button {
    display: none;
  }

  html:not(.js) .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html:not(.js) .site-nav a {
    text-align: center;
  }

  html:not(.js) .site-nav .nav-download {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    padding: 112px 0 48px;
    display: block;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-devices {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 480px);
    height: 510px;
    margin: 34px auto 0;
    transform: none;
  }

  .phone-frame-back,
  .phone-frame-front {
    width: 220px;
    height: 488px;
  }

  .phone-frame-back {
    top: 20px;
    left: 20px;
  }

  .phone-frame-front {
    top: 0;
    right: 20px;
  }

  .hero-next {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-grid p,
  .trust-grid p:first-child,
  .trust-grid p:last-child {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid p:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

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

  .steps li:not(:nth-child(3n))::after {
    display: none;
  }

  .steps li:nth-child(odd)::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -21px;
    width: 22px;
    height: 2px;
    display: block;
    content: "";
    background: var(--amber);
  }

  .section-process {
    grid-template-columns: 1fr;
  }

  .process-intro {
    max-width: 680px;
    margin: 0 auto;
  }

  .process-visual {
    width: min(640px, 100%);
    margin: 0 auto;
  }

  .case-list {
    grid-template-columns: 1fr;
  }

  .users-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .role-grid article {
    grid-template-columns: 42px 80px 150px 1fr;
  }

  .offline-inner {
    grid-template-columns: 1fr 0.55fr;
    gap: 44px;
  }

  .offline-phone {
    width: 260px;
    height: 530px;
  }

  .offline-phone > img {
    height: 470px;
  }

  .institution-inner {
    grid-template-columns: 280px 1fr;
    gap: 38px;
  }

  .download-inner {
    grid-template-columns: 100px 1fr;
  }

  .download-inner .play-badge-link {
    grid-column: 2;
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .feature-dialog-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .feature-dialog-visual {
    min-height: 480px;
  }

  .feature-dialog-visual > img {
    height: 420px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 21px;
  }

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

  .hero {
    min-height: 0;
  }

  .hero-inner {
    width: min(calc(100% - 36px), var(--content));
    min-height: 0;
    padding: 104px 0 34px;
  }

  .hero-copy {
    width: 100%;
  }

  .institution-kicker {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .institution-kicker img {
    width: 142px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-offer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .hero-cta-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-cta-grid .hero-offer {
    grid-column: auto;
  }

  .mac-gallery-toolbar {
    grid-template-columns: 66px minmax(0, 1fr) 78px;
    gap: 7px;
  }

  .mac-gallery-toolbar > p {
    min-width: 0;
    justify-content: flex-start;
  }

  .mac-gallery-toolbar > p span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mac-gallery-preview {
    min-height: 480px;
    padding: 26px;
  }

  .mac-gallery-preview > img {
    height: 420px;
  }

  .mac-gallery-copy {
    padding: 28px;
  }

  .mac-gallery-copy h3 {
    font-size: 32px;
  }

  .gallery-thumb {
    flex-basis: 132px;
  }

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

  .price-card-owner {
    grid-column: auto;
  }

  .footer-intro,
  .footer-menu,
  .footer-organization {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--white-line);
  }

  .hero-note {
    text-align: center;
  }

  .hero-devices {
    right: auto;
    bottom: auto;
    width: 100%;
    height: clamp(350px, 105vw, 450px);
    margin-top: 30px;
    transform: none;
  }

  .phone-frame-back,
  .phone-frame-front {
    width: min(50%, 190px);
    height: auto;
    aspect-ratio: 720 / 1596;
  }

  .phone-frame-back {
    top: 18px;
    left: 4%;
  }

  .phone-frame-front {
    top: 0;
    right: 4%;
  }

  .section {
    padding: 78px 24px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

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

  .steps li {
    min-height: 0;
  }

  .steps li:nth-child(odd)::after {
    display: none;
  }

  .section-process {
    min-height: 1040px;
    padding-bottom: 40px;
    gap: 26px;
  }

  .process-visual {
    min-height: 550px;
  }

  .editorial-shot {
    right: 4%;
    width: 245px;
    height: 525px;
  }

  .editorial-shot img {
    height: 465px;
  }

  .editorial-shot-lower {
    top: 110px;
    right: auto;
    left: 4%;
    width: 215px;
    height: 480px;
  }

  .editorial-shot-lower img {
    height: 420px;
  }

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

  .feature-trigger {
    min-height: 0;
  }

  .case-list article {
    min-height: 0;
  }

  .role-grid article {
    grid-template-columns: 42px 1fr;
  }

  .role-grid .role-label,
  .role-grid h3,
  .role-grid article > p:not(.role-label),
  .role-grid strong {
    grid-column: 2;
  }

  .offline-inner {
    grid-template-columns: 1fr;
  }

  .offline-phone {
    width: min(300px, 88%);
  }

  .section-price {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .price-intro {
    margin: 0 auto;
  }

  .institution-inner {
    grid-template-columns: 1fr;
  }

  .institution-logo {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .download-inner {
    grid-template-columns: 82px 1fr;
  }

  .download-logo {
    width: 78px;
    height: 78px;
  }

  .download-inner h2 {
    font-size: 30px;
  }

  .download-inner .play-badge-link {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: auto;
  }

  .footer-meta {
    flex-direction: column;
    gap: 5px;
  }

  .feature-dialog-copy {
    padding: 60px 28px 38px;
  }

  .feature-dialog-copy h2 {
    font-size: 34px;
  }

  .feature-dialog-visual {
    min-height: 520px;
  }

  .feature-dialog-visual > img {
    height: 460px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .institution-kicker {
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .institution-kicker img {
    width: 132px;
  }

  .institution-kicker span {
    max-width: 120px;
    line-height: 1.35;
  }

  .hero-devices {
    bottom: auto;
    height: clamp(340px, 104vw, 410px);
    transform: none;
  }

  .trust-band {
    padding-inline: 20px;
  }

  .section,
  .institution-band,
  .download-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .steps li {
    padding: 22px;
    grid-template-columns: 50px 1fr;
    gap: 13px;
  }

  .step-icon {
    width: 50px;
    height: 50px;
  }

  .section-process {
    min-height: 940px;
  }

  .process-visual {
    min-height: 480px;
  }

  .editorial-shot {
    right: 0;
    width: 210px;
    height: 460px;
  }

  .editorial-shot img {
    height: 400px;
  }

  .editorial-shot-lower {
    left: 0;
    width: 190px;
    height: 430px;
  }

  .editorial-shot-lower img {
    height: 370px;
  }

  .feature-trigger {
    padding: 20px;
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    gap: 12px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
  }

  .case-list article {
    padding: 22px;
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .case-icon {
    width: 50px;
    height: 50px;
  }

  .offline-band {
    padding-inline: 20px;
  }

  .mac-gallery-toolbar {
    grid-template-columns: 54px minmax(0, 1fr) 74px;
    padding-inline: 9px;
  }

  .mac-window-controls {
    gap: 5px;
  }

  .mac-window-controls i {
    width: 10px;
    height: 10px;
  }

  .mac-gallery-toolbar > p img {
    display: none;
  }

  .mac-gallery-preview {
    min-height: 420px;
    padding: 22px;
  }

  .mac-gallery-preview > img {
    height: 365px;
  }

  .mac-gallery-preview.watermarked::after {
    right: 18px;
    bottom: 30px;
  }

  .mac-gallery-copy {
    padding: 24px 22px;
  }

  .price-card {
    padding: 22px;
  }

  .plan-price strong {
    font-size: 42px;
  }

  .institution-inner h2 {
    font-size: 31px;
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-logo {
    margin: 0 auto;
  }

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

  .lightbox {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .lightbox figure {
    width: calc(100% - 34px);
    padding: 54px 0 74px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 10px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 64px);
  }

  .lightbox-next {
    right: calc(50% - 64px);
  }

  .lightbox figcaption {
    min-height: 70px;
    padding-right: 110px;
    padding-left: 110px;
    font-size: 12px;
  }

  .feature-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
  }

  .feature-dialog-copy {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 360px) {
  .brand span {
    font-size: 19px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 29px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-offer strong {
    font-size: 16px;
  }

  .feature-trigger {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
  }

  .feature-icon img {
    width: 24px;
    height: 24px;
  }

  .footer-association img {
    width: 100%;
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    object-position: center;
  }
}

@media print {
  .site-header,
  .hero-video,
  .hero-devices,
  .hero-next,
  .gallery,
  .feature-dialog,
  .lightbox,
  .download-band {
    display: none !important;
  }

  .hero,
  .photo-section,
  .section-features {
    min-height: 0;
    color: #000;
    background: #fff;
  }

  .photo-layer,
  .section-features::before {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    padding: 40px 0;
  }

  .hero-copy {
    width: 100%;
  }

  .section,
  .offline-inner {
    padding-block: 36px;
  }
}
