/* ==========================================================================
   LAMP & LENS: how the site looks
   ==========================================================================

   THE COLOUR RULE (60-30-10)
     60%  Ink    #07080D  backgrounds
     30%  Paper  #F3EEE6  text and cards
     10%  Lamp   #FFB46B  ONLY buy buttons and the italic accent words
   Keep amber rare: that's what makes the buy button the first thing people see.

   TO CHANGE A COLOUR: edit it in theme.json ("palette"). The names below
   (--ll-ink, --ll-lamp...) follow it automatically.

   SECTIONS IN THIS FILE
     1.  Colour names and basics
     2.  Buttons
     3.  Header and footer
     4.  Normal pages
     5.  Landing: small pieces (eyebrow, kicker, caption)
     6.  Landing: offer bar and hero
     7.  Landing: how it works and the terminal
     8.  Landing: free lesson, comparison, learn list, curriculum
     9.  Landing: pricing, trust tiles, needs, results
     10. Landing: FAQ, final call, phone buy bar, progress line
     11. Phones and tablets
     12. Forms
     13. WooCommerce (shop, cart, checkout, account)
     14. Tutor LMS (course, lesson, dashboard)
     15. People who prefer less motion
   ========================================================================== */


/* 1. COLOUR NAMES AND BASICS ---------------------------------------------- */

