/* Learn pages (/learn, /robotics…) and policy pages. Same palette as the shop. */
:root {
  --ln-blue: #3D90D7;
  --ln-blue-dark: #1e5fa8;
  --ln-sage: #b8d8f4;
  --ln-tint: #e8f4fd;
  --ln-ink: #1a1a1a;
  --ln-muted: #5e7085;
  --ln-line: #e4e0d8;
  --ln-paper: #f9f6f0;
  --ln-card: #ffffff;
  --ln-amber: #d4820a;
}

.ln-page { background: var(--ln-paper); color: var(--ln-ink); }
.ln-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.ln-hero { background: linear-gradient(150deg, var(--ln-blue-dark) 0%, var(--ln-blue) 100%); color: #fff; padding: 56px 0 52px; }
.ln-crumbs { font-size: 12px; letter-spacing: .04em; color: var(--ln-sage); margin-bottom: 16px; }
.ln-crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.ln-crumbs a:hover { border-color: #fff; }
.ln-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ln-sage); font-weight: 500; margin-bottom: 14px; }
.ln-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 60px); font-weight: 400; line-height: 1.05; color: #fff; margin: 0; }
.ln-h1 em { display: block; font-style: italic; color: var(--ln-sage); }
.ln-intro { max-width: 680px; margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.88); font-weight: 300; }
.ln-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ln-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--ln-blue-dark); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid #fff; transition: transform .15s ease; }
.ln-btn:hover { transform: translateY(-1px); color: var(--ln-blue-dark); }
.ln-btn.is-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.ln-btn.is-ghost:hover { color: #fff; border-color: #fff; }
.ln-btn.is-solid { background: var(--ln-blue); color: #fff; border-color: var(--ln-blue); }
.ln-btn.is-solid:hover { color: #fff; }

/* Sections */
.ln-section { padding: 56px 0 0; }
.ln-section:last-child { padding-bottom: 72px; }
.ln-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; line-height: 1.15; margin: 0 0 8px; color: var(--ln-ink); }
.ln-lead { color: var(--ln-muted); margin: 0 0 24px; max-width: 720px; line-height: 1.6; }
.ln-prose { max-width: 780px; line-height: 1.75; color: #2c3440; font-size: 16px; }
.ln-prose h2 { margin-top: 0; }
.ln-prose p { color: #2c3440; }
.ln-prose ul, .ln-prose ol { padding-left: 20px; }
.ln-prose li { margin-bottom: 8px; }
.ln-prose a { color: var(--ln-blue-dark); }
.ln-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }

/* Cards */
.ln-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ln-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ln-card { background: var(--ln-card); border: 1px solid var(--ln-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
a.ln-card:hover { border-color: var(--ln-blue); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(30,95,168,.45); color: inherit; }
.ln-card-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ln-tint); color: var(--ln-blue-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ln-card h3 { font-size: 18px; margin: 4px 0 0; color: var(--ln-ink); font-weight: 600; }
.ln-card p { margin: 0; color: var(--ln-muted); font-size: 14px; line-height: 1.55; }
.ln-card .ln-more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--ln-blue-dark); }

/* Stages (levels within a field) */
.ln-stages { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: stage; }
.ln-stage { background: var(--ln-card); border: 1px solid var(--ln-line); border-radius: 14px; padding: 22px; position: relative; }
.ln-stage-tag { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ln-blue-dark); background: var(--ln-tint); border-radius: 999px; padding: 4px 10px; }
.ln-stage h3 { font-size: 19px; margin: 12px 0 10px; font-weight: 600; }
.ln-stage h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ln-muted); margin: 14px 0 6px; font-weight: 600; }
.ln-stage ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.55; color: #2c3440; }
.ln-stage li { margin-bottom: 4px; }

/* Chips */
.ln-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ln-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--ln-card); border: 1px solid var(--ln-line); font-size: 13px; color: var(--ln-ink); text-decoration: none; }
a.ln-chip:hover { border-color: var(--ln-blue); color: var(--ln-blue-dark); }

/* Tiers */
.ln-tier-price { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: var(--ln-ink); line-height: 1; margin-top: 6px; }
.ln-tier-price small { font-family: inherit; font-size: 14px; color: var(--ln-muted); font-weight: 400; }
.ln-tier ul { padding-left: 18px; margin: 8px 0 0; font-size: 14px; color: #2c3440; line-height: 1.55; }

/* FAQ */
.ln-faq { max-width: 860px; border-top: 1px solid var(--ln-line); }
.ln-faq details { border-bottom: 1px solid var(--ln-line); padding: 18px 0; }
.ln-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ln-faq summary::-webkit-details-marker { display: none; }
.ln-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ln-blue); flex: none; }
.ln-faq details[open] summary::after { content: '–'; }
.ln-faq p { margin: 12px 0 0; color: #2c3440; line-height: 1.7; }

/* Closing call to action */
.ln-band { background: var(--ln-ink); color: #fff; border-radius: 18px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ln-band h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; color: #fff; }
.ln-band p { margin: 0; color: rgba(255,255,255,.75); max-width: 560px; }

/* Policy pages */
.ln-policy-meta { font-size: 13px; color: var(--ln-muted); margin-bottom: 24px; }
.ln-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 36px; }
.ln-summary div { background: var(--ln-card); border: 1px solid var(--ln-line); border-radius: 12px; padding: 18px; }
.ln-summary b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.05; color: var(--ln-blue-dark); }
.ln-summary span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ln-muted); }

@media (max-width: 991px) {
  .ln-stages, .ln-grid.is-3, .ln-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ln-wrap { padding: 0 16px; }
  .ln-hero { padding: 40px 0 36px; }
  .ln-section { padding-top: 40px; }
  .ln-summary { grid-template-columns: 1fr; }
  .ln-band { padding: 26px 22px; }
}
