.learn-page {
  --learn-navy: #10213f;
  --learn-blue: #2563eb;
  --learn-cyan: #0891b2;
  --learn-teal: #0f9f86;
  --learn-purple: #6554de;
}

body.learn-page::before { background: linear-gradient(90deg, var(--learn-blue), var(--learn-cyan), var(--learn-teal)); }

.learn-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 98px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.38), transparent 35%),
    radial-gradient(circle at 88% 76%, rgba(8,145,178,.24), transparent 31%),
    var(--learn-navy);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}

.learn-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr); gap: 58px; align-items: center; }
.learn-eyebrow { margin: 0 0 19px; color: #7ce0eb; font: 900 .77rem "Nunito", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.learn-hero-copy h1 { max-width: 760px; margin: 0; color: #fff; font: 900 clamp(3.1rem, 6.7vw, 6rem)/.96 "Nunito", sans-serif; letter-spacing: -.068em; }
.learn-hero-copy h1 span { color: #73deea; }
.learn-hero-copy > p:not(.learn-eyebrow, .learn-release-note) { max-width: 680px; margin: 25px 0 0; color: #d2dbee; font-size: 1.13rem; line-height: 1.75; }
.learn-release-note { max-width: 640px; margin: 18px 0 0; color: #aebbd2; font-size: .79rem; font-weight: 700; line-height: 1.55; }
.learn-button { display: inline-flex; min-height: 53px; align-items: center; justify-content: center; padding: 13px 22px 11px; border: 2px solid #fff; border-bottom: 5px solid #a9b9d6; border-radius: 15px; background: #fff; color: var(--learn-navy); font: 900 .86rem "Nunito", sans-serif; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; transition: transform .14s, border-bottom-width .14s, background .14s; }
.pro-page .learn-button { color: var(--learn-navy); }
.learn-button:hover { transform: translateY(2px); border-bottom-width: 3px; background: #edfaff; }
.learn-button.secondary { border-color: #35c9da; border-bottom-color: #08778b; background: var(--learn-cyan); }
.pro-page .learn-button.secondary { color: var(--learn-navy); }
.learn-button.secondary:hover { background: #10a4be; }

.learn-hero-visual { position: relative; min-height: 600px; margin: 0; }
.learn-hero-device { position: absolute; top: 0; right: 18px; width: min(310px, 78%); padding: 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 29px; background: rgba(255,255,255,.1); box-shadow: 0 34px 85px rgba(0,0,0,.36); transform: rotate(1.3deg); }
.learn-hero-device::before { content: ""; position: absolute; inset: 28px -18px -17px 32px; z-index: -1; border-radius: 26px; background: #213c73; transform: rotate(2.7deg); }
.learn-hero-shot { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 20px; background: #121632; }
.learn-hero-device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; border-radius: inherit; }
.learn-hero-guides { position: absolute; z-index: 2; bottom: 20px; left: -35px; width: min(420px, 92%); height: auto; }
.learn-hero-visual figcaption { position: absolute; right: 4px; bottom: 0; color: #aebbd2; font-size: .69rem; font-weight: 800; }

.learn-proof { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-top: -33px; border: 1px solid #d9e2ef; border-radius: 19px; background: #fff; box-shadow: var(--pro-shadow); }
.learn-proof div { padding: 22px 25px; border-right: 1px solid var(--pro-line); }
.learn-proof div:last-child { border-right: 0; }
.learn-proof strong { display: block; color: var(--pro-ink); font: 900 .9rem "Nunito", sans-serif; }
.learn-proof span { display: block; margin-top: 4px; color: #68758b; font-size: .78rem; line-height: 1.45; }

.learn-section { padding: 96px 0; }
.learn-path-layout { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr); gap: 70px; align-items: center; }
.learn-tablet-screen { margin: 0; padding: 11px; border: 1px solid #d8e2f0; border-radius: 27px; background: #fff; box-shadow: var(--pro-shadow); }
.learn-tablet-screen img { display: block; width: 100%; height: auto; border-radius: 19px; }
.learn-tablet-screen figcaption { padding: 10px 8px 2px; color: #66758d; font-size: .72rem; font-weight: 800; text-align: center; }
.learn-path-copy h2,
.learn-heading h2,
.learn-guide-panel h2,
.learn-download-panel h2 { margin: 0; color: var(--pro-ink); font: 900 clamp(2.25rem, 4.8vw, 4rem)/1.03 "Nunito", sans-serif; letter-spacing: -.055em; }
.learn-path-copy > p:not(.pro-kicker) { margin: 18px 0 0; font-size: 1.04rem; line-height: 1.75; }
.learn-node-list { display: grid; gap: 13px; margin: 29px 0 0; padding: 0; list-style: none; }
.learn-node-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 15px; border: 1px solid #dfe7f2; border-radius: 16px; background: #fff; }
.learn-node-list span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--pro-lavender); color: var(--learn-blue); font: 900 .71rem "Nunito", sans-serif; }
.learn-node-list li:nth-child(2) span { background: #e8f8fb; color: var(--learn-cyan); }
.learn-node-list li:nth-child(3) span { background: var(--pro-mint); color: var(--learn-teal); }
.learn-node-list strong { display: block; color: var(--pro-ink); font: 900 .9rem "Nunito", sans-serif; }
.learn-node-list p { margin: 3px 0 0; font-size: .82rem; line-height: 1.5; }

.learn-guide-section { padding: 0 0 96px; }
.learn-guide-panel { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; padding: 44px 50px; border: 1px solid #d9e4f2; border-radius: 29px; background: #f2f6ff; }
.learn-guide-panel img { display: block; width: 100%; height: auto; }
.learn-guide-panel p:not(.pro-kicker) { margin: 16px 0 0; font-size: 1rem; line-height: 1.7; }

.learn-practice-section { background: var(--learn-navy); color: #cbd6e7; }
.learn-practice-section .pro-kicker { color: #76dce8; }
.learn-heading { max-width: 790px; margin-bottom: 43px; }
.learn-heading.center { margin-inline: auto; text-align: center; }
.learn-heading-wide { display: grid; max-width: none; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: end; }
.learn-heading h2 { color: #fff; }
.learn-heading > p:not(.pro-kicker), .learn-heading-wide > p { margin: 17px 0 0; font-size: 1.05rem; line-height: 1.75; }
.learn-practice-grid { display: grid; gap: 24px; }
.learn-practice-card { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 54px; align-items: center; overflow: hidden; padding: 31px; border: 1px solid rgba(255,255,255,.13); border-radius: 27px; background: rgba(255,255,255,.07); }
.learn-practice-card.reverse { grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr); }
.learn-practice-card.reverse figure { grid-column: 2; }
.learn-practice-card.reverse > div { grid-column: 1; grid-row: 1; }
.learn-practice-card figure { margin: 0; padding: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; background: rgba(255,255,255,.08); }
.learn-practice-card figure img { display: block; width: 100%; border-radius: 15px; }
.learn-practice-card figcaption { padding: 9px 6px 1px; color: #b8c5d9; font-size: .69rem; font-weight: 800; text-align: center; }
.learn-practice-card h3 { margin: 0; color: #fff; font: 900 clamp(1.8rem, 3.5vw, 3rem)/1.07 "Nunito", sans-serif; letter-spacing: -.045em; }
.learn-practice-card > div > p:not(.pro-kicker) { margin: 16px 0 0; line-height: 1.7; }
.learn-practice-card ul { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.learn-practice-card li { padding: 12px 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.055); font-size: .84rem; }
.learn-practice-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 24px 26px; border: 1px solid rgba(255,255,255,.17); border-radius: 19px; background: rgba(255,255,255,.1); }
.learn-practice-cta strong { display: block; color: #fff; font: 900 1rem "Nunito", sans-serif; }
.learn-practice-cta span { display: block; margin-top: 3px; color: #c1cee0; font-size: .83rem; line-height: 1.5; }
.learn-practice-cta .learn-button { flex: 0 0 auto; }

.learn-loop-section { border-block: 1px solid var(--pro-line); background: #fff; }
.learn-loop-section .learn-heading h2 { color: var(--pro-ink); }
.learn-loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.learn-loop-grid article { min-height: 245px; padding: 27px; border: 1px solid var(--pro-line); border-bottom: 5px solid var(--learn-blue); border-radius: 21px; background: var(--pro-page); }
.learn-loop-grid article:nth-child(2) { border-bottom-color: var(--learn-cyan); }
.learn-loop-grid article:nth-child(3) { border-bottom-color: var(--learn-teal); }
.learn-loop-grid span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--pro-lavender); color: var(--learn-blue); font: 900 .73rem "Nunito", sans-serif; }
.learn-loop-grid h3 { margin: 49px 0 8px; font-size: 1.12rem; }
.learn-loop-grid p { margin: 0; font-size: .88rem; }

.learn-download { padding: 96px 0; }
.learn-download-panel { display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: center; padding: 50px; border-radius: 29px; background: var(--learn-navy); color: #cbd6e7; box-shadow: 0 25px 65px rgba(16,33,63,.2); }
.learn-download-panel h2 { color: #fff; }
.learn-download-panel p:not(.pro-kicker) { margin: 15px 0 0; }
.learn-download-panel .pro-kicker { color: #75dce8; }
.learn-store-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.learn-store-row a { display: inline-flex; line-height: 0; }
.learn-store-row img { width: auto; height: 48px; }

@media (max-width: 960px) {
  .learn-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .65fr); gap: 36px; }
  .learn-practice-card, .learn-practice-card.reverse { gap: 34px; }
}

@media (max-width: 820px) {
  .learn-hero-grid,
  .learn-path-layout,
  .learn-guide-panel,
  .learn-heading-wide,
  .learn-practice-card,
  .learn-practice-card.reverse,
  .learn-download-panel { grid-template-columns: 1fr; }
  .learn-hero-visual { width: min(520px, 100%); justify-self: center; }
  .learn-tablet-screen { width: min(620px, 100%); }
  .learn-guide-panel { gap: 25px; }
  .learn-guide-panel img { width: min(520px, 100%); }
  .learn-heading-wide { gap: 0; }
  .learn-practice-card.reverse figure, .learn-practice-card.reverse > div { grid-column: auto; grid-row: auto; }
  .learn-practice-card figure { width: min(390px, 100%); }
  .learn-practice-cta { align-items: flex-start; flex-direction: column; }
  .learn-store-row { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .learn-hero { padding: 58px 0 80px; }
  .learn-hero-copy h1 { font-size: clamp(2.85rem, 15vw, 4.5rem); }
  .learn-hero-visual { min-height: 550px; }
  .learn-hero-device { right: 10px; width: min(290px, 79%); }
  .learn-hero-guides { bottom: 20px; left: -12px; width: min(360px, 94%); }
  .learn-proof { grid-template-columns: 1fr; margin-top: -24px; }
  .learn-proof div { border-right: 0; border-bottom: 1px solid var(--pro-line); }
  .learn-proof div:last-child { border-bottom: 0; }
  .learn-section { padding: 72px 0; }
  .learn-guide-section { padding-bottom: 72px; }
  .learn-guide-panel, .learn-download-panel { padding: 30px; }
  .learn-practice-card { padding: 20px; }
  .learn-practice-cta { padding: 21px; }
  .learn-practice-cta .learn-button { width: 100%; }
  .learn-loop-grid { grid-template-columns: 1fr; }
  .learn-loop-grid article { min-height: 215px; }
  .learn-store-row { align-items: flex-start; flex-direction: column; }
  .learn-store-row img { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .learn-button { transition: none; }
  .learn-hero-device { transform: none; }
}