:root {
	--ll-ink:   var(--wp--preset--color--ink, #07080D);       /* background */
	--ll-ink2:  var(--wp--preset--color--ink-2, #0E0F15);     /* panels */
	--ll-ink3:  var(--wp--preset--color--ink-3, #15171F);     /* cards */
	--ll-paper: var(--wp--preset--color--paper, #F3EEE6);     /* text */
	--ll-dim:   var(--wp--preset--color--dim, #A9A49C);       /* quieter text */
	--ll-lamp:  var(--wp--preset--color--lamp, #FFB46B);      /* the accent */
	--ll-lamp2: var(--wp--preset--color--lamp-soft, #FFD3A1); /* accent hover */
	--ll-deep:  var(--wp--preset--color--lamp-deep, #9A4E12); /* accent on light backgrounds */
	--ll-line:  rgba(243, 238, 230, 0.10);                     /* thin borders */
	--ll-serif: var(--wp--preset--font-family--serif-accent, "Instrument Serif", Georgia, serif);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Your site also has Elementor, whose global settings force the "Trirong" font on headings.
   This line makes the theme's heading font win everywhere ("body[class]" just makes it stronger). */
body[class] :is(h1, h2, h3, h4, h5, h6) { font-family: var(--wp--preset--font-family--manrope, Manrope, system-ui, sans-serif); }

/* Italic words in headings become the amber serif accent.
   In the editor: select a word in a heading and press Ctrl+I. */
body[class] :is(h1, h2, h3) em, .ll-footer em {
	font-family: var(--ll-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--ll-lamp);
	letter-spacing: 0;
}
h1 em { font-size: 1.08em; white-space: nowrap; }

::selection { background: var(--ll-lamp); color: #1A1006; }
.ll-dim, .ll-dim a { color: var(--ll-dim); }


/* 2. BUTTONS ---------------------------------------------------------------
   Filled button = amber (for buying). "Outline" style = quiet glass button.
   In the editor: select a button > Styles > Fill or Outline. */

.wp-block-button__link { transition: transform .25s cubic-bezier(.2,.8,.2,1.4), box-shadow .25s, background-color .25s; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { box-shadow: 0 8px 30px rgba(255,180,107,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.wp-block-button__link:hover { transform: translateY(-2px); }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(243,238,230,.04);
	color: var(--ll-paper);
	border: 1px solid var(--ll-line);
	padding: 12px 19px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(243,238,230,.09); color: var(--ll-paper); }


/* 3. HEADER AND FOOTER ---------------------------------------------------- */

/* Header: sticks to the top, frosted glass. */
.ll-header {
	position: sticky; top: 0; z-index: 50;
	padding-top: 12px; padding-bottom: 12px;
	background: rgba(7,8,13,.72);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--ll-line);
}
.admin-bar .ll-header { top: 32px; }
.ll-header-nav { gap: 18px; }
.ll-header .wp-block-navigation a:hover { color: var(--ll-lamp); }
.ll-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--ll-ink); color: var(--ll-paper); }
.ll-header .wc-block-mini-cart__button, .ll-header .wc-block-customer-account a { color: var(--ll-paper); }
.ll-header .wc-block-mini-cart__badge { background: var(--ll-lamp); color: #1A1006; }
.ll-header-cta .wp-block-button__link { padding: 9px 15px; font-size: 14px; box-shadow: none !important; }

/* Footer */
.ll-footer { margin-top: 0; padding-top: 64px; padding-bottom: 40px; background: var(--ll-ink2); border-top: 1px solid var(--ll-line); }
.ll-footer-h { font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--ll-dim); }
.ll-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ll-footer a { color: var(--ll-paper); text-decoration: none; }
.ll-footer a:hover { color: var(--ll-lamp); }
.ll-footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ll-line); font-size: 13px; color: var(--ll-dim); }


/* 4. NORMAL PAGES --------------------------------------------------------- */

.ll-main { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(56px, 9vw, 110px); min-height: 60vh; }
.ll-page-title { margin-bottom: 32px; }
.ll-card { background: linear-gradient(180deg, var(--ll-ink3), var(--ll-ink2)); border: 1px solid var(--ll-line); border-radius: 20px; padding: 24px; }
.ll-404 { text-align: center; }

/* The landing template: no gaps between sections. */
.ll-landing-main { padding: 0; }
.ll-landing-main > .wp-block-post-content > * { margin-block-start: 0; }

/* "Light page" template: paper background for long reading (legal pages). */
.ll-light { background: var(--ll-paper); color: #1E1F26; }
.ll-light h1, .ll-light h2, .ll-light h3 { color: #12131A; }
.ll-light a { color: var(--ll-deep); }


/* 5. LANDING: SMALL PIECES ------------------------------------------------ */

/* Pill label with a glowing dot ("Free preview · Lesson 0.1"). */
.ll-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; width: fit-content;
	font-size: 12.5px !important; font-weight: 600; letter-spacing: .02em; color: var(--ll-dim);
	border: 1px solid var(--ll-line); background: rgba(243,238,230,.04); padding: 6px 12px; border-radius: 999px;
}
.ll-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ll-lamp); box-shadow: 0 0 10px var(--ll-lamp); }

/* Small amber word above a section title ("How it works"). */
.ll-kicker { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ll-lamp); margin-bottom: 10px !important; }

/* Grey sentence under a title. */
.ll-sub { color: var(--ll-dim); font-size: 17px; max-width: 680px; margin-left: auto !important; margin-right: auto !important; }

/* Tiny grey note ("An illustration of one run..."). */
.ll-caption { font-size: 13px !important; color: var(--ll-dim); margin-top: 14px !important; }
.ll-caption a { color: var(--ll-paper); }

/* Section spacing */
.ll-section { position: relative; padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.ll-section.ll-tight { padding-top: 24px; }
.ll-section > h2 + .ll-sub { margin-top: 14px; }
.ll-section > .ll-sub + *, .ll-section > h2 + .alignwide, .ll-section > h2 + ul, .ll-section > h2 + .wp-block-columns { margin-top: 44px; }

/* Number in a serif circle-free style ("01", "1", "2"). */
.ll-num { font-family: var(--ll-serif); font-style: italic; font-size: 44px !important; line-height: 1; color: var(--ll-lamp); }

/* Lists with amber ticks or grey crosses. */
.ll-ticks, .ll-crosses { list-style: none; padding: 0 !important; display: grid; gap: 10px; font-size: 15.5px; color: var(--ll-dim); }
.ll-ticks li, .ll-crosses li { display: flex; gap: 10px; margin: 0; }
.ll-ticks li::before { content: "✓"; color: var(--ll-lamp); font-weight: 800; }
.ll-crosses li::before { content: "✕"; color: #8C877F; font-weight: 800; }
.ll-ticks li.is-no { opacity: .4; }
.ll-ticks li.is-no::before { content: "–"; color: var(--ll-dim); }

/* Glow behind the hero and final sections. */
.ll-glow { position: absolute; left: 50%; top: -12%; width: 1100px; max-width: 160vw; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,180,107,.22), rgba(255,180,107,.06) 45%, transparent 72%); pointer-events: none; filter: blur(10px); }
.ll-glow-low { top: auto; bottom: -60%; }


/* 6. LANDING: OFFER BAR AND HERO ------------------------------------------ */

/* Thin news line at the very top. Edit or delete it like any paragraph. */
.ll-offer { padding-top: 9px; padding-bottom: 9px; background: var(--ll-lamp); color: #1A1006; font-size: 13.5px; font-weight: 600; }
.ll-offer p { margin: 0; }

.ll-hero { position: relative; overflow: hidden; min-height: 86vh; display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 64px; }
.ll-hero > .wp-block-html, .ll-final > .wp-block-html { margin: 0 !important; }
.ll-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ll-hero-grid { position: relative; gap: 56px !important; }
.ll-h1 { font-size: clamp(42px, 6.4vw, 82px) !important; margin: 22px 0 !important; }
.ll-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ll-dim); max-width: 560px; }
.ll-ctas { margin-top: 32px !important; gap: 12px; }
.ll-price-note { font-size: 14px !important; color: var(--ll-dim); margin-top: 14px !important; }
.ll-price-note strong { color: var(--ll-paper); }
.ll-stats { gap: 28px !important; margin-top: 40px !important; padding-top: 24px; border-top: 1px solid var(--ll-line); }
.ll-stat { font-size: 13px !important; color: var(--ll-dim); margin: 0 !important; }
.ll-stat strong { display: block; font-size: 22px; color: var(--ll-paper); letter-spacing: -.02em; }

/* The phone with the reel. */
.ll-phone-stage { position: relative; display: flex; justify-content: center; }
.ll-phone {
	position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 19.2; border-radius: 42px; padding: 10px;
	background: linear-gradient(160deg, #2a2b33, #0d0e13 40%, #1b1c22);
	box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -20px rgba(255,180,107,.35), 0 30px 60px rgba(0,0,0,.6);
	animation: ll-float 7s ease-in-out infinite;
}
.ll-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; display: block; background: #000; }
.ll-phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); background: #000; border-radius: 20px; }

/* Little floating labels around the phone. */
.ll-tag { position: absolute; font-size: 12.5px; font-weight: 600; padding: 8px 12px; border-radius: 12px; white-space: nowrap; background: rgba(14,15,21,.78); border: 1px solid var(--ll-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ll-tag b { color: var(--ll-lamp); font-weight: 400; }
.ll-t1 { left: -6%; top: 18%; animation: ll-float 6s ease-in-out infinite .5s; }
.ll-t2 { right: -4%; top: 46%; animation: ll-float 6.5s ease-in-out infinite 1.2s; }
.ll-t3 { left: 2%; bottom: 12%; animation: ll-float 7.5s ease-in-out infinite .2s; }
@keyframes ll-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Tools strip under the hero. */
.ll-strip { padding-top: 26px; padding-bottom: 26px; background: var(--ll-ink2); border-top: 1px solid var(--ll-line); border-bottom: 1px solid var(--ll-line); }
.ll-strip p { color: var(--ll-dim); font-size: 14.5px; word-spacing: 2px; }
.ll-strip strong { color: var(--ll-paper); font-weight: 600; }


/* 7. LANDING: HOW IT WORKS AND THE TERMINAL ------------------------------- */

.ll-steps { gap: 16px !important; }
.ll-steps .ll-card { padding: 28px; position: relative; overflow: hidden; }
.ll-steps .ll-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; background: radial-gradient(closest-side, rgba(255,180,107,.16), transparent); pointer-events: none; }
.ll-card h3 { margin: 14px 0 8px !important; font-size: 21px !important; }
.ll-card p:not(.ll-num) { color: var(--ll-dim); font-size: 15.5px; }

/* Fake terminal window showing one run.
   To change its text: click it in the editor > "Edit HTML". Keep the <span> tags. */
.ll-terminal { max-width: 880px; margin: 40px auto 0 !important; border: 1px solid var(--ll-line); border-radius: 16px; background: #0A0B10; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(255,180,107,.35); }
.ll-term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--ll-line); background: var(--ll-ink2); }
.ll-term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A2C35; }
.ll-term-bar span { margin-left: 8px; font-size: 12px; color: var(--ll-dim); font-family: ui-monospace, Consolas, monospace; }
.ll-terminal pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13.5px; line-height: 1.9; color: var(--ll-paper); background: none; border: 0; white-space: pre; }
.ll-t-p { color: var(--ll-lamp); }
.ll-t-ok { color: #7BD88F; }
.ll-t-go { color: var(--ll-lamp); }
.ll-t-you { color: #1A1006; background: var(--ll-lamp); border-radius: 4px; padding: 1px 6px; font-size: 11.5px; font-weight: 700; }


/* 8. LANDING: FREE LESSON, COMPARISON, LEARN LIST, CURRICULUM ------------- */

/* Free lesson player */
.ll-preview { gap: 32px !important; }
.ll-player { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--ll-line); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 90px -30px rgba(255,180,107,.35); }
.ll-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ll-preview .ll-sub { margin-left: 0 !important; }

/* Boxes used by the comparison and "for you" sections */
.ll-compare, .ll-two { gap: 16px !important; }
.ll-box { border: 1px solid var(--ll-line); border-radius: 20px; padding: 28px !important; background: var(--ll-ink2); }
.ll-box h3 { font-size: 20px !important; margin: 0 0 16px !important; }
.ll-box.is-plain { background: transparent; }
.ll-box.is-plain h3 { color: var(--ll-dim); }
.ll-box.is-directed { border-color: rgba(255,180,107,.45); background: radial-gradient(120% 80% at 50% 0%, rgba(255,180,107,.10), transparent 60%), var(--ll-ink2); }

/* "What you'll be able to do": two columns of tick cards */
.ll-learn { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ll-learn li { position: relative; padding: 18px 20px 18px 54px; border: 1px solid var(--ll-line); border-radius: 16px; background: rgba(243,238,230,.02); color: var(--ll-dim); font-size: 15.5px; margin: 0; }
.ll-learn li strong { color: var(--ll-paper); }
.ll-learn li::before { content: "✓"; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,180,107,.14); color: var(--ll-lamp); font-size: 12px; font-weight: 800; }

/* Curriculum rows. In the editor: bold = module number, "code" format = lesson count. */
.ll-mods { list-style: none; padding: 0 !important; border: 1px solid var(--ll-line); border-radius: 20px; overflow: hidden; background: var(--ll-ink2); max-width: 880px; margin-left: auto !important; margin-right: auto !important; }
.ll-mods li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 17px 24px; border-top: 1px solid var(--ll-line); font-weight: 600; font-size: 16px; margin: 0; }
.ll-mods li:first-child { border-top: 0; }
.ll-mods strong { font-family: var(--ll-serif); font-style: italic; font-weight: 400; font-size: 26px; color: var(--ll-lamp); }
.ll-mods code { font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ll-dim); background: none; padding: 0; }


/* 9. LANDING: PRICING, TRUST TILES, NEEDS, RESULTS ------------------------ */

.ll-plans { gap: 16px !important; max-width: 880px; margin-left: auto !important; margin-right: auto !important; }
.ll-plan { position: relative; border: 1px solid var(--ll-line); border-radius: 24px; padding: 32px !important; background: var(--ll-ink2); display: flex; flex-direction: column; }
.ll-plan.is-best { border-color: rgba(255,180,107,.55); background: radial-gradient(120% 80% at 50% 0%, rgba(255,180,107,.12), transparent 60%), var(--ll-ink2); box-shadow: 0 30px 90px -40px rgba(255,180,107,.45); }
.ll-badge { align-self: flex-start; font-size: 12px !important; font-weight: 700; color: #1A1006; background: var(--ll-lamp); padding: 4px 10px; border-radius: 999px; margin: 0 0 14px !important; }
.ll-plan h3 { margin: 0 !important; font-size: 22px !important; }
.ll-amt { font-size: 46px !important; font-weight: 800; letter-spacing: -.03em; margin: 14px 0 4px !important; line-height: 1.1; }
.ll-amt sub { font-size: 15px; font-weight: 600; color: var(--ll-dim); letter-spacing: 0; vertical-align: baseline; }
.ll-plan .ll-ticks { margin: 20px 0 28px !important; }
.ll-plan-cta { margin-top: auto !important; }
.ll-plan-cta .wp-block-button, .ll-plan-cta .wp-block-button__link { width: 100%; }

/* Three trust tiles under the prices, and the four "needs" tiles. */
.ll-trust, .ll-needs, .ll-results { gap: 12px !important; max-width: 880px; margin-left: auto !important; margin-right: auto !important; }
.ll-trust { margin-top: 20px !important; }
.ll-trust .wp-block-column, .ll-needs .wp-block-column, .ll-results .wp-block-column { border: 1px solid var(--ll-line); border-radius: 16px; padding: 18px 20px; background: rgba(243,238,230,.02); }
.ll-trust p, .ll-needs p { font-size: 14px; color: var(--ll-dim); margin: 0; line-height: 1.55; }
.ll-trust strong, .ll-needs strong { color: var(--ll-paper); font-size: 15px; }
.ll-needs-title { margin-top: 56px !important; font-size: 22px !important; }
.ll-needs { margin-top: 20px !important; }

/* Results numbers (optional "Results" pattern) */
.ll-results p { margin: 0; color: var(--ll-dim); font-size: 14px; }
.ll-results strong { display: block; font-size: 40px; font-weight: 800; color: var(--ll-paper); letter-spacing: -.03em; }


/* 10. LANDING: FAQ, FINAL CALL, PHONE BUY BAR, PROGRESS LINE -------------- */

.ll-faq { max-width: 760px; margin-left: auto !important; margin-right: auto !important; border: 1px solid var(--ll-line); border-radius: 16px; background: var(--ll-ink2); padding: 0 22px; margin-top: 10px !important; }
.ll-section > h2 + .ll-faq { margin-top: 44px !important; }
.ll-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.ll-faq summary::-webkit-details-marker { display: none; }
.ll-faq summary::after { content: "+"; color: var(--ll-lamp); font-size: 22px; line-height: 1; transition: transform .3s; }
.ll-faq[open] summary::after { transform: rotate(45deg); }
.ll-faq p { padding: 0 0 20px; margin: 0; color: var(--ll-dim); font-size: 15.5px; }

.ll-final { position: relative; overflow: hidden; text-align: center; padding-top: 120px; padding-bottom: 130px; }
.ll-final h2 { font-size: clamp(36px, 5.6vw, 68px) !important; position: relative; }
.ll-final .ll-sub, .ll-final .wp-block-buttons, .ll-final .ll-caption { position: relative; }
.ll-final .ll-sub { margin-top: 18px !important; margin-bottom: 30px !important; }

/* Phone buy bar: hidden on computers; on phones it slides up after the hero. */
.ll-buybar { display: none; }

/* Thin amber line at the top that grows as you scroll (added by theme.js). */
.ll-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--ll-lamp); z-index: 100; pointer-events: none; }

