.dan-page {
  --dan-navy: #17364b;
  --dan-navy-deep: #0c2b3f;
  --dan-green: #41b584;
  --dan-green-dark: #218a63;
  --dan-mint: #eaf8f1;
  --dan-mint-soft: #f5fbf8;
  --dan-cream: #faf7f0;
  --dan-gold: #d6b37a;
  --dan-line: #dce9e3;
  --dan-text: #183345;
  --dan-muted: #60727d;
  --dan-white: #ffffff;
  --dan-shadow: 0 24px 60px rgba(22, 62, 80, 0.12);
  background: #fff;
  color: var(--dan-text);
  overflow: hidden;
}

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

.dan-page h1,
.dan-page h2,
.dan-page h3,
.dan-page p,
.dan-page figure,
.dan-page ul,
.dan-page ol {
  margin: 0;
}

.dan-page ul,
.dan-page ol {
  padding: 0;
  list-style: none;
}

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

.dan-page button,
.dan-page summary {
  font: inherit;
}

.dan-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.dan-section {
  padding: 112px 0;
}

.dan-section-soft {
  background: var(--dan-mint-soft);
}

.dan-section-dark {
  background: var(--dan-navy-deep);
  color: #fff;
}

.dan-section-head {
  max-width: 780px;
  margin-bottom: 52px;
}

.dan-section-head-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.dan-kicker,
.dan-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--dan-mint);
  color: var(--dan-green-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.dan-section-dark .dan-kicker,
.dan-cta .dan-kicker {
  background: rgba(65, 181, 132, 0.16);
  color: #7fe2b3;
}

.dan-section h2,
.dan-story h2,
.dan-pms h2,
.dan-onboarding h2,
.dan-operations h2,
.dan-cta h2 {
  color: var(--dan-text);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.dan-section-dark h2,
.dan-cta h2 {
  color: #fff;
}

.dan-section-lead,
.dan-story-copy > p,
.dan-pms-copy > p,
.dan-onboarding-copy > p,
.dan-operations-copy > p {
  margin-top: 20px;
  color: var(--dan-muted);
  font-size: 17px;
  line-height: 1.9;
}

.dan-section-dark .dan-section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.dan-hero {
  position: relative;
  min-height: 780px;
  padding: 148px 0 96px;
  background: var(--dan-navy-deep);
  color: #fff;
  isolation: isolate;
}

.dan-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(7, 34, 50, 0.84);
}

.dan-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dan-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 68px;
  align-items: center;
}

.dan-hero-copy {
  position: relative;
  z-index: 2;
}

.dan-eyebrow {
  background: rgba(255, 255, 255, 0.11);
  color: #bdebd6;
}

.dan-hero h1 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(46px, 4.3vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.dan-hero-lead {
  max-width: 650px;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.9;
}

.dan-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px !important;
}

.dan-hero-points li {
  position: relative;
  padding: 8px 14px 8px 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.4;
}

.dan-hero-points li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fe2b3;
  transform: translateY(-50%);
}

.dan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.dan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.dan-btn-primary {
  background: var(--dan-green);
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(65, 181, 132, 0.22);
}

.dan-btn-primary:hover {
  background: var(--dan-green-dark);
}

.dan-btn-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.dan-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dan-btn-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: #fff;
  color: var(--dan-navy-deep) !important;
}

.dan-hero-visual {
  position: relative;
  min-height: 520px;
}

.dan-dashboard-frame,
.dan-desktop-shot,
.dan-pms-desktop,
.dan-operations-media figure {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--dan-shadow);
}

.dan-dashboard-frame {
  position: absolute;
  top: 42px;
  left: 0;
  width: min(100%, 650px);
}

.dan-dashboard-frame img {
  width: 100%;
  aspect-ratio: 1290 / 760;
  object-fit: cover;
}

.dan-phone-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 222px;
  overflow: hidden;
  border: 8px solid #142532;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.dan-phone-frame img {
  width: 100%;
  aspect-ratio: 640 / 1424;
  object-fit: cover;
  object-position: top;
}

.dan-proof-chip {
  position: absolute;
  bottom: 18px;
  left: 28px;
  z-index: 3;
  width: 250px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--dan-text);
  box-shadow: var(--dan-shadow);
}

