@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #171a20;
  --muted: #68717d;
  --line: #e6e9ed;
  --paper: #fff;
  --canvas: #f5f6f7;
  --orange: #ec5a1c;
  --orange-dark: #c94612;
  --orange-soft: #fff0e9;
  --green: #247858;
  --shadow-sm: 0 8px 24px rgba(25, 31, 39, .06);
  --shadow-lg: 0 24px 70px rgba(25, 31, 39, .16);
  --radius: 18px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(236, 90, 28, .42); outline-offset: 4px; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; transform: translateY(-160%); background: var(--ink); color: white; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.utility { background: #202329; color: #d5d8dc; font-size: 11px; letter-spacing: .045em; }
.utility .container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-dot { color: var(--orange); padding-inline: 6px; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-main { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; }
.brand img { width: 142px; height: auto; object-fit: contain; }
.header-feature { min-width: 0; display: flex; align-items: center; gap: 12px; color: #777f89; font-size: 13px; transition: color .2s; }
.header-feature:hover { color: var(--orange-dark); }
.search-icon { width: 17px; height: 17px; border: 1.7px solid currentColor; border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-icon::after { content: ''; position: absolute; width: 7px; height: 1.7px; background: currentColor; right: -5px; bottom: -2px; transform: rotate(48deg); border-radius: 2px; }
.header-actions, .hero-buttons, .dialog-actions { display: flex; align-items: center; gap: 12px; }
.login-link { font-size: 13px; font-weight: 700; padding: 10px 12px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 0 21px; border: 1px solid var(--orange); border-radius: 8px; background: var(--orange); color: white; font-size: 13px; font-weight: 700; letter-spacing: .01em; box-shadow: 0 7px 16px rgba(236, 90, 28, .18); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(236, 90, 28, .24); }
.button-small { min-height: 40px; padding-inline: 16px; }
.button-outline { color: var(--ink); background: transparent; border-color: #d8dce1; box-shadow: none; }
.button-outline:hover { color: var(--orange-dark); background: var(--orange-soft); border-color: #f3b49a; box-shadow: none; }
.arrow-up { width: 8px; height: 8px; display: inline-block; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.arrow-down { transform: rotate(135deg); }
.categories { min-height: 48px; display: flex; align-items: center; gap: 30px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.categories a { height: 48px; display: inline-flex; align-items: center; color: #69717b; font-size: 12px; font-weight: 600; position: relative; transition: color .2s; }
.categories a:hover, .categories .category-first { color: var(--orange-dark); }
.categories .category-first::after { position: absolute; content: ''; height: 2px; background: var(--orange); left: 0; right: 0; bottom: 0; }

main.container { padding-bottom: 90px; }
.breadcrumb { display: flex; align-items: center; gap: 11px; padding: 25px 0 21px; color: #9299a2; font-size: 11px; }
.breadcrumb a { color: #5c6570; }
.breadcrumb a:hover { color: var(--orange-dark); }
.product-hero { display: grid; grid-template-columns: 1.03fr .97fr; overflow: hidden; min-height: 450px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.hero-image { min-height: 100%; background: #f1e3d9; overflow: hidden; }
.hero-image picture, .hero-image img { width: 100%; height: 100%; }
.hero-image img { object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.product-hero:hover .hero-image img { transform: scale(1.025); }
.hero-copy { align-self: center; padding: clamp(34px, 5.4vw, 72px); }
.eyebrow, .section-label { color: var(--orange-dark); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.orange-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.eyebrow-sep { color: #bdc1c7; }
h1, h2, h3 { font-family: Manrope, 'DM Sans', sans-serif; letter-spacing: -.045em; }
h1 { margin: 23px 0 16px; max-width: 590px; font-size: clamp(32px, 4vw, 51px); line-height: 1.12; font-weight: 800; }
.hero-summary { max-width: 490px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.reading-meta { display: flex; gap: 25px; margin: 27px 0 28px; padding-top: 19px; border-top: 1px solid var(--line); color: #7b838c; font-size: 11px; }
.reading-meta span { display: grid; gap: 2px; }
.reading-meta strong { color: var(--ink); font-family: Manrope, sans-serif; font-size: 17px; }
.hero-note { margin: 14px 0 0; color: #858c94; font-size: 11px; }
.section-switch { display: flex; align-items: center; gap: 27px; margin: 38px 0 25px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #7c838c; font-size: 11px; font-weight: 700; }
.section-switch span { position: relative; }
.section-switch .active { color: var(--ink); }
.section-switch .active::after { content: ''; position: absolute; height: 2px; left: 0; right: 0; bottom: -15px; background: var(--orange); }
.section-switch .switch-edition { margin-left: auto; color: #a2a8af; font-size: 9px; letter-spacing: .12em; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 68px; align-items: start; }
.article-body { min-width: 0; padding: 16px 0 0; }
.article-body h2, .section-intro h2 { margin: 8px 0 18px; font-size: clamp(28px, 3.4vw, 39px); line-height: 1.2; font-weight: 800; }
.article-lead { margin: 0 0 35px; color: #626b75; font-size: 16px; line-height: 1.9; }
.article-body a { color: var(--orange-dark); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(201,70,18,.3); text-underline-offset: 3px; }
.article-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; }
.article-step h3 { margin: 2px 0 8px; font-size: 19px; line-height: 1.45; font-weight: 800; }
.article-step p, .article-outro { margin: 0; color: #68717b; font-size: 14px; line-height: 1.9; }
.article-outro { margin: 12px 0 0; padding: 22px 24px; border-left: 3px solid var(--orange); background: #fff; border-radius: 0 10px 10px 0; }
.reading-sidebar { position: sticky; top: 20px; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.sidebar-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: #59616b; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.sidebar-heading .arrow-down { width: 7px; height: 7px; color: var(--orange); }
.reading-sidebar ol { display: grid; gap: 13px; margin: 18px 0 22px; padding-left: 19px; color: #65707b; font-size: 12px; }
.reading-sidebar li { padding-left: 4px; }
.reading-sidebar li::marker { color: var(--orange); font-weight: 800; }
.sidebar-bottom { padding: 15px; border-radius: 8px; background: #f7f7f5; }
.mini-label { color: #a0a5aa; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.sidebar-bottom p { margin: 7px 0; font-family: Manrope, sans-serif; font-size: 13px; line-height: 1.5; font-weight: 700; }
.sidebar-bottom > span:last-child { color: #858c93; font-size: 10px; }

.faq-section, .reviews-section { margin-top: 88px; padding-top: 34px; border-top: 1px solid var(--line); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-intro h2 { margin-bottom: 0; }
.section-intro > p { max-width: 270px; margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; gap: 14px; min-height: 75px; cursor: pointer; list-style: none; font-family: Manrope, sans-serif; font-size: 14px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-index { color: var(--orange); font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 800; }
.faq-plus { color: var(--orange); font-size: 21px; font-weight: 400; text-align: center; transition: transform .2s; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details > p { max-width: 780px; margin: -2px 42px 23px 50px; color: #68717b; font-size: 13px; line-height: 1.85; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.review { margin: 0; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.review blockquote { margin: 0 0 20px; color: #515a64; font-family: Manrope, sans-serif; font-size: 13px; line-height: 1.8; }
.review figcaption { display: flex; align-items: center; gap: 10px; color: #414952; font-size: 11px; font-weight: 700; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-size: 10px; font-weight: 800; }

.footer { background: #202329; color: #f3f4f5; }
.footer-main { min-height: 145px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-main strong { font-family: Manrope, sans-serif; font-size: 18px; letter-spacing: .03em; }
.footer-period { color: var(--orange); }
.footer-main p { margin: 5px 0 0; color: #aeb3ba; font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 25px; color: #c7cbd0; font-size: 12px; }
.footer-links a:hover, .footer-links button:hover { color: white; }
.footer-links button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #393d43; color: #90969e; font-size: 10px; }

.welcome-dialog { width: min(900px, calc(100% - 32px)); max-width: 900px; max-height: min(90vh, 760px); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.65); border-radius: 18px; background: white; color: var(--ink); box-shadow: var(--shadow-lg); }
.welcome-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.welcome-dialog::backdrop { background: rgba(18, 22, 28, .72); backdrop-filter: blur(5px); }
.dialog-top { position: absolute; z-index: 1; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; }
.dialog-top img { width: 125px; height: auto; padding: 7px 10px; border-radius: 7px; background: rgba(255,255,255,.94); }
.dialog-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.dialog-image { min-height: 450px; background: #f1e3d9; }
.dialog-image img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.dialog-bottom { align-self: center; padding: clamp(30px, 5vw, 58px); }
.dialog-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dialog-title-row h2 { margin: 0; font-size: clamp(28px, 4vw, 41px); line-height: 1.2; }
.dialog-title-row > span { color: var(--orange); font-size: 11px; font-weight: 800; }
.dialog-bottom > p { margin: 12px 0 24px; color: var(--muted); font-size: 14px; }

@media (max-width: 850px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .header-main { min-height: 76px; gap: 16px; }
  .header-feature { margin-left: auto; }
  .categories { gap: 23px; }
  .product-hero { grid-template-columns: 1fr 1fr; min-height: 390px; }
  .hero-copy { padding: 32px; }
  .editorial-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 35px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .utility .container { min-height: 32px; font-size: 9px; }
  .utility .container > span:last-child { display: none; }
  .header-main { min-height: 70px; }
  .brand img { width: 112px; }
  .header-feature { display: none; }
  .login-link { padding: 8px 6px; font-size: 12px; }
  .button-small { min-height: 37px; padding-inline: 12px; font-size: 12px; }
  .categories { min-height: 43px; gap: 22px; }
  .categories a { height: 43px; font-size: 11px; }
  main.container { padding-bottom: 60px; }
  .breadcrumb { padding: 18px 0 15px; font-size: 10px; }
  .product-hero { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 1.45; min-height: 0; max-height: 320px; }
  .hero-copy { padding: 27px 23px 29px; }
  h1 { margin: 17px 0 12px; font-size: clamp(30px, 9vw, 42px); }
  .hero-summary { font-size: 13px; }
  .reading-meta { gap: 21px; margin: 22px 0; }
  .section-switch { gap: 18px; overflow-x: auto; white-space: nowrap; margin: 27px 0 15px; font-size: 10px; }
  .section-switch .switch-edition { display: none; }
  .editorial-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-body { padding-top: 10px; }
  .article-body h2, .section-intro h2 { font-size: 30px; }
  .article-lead { margin-bottom: 25px; font-size: 14px; }
  .article-step { grid-template-columns: 38px minmax(0, 1fr); gap: 13px; padding: 20px 0; }
  .step-number { width: 34px; height: 34px; font-size: 10px; }
  .article-step h3 { font-size: 16px; }
  .article-step p, .article-outro { font-size: 13px; }
  .article-outro { padding: 17px; }
  .reading-sidebar { position: static; }
  .faq-section, .reviews-section { margin-top: 58px; padding-top: 28px; }
  .section-intro { align-items: start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .section-intro > p { font-size: 12px; }
  .faq-list summary { grid-template-columns: 26px minmax(0, 1fr) 20px; gap: 10px; min-height: 70px; font-size: 12px; }
  .faq-list details > p { margin: -2px 22px 20px 36px; font-size: 12px; }
  .review-grid { grid-template-columns: 1fr; gap: 11px; }
  .review { padding: 19px; }
  .footer-main { min-height: 130px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 18px; padding-block: 24px; }
  .footer-links { gap: 19px; font-size: 11px; }
  .welcome-dialog { max-height: 92vh; border-radius: 14px; }
  .welcome-dialog[open] { display: block; }
  .dialog-top { top: 12px; left: 13px; right: 13px; }
  .dialog-top img { width: 105px; }
  .dialog-image { display: block; min-height: 0; max-height: 38vh; overflow: hidden; }
  .dialog-image img { min-height: 0; height: 38vh; object-fit: cover; }
  .dialog-bottom { padding: 25px 22px 27px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Dark theme override */
:root {
  color-scheme: dark;
  --ink: #f2f4f7;
  --muted: #a6afb9;
  --line: #303740;
  --paper: #171b20;
  --canvas: #101317;
  --orange: #ff7438;
  --orange-dark: #ff8957;
  --orange-soft: #35231d;
  --green: #66c49c;
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, .22);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .58);
}
body { background: var(--canvas); color: var(--ink); }
.utility { background: #090b0e; color: #aeb5be; }
.header { background: #171b20; border-color: #2b3139; }
.header-feature { color: #a3acb6; }
.header-feature:hover, .categories a:hover, .categories .category-first { color: #ff9a70; }
.login-link { color: #e8ebef; }
.button { color: #17110e; background: #ff7438; border-color: #ff7438; box-shadow: 0 7px 18px rgba(255, 116, 56, .16); }
.button:hover { color: #17110e; background: #ff8957; border-color: #ff8957; }
.button-outline { color: #eef1f4; background: transparent; border-color: #48515b; box-shadow: none; }
.button-outline:hover { color: #ffad8d; background: #30221d; border-color: #81503c; }
.categories a { color: #a5adb7; }
.categories .category-first::after { background: #ff7438; }
.breadcrumb { color: #79838e; }
.breadcrumb a { color: #c2c9d0; }
.breadcrumb a:hover, .article-body a { color: #ff9a70; }
.product-hero { background: #171b20; border-color: #303740; }
.hero-image, .dialog-image { background: #252a30; }
.eyebrow, .section-label { color: #ff9a70; }
.orange-dot { background: #ff7438; box-shadow: 0 0 0 4px #35231d; }
.hero-summary, .article-lead, .article-step p, .article-outro, .section-intro > p { color: #a6afb9; }
.reading-meta { border-color: #303740; color: #929ca7; }
.reading-meta strong { color: #f1f3f5; }
.hero-note { color: #929ca7; }
.section-switch { color: #9ba5af; border-color: #303740; }
.section-switch .active { color: #f3f5f7; }
.section-switch .active::after { background: #ff7438; }
.section-switch .switch-edition { color: #78828d; }
.article-body a { text-decoration-color: rgba(255, 154, 112, .35); }
.article-step { border-color: #303740; }
.step-number { background: #35231d; color: #ff9a70; }
.article-outro { background: #191e24; border-left-color: #ff7438; }
.reading-sidebar { background: #171b20; border-color: #303740; }
.sidebar-heading { color: #c5cbd2; border-color: #303740; }
.sidebar-heading .arrow-down { color: #ff8957; }
.reading-sidebar ol { color: #aab3bd; }
.reading-sidebar li::marker { color: #ff8957; }
.sidebar-bottom { background: #20262d; }
.mini-label { color: #8b96a1; }
.sidebar-bottom p { color: #e8ebef; }
.sidebar-bottom > span:last-child { color: #9ba5af; }
.faq-section, .reviews-section { border-color: #303740; }
.faq-list, .faq-list details { border-color: #303740; }
.faq-list summary { color: #e8ebef; }
.faq-index, .faq-plus { color: #ff8957; }
.faq-list details > p { color: #a6afb9; }
.review { background: #171b20; border-color: #303740; }
.review blockquote { color: #c0c7ce; }
.review figcaption { color: #e1e5e9; }
.avatar { background: #35231d; color: #ff9a70; }
.footer { background: #090b0e; }
.footer-main p { color: #a0a8b1; }
.footer-links { color: #c0c6cd; }
.footer-bottom { border-color: #292e35; color: #858e98; }
.welcome-dialog { background: #171b20; color: #f2f4f7; border-color: #303740; }
.welcome-dialog::backdrop { background: rgba(0, 0, 0, .78); }
.dialog-top img { background: rgba(255, 255, 255, .96); }
.dialog-close { background: #252b32; color: #f0f2f4; }
.dialog-title-row > span { color: #ff9a70; }
.dialog-bottom > p { color: #a6afb9; }
@media (prefers-color-scheme: light) {
  /* Keep the chosen dark theme regardless of the visitor's OS preference. */
  :root { color-scheme: dark; }
}