/* Fade-in while scrolling. Only switched on by theme.js, so nothing is ever hidden without it. */
.ll-js .ll-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.ll-js .ll-reveal.is-in { opacity: 1; transform: none; }


/* 11. PHONES AND TABLETS -------------------------------------------------- */

@media (max-width: 900px) {
	.ll-hero { min-height: auto; padding-top: 40px; padding-bottom: 56px; }
	.ll-hero-copy { text-align: center; }
	.ll-hero-copy .ll-eyebrow { margin-left: auto; margin-right: auto; }
	.ll-lede { margin-left: auto !important; margin-right: auto !important; }
	.ll-ctas, .ll-stats { justify-content: center; }
	.ll-learn { grid-template-columns: 1fr; }
	.ll-t1 { left: 0; } .ll-t2 { right: 0; }
	.ll-header-cta { display: none; }   /* the phone buy bar does this job on small screens */
}

@media (max-width: 782px) {
	.admin-bar .ll-header { top: 46px; }

	.ll-buybar {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
		padding: 10px 10px 10px 16px; border-radius: 16px;
		background: rgba(14,15,21,.92); border: 1px solid var(--ll-line);
		backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
		font-size: 14px; color: var(--ll-dim);
		transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
	}
	.ll-buybar strong { color: var(--ll-paper); }
	.ll-buybar a { background: var(--ll-lamp); color: #1A1006; font-weight: 700; text-decoration: none; padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
	.ll-buybar.is-visible { transform: none; }
}

@media (max-width: 600px) {
	.ll-ctas .wp-block-button, .ll-final .wp-block-button,
	.ll-ctas .wp-block-button__link, .ll-final .wp-block-button__link { width: 100%; }
	.ll-mods li { grid-template-columns: 40px 1fr; padding: 15px 18px; }
	.ll-mods code { display: none; }
	.ll-tag { font-size: 11.5px; padding: 6px 10px; }
	.ll-plan { padding: 26px !important; }
	/* On phones the terminal lines wrap instead of running off the edge. */
	.ll-terminal pre { font-size: 12px; padding: 16px; white-space: pre-wrap; word-break: break-word; line-height: 1.75; }
	.ll-t-you { display: inline-block; margin-left: 4px; }
}


/* 12. FORMS (search, WooCommerce, Tutor) ---------------------------------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], textarea, select {
	background: var(--ll-ink3); color: var(--ll-paper); border: 1px solid rgba(243,238,230,.18); border-radius: 10px; padding: 11px 13px; font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ll-lamp); outline-offset: 1px; border-color: transparent; }
::placeholder { color: rgba(243,238,230,.45); }


/* 13. WOOCOMMERCE (shop, cart, checkout, my account) ---------------------- */

.woocommerce, .woocommerce-page { color: var(--ll-paper); }

/* Shop buttons use the same amber as the rest of the site. */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button:not(.is-link) {
	background: var(--ll-lamp) !important; color: #1A1006 !important; border-radius: 12px !important; font-weight: 700 !important; border: 0 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--ll-lamp2) !important; }
.woocommerce .price, .woocommerce-Price-amount, .wc-block-components-product-price { color: var(--ll-paper); }
.woocommerce span.onsale, .wc-block-components-product-sale-badge { background: var(--ll-lamp); color: #1A1006; border: 0; }

/* Product grid (shop page and the homepage "New in the shop") */
.ll-section > .woocommerce { max-width: 1120px !important; }
.woocommerce ul.products li.product { box-sizing: border-box; background: var(--ll-ink2); border: 1px solid var(--ll-line); border-radius: 18px; padding: 14px 14px 18px; text-align: left; }
.woocommerce ul.products li.product img { border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ll-paper); font-size: 16px; font-weight: 700; }
.woocommerce ul.products li.product a { text-decoration: none; }

/* Messages ("Added to cart", errors) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	background: var(--ll-ink3) !important; color: var(--ll-paper) !important; border: 1px solid var(--ll-line) !important; border-left: 3px solid var(--ll-lamp) !important; border-radius: 12px;
}
.woocommerce-error, .wc-block-components-notice-banner.is-error { border-left-color: #FF7A6B !important; }

/* Tables and My Account menu */
.woocommerce table.shop_table, .woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--ll-line) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ll-paper); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--ll-ink3); color: var(--ll-lamp); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { border: 1px solid var(--ll-line) !important; border-radius: 16px !important; background: var(--ll-ink2); }

