/* Shared, deliberately quiet editorial layer. Only .guide-* selectors affect homepages. */
.guide-page, .guide-promo {
  --guide-ink: #10204a;
  --guide-muted: #505c73;
  --guide-paper: #f3f5fb;
  --guide-panel: #e4eaf5;
  --guide-action: #0d2d60;
  --guide-line: #c5cede;
  --guide-width: 1180px;
  --guide-radius: 12px;
}
.guide-page[data-product="dearmailo"], .dearmailo-page .guide-promo { --guide-action: #10194c; }
.guide-promo-studio { --guide-ink: #0b1628; --guide-muted: #5c6875; --guide-paper: #eef2f5; --guide-panel: #e3e9ee; --guide-action: #b53b18; }
.guide-page[data-product="longlastingclock"], .clock-page .guide-promo {
  --guide-ink: #f7f8fb; --guide-muted: #b9c1cc; --guide-paper: #0b0e12;
  --guide-panel: #191d23; --guide-action: #ff8b49; --guide-line: #414955;
}
.guide-page { background: var(--guide-paper); color: var(--guide-ink); overflow-x: clip; }
.guide-page::before, .guide-page::after { display: none; }
.guide-page :is(h1,h2,h3,p,ul,ol,figure) { margin: 0; }
.guide-page a { text-underline-offset: .2em; }
.guide-page :focus-visible, .guide-promo :focus-visible { outline: 3px solid #b53b18; outline-offset: 5px; }
.guide-page[data-product="longlastingclock"] :focus-visible { outline-color: #ff8b49; }
.guide-header {
  min-height: 78px; padding: 14px max(24px, calc((100% - var(--guide-width)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid var(--guide-line); background: var(--guide-paper); color: var(--guide-ink);
}
.guide-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; min-height: 44px; }
.guide-brand img { width: 36px; height: 36px; border-radius: 9px; }
.guide-header nav { display: flex; gap: 22px; align-items: center; }
.guide-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; white-space: nowrap; }
.guide-header nav a:hover, .guide-header [aria-current] { text-decoration: underline; }
.guide-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; min-height: 48px; background: var(--guide-action); color: #fff; font: 700 17px/1.3 "Cabinet Grotesk", sans-serif; border: 1px solid transparent; text-decoration: none !important; }
.guide-page[data-product="longlastingclock"] .guide-button, .clock-page .guide-promo .guide-button { color: #13100e; }
.guide-button:hover { text-decoration: underline !important; text-underline-offset: .25em; }
.guide-shell { width: min(var(--guide-width), calc(100% - 48px)); margin-inline: auto; }
.guide-breadcrumb { display: flex; gap: 10px; align-items: center; padding: 22px 0 0; color: var(--guide-muted); font-size: 15px; }
.guide-breadcrumb a { padding-block: 10px; text-decoration: underline; }
.guide-breadcrumb .ph { font-size: 16px; }
.guide-hero { padding: 42px 0 48px; max-width: 1040px; }
.guide-kicker { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--guide-muted); margin-bottom: 18px !important; }
.guide-page .guide-hero h1 { max-width: 990px; font: 400 clamp(40px, 4.8vw, 68px)/1.06 Georgia, serif; letter-spacing: -.045em; text-wrap: balance; }
.guide-hero .guide-lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.55; max-width: 790px; margin-top: 26px; color: var(--guide-muted); }
.guide-page:has(.guide-feature) .guide-hero { padding: 24px 0 32px; }
.guide-page:has(.guide-feature) .guide-hero h1 { font-size: clamp(40px, 4.2vw, 58px); }
.guide-page:has(.guide-feature) .guide-lead { font-size: 20px; margin-top: 20px; }
.guide-meta { margin-top: 24px !important; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--guide-muted); font-size: 15px; line-height: 1.5; }
.guide-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 64px; }
.guide-toc { position: sticky; top: 24px; border-top: 2px solid var(--guide-line); padding-top: 18px; }
.guide-toc h2 { font: 700 16px/1.4 "Cabinet Grotesk", sans-serif; letter-spacing: 0; margin-bottom: 12px; }
.guide-toc ol { padding: 0; list-style: none; }
.guide-toc a { display: block; padding: 10px 0; font-size: 16px; line-height: 1.4; color: var(--guide-muted); text-decoration: none; }
.guide-toc a:hover { text-decoration: underline; color: var(--guide-ink); }
.guide-article { min-width: 0; max-width: 898px; font-size: 19px; line-height: 1.72; }
.guide-article section { scroll-margin-top: 24px; margin-bottom: 52px; }
.guide-article h2 { font: 400 clamp(29px, 3vw, 39px)/1.17 Georgia, serif; letter-spacing: -.035em; max-width: 760px; margin-bottom: 20px; text-wrap: balance; }
.guide-article h3 { font: 700 20px/1.35 "Cabinet Grotesk", sans-serif; letter-spacing: -.015em; margin-bottom: 10px; }
.guide-article :is(p,ul,ol) { max-width: 72ch; margin-bottom: 20px; }
.guide-article :is(ul,ol) { padding-left: 25px; }
.guide-article li + li { margin-top: 8px; }
.guide-article a:not(.guide-button):not(.guide-shot-link) { text-decoration: underline; font-weight: 600; }
.guide-article code { font-size: .91em; }
.guide-note { border-left: 3px solid var(--guide-action); background: var(--guide-panel); padding: 24px 28px; margin-block: 28px; }
.guide-note p:last-child { margin: 0; }
.guide-shot { margin: 30px 0 !important; }
.guide-shot-link { display: block; padding: 12px; background: var(--guide-panel); border: 1px solid var(--guide-line); border-radius: var(--guide-radius); overflow: hidden; cursor: zoom-in; }
.guide-shot img { display: block; margin: auto; width: 100%; height: auto; }
.guide-shot-phone { max-width: 420px; margin-inline: auto !important; }
.guide-shot-tablet { max-width: 600px; margin-inline: auto !important; }
.guide-shot-phone img, .guide-shot-tablet img { border-radius: 6px; }
.guide-shot figcaption { color: var(--guide-muted); font-size: 16px; line-height: 1.55; margin-top: 12px; }
.guide-enlarge { display: block; font-weight: 600; color: var(--guide-ink); margin-top: 6px; }
.guide-table-wrap { overflow-x: auto; margin-block: 26px; }
.guide-table-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; }
.guide-table-wrap caption { text-align: left; margin-bottom: 12px; color: var(--guide-muted); }
.guide-table-wrap :is(th,td) { padding: 12px; text-align: left; border-bottom: 1px solid var(--guide-line); white-space: nowrap; }
.guide-table-wrap th { background: var(--guide-panel); }
.guide-questions details { border-top: 1px solid var(--guide-line); padding: 4px 0; }
.guide-questions details:last-child { border-bottom: 1px solid var(--guide-line); }
.guide-questions summary { padding: 18px 24px 18px 0; cursor: pointer; font-size: 19px; font-weight: 700; line-height: 1.45; }
.guide-questions details p { padding: 0 16px 6px 0; }
.guide-next { border-top: 2px solid var(--guide-line); padding-top: 32px; }
.guide-related { margin-top: 35px; }
.guide-related ul { list-style: none; padding: 0; }
.guide-related a { display: inline-block; min-height: 44px; padding: 8px 0; }
.guide-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 36px 0 64px; border-top: 1px solid var(--guide-line); }
.guide-feature h2 { font: 400 clamp(31px, 3vw, 43px)/1.1 Georgia, serif; letter-spacing: -.04em; margin-bottom: 20px; text-wrap: balance; }
.guide-feature p { font-size: 20px; line-height: 1.6; color: var(--guide-muted); margin-bottom: 24px; }
.guide-feature-media { display: flex; justify-content: center; background: var(--guide-panel); padding: 28px; border-radius: var(--guide-radius); }
.guide-feature-media img { display: block; width: 100%; height: auto; }
.guide-feature-media.is-phone img { width: auto; max-height: 400px; }
.guide-feature-media.is-tablet img { width: auto; max-height: 400px; }
.guide-help { padding: 30px 0 52px; border-top: 1px solid var(--guide-line); }
.guide-help h2 { font: 400 30px/1.2 Georgia, serif; margin-bottom: 12px; }
.guide-help p { font-size: 19px; line-height: 1.6; color: var(--guide-muted); }
.guide-help a { color: var(--guide-ink); font-weight: 700; text-decoration: underline; }
.guide-promo { width: 100%; margin: 0; padding: 55px max(24px, calc((100% - 1180px) / 2)); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px 60px; align-items: center; background: var(--guide-paper); color: var(--guide-ink); border-top: 1px solid var(--guide-line); }
.guide-promo h2 { font: 400 clamp(30px,3vw,42px)/1.13 Georgia,serif; letter-spacing: -.035em; max-width: 780px; margin: 0 0 16px; }
.guide-promo p { font-size: 19px; line-height: 1.6; max-width: 740px; margin: 0; color: var(--guide-muted); }
.guide-promo .guide-button { white-space: nowrap; }
.guide-studio-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.guide-studio-list li + li { border-top: 1px solid var(--guide-line); }
.guide-studio-list a { display: block; padding: 16px 0; font-size: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.guide-lightbox { width: calc(100% - 32px); max-width: 1500px; height: calc(100dvh - 32px); max-height: none; padding: 0; border: 1px solid #667080; border-radius: 12px; background: #10151d; color: #fff; }
.guide-lightbox::backdrop { background: rgb(4 9 18 / .85); }
.guide-lightbox[open] { display: flex; flex-direction: column; }
.guide-lightbox-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid #495362; }
.guide-lightbox-bar h2 { margin-right: auto; font: 600 17px/1.4 "Cabinet Grotesk",sans-serif; letter-spacing: 0; }
.guide-lightbox-bar :is(button,a) { min-height: 44px; color: #fff; background: transparent; border: 1px solid #7a8493; padding: 10px 14px; font: 600 16px/1.2 "Cabinet Grotesk",sans-serif; cursor: pointer; border-radius: 4px; }
.guide-lightbox-body { overflow: auto; flex: 1; min-height: 0; padding: 18px; display: grid; place-items: center; }
.guide-lightbox-body img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.guide-lightbox-body.is-zoomed { display: block; }
.guide-lightbox-body.is-zoomed img { max-width: none; max-height: none; width: auto; height: auto; }
.guide-page:has(.guide-lightbox[open]) { overflow: hidden; }
@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: 180px minmax(0,1fr); gap: 32px; }
  .guide-header nav { gap: 16px; }
  .guide-promo { grid-template-columns: 1fr; }
  .guide-promo .guide-button { justify-self: start; }
}
@media (max-width: 760px) {
  .guide-header { flex-wrap: wrap; gap: 10px; padding: 12px 20px; }
  .guide-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .guide-header nav a { font-size: 15px; }
  .guide-header .guide-button { padding: 10px 12px; }
  .guide-header .guide-home-link { display: none; }
  .guide-shell { width: calc(100% - 40px); }
  .guide-hero { padding: 30px 0 36px; }
  .guide-layout { display: block; }
  .guide-toc { position: static; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--guide-line); }
  .guide-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .guide-article { font-size: 18px; }
  .guide-article section { margin-bottom: 42px; }
  .guide-note { padding: 20px; }
  .guide-shot-link { padding: 7px; }
  .guide-feature { grid-template-columns: 1fr; gap: 30px; }
  .guide-feature-media { padding: 20px; }
  .guide-feature-media:is(.is-phone,.is-tablet) img { max-height: 340px; }
  .guide-promo { padding: 38px 24px; }
  .guide-lightbox { width: calc(100% - 12px); height: calc(100dvh - 12px); }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.guide-page) { scroll-behavior: auto; }
  .guide-page { scroll-behavior: auto; }
  .guide-page *, .guide-promo * { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
