.af {
  --blue-950: #081B33;
  --blue-900: #0D2A4D;
  --blue-800: #123A66;
  --blue-700: #1B4E85;
  --blue-600: #2568B0;
  --blue-500: #3B82F6;
  --blue-100: #DCEAFB;
  --blue-50: #F4F8FD;
  --ink: #0F172A;
  --ink-soft: #4B5768;
  --ink-faint: #8E99AB;
  --line: #E3E9F1;
  --white: #FFFFFF;
  --amber-500: #F0A430;
  --amber-600: #C97F14;
  --amber-100: #FCEED4;
  --green-600: #16A34A;
  --green-100: #DCFCE7;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(13, 42, 77, .06);
  --shadow-md: 0 16px 40px rgba(13, 42, 77, .12);
  --shadow-blue: 0 14px 30px rgba(37, 104, 176, .28);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.af * {
  box-sizing: border-box;
}

.af,
.af {
  margin: 0;
}

.af {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.af h1,
.af h2,
.af h3 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.af p {
  margin: 0;
  text-wrap: pretty;
}

.af a {
  color: var(--blue-600);
  text-decoration: none;
}

.af .btn-amber,
.af .btn-amber:hover,
.af .btn-amber:focus {
  color: var(--blue-950);
}

.af :focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 8px;
}

.af svg {
  display: block;
  flex: none;
}

.af .progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 20;
}


.af .topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 15;
  padding: 12px 0;
  background: transparent;
}

.af .topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(14px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-left: max(16px, env(safe-area-inset-left, 0px));
  margin-right: max(16px, env(safe-area-inset-right, 0px));
}

.af .logo {
  display: inline-flex;
  align-items: center;
}

.af .logo img {
  height: 34px;
  width: auto;
}

.af .logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-900);
}

.af .btn-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 8px 18px rgba(13, 42, 77, .25);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.af .btn-pill-sm:hover {
  background: var(--blue-800);
  transform: translateY(-1px);
  text-decoration: none;
}

.af .wrap {
  max-width: 1180px;
  margin: 0 auto;
  /* padding-top: 88px;
  padding-bottom: 88px; */
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.af .band-surface {
  background: var(--blue-50);
}

.af .band-navy {
  background: var(--blue-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.af .h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.14;
}

.af .lead {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 60ch;
  margin-top: 16px;
}


.af .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}

.af .btn .arr {
  transition: transform .25s var(--ease);
}

.af .btn:hover .arr {
  transform: translateX(4px);
}

.af .btn:active {
  transform: translateY(1px) scale(.99);
}

.af .btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.af .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 104, 176, .36);
  text-decoration: none;
  color: var(--white);
}

.af .btn-outline {
  background: var(--white);
  color: var(--blue-700);
  border-color: #C9DBF1;
}

.af .btn-outline:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
  text-decoration: none;
}


.af .hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(720px 420px at 8% 0%, rgba(59, 130, 246, .16), transparent 60%),
    radial-gradient(560px 360px at 100% 10%, rgba(240, 164, 48, .10), transparent 55%),
    var(--white);
}

/* .af .hero .wrap {
  padding-top: 104px;
  padding-bottom: 96px;
} */

.af .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.af .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
}

.af .eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 104, 176, .15);
}

.af .hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  margin-top: 24px;
}

.af .hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.af .hero .lead {
  font-size: 18px;
  margin-top: 22px;
  line-height: 1.68;
}

.af .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.af .free-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-600);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #F0DCB2;
}


.af .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.af .hero-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  top: -40px;
  background: radial-gradient(circle, rgba(37, 104, 176, .10), transparent 70%);
  pointer-events: none;
}

.af .photo-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--blue-50), #EAF1FB);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.af .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.af .photo-slot-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--white);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.af .photo-slot-icon svg {
  width: 34px;
  height: 34px;
}

.af .float-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: bob 6s ease-in-out infinite;
}

.af .float-chip img {
  width: 24px;
  height: 24px;
}

.af .fc-1 {
  top: 10%;
  right: -8px;
  color: var(--blue-600);
}

.af .fc-2 {
  bottom: 12%;
  left: -10px;
  color: var(--amber-600);
  animation-delay: -3s;
}

.af .fc-3 {
  top: 52%;
  right: -16px;
  background: var(--amber-500);
  border-color: transparent;
  color: var(--blue-900);
  animation-delay: -1.5s;
}


.af .giro-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.af .giro-grid .tile {
  grid-column: span 2;
}

.af .giro-grid .tile:nth-child(n+4) {
  grid-column: span 3;
}

