/* Axelo homepage (v3: no icon glow). It extends the TacticalCodeworks shared system
   without changing the live Axelo privacy route. */

.app-home {
  --accent: rgb(29, 132, 255);
  --accent-2: rgb(83, 207, 255);
  --accent-3: rgb(92, 78, 255);
  --h1-grad: linear-gradient(180deg, #8be4ff 0%, #39a6ff 42%, #1767ef 100%);
  background: #020308;
}
/* BrickByte: orange accent */
.app-home.bb {
  --accent: rgb(255, 159, 10);
  --accent-2: rgb(255, 184, 77);
  --h1-grad: linear-gradient(180deg, #ffd48f 0%, #ff9f0a 48%, #e26f0a 100%);
}
.app-home.bb .app-platform::before,
.app-home.bb .app-privacy-list li::before { background: var(--accent); box-shadow: 0 0 14px rgba(255, 159, 10, 0.75); }
.app-home.bb .app-flow-card { background: rgba(5, 8, 15, 0.76); }
.app-home.bb .app-flow-card:hover { border-color: rgba(255, 184, 77, 0.6); }
.app-home.bb h1 { filter: none; }
.app-home .btn.ghost { background: rgba(4, 6, 12, 0.78); }
.app-home .btn .bi { width: 18px; height: 18px; flex: none; margin-top: -2px; margin-right: 8px; vertical-align: middle; }
.app-flow.six { grid-template-columns: repeat(3, 1fr); }
.app-flow.six .app-flow-card { min-height: 0; }
@media (max-width: 900px) { .app-flow.six { grid-template-columns: 1fr; } }

.app-home .backdrop {
  background:
    radial-gradient(ellipse 46vmax 34vmax at 4% 22%, rgba(30, 110, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 40vmax 30vmax at 96% 40%, rgba(30, 110, 255, 0.16), transparent 66%),
    radial-gradient(ellipse 44vmax 30vmax at 50% 108%, rgba(30, 26, 120, 0.22), transparent 68%),
    radial-gradient(ellipse 130vmax 90vmax at 50% 46%, transparent, rgba(1, 2, 6, 0.92) 84%),
    #020308;
}
@media (max-width: 700px) {
  .app-home .backdrop {
  background:
    radial-gradient(ellipse 78vmin 60vmin at 0% 16%, rgba(30, 110, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 60vmin 44vmin at 100% 42%, rgba(30, 110, 255, 0.14), transparent 66%),
    radial-gradient(ellipse 130vmax 90vmax at 50% 46%, transparent, rgba(1, 2, 6, 0.92) 84%),
    #020308;
  }
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #020308;
  background: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.app-home header.site { position: fixed; left: 0; right: 0; top: 0; }
.app-home main { padding-top: 66px; }
.app-home .nav { min-height: 65px; }

.app-home .nav-link {
  transition: color 0.18s ease;
}

.app-home .nav-link:hover { color: var(--accent-2); }

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  align-items: center;
  gap: clamp(46px, 7vw, 88px);
  padding-top: 70px;
  padding-bottom: 38px;
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.app-icon {
  width: 82px;
  height: 82px;
  display: block;
  border-radius: 21px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.app-kicker,
.app-maker,
.app-mini-label {
  font-family: var(--display);
  text-transform: uppercase;
}

.app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.app-kicker svg { width: 17px; height: 17px; flex: none; margin-top: -3px; }

.app-maker {
  margin-top: 3px;
  color: var(--steel-3);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.app-home h1 {
  max-width: 8.2em;
  font-size: clamp(3rem, 6.1vw, 5.2rem);
  background: var(--h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
  filter: drop-shadow(0 8px 24px rgba(0, 106, 255, 0.18));
}

.app-home .lede {
  max-width: 31em;
  color: #ffffff;
}

.app-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--steel-3);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-platform::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(46, 143, 255, 0.9);
}

.app-hero-preview {
  position: relative;
  width: min(100%, 410px);
  margin: 0 auto;
}

.app-hero-preview::before {
  content: "";
  position: absolute;
  inset: 10% -8% 4%;
  z-index: -1;
  border-radius: 44%;
  background: radial-gradient(ellipse, rgba(34, 123, 255, 0.38), rgba(34, 123, 255, 0.05) 52%, transparent 72%);
  filter: blur(30px);
}

.app-hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-shot-title {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.app-hero-preview img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.55));
}

.app-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.app-proof-strip p {
  min-height: 148px;
  padding: 28px 26px;
  background: rgba(4, 7, 14, 0.89);
}

.app-proof-strip strong,
.app-proof-strip span {
  display: block;
}

.app-proof-strip strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-proof-strip span {
  color: var(--steel-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.app-section { padding-top: 82px; padding-bottom: 24px; }

.app-section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.app-section-head-center {
  margin-inline: auto;
  text-align: center;
}

.app-section-head-center .section-tag { justify-content: center; }
.app-section-head-center .section-tag::after { max-width: 130px; }

.app-section-head h2,
.app-feature-pair h2,
.app-privacy-panel h2 {
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.app-section-head > p:last-child,
.app-feature-pair article > p:last-child,
.app-privacy-copy > p:last-child {
  margin-top: 18px;
  color: var(--steel-2);
  font-size: 17px;
  line-height: 1.68;
}

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

.app-flow-card {
  position: relative;
  min-height: 230px;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(46, 143, 255, 0.13), transparent 40%),
    rgba(5, 8, 15, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.app-flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 183, 255, 0.58);
}

.app-index {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.app-flow-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.app-flow-card p {
  color: var(--steel-2);
  font-size: 15px;
  line-height: 1.68;
}

.app-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.app-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 30px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(5, 8, 15, 0.68);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.app-shot .app-shot-title {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}

.app-shot img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.55));
}

.app-shot figcaption { padding: 24px 6px 0; text-align: center; }
.app-shot figcaption strong,
.app-shot figcaption span { display: block; }

.app-shot figcaption strong {
  color: #ffffff;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-shot figcaption span {
  margin-top: 6px;
  color: var(--steel-3);
  font-size: 13.5px;
  line-height: 1.5;
}

.app-feature-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-feature-pair article {
  min-height: 320px;
  padding: 38px 36px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(12, 19, 34, 0.78), rgba(3, 5, 10, 0.88)),
    rgba(5, 8, 15, 0.76);
}

.app-mini-label {
  margin-bottom: 28px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.app-feature-pair h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

.app-privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 54px;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(76, 166, 255, 0.38);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(46, 143, 255, 0.18), transparent 42%),
    rgba(4, 7, 14, 0.82);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34);
}

.app-privacy-list {
  display: grid;
  gap: 16px;
  list-style: none;
}

.app-privacy-list li {
  position: relative;
  padding: 18px 18px 18px 48px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.app-privacy-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(46, 143, 255, 0.85);
}

.app-privacy-list strong,
.app-privacy-list span { display: block; }

.app-privacy-list strong {
  color: #ffffff;
  font-size: 15px;
}

.app-privacy-list span {
  margin-top: 4px;
  color: var(--steel-3);
  font-size: 13.5px;
  line-height: 1.5;
}

.app-contact { border-color: rgba(76, 166, 255, 0.28); }
.app-contact .app-mini-label { margin-bottom: 10px; }
.app-contact h2 { margin-bottom: 8px; }

@media (max-width: 900px) {
  .app-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 38px;
  }

  .app-proof-strip,
  .app-flow { grid-template-columns: 1fr; }

  .app-proof-strip p { min-height: 0; }
  .app-flow-card { min-height: 0; }

  .app-privacy-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .app-home .nav { gap: 16px; }
  .app-home .nav-right { gap: 18px; }
  .app-home .nav-optional { display: none; }

  .app-hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .app-hero-copy { text-align: center; }
  .app-lockup,
  .app-home .cta-row,
  .app-platform { justify-content: center; }
  .app-home h1,
  .app-home .lede { margin-inline: auto; }
  .app-hero-preview { width: min(100%, 330px); }

  .app-shots {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }

  .app-feature-pair { grid-template-columns: 1fr; }
  .app-feature-pair article { min-height: 0; }
}