/* Country dropdown on the classic checkout */
.select2-container--default .select2-selection--single { background: var(--ll-ink3); border-color: rgba(243,238,230,.18); border-radius: 10px; height: 44px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ll-paper); line-height: 44px; }
.select2-dropdown { background: var(--ll-ink3); color: var(--ll-paper); border-color: rgba(243,238,230,.18); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ll-lamp); color: #1A1006; }
.select2-search--dropdown .select2-search__field { background: var(--ll-ink2); color: var(--ll-paper); }

/* Block checkout fields */
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select {
	background: var(--ll-ink3) !important; color: var(--ll-paper) !important; border-color: rgba(243,238,230,.22) !important;
}
.wc-block-components-text-input label, .wc-block-components-combobox label, .wc-blocks-components-select__label { color: var(--ll-dim) !important; }
.wc-block-components-panel, .wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--ll-line) !important; }
.wc-block-mini-cart__drawer .components-modal__content, .wc-block-mini-cart__drawer .wc-block-mini-cart__template-part { background: var(--ll-ink); color: var(--ll-paper); }


/* 14. TUTOR LMS (course page, lessons, student dashboard) -----------------
   Tutor's screens are made for light backgrounds, so they get a paper
   background with dark text. Tutor's buttons use the deep amber, which is
   dark enough for white button text to stay readable. */