.af .tile {
  --x: 50%;
  --y: 50%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  row-gap: 12px;
  align-content: start;
  padding: 26px;
  min-height: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.af .tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--x) var(--y), rgba(37, 104, 176, .10), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.af .tile:hover::before {
  opacity: 1;
}

.af .tile:hover {
  transform: translateY(-4px);
  border-color: #C9DBF1;
  box-shadow: var(--shadow-md);
}

.af .tile[aria-pressed="true"] {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 104, 176, .14);
}

.af .tile .icon {
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.af .tile[aria-pressed="true"] .icon {
  background: var(--blue-600);
  color: var(--white);
}

.af .tile .icon svg {
  width: 26px;
  height: 26px;
}

.af .tile h3 {
  font-size: 19px;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.af .tile p {
  color: var(--ink-soft);
  font-size: 15px;
  grid-column: 1 / -1;
  grid-row: 2;
}

.af .tile .go {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.af .tile .go span {
  transition: transform .3s var(--ease);
}

.af .tile:hover .go span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .af .giro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .af .giro-grid .tile,
  .af .giro-grid .tile:nth-child(n+4) {
    grid-column: span 1;
  }

  .af .giro-grid .tile:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .af .giro-grid {
    grid-template-columns: 1fr;
  }

  .af .giro-grid .tile:last-child {
    grid-column: auto;
  }
}


.af .problem {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.af .problem>div:first-child {
  grid-column: 1 / -1;
  text-align: center;
}

.af .problem>div:last-child {
  display: contents;
}

.af .quote-block {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}

.af .problem-fig {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blue-50);
  grid-column: 3 / span 8;
  grid-row: 2;
  box-shadow: var(--shadow-md);
}

.af .problem-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.af .problem-body {
  display: contents;
}

.af .problem-body p {
  color: var(--ink-soft);
  font-size: 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  grid-column: 1 / span 5;
  grid-row: 2;
  align-self: end;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.af .problem-body p+p {
  grid-column: 9 / span 4;
  align-self: start;
  margin-top: 56px;
  margin-bottom: 0;
}

.af .problem-body p strong {
  color: var(--ink);
}

.af .card-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.af .card-ico img {
  width: 24px;
  height: 24px;
}


.af .steps-wrap {
  margin-top: 56px;
}

.af .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.af .step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.af .step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #C9DBF1;
}

.af .step-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.af .step .node {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  flex: none;
}

.af .step .ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.af .step .ico img {
  width: 26px;
  height: 26px;
}

.af .step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 24px;
}

.af .step p {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 15.5px;
}

.af .step p strong {
  color: var(--ink);
}

.af .btn-line {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .af .steps {
    grid-template-columns: 1fr;
  }
}


.af .demo {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
}

.af .demo .lead {
  margin-top: 18px;
}

.af .qr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease);
}

.af .qr-card:hover {
  transform: rotate(-1.2deg) translateY(-3px);
}

.af .qr-frame {
  position: relative;
  width: min(230px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}

.af .qr-frame svg {
  width: 100%;
  height: 100%;
}

.af .qr-frame .beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  top: 0;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  box-shadow: 0 0 14px var(--blue-500);
  animation: scan 2.8s var(--ease) infinite;
}

.af .qr-corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--blue-600);
  border-style: solid;
  border-width: 0;
}

.af .qr-corners span:nth-child(1) {
  top: -8px;
  left: -8px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 8px;
}

.af .qr-corners span:nth-child(2) {
  top: -8px;
  right: -8px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 8px;
}

.af .qr-corners span:nth-child(3) {
  bottom: -8px;
  left: -8px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 8px;
}

.af .qr-corners span:nth-child(4) {
  bottom: -8px;
  right: -8px;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: 8px;
}

@media (max-width: 900px) {
  .af .demo {
    grid-template-columns: 1fr;
  }
}


.af .callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  background: linear-gradient(180deg, var(--blue-50), var(--blue-100));
  border: 1px solid #C9DBF1;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 40px);
}

.af .callout .shield {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--white);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-blue);
}

.af .callout .shield svg {
  width: 32px;
  height: 32px;
}

.af .callout h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
}

.af .callout p {
  color: var(--ink);
  margin-top: 14px;
  font-size: 17px;
}

.af .callout p.muted {
  color: var(--ink-soft);
}

.af .callout a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--blue-600);
  border-bottom: 2px solid transparent;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}

.af .callout a:hover {
  border-color: var(--blue-600);
  gap: 12px;
}

@media (max-width: 560px) {
  .af .callout {
    grid-template-columns: 1fr;
  }
}


.af .bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.af .bento-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 14px;
  row-gap: 14px;
  align-items: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.af .bento-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C9DBF1;
}