@media (max-width: 480px) {
  .app-home .wordmark { font-size: 12px; letter-spacing: 0.15em; }
  .app-home .nav-right { gap: 13px; }
  .app-home .nav-link { font-size: 12.5px; }
  .app-icon { width: 70px; height: 70px; border-radius: 18px; }
  .app-home h1 { font-size: clamp(2.65rem, 14vw, 3.6rem); }
  .app-section { padding-top: 64px; }
  .app-flow-card,
  .app-feature-pair article { padding: 28px 24px; }
  .app-privacy-panel { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-flow-card { transition: none; }
}

/* ======================================================================
   v2 (2026-09-09): owner-approved "steel rim" boxes, mirrored from the Axelo
   home page (axelo-home-v7.css). Dark glass fill + 2px steel edge lit from the
   top-left, drawn by a masked pseudo-element. Replaces every hairline border,
   inset highlight and coloured glow gradient on the app pages (BrickByte,
   Santrix). Selectors carry .app-home so they outrank the v1 rules above.
   ====================================================================== */

.app-home .app-proof-strip,
.app-home .app-flow-card,
.app-home .app-shot,
.app-home .app-feature-pair article,
.app-home .app-privacy-panel,
.app-home .contact,
.app-home.santrix .panel {
  --rim-rgb: 214, 228, 248;
  position: relative;
  isolation: isolate;
  border: 0;
  background: rgba(7, 10, 17, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 30px 70px rgba(0, 0, 0, 0.42);
}

.app-home .app-proof-strip::before,
.app-home .app-flow-card::before,
.app-home .app-shot::before,
.app-home .app-feature-pair article::before,
.app-home .app-privacy-panel::before,
.app-home .contact::before,
.app-home.santrix .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(var(--rim-rgb), 0.9) 0%,
    rgba(var(--rim-rgb), 0.36) 30%,
    rgba(var(--rim-rgb), 0.2) 55%,
    rgba(var(--rim-rgb), 0.32) 80%,
    rgba(var(--rim-rgb), 0.62) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* proof strip: one slab, no 1px cell gaps; titles in the accent gradient, sizes match the flow cards */
.app-home .app-proof-strip { gap: 0; overflow: visible; }
.app-home .app-proof-strip p { background: transparent; }
.app-home .app-proof-strip strong {
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: 0.045em;
  background: var(--h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.app-home .app-proof-strip span { font-size: 15px; line-height: 1.68; }

/* flow cards: rim tints on hover (accent-ish), lift stays */
.app-home .app-flow-card { overflow: visible; transition: transform 0.2s ease; }
.app-home .app-flow-card:hover { --rim-rgb: 128, 186, 255; transform: translateY(-3px); }
.app-home.bb .app-flow-card:hover { --rim-rgb: 255, 200, 110; }

/* step numerals: big display digits in the accent gradient */
.app-home .app-index {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: var(--h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* privacy points: spaced numbered rows, no nested boxes, no dividers */
.app-home .app-privacy-list { display: block; counter-reset: app-privacy; }
.app-home .app-privacy-list li {
  counter-increment: app-privacy;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.app-home .app-privacy-list li:first-child { padding-top: 0; }
.app-home .app-privacy-list li:last-child { padding-bottom: 0; }
.app-home .app-privacy-list li::before,
.app-home.bb .app-privacy-list li::before {
  content: counter(app-privacy, decimal-leading-zero);
  position: static;
  grid-row: 1 / span 2;
  width: auto;
  height: auto;
  padding-top: 1px;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: var(--h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.app-home .app-privacy-list strong,
.app-home .app-privacy-list span { display: block; grid-column: 2; }
.app-home .app-privacy-list strong {
  padding-top: 4px;
  color: #ffffff;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.app-home .app-privacy-list span { margin-top: 6px; color: var(--steel-2); font-size: 15px; line-height: 1.6; }

/* labels: section tags 30% larger with no trailing hairline; mini labels 15px */
.app-home .section-tag { font-size: 17px; }
.app-home .section-tag::before { width: 10px; height: 10px; }
.app-home .section-tag::after { display: none; }
.app-home .app-mini-label { font-size: 15px; }
.app-home .contact .app-mini-label { font-size: 15px; color: var(--accent-2); }

/* hero icon: same steel rim, ring drawn above the image (an <img> has no pseudo-elements) */
.app-home .app-icon-frame {
  --rim-rgb: 214, 228, 248;
  position: relative;
  display: block;
  flex: none;
  width: 82px;
  height: 82px;
  border-radius: 21px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 16px 36px rgba(0, 0, 0, 0.45);
}
.app-home .app-icon-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(var(--rim-rgb), 0.9) 0%,
    rgba(var(--rim-rgb), 0.36) 30%,
    rgba(var(--rim-rgb), 0.2) 55%,
    rgba(var(--rim-rgb), 0.32) 80%,
    rgba(var(--rim-rgb), 0.62) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.app-home .app-icon-frame .app-icon { width: 100%; height: 100%; border-radius: inherit; box-shadow: none; }
@media (max-width: 480px) {
  .app-home .app-icon-frame { width: 70px; height: 70px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-home .app-flow-card:hover { transform: none; }
}
