:root {
    --primary: #8ee8ff;
    --secondary: #07111f;
    --accent: #ffffff;
    --text: #102033;
    --muted: #5c718a;
    --line: #dce8f2;
    --bg: #f7fbff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}

.skip-link:focus {
    left: 12px;
    z-index: 5;
}

.site-header,
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 22px clamp(20px, 5vw, 70px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: rgba(247, 251, 255, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 232, 242, .8);
}

.brand {
    font-weight: 900;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 800;
}

.site-nav a[aria-current="page"] {
    color: var(--secondary);
}

.block {
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 70px);
}

.block-hero {
    min-height: 72vh;
    display: grid;
    align-content: center;
    background: radial-gradient(circle at top right, var(--primary), transparent 36%), linear-gradient(135deg, var(--secondary), #123f5f);
    color: #fff;
}

.block-page {
    background: #fff;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.block-hero h1 {
    max-width: 980px;
    font-size: clamp(44px, 8vw, 94px);
    line-height: .92;
    margin: 12px 0;
}

.lead {
    max-width: 680px;
    font-size: clamp(18px, 2.2vw, 24px);
    color: rgba(255, 255, 255, .86);
}

.block-page .lead {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    width: fit-content;
    margin-top: 24px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #07111f;
    text-decoration: none;
    font-weight: 900;
}

.btn-light {
    background: #fff;
}

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

.section-head h1,
.section-head h2,
.block-cta h2,
.block-contact h2 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
    margin: 8px 0;
}

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

.feature-card,
.block-contact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(16, 32, 51, .06);
}

.feature-card p,
.block-contact p {
    color: var(--muted);
}

.block-cta {
    background: linear-gradient(135deg, var(--secondary), #123f5f);
    color: #fff;
    text-align: center;
}

.block-cta p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
}

@media (max-width: 780px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

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

.ap-template {
  --ap-ink: #10231f;
  --ap-muted: #5c6d68;
  --ap-soft: #f3f7f4;
  --ap-card: #ffffff;
  --ap-line: rgba(16, 35, 31, .12);
  --ap-primary: #0d7a4f;
  --ap-primary-dark: #075c3a;
  --ap-accent: #b8f2d3;
  --ap-gold: #e7c36f;
  --ap-shadow: 0 22px 70px rgba(16, 35, 31, .10);
  --ap-radius: 24px;
  color: var(--ap-ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(184, 242, 211, .36), transparent 34rem),
    linear-gradient(180deg, #f8fbf8 0%, #eef5f0 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

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

.ap-template a {
  color: inherit;
}

.ap-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ap-sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ap-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 251, 248, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--ap-line);
}

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

.ap-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.ap-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
  color: #fff;
  font-weight: 900;
  letter-spacing: -.05em;
  box-shadow: 0 14px 36px rgba(13, 122, 79, .25);
}

.ap-brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: -.03em;
}

.ap-brand small {
  display: block;
  color: var(--ap-muted);
  font-size: 12px;
  margin-top: 1px;
}

.ap-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.ap-nav-link {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(16, 35, 31, .78);
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ap-nav-link:hover,
.ap-nav-link.is-active {
  background: rgba(13, 122, 79, .10);
  color: var(--ap-primary-dark);
}

.ap-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ap-lang select {
  appearance: none;
  min-height: 40px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 50%, var(--ap-muted) 50%) calc(100% - 18px) 17px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ap-muted) 50%, transparent 50%) calc(100% - 12px) 17px / 6px 6px no-repeat,
    #fff;
  color: var(--ap-ink);
  font-weight: 800;
}

.ap-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  background: #fff;
  position: relative;
}

.ap-menu-button span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 99px;
  background: var(--ap-ink);
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}

.ap-menu-button span:nth-child(1) { top: 14px; }
.ap-menu-button span:nth-child(2) { top: 21px; }
.ap-menu-button span:nth-child(3) { top: 28px; }

.ap-header.ap-open .ap-menu-button span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.ap-header.ap-open .ap-menu-button span:nth-child(2) { opacity: 0; }
.ap-header.ap-open .ap-menu-button span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.ap-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}

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

.ap-button-primary {
  background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
  color: #fff;
  box-shadow: 0 18px 40px rgba(13, 122, 79, .22);
}

.ap-button-secondary {
  background: #fff;
  color: var(--ap-ink);
  border-color: var(--ap-line);
}

.ap-button-light {
  background: #fff;
  color: var(--ap-primary-dark);
}

.ap-button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 14px;
}