.af .bento-item.hero {
  grid-column: span 2;
  background: var(--blue-900);
  color: var(--white);
  border-color: var(--blue-900);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.af .bento-item.hero p {
  color: #C7D8EE;
}

.af .bento-item.hero .ico {
  background: rgba(255, 255, 255, .1);
  color: var(--blue-100);
}

.af .bento-item.hero h3 {
  font-size: clamp(24px, 3vw, 32px);
}

.af .bento-item h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.af .bento-item p {
  color: var(--ink-soft);
  font-size: 15px;
}

.af .bento-item .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
}

.af .bento-item .ico img {
  width: 24px;
  height: 24px;
}

.af .bento-item .ico {
  grid-column: 1;
  grid-row: 1;
}

.af .bento-item h3 {
  grid-column: 2;
  grid-row: 1;
}

.af .bento-item p {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 900px) {
  .af .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .af .bento-item.hero {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .af .bento {
    grid-template-columns: 1fr;
  }

  .af .bento-item.hero {
    grid-column: auto;
  }
}


.af .dark-sec {
  position: relative;
  overflow: hidden;
}

.af .dark-sec::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 520px;
  right: -220px;
  top: -180px;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .35), transparent 70%);
  pointer-events: none;
}

.af .dark-sec .wrap {
  position: relative;
}

.af .dark-sec .h2 {
  color: #fff;
}

.af .dark-sec .bento-item {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}

.af .dark-sec .bento-item:hover {
  border-color: rgba(140, 196, 255, .45);
}

.af .dark-sec .bento-item h3 {
  color: #fff;
}

.af .dark-sec .bento-item p {
  color: #B9CCE4;
}

.af .dark-sec .bento-item .ico {
  background: var(--white);
  box-shadow: 0 6px 16px rgba(8, 27, 51, .25);
}

.af .dark-sec .bento-item.hero {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-color: transparent;
}

.af .dark-sec .bento-item.hero .ico {
  background: var(--white);
}

.af .dark-sec .bento-item.hero p {
  color: #DCEAFB;
}


@media (max-width: 900px) {
  .af .problem {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .af .problem-body p,
  .af .problem-body p+p {
    margin: 0;
  }
}


.af .giro-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.af .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.af .panel.alt {
  background: var(--blue-50);
}

.af .panel h3 {
  font-size: 22px;
  font-weight: 700;
}

.af .panel p {
  color: var(--ink-soft);
  font-size: 16px;
}

.af .af-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.af .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #C9DBF1;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 14px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.af .chip:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  text-decoration: none;
}

@media (max-width: 900px) {
  .af .giro-pair {
    grid-template-columns: 1fr;
  }
}


.af .plan-switch {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.af .plan-switch button {
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.af .plan-switch button[aria-pressed="true"] {
  background: var(--blue-900);
  color: var(--white);
}

.af .plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.af .plan {
  position: relative;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease);
}

.af .plan.is-dim {
  opacity: .55;
}

.af .plan.is-on {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.af .plan.annual {
  background: var(--blue-900);
  color: var(--white);
  border-color: var(--blue-900);
}

.af .plan .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-family: var(--font-mono);
}

.af .plan.annual .tag {
  color: var(--blue-100);
}

.af .plan .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.af .save {
  background: var(--amber-500);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  animation: pulse-y 2.6s var(--ease) infinite;
}

.af .price {
  font-family: var(--font-head);
  font-size: clamp(52px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.af .plan p {
  color: var(--ink-soft);
  font-size: 16px;
}

.af .plan.annual p {
  color: #C7D8EE;
}

.af .plan .btn {
  align-self: flex-start;
  margin-top: 6px;
}

.af .plan-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .af .plan-grid {
    grid-template-columns: 1fr;
  }
}


.af .support {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.af .support .orb {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
}

.af .support .orb::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 32px;
  border: 2px solid #C9DBF1;
  animation: ring 2.8s var(--ease) infinite;
}

.af .support .orb svg {
  width: 36px;
  height: 36px;
}

.af .support h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
}

.af .support p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 12px;
}

@media (max-width: 560px) {
  .af .support {
    grid-template-columns: 1fr;
  }
}


.af .closing {
  text-align: center;
}

.af .closing .glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(37, 104, 176, .55), transparent 72%);
  pointer-events: none;
}

.af .closing .inner {
  position: relative;
}

.af .closing h2 {
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  max-width: 18ch;
  margin: 0 auto;
}

.af .closing .lead {
  color: #C7D8EE;
  margin: 22px auto 0;
}