body {
	--tutor-color-primary: #9A4E12;
	--tutor-color-primary-rgb: 154, 78, 18;
	--tutor-color-primary-hover: #7E3F0D;
	--tutor-color-primary-hover-rgb: 126, 63, 13;
}
body.single-courses .wp-site-blocks > main, body.single-lesson .wp-site-blocks > main, body.tutor-screen-frontend-dashboard .wp-site-blocks > main,
.tutor-course-details-page, .tutor-dashboard { background: var(--ll-paper); color: #1E1F26; }
body.single-courses .wp-site-blocks > main, body.single-lesson .wp-site-blocks > main, body.tutor-screen-frontend-dashboard .wp-site-blocks > main { padding: 32px 20px 72px; }
.tutor-wrap, .tutor-course-single-content-wrapper, .tutor-login-wrap, .tutor-course-list { color: #1E1F26; }
.tutor-course-details-page h1, .tutor-course-details-page h2, .tutor-course-details-page h3,
.tutor-dashboard h1, .tutor-dashboard h2, .tutor-dashboard h3,
.tutor-course-single-content-wrapper h1, .tutor-course-single-content-wrapper h2, .tutor-course-single-content-wrapper h3 { color: #12131A; }
.tutor-course-details-page a:not(.tutor-btn), .tutor-dashboard a:not(.tutor-btn) { color: var(--ll-deep); }
/* Prices inside Tutor's light cards must be dark, not the light shop colour. */
.tutor-course-details-page .woocommerce-Price-amount, .tutor-course-details-page .price,
.tutor-course-details-page .tutor-course-sidebar-card-pricing, .tutor-dashboard .woocommerce-Price-amount { color: #12131A !important; }
.tutor-course-single-content-wrapper input, .tutor-dashboard input, .tutor-dashboard textarea, .tutor-dashboard select, .tutor-login-wrap input,
.tutor-course-details-page input, .tutor-course-details-page textarea { background: #fff; color: #1E1F26; border-color: #D9D3C9; }


/* 15. PEOPLE WHO PREFER LESS MOTION ---------------------------------------
   If someone turns on "reduce motion" on their phone or computer,
   all floating, fading and sliding stops. */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ll-js .ll-reveal { opacity: 1; transform: none; }
}