.ap-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 54px;
  padding: 76px 0 52px;
}

.ap-hero-copy h1,
.ap-page-hero h1,
.ap-section-head h2,
.ap-dashboard h2,
.ap-cta h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .96;
}

.ap-hero-copy h1 {
  font-size: clamp(46px, 7vw, 82px);
  max-width: 11ch;
}

.ap-page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  max-width: 12ch;
}

.ap-section-head h2,
.ap-dashboard h2,
.ap-cta h2 {
  font-size: clamp(34px, 4.4vw, 58px);
}

.ap-eyebrow {
  margin: 0 0 14px;
  color: var(--ap-primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ap-lead {
  max-width: 68ch;
  margin: 24px 0 0;
  color: var(--ap-muted);
  font-size: clamp(18px, 2vw, 21px);
}

.ap-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ap-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ap-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--ap-line);
  color: rgba(16, 35, 31, .74);
  font-size: 13px;
  font-weight: 800;
}

.ap-hero-visual,
.ap-page-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.ap-terminal {
  position: relative;
  width: min(100%, 520px);
  min-height: 520px;
  display: grid;
  place-items: center;
}

.ap-terminal::before {
  content: "";
  position: absolute;
  inset: 34px 4px auto auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(184, 242, 211, .95), rgba(231, 195, 111, .38));
  filter: blur(6px);
  opacity: .55;
}

.ap-terminal-screen {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  min-height: 360px;
  padding: 26px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)),
    #12251f;
  color: #fff;
  box-shadow: 0 36px 100px rgba(16, 35, 31, .30);
  border: 1px solid rgba(255, 255, 255, .14);
  transform: rotate(-2deg);
}

.ap-terminal-top,
.ap-terminal-bottom,
.ap-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ap-terminal-top {
  font-weight: 850;
}

.ap-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ap-accent);
  font-size: 13px;
}

.ap-status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ap-accent);
  box-shadow: 0 0 0 8px rgba(184, 242, 211, .12);
}

.ap-amount {
  margin-top: 48px;
  font-size: clamp(50px, 7vw, 76px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.06em;
}

.ap-terminal-screen p {
  color: rgba(255, 255, 255, .68);
  margin: 12px 0 0;
}

.ap-pay-grid {
  width: 150px;
  height: 150px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
}

.ap-pay-grid span {
  border-radius: 7px;
  background: var(--ap-ink);
}

.ap-pay-grid span:nth-child(2),
.ap-pay-grid span:nth-child(7),
.ap-pay-grid span:nth-child(9),
.ap-pay-grid span:nth-child(12) {
  background: rgba(16, 35, 31, .22);
}

.ap-terminal-bottom {
  margin-top: 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 800;
}

.ap-phone-card {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 76px;
  width: 150px;
  min-height: 210px;
  padding: 26px 18px 18px;
  border-radius: 30px;
  background: #fff;
  color: var(--ap-ink);
  box-shadow: 0 30px 70px rgba(16, 35, 31, .18);
  border: 1px solid var(--ap-line);
}

.ap-phone-card strong {
  display: block;
  margin-top: 80px;
  color: var(--ap-primary-dark);
}

.ap-phone-card small {
  display: block;
  margin-top: 4px;
  color: var(--ap-muted);
}

.ap-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 48px;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(16, 35, 31, .16);
}

.ap-phone-card::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 58px;
  height: 70px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, var(--ap-primary) 0 18px, transparent 18px 26px, var(--ap-primary) 26px 44px, transparent 44px 52px, var(--ap-primary) 52px 70px),
    linear-gradient(var(--ap-primary), var(--ap-primary));
  opacity: .14;
}

.ap-terminal-base {
  position: absolute;
  z-index: 1;
  bottom: 40px;
  width: 260px;
  height: 90px;
  border-radius: 30px 30px 44px 44px;
  background: #0d1916;
  box-shadow: 0 34px 70px rgba(16, 35, 31, .22);
}

.ap-strip {
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
  background: rgba(255, 255, 255, .56);
}

.ap-strip-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(16, 35, 31, .58);
  font-weight: 850;
  overflow: hidden;
}

.ap-strip-inner span:first-child {
  color: var(--ap-ink);
}

.ap-section {
  padding: 92px 0;
}

.ap-section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.ap-section-head p:not(.ap-eyebrow) {
  color: var(--ap-muted);
  font-size: 18px;
  margin: 18px 0 0;
}

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