.af .closing .btn-row {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.af .micro {
  color: #9bb5d2;
  font-size: 14px;
  margin-top: 20px;
}


.af .rise {
  animation: rise .8s var(--ease) both;
}

.af .rise.d1 {
  animation-delay: .08s;
}

.af .rise.d2 {
  animation-delay: .16s;
}

.af .rise.d3 {
  animation-delay: .24s;
}

@keyframes rise {
  from {
    transform: translateY(14px);
  }

  to {
    transform: none;
  }
}

@keyframes scan {
  0% {
    top: 4%;
    opacity: .2;
  }

  50% {
    opacity: 1;
  }

  100% {
    top: 94%;
    opacity: .2;
  }
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-y {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(240, 164, 48, .55);
  }

  60% {
    box-shadow: 0 0 0 10px rgba(240, 164, 48, 0);
  }
}

@keyframes ring {
  0% {
    transform: scale(.92);
    opacity: .9;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .af .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .af .hero .wrap {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .af .wrap {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .af .fc-3 {
    right: 8px;
  }
}

@media (max-width: 560px) {

  .af .btn,
  .af .btn-row .btn,
  .af .hero-actions .btn {
    width: 100%;
  }

  .af .hero-actions {
    margin-top: 28px;
  }

  .af .tile {
    min-height: 0;
  }

  .af .plan {
    padding: 28px;
  }

  .af .topbar-inner .btn-pill-sm span.long {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .af *,
  .af *::before,
  .af *::after {
    animation: none !important;
    transition: none !important;
  }
}

.af .price .unit {
  font-size: .32em;
  font-weight: 600;
  letter-spacing: 0;
  color: inherit;
}

/* Foto horizontal: marco 4:3 y chips alrededor, como en la referencia */
.af .photo-frame {
  aspect-ratio: 4 / 3;
  max-width: 560px;
}

.af .photo-frame img {
  object-position: 50% 45%;
}

.af .fc-1 {
  top: -22px;
  right: 28px;
}

.af .fc-2 {
  top: 42%;
  right: -26px;
}

.af .fc-3 {
  bottom: 36px;
  left: -26px;
}

@media (max-width: 900px) {
  .af .photo-frame {
    aspect-ratio: 4 / 3;
  }

  .af .fc-3 {
    left: 8px;
  }

  .af .fc-1 {
    right: 12px;
  }
}

/* Chips flotantes: lock arriba, check ámbar a la derecha, documento abajo a la izquierda */
.af .fc-2 {
  top: 50%;
  right: -26px;
  bottom: auto;
  left: auto;
  background: var(--amber-500);
  border-color: transparent;
  color: var(--blue-900);
}

.af .fc-3 {
  top: auto;
  bottom: 36px;
  right: auto;
  left: -26px;
  background: var(--white);
  border-color: var(--line);
  color: var(--blue-600);
}

/* Separación entre secciones, más compacta que la del sitio */
.af section {
  padding: 40px 0;
}

@media (max-width: 900px) {
  .af section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .af section {
    padding: 48px 0;
  }
}

/* Chips de giro: pastillas como en Figma */
.af .af-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.af .af-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #C9DBF1;
  color: var(--blue-700);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.af .af-chip:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  text-decoration: none;
}

/* Demo en celular: sin desbordes y padding de 12px */
@media (max-width: 900px) {
  .af .demo {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
    gap: 32px;
    border-radius: 22px;
  }

  .af .demo>* {
    min-width: 0;
  }

  .af .demo .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .af .demo .lead {
    overflow-wrap: anywhere;
  }
}

/* Tablet/celular: chips dentro del área de la foto para que no se corten */
@media (max-width: 900px) {
  .af .fc-1 {
    top: -14px;
    right: 14px;
  }

  .af .fc-2 {
    top: 46%;
    right: 14px;
    left: auto;
    bottom: auto;
  }

  .af .fc-3 {
    bottom: 14px;
    left: 14px;
    right: auto;
    top: auto;
  }

  .af .photo-frame {
    max-width: 100%;
  }
}

/* Chips dentro de la foto hasta 1100px (tablet y laptop chica) para que no se corten */
@media (max-width: 1100px) {
  .af .fc-1 {
    top: 26px;
    right: 156px;
  }

  .af .fc-2 {
    top: 46%;
    right: 154px;
    left: auto;
    bottom: auto;
  }

  .af .fc-3 {
    bottom: 84px;
    left: 150px;
    right: auto;
    top: auto;
  }
}

/* Celular: gutter lateral y padding de la tarjeta de demo en 10px */
@media (max-width: 560px) {
  .af .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .af .demo {
    padding: 10px;
  }
}