.dan-proof-chip strong,
.dan-proof-chip span {
  display: block;
}

.dan-proof-chip strong {
  color: var(--dan-green-dark);
  font-size: 15px;
}

.dan-proof-chip span {
  margin-top: 4px;
  color: var(--dan-muted);
  font-size: 12px;
  line-height: 1.6;
}

.dan-fit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}

.dan-fit-photo {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--dan-shadow);
}

.dan-fit-photo img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

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

.dan-fit-card {
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--dan-line);
  border-radius: 18px;
  background: #fff;
}

.dan-fit-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dan-mint);
  color: var(--dan-green-dark);
  font-size: 21px;
}

.dan-fit-card h3 {
  margin-top: 18px;
  color: var(--dan-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.dan-fit-card p {
  margin-top: 9px;
  color: var(--dan-muted);
  font-size: 14px;
  line-height: 1.75;
}

.dan-version-note {
  margin-top: 20px !important;
  padding: 16px 18px;
  border-left: 3px solid var(--dan-gold);
  border-radius: 0 10px 10px 0;
  background: var(--dan-cream);
  color: var(--dan-muted);
  font-size: 14px;
  line-height: 1.7;
}

.dan-version-note a {
  color: var(--dan-green-dark) !important;
  font-weight: 700;
}

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

.dan-case-card {
  overflow: hidden;
  border: 1px solid var(--dan-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 51, 69, 0.08);
}

.dan-case-image {
  position: relative;
  aspect-ratio: 640 / 1424;
  padding: 14px 12px;
  overflow: hidden;
  background: #f4f8f6;
}

.dan-case-image > .dan-case-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.dan-case-card:hover .dan-case-preview,
.dan-case-card:focus-within .dan-case-preview {
  transform: scale(1.025);
}

.dan-case-qr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(12, 36, 32, 0.92);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dan-case-card:hover .dan-case-qr,
.dan-case-card:focus-within .dan-case-qr {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dan-case-qr img {
  width: 118px;
  height: 118px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.dan-case-qr b {
  margin-top: 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.dan-case-qr span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.4;
}

.dan-case-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 13px 16px;
  color: var(--dan-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.dan-case-card figcaption span {
  min-width: 0;
}

.dan-case-card figcaption small {
  flex: 0 0 auto;
  color: var(--dan-muted);
  font-size: 11px;
  font-weight: 500;
}

.dan-journey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 42px;
}

.dan-journey-step {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.dan-journey-step b {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #7fe2b3;
  color: #17362f;
  font-size: 12px;
  line-height: 1;
}

.dan-journey-step span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.dan-journey-step small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}

.dan-journey i {
  flex: 0 0 auto;
  color: #7fe2b3;
  font-size: 20px;
}

.dan-screen-grid {
  display: grid;
  gap: 20px;
}

.dan-screen-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dan-screen-card {
  overflow: hidden;
  border: 8px solid #142532;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.dan-screen-card img {
  width: 100%;
  aspect-ratio: 640 / 1424;
  object-fit: cover;
  object-position: top;
}

.dan-screen-card figcaption {
  padding: 15px 10px;
  background: #fff;
  color: var(--dan-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.dan-screen-card figcaption b {
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 4px;
  place-items: center;
  border-radius: 50%;
  background: #e6f6ef;
  color: var(--dan-green-dark);
  font-size: 11px;
  line-height: 1;
}

.dan-story,
.dan-pms,
.dan-operations {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 70px;
  align-items: center;
}

.dan-value-list {
  display: grid;
  gap: 13px;
  margin-top: 28px !important;
}

.dan-value-list li {
  position: relative;
  padding-left: 27px;
  color: var(--dan-text);
  font-size: 15px;
  line-height: 1.75;
}

.dan-value-list li::before {
  content: '✓';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--dan-green-dark);
  font-weight: 800;
}

.dan-theme-stack {
  position: relative;
  min-height: 590px;
}

.dan-desktop-shot {
  width: 100%;
}

.dan-desktop-shot img {
  width: 100%;
  aspect-ratio: 1400 / 983;
  object-fit: cover;
  object-position: top;
}

.dan-theme-phones {
  position: absolute;
  right: -12px;
  bottom: -54px;
  display: flex;
  gap: 10px;
}

.dan-theme-phones figure {
  width: 120px;
  overflow: hidden;
  border: 5px solid #142532;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(17, 42, 64, 0.2);
}

.dan-theme-phones img {
  width: 100%;
  aspect-ratio: 640 / 1424;
  object-fit: cover;
  object-position: top;
}

.dan-onboarding {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0;
  align-items: stretch;
  margin-top: 150px;
  overflow: hidden;
  border: 1px solid var(--dan-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--dan-shadow);
}

.dan-onboarding > figure img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.dan-onboarding-copy {
  padding: 56px;
}

.dan-step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px !important;
}

.dan-step-list li {
  min-height: 90px;
  padding: 15px;
  border: 1px solid var(--dan-line);
  border-radius: 14px;
  background: var(--dan-mint-soft);
}

.dan-step-list b,
.dan-step-list span {
  display: block;
}

.dan-step-list b {
  color: var(--dan-green-dark);
  font-size: 13px;
  line-height: 1.4;
}

.dan-step-list span {
  margin-top: 10px;
  color: var(--dan-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.dan-note {
  display: flex;
  gap: 10px;
  margin-top: 24px !important;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--dan-cream);
  color: #725f43 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.dan-note i {
  flex: 0 0 auto;
  color: #9a7742;
  font-size: 18px;
}

.dan-pms {
  min-height: 720px;
}

.dan-pms-media {
  position: relative;
  min-height: 660px;
}

.dan-pms-desktop {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
}

.dan-pms-desktop img {
  width: 100%;
  aspect-ratio: 6 / 1;
  object-fit: cover;
}

.dan-pms-phone {
  position: absolute;
  bottom: 0;
  width: 190px;
  overflow: hidden;
  border: 7px solid #142532;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--dan-shadow);
}

.dan-pms-phone:nth-of-type(2) {
  left: 42px;
}

.dan-pms-phone:nth-of-type(3) {
  left: 250px;
}

.dan-pms-phone img {
  width: 100%;
  aspect-ratio: 640 / 1424;
  object-fit: cover;
  object-position: top;
}

.dan-pms-price {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 310px;
  overflow: hidden;
  border: 7px solid #142532;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--dan-shadow);
}

.dan-pms-price img {
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

.dan-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 68px;
  align-items: center;
}

.dan-service-screens {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.dan-service-screens figure {
  width: min(48%, 260px);
  overflow: hidden;
  border: 7px solid #142532;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}

.dan-service-screens img {
  width: 100%;
  aspect-ratio: 640 / 1424;
  object-fit: cover;
  object-position: top;
}

.dan-condition-list {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.dan-condition-list h3 {
  margin-bottom: 24px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.dan-condition-list > div {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dan-condition-list > div i {
  flex: 0 0 auto;
  color: #7fe2b3;
  font-size: 22px;
}

.dan-condition-list > div span,
.dan-condition-list > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.dan-condition-list > div b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 15px;
}

.dan-condition-list > p {
  margin-top: 22px;
  padding: 17px;
  border-left: 3px solid var(--dan-gold);
  background: rgba(255, 255, 255, 0.06);
}

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

.dan-business-grid figure {
  overflow: hidden;
  border: 1px solid var(--dan-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 51, 69, 0.09);
}

.dan-business-grid img {
  width: 100%;
  aspect-ratio: 640 / 1424;
  object-fit: cover;
  object-position: top;
}

.dan-business-grid figcaption {
  padding: 17px 10px;
  color: var(--dan-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.dan-operations {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.dan-trust-links {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.dan-trust-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--dan-line);
  border-radius: 14px;
  background: #fff;
  color: var(--dan-text) !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.dan-trust-links a:hover {
  border-color: var(--dan-green);
  transform: translateX(3px);
}

.dan-trust-links i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--dan-mint);
  color: var(--dan-green-dark);
  font-size: 20px;
}

.dan-trust-links span {
  color: var(--dan-muted);
  font-size: 13px;
  line-height: 1.5;
}

.dan-trust-links b {
  display: block;
  margin-bottom: 3px;
  color: var(--dan-text);
  font-size: 15px;
}

.dan-operations-media {
  position: relative;
  min-height: 600px;
}

.dan-operations-media figure {
  position: absolute;
  width: 82%;
}

.dan-operations-media figure:first-child {
  top: 0;
  left: 0;
}

.dan-operations-media figure:last-child {
  right: 0;
  bottom: 0;
}

.dan-operations-media img {
  width: 100%;
  aspect-ratio: 1400 / 983;
  object-fit: cover;
  object-position: top;
}

.dan-feature-section {
  background: #fff;
}

.dan-feature-details {
  border: 1px solid var(--dan-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--dan-shadow);
}

.dan-feature-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 22px 28px;
  border-radius: 22px;
  cursor: pointer;
  color: var(--dan-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.dan-feature-details summary::-webkit-details-marker {
  display: none;
}

.dan-feature-details summary span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dan-feature-details summary span i {
  color: var(--dan-green-dark);
  font-size: 22px;
}

.dan-summary-arrow {
  color: var(--dan-green-dark);
  font-size: 24px;
  transition: transform 0.2s ease;
}

.dan-feature-details[open] .dan-summary-arrow {
  transform: rotate(180deg);
}

.dan-table-wrap {
  overflow-x: auto;
  padding: 0 28px 28px;
}

.dan-feature-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  color: var(--dan-text);
  font-size: 14px;
}

.dan-feature-table th,
.dan-feature-table td {
  padding: 16px 18px;
  border: 1px solid var(--dan-line);
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
}

.dan-feature-table th {
  background: var(--dan-navy);
  color: #fff;
  font-weight: 700;
}

.dan-feature-table td:first-child {
  width: 17%;
  background: var(--dan-mint-soft);
  color: var(--dan-green-dark);
  font-weight: 700;
}

.dan-feature-table tbody tr:hover td {
  background: #f7fbf9;
}

.dan-gallery {
  padding: 104px 0;
  background: var(--dan-cream);
}

.dan-gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.dan-gallery-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #decfaf;
  border-radius: 999px;
  background: #fff;
  color: #6f6045;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.dan-gallery-tab.active {
  border-color: var(--dan-green);
  background: var(--dan-green);
  color: #fff;
}

.dan-gallery-panel:not(.active) {
  display: none;
}

.dan-gallery-images {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.dan-gallery-images img {
  max-width: min(100%, 760px);
  height: auto;
  border-radius: 18px;
  box-shadow: var(--dan-shadow);
}

.feature-map-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: -12px 0 24px;
  color: #6f6045;
  font-size: 14px;
}

.feature-map-guide span,
.feature-map-guide a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.feature-map-guide a {
  color: var(--dan-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.feature-map-guide a:hover {
  color: var(--dan-green);
}

.feature-map-trigger {
  position: relative;
  display: block;
  width: min(100%, 760px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
}

.feature-map-trigger img {
  display: block;
  width: 100%;
}

.feature-map-zoom-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.feature-map-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(8, 15, 28, 0.92);
}

.feature-map-viewer.is-open {
  display: block;
}

.feature-map-viewer-open {
  overflow: hidden;
}

.feature-map-viewer-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 64px;
  padding: 10px 22px;
  background: rgba(8, 15, 28, 0.94);
}

.feature-map-viewer-toolbar a,
.feature-map-viewer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.feature-map-viewer-close {
  width: 42px;
  padding: 0;
  font-size: 20px;
}

.feature-map-viewer-scroll {
  height: calc(100vh - 64px);
  overflow: auto;
  padding: 18px;
  text-align: center;
}

.feature-map-viewer-image {
  display: inline-block;
  width: min(1400px, 96vw);
  max-width: none;
  height: auto;
  border-radius: 12px;
  background: #fff;
}

.dan-gallery-images img + img {
  max-width: calc(50% - 12px);
}

.dan-gallery-images--series {
  flex-direction: column;
}

.dan-gallery-images--series img + img {
  max-width: min(100%, 760px);
}

@media (max-width: 767px) {
  .feature-map-guide {
    flex-direction: column;
    gap: 8px;
    margin-top: -6px;
  }

  .feature-map-zoom-label {
    right: 10px;
    bottom: 10px;
  }

  .feature-map-viewer-toolbar {
    padding: 10px 12px;
  }

  .feature-map-viewer-scroll {
    padding: 10px;
  }

  .feature-map-viewer-image {
    width: 1200px;
  }
}

.dan-cta {
  padding: 82px 0;
  background: var(--dan-navy-deep);
  color: #fff;
}

.dan-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.dan-cta-inner > div:first-child {
  max-width: 720px;
}

.dan-cta h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.dan-cta p {
  margin-top: 15px !important;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.dan-cta .dan-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.dan-page :focus-visible {
  outline: 3px solid #f0c97d;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .dan-hero-grid {
    grid-template-columns: 1fr;
  }

  .dan-hero-copy {
    max-width: 760px;
  }

  .dan-hero-visual {
    width: min(760px, 100%);
  }

  .dan-fit-layout,
  .dan-story,
  .dan-pms,
  .dan-operations,
  .dan-service-layout {
    grid-template-columns: 1fr;
  }

  .dan-case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dan-business-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dan-story-copy,
  .dan-pms-copy,
  .dan-operations-copy {
    max-width: 760px;
  }

  .dan-onboarding {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .dan-operations-media {
    width: min(820px, 100%);
  }
}

@media (max-width: 768px) {
  .dan-container {
    width: min(100% - 32px, 640px);
  }

  .dan-section {
    padding: 78px 0;
  }

  .dan-section-head {
    margin-bottom: 38px;
  }

  .dan-section h2,
  .dan-story h2,
  .dan-pms h2,
  .dan-onboarding h2,
  .dan-operations h2,
  .dan-cta h2 {
    font-size: 34px;
    letter-spacing: -0.025em;
  }

  .dan-section-lead,
  .dan-story-copy > p,
  .dan-pms-copy > p,
  .dan-operations-copy > p {
    font-size: 15px;
  }

  .dan-hero {
    min-height: auto;
    padding: 112px 0 72px;
  }

  .dan-hero-grid {
    gap: 48px;
  }

  .dan-hero h1 {
    font-size: 44px;
  }

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

  .dan-hero-visual {
    min-height: 470px;
  }

  .dan-dashboard-frame {
    width: calc(100% - 76px);
  }

  .dan-phone-frame {
    width: 185px;
  }

  .dan-proof-chip {
    bottom: 8px;
    left: 12px;
  }

  .dan-fit-grid {
    grid-template-columns: 1fr;
  }

  .dan-fit-card {
    min-height: auto;
  }

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

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

  .dan-journey i {
    display: none;
  }

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

  .dan-story,
  .dan-pms,
  .dan-operations,
  .dan-service-layout {
    gap: 46px;
  }

  .dan-theme-stack {
    min-height: 540px;
  }

  .dan-theme-phones {
    right: 12px;
    bottom: 0;
  }

  .dan-onboarding {
    grid-template-columns: 1fr;
    margin-top: 96px;
  }

  .dan-onboarding > figure img {
    min-height: 300px;
    max-height: 420px;
  }

  .dan-onboarding-copy {
    padding: 38px 28px;
  }

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

  .dan-pms {
    min-height: auto;
  }

  .dan-pms-media {
    min-height: 620px;
  }

  .dan-pms-phone {
    width: 170px;
  }

  .dan-pms-phone:nth-of-type(2) {
    left: 12px;
  }

  .dan-pms-phone:nth-of-type(3) {
    left: 196px;
  }

  .dan-pms-price {
    right: 0;
    width: 280px;
  }

  .dan-service-screens figure {
    width: min(46%, 230px);
  }

  .dan-condition-list {
    padding: 28px;
  }

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

  .dan-operations-media {
    min-height: 520px;
  }

  .dan-operations-media figure {
    width: 90%;
  }

  .dan-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 28px;
  }

  .dan-cta .dan-actions {
    width: 100%;
  }

  .dan-cta .dan-btn {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .dan-container {
    width: calc(100% - 28px);
  }

  .dan-section {
    padding: 64px 0;
  }

  .dan-section h2,
  .dan-story h2,
  .dan-pms h2,
  .dan-onboarding h2,
  .dan-operations h2,
  .dan-cta h2 {
    font-size: 29px;
  }

  .dan-hero {
    padding: 96px 0 60px;
  }

  .dan-hero h1 {
    font-size: 37px;
  }

  .dan-hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dan-hero-points li {
    padding-right: 10px;
    padding-left: 27px;
    font-size: 12px;
  }

  .dan-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dan-btn {
    width: 100%;
  }

  .dan-hero-visual {
    min-height: 390px;
  }

  .dan-dashboard-frame {
    top: 20px;
    width: calc(100% - 58px);
    border-width: 5px;
    border-radius: 15px;
  }

  .dan-phone-frame {
    width: 150px;
    border-width: 5px;
    border-radius: 24px;
  }

  .dan-proof-chip {
    bottom: 4px;
    left: 0;
    width: 190px;
    padding: 12px 14px;
  }

  .dan-proof-chip span {
    font-size: 11px;
  }

  .dan-fit-layout {
    gap: 30px;
  }

  .dan-case-grid {
    gap: 14px;
  }

  .dan-case-qr img {
    width: 88px;
    height: 88px;
  }

  .dan-case-qr b {
    margin-top: 6px;
    font-size: 12px;
  }

  .dan-case-qr span,
  .dan-case-card figcaption small {
    display: none;
  }

  .dan-case-card figcaption {
    justify-content: center;
    min-height: 64px;
    padding: 13px 8px;
    font-size: 12px;
    text-align: center;
  }

  .dan-journey {
    grid-template-columns: 1fr;
  }

  .dan-journey-step {
    padding: 12px 14px;
  }

  .dan-journey-step small {
    white-space: normal;
  }

  .dan-screen-grid {
    gap: 10px;
  }

  .dan-screen-card {
    border-width: 5px;
    border-radius: 20px;
  }

  .dan-screen-card figcaption {
    padding: 12px 5px;
    font-size: 12px;
  }

  .dan-theme-stack {
    min-height: 450px;
  }

  .dan-desktop-shot {
    border-width: 5px;
  }

  .dan-theme-phones {
    right: 0;
    gap: 5px;
  }

  .dan-theme-phones figure {
    width: 88px;
    border-width: 4px;
    border-radius: 14px;
  }

  .dan-onboarding-copy {
    padding: 32px 20px;
  }

  .dan-step-list {
    gap: 8px;
  }

  .dan-step-list li {
    min-height: 80px;
  }

  .dan-pms-media {
    min-height: 460px;
  }

  .dan-pms-desktop {
    top: 0;
    border-width: 5px;
    border-radius: 14px;
  }

  .dan-pms-phone {
    width: 140px;
    border-width: 5px;
    border-radius: 21px;
  }

  .dan-pms-phone:nth-of-type(2) {
    left: 0;
  }

  .dan-pms-phone:nth-of-type(3) {
    left: 148px;
  }

  .dan-pms-price {
    right: 0;
    bottom: 32px;
    width: 180px;
    border-width: 5px;
    border-radius: 15px;
  }

  .dan-service-screens {
    gap: 10px;
  }

  .dan-service-screens figure {
    width: 48%;
    border-width: 5px;
    border-radius: 22px;
  }

  .dan-condition-list {
    padding: 24px 20px;
  }

  .dan-business-grid {
    gap: 10px;
  }

  .dan-business-grid figcaption {
    padding: 13px 8px;
    font-size: 13px;
  }

  .dan-operations-media {
    min-height: 380px;
  }

  .dan-operations-media figure {
    width: 94%;
    border-width: 5px;
    border-radius: 15px;
  }

  .dan-feature-details summary {
    padding: 18px;
    font-size: 14px;
  }

  .dan-table-wrap {
    padding: 0 14px 18px;
  }

  .dan-gallery {
    padding: 70px 0;
  }

  .dan-gallery-tabs {
    gap: 8px;
  }

  .dan-gallery-tab {
    flex: 1;
    padding: 0 12px;
    font-size: 13px;
  }

  .dan-gallery-images {
    flex-direction: column;
  }

  .dan-gallery-images img + img {
    max-width: 100%;
  }

  .dan-cta {
    padding: 60px 0;
  }

  .dan-cta-inner {
    padding: 30px 20px;
  }
}

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