.ap-step-card,
.ap-feature,
.ap-segment-card,
.ap-plan {
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 40px rgba(16, 35, 31, .06);
}

.ap-step-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.ap-step-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(13, 122, 79, .10);
}

.ap-step-card span {
  color: var(--ap-primary-dark);
  font-weight: 950;
  font-size: 13px;
}

.ap-step-card h3,
.ap-feature h3,
.ap-segment-card h3,
.ap-plan h3 {
  margin: 12px 0 8px;
  font-size: 21px;
  letter-spacing: -.03em;
}

.ap-step-card p,
.ap-feature p,
.ap-segment-card p,
.ap-plan p,
.ap-compare-row,
.ap-form-note {
  color: var(--ap-muted);
  margin: 0;
}

.ap-split-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.ap-segment-grid {
  display: grid;
  gap: 16px;
}

.ap-segment-card {
  padding: 26px;
}

.ap-segment-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ap-primary-dark);
  text-decoration: none;
  font-weight: 900;
}

.ap-dashboard {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 48px;
  padding: 54px;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(13, 122, 79, .12), rgba(184, 242, 211, .42)),
    #fff;
  box-shadow: var(--ap-shadow);
  border: 1px solid var(--ap-line);
}

.ap-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.ap-metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--ap-line);
}

.ap-metric strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.06em;
  color: var(--ap-primary-dark);
}

.ap-metric span {
  display: block;
  margin-top: 8px;
  color: var(--ap-muted);
  font-size: 13px;
  font-weight: 800;
}

.ap-dashboard-card {
  padding: 24px;
  min-height: 330px;
  border-radius: 30px;
  background: #10231f;
  box-shadow: 0 30px 90px rgba(16, 35, 31, .24);
}

.ap-dashboard-top span {
  display: block;
  height: 12px;
  border-radius: 99px;
  background: rgba(255,255,255,.18);
}

.ap-dashboard-top span:nth-child(1) { width: 100px; }
.ap-dashboard-top span:nth-child(2) { width: 70px; }
.ap-dashboard-top span:nth-child(3) { width: 44px; }

.ap-chart-bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 160px;
  margin-top: 44px;
}

.ap-chart-bars i {
  flex: 1;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, var(--ap-accent), rgba(184, 242, 211, .18));
}

.ap-chart-bars i:nth-child(1) { height: 36%; }
.ap-chart-bars i:nth-child(2) { height: 58%; }
.ap-chart-bars i:nth-child(3) { height: 42%; }
.ap-chart-bars i:nth-child(4) { height: 80%; }
.ap-chart-bars i:nth-child(5) { height: 66%; }

.ap-table-lines {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.ap-table-lines span {
  height: 14px;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}

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

.ap-feature {
  padding: 24px;
}

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

.ap-plan {
  padding: 26px;
}

.ap-plan-featured {
  background: #10231f;
  color: #fff;
  border-color: rgba(255,255,255,.12);
  transform: translateY(-8px);
}

.ap-plan-featured p,
.ap-plan-featured li {
  color: rgba(255,255,255,.68);
}

.ap-plan strong {
  display: block;
  margin-top: 20px;
  font-size: 28px;
  letter-spacing: -.04em;
}

.ap-plan ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ap-plan li {
  color: var(--ap-muted);
}

.ap-plan li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--ap-primary);
  font-weight: 900;
}

.ap-cta {
  margin-block: 36px 92px;
  padding: 44px;
  border-radius: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(184, 242, 211, .28), transparent 22rem),
    linear-gradient(135deg, #10231f, #075c3a);
  box-shadow: var(--ap-shadow);
}

.ap-cta .ap-eyebrow {
  color: var(--ap-accent);
}

.ap-cta p:not(.ap-eyebrow) {
  color: rgba(255,255,255,.72);
  margin: 14px 0 0;
  max-width: 66ch;
}

.ap-page-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(320px, .72fr);
  align-items: center;
  gap: 48px;
  padding: 70px 0 32px;
}

.ap-page-visual .ap-terminal {
  transform: scale(.82);
  transform-origin: center;
}

.ap-compare {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 32px;
  align-items: start;
  padding: 34px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--ap-line);
  box-shadow: var(--ap-shadow);
}

.ap-compare-table {
  display: grid;
  gap: 10px;
}

.ap-compare-head,
.ap-compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: center;
}

.ap-compare-head {
  color: var(--ap-ink);
  font-weight: 900;
}

.ap-compare-row {
  padding: 16px;
  border-radius: 18px;
  background: var(--ap-soft);
}

.ap-compare-row strong {
  color: var(--ap-primary-dark);
}

.ap-contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.ap-contact-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.ap-contact-points span {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--ap-line);
  font-weight: 800;
}

.ap-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--ap-line);
  box-shadow: var(--ap-shadow);
}

.ap-form label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

.ap-form input,
.ap-form textarea {
  width: 100%;
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ap-ink);
  background: #f9fbfa;
}

.ap-form input:focus,
.ap-form textarea:focus,
.ap-lang select:focus,
.ap-menu-button:focus-visible,
.ap-button:focus-visible {
  outline: 3px solid rgba(13, 122, 79, .20);
  outline-offset: 2px;
}

.ap-footer {
  padding: 52px 0;
  background: #0d1916;
  color: #fff;
}

.ap-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.ap-brand-footer .ap-brand-mark {
  background: #fff;
  color: var(--ap-primary-dark);
}

.ap-footer p {
  color: rgba(255,255,255,.64);
  margin: 16px 0 0;
}

.ap-footer nav {
  display: grid;
  gap: 10px;
}

.ap-footer nav a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 800;
}

.ap-footer-note {
  margin: 0 !important;
}

@media (max-width: 1040px) {
  .ap-menu-button { display: inline-flex; }
  .ap-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--ap-line);
    box-shadow: var(--ap-shadow);
  }
  .ap-header.ap-open .ap-nav { display: flex; }
  .ap-header-actions .ap-button { display: none; }
  .ap-hero,
  .ap-page-hero,
  .ap-dashboard,
  .ap-split-section,
  .ap-compare,
  .ap-contact-grid {
    grid-template-columns: 1fr;
  }
  .ap-hero-copy h1,
  .ap-page-hero h1 {
    max-width: 14ch;
  }
  .ap-steps,
  .ap-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ap-strip-inner {
    justify-content: start;
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .ap-container {
    width: min(100% - 28px, 1180px);
  }
  .ap-header-inner {
    min-height: 68px;
  }
  .ap-brand strong {
    font-size: 14px;
  }
  .ap-hero,
  .ap-page-hero {
    min-height: unset;
    padding-top: 46px;
  }
  .ap-hero-visual,
  .ap-page-visual {
    min-height: 420px;
  }
  .ap-terminal-screen {
    width: min(100%, 360px);
    min-height: 330px;
    padding: 22px;
  }
  .ap-phone-card {
    right: 0;
    transform: scale(.86);
  }
  .ap-steps,
  .ap-feature-grid,
  .ap-pricing-grid,
  .ap-metrics,
  .ap-footer-grid,
  .ap-compare-head,
  .ap-compare-row {
    grid-template-columns: 1fr;
  }
  .ap-section {
    padding: 64px 0;
  }
  .ap-dashboard,
  .ap-cta,
  .ap-compare {
    padding: 26px;
    border-radius: 28px;
  }
  .ap-cta {
    display: grid;
  }
  .ap-plan-featured {
    transform: none;
  }
}

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

/* Demo content section */
.ap-demo-panel {
  margin-block: 36px;
  border: 1px solid var(--ap-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 8%, rgba(184, 242, 211, .36), transparent 22rem),
    rgba(255,255,255,.76);
  box-shadow: var(--ap-shadow);
  overflow: hidden;
}

.ap-demo-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  align-items: stretch;
}

.ap-demo-copy {
  padding: 38px;
  border-right: 1px solid var(--ap-line);
}

.ap-demo-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.ap-demo-copy p {
  margin: 16px 0 0;
  color: var(--ap-muted);
  font-size: 17px;
}

.ap-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ap-demo-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 850;
  color: var(--ap-primary-dark);
}

.ap-demo-log {
  padding: 30px;
  display: grid;
  gap: 14px;
  background: rgba(16, 35, 31, .025);
}

.ap-demo-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--ap-line);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
}

.ap-demo-row time {
  color: var(--ap-primary-dark);
  font-weight: 950;
  font-size: 14px;
}

.ap-demo-row strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.ap-demo-row p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 15px;
}

@media (max-width: 1040px) {
  .ap-demo-grid {
    grid-template-columns: 1fr;
  }
  .ap-demo-copy {
    border-right: 0;
    border-bottom: 1px solid var(--ap-line);
  }
}

@media (max-width: 640px) {
  .ap-demo-copy,
  .ap-demo-log {
    padding: 22px;
  }
  .ap-demo-row {
    grid-template-columns: 1fr;
  }
}

