/* Smart Office local preview — the same editorial language as Home.
   Isolated from the shared baseline and from the office application. */
.smartoffice-editorial { --wrap: 1360px; --space-6: clamp(4.5rem, 7vw, 7rem); }
body.smartoffice-editorial main > section { padding-block: clamp(4rem, 6vw, 6rem); }
body.smartoffice-editorial main > .so-hero { padding-block: clamp(3.5rem, 6vw, 6rem); }
.smartoffice-editorial .h2 { font-size: clamp(2.1rem, 3.5vw, 3.5rem); line-height: 1.35; }
.smartoffice-editorial .so-hero { position: relative; background: #f6f4f0; color: var(--ink); }
.smartoffice-editorial .so-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, #25252506 1px, transparent 1px), linear-gradient(#25252506 1px, transparent 1px);
  background-size: 100px 100px; mask-image: linear-gradient(90deg, transparent, #000);
}
.smartoffice-editorial .so-hero-grid { position: relative; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.smartoffice-editorial .so-eyebrow { font-size: .72rem; letter-spacing: .15em; margin-bottom: 1.8rem; }
.smartoffice-editorial .so-eyebrow::before { width: 26px; background: var(--accent); }
.smartoffice-editorial .so-hero h1 { font-size: clamp(2.4rem, 4.1vw, 4.4rem); line-height: 1.3; letter-spacing: -.025em; }
.smartoffice-editorial .so-hero h1 em { background: none; padding: 0 0 .06em; margin: .08em 0; border-bottom: 2px solid var(--accent); line-height: 1.2; }
.smartoffice-editorial .so-title-last { font-size: .72em; letter-spacing: -.01em; }
.smartoffice-editorial .so-lead { margin-top: 1.8rem; padding: 0; border: 0; font-size: 1.1rem; color: var(--ink-soft); max-width: 28em; }
.smartoffice-editorial .so-lead strong { display: block; margin-top: .6rem; color: var(--ink); }
.smartoffice-editorial .so-actions { margin-top: 1.8rem; }
.smartoffice-editorial .so-actions .btn { min-height: 52px; padding-inline: 1.5rem; }
.smartoffice-editorial .so-hero .so-btn-light { background: var(--accent); color: #fff; }
.smartoffice-editorial .so-hero .so-btn-light:hover { background: var(--ink); }
.smartoffice-editorial .so-btn-line { border-color: #bbb7b1; color: var(--ink); }
.smartoffice-editorial .so-btn-line:hover { border-color: var(--ink); background: #fff; }
.smartoffice-editorial .so-note { color: var(--ink-soft); }
.smartoffice-editorial .so-trust { margin-top: 1.5rem; border-color: var(--accent); color: var(--ink-soft); font-size: .8rem; }
.smartoffice-editorial .so-hero :focus-visible { outline-color: var(--accent); }
.smartoffice-editorial .so-product-stage { background: var(--accent); padding: clamp(1.5rem, 3vw, 2.5rem); color: #fff; }
.smartoffice-editorial .so-stage-label { display: flex; justify-content: space-between; gap: 1rem; font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 2rem; }
.smartoffice-editorial .so-chat { width: 100%; max-width: none; transform: none; box-shadow: 0 14px 30px -20px #0005; }
.smartoffice-editorial .so-chat-bar { font-size: .8rem; padding: 1rem; }
.smartoffice-editorial .so-chat-bar small { font-size: .65rem; }
.smartoffice-editorial .so-msg { font-size: .9rem; border-radius: 3px; margin-inline: 1rem; }
.smartoffice-editorial .so-msg-out { margin-left: auto; margin-right: 1rem; max-width: 84%; background: #f1e7e4; color: var(--ink); }
.smartoffice-editorial .so-stage-caption { margin: 1.5rem 0 0; font-size: 1.2rem; line-height: 1.5; }
.smartoffice-editorial .so-studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; font-size: .8rem; border-bottom: 1px solid var(--line); }
.smartoffice-editorial .so-studio-bar > span { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.smartoffice-editorial .so-studio-bar i { width: 4px; height: 4px; background: var(--accent); }
.smartoffice-editorial .so-studio-bar a { text-decoration: none; }
.smartoffice-editorial .so-studio-bar a span { margin-left: 1.5rem; color: var(--accent); }
.smartoffice-editorial .so-demo { background: #222323; color: #fff; }
.smartoffice-editorial .so-demo .kicker { color: #fff; }
.smartoffice-editorial .so-demo .h2 em { color: #ec9d96; }
.smartoffice-editorial .so-demo .so-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; align-items: end; margin-bottom: 3rem; }
.smartoffice-editorial .so-demo .kicker { grid-column: 1 / -1; margin: 0; }
.smartoffice-editorial .so-demo-intro { margin: 0; color: #c4c4c2; font-size: 1.05rem; line-height: 1.8; }
.smartoffice-editorial .so-shots { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.smartoffice-editorial .so-shot:first-child { grid-row: span 2; }
.smartoffice-editorial .so-shot-frame { border: 0; background: #f6f4f0; aspect-ratio: auto; }
.smartoffice-editorial .so-shot-frame img { height: auto; object-fit: contain; }
.smartoffice-editorial .so-shot:first-child .so-shot-frame { padding: 0; }
.smartoffice-editorial .so-shot figcaption { display: flex; gap: .7rem; align-items: center; font-size: .9rem; font-weight: 400; }
.smartoffice-editorial .so-shot figcaption .mono { color: #ec9d96; }
.smartoffice-editorial .so-problem { background: #f6f4f0; }
.smartoffice-editorial .so-pains { gap: 2rem; margin-top: 2.5rem; }
.smartoffice-editorial .so-pains li { background: transparent; box-shadow: none; border-top: 1px solid #cbc7c1; padding: 1.5rem 0 0; }
.smartoffice-editorial .so-pains p { font-size: 1.15rem; }
.smartoffice-editorial .so-no { font-size: 1rem; margin-bottom: 1rem; }
.smartoffice-editorial .so-solution-grid { gap: 5rem; }
.smartoffice-editorial .so-solution-text { font-size: 1.05rem; }
.smartoffice-editorial .so-grow { border-left-width: 1px; }
.smartoffice-editorial .so-grow h3 { font-size: 1.6rem; }
.smartoffice-editorial .so-grow li::before { width: 11px; height: 11px; left: -6px; }
.smartoffice-editorial .so-packages { background: #f6f4f0; }
.smartoffice-editorial .so-packages .so-section-head { margin-bottom: 3rem; }
.smartoffice-editorial .so-plans { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; max-width: none; padding: 0; }
.smartoffice-editorial .so-plan { border: 1px solid #d7d3cd; background: #fff; box-shadow: none; padding: 2rem; }
.smartoffice-editorial .so-plan-pick { color: #fff; background: #222323; border-color: #222323; }
.smartoffice-editorial .so-plan-name { font-size: 2.5rem; line-height: 1.2; }
.smartoffice-editorial .so-plan-pick .so-plan-name { color: #fff; }
.smartoffice-editorial .so-plan-for { font-size: .9rem; margin: .75rem 0 1.7rem; }
.smartoffice-editorial .so-plan-pick .so-plan-for,
.smartoffice-editorial .so-plan-pick .so-monthly,
.smartoffice-editorial .so-plan-pick .so-price-label { color: #c4c4c2; }
.smartoffice-editorial .so-plan-pick .so-monthly b { color: #fff; }
.smartoffice-editorial .so-badge { right: -1px; top: -1px; transform: none; font-size: .7rem; padding: .4rem .75rem; }
.smartoffice-editorial .so-price b { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.smartoffice-editorial .so-price-label { margin-bottom: .5rem; }
.smartoffice-editorial .so-monthly { padding-bottom: 1.5rem; }
.smartoffice-editorial .so-features { margin: 1.5rem 0 2rem; font-size: .95rem; }
.smartoffice-editorial .so-plan-pick .so-features li::before { background: #ec9d96; }
.smartoffice-editorial .so-plan-pick .so-monthly { border-color: #555; }
.smartoffice-editorial .so-terms { font-size: .9rem; margin-top: 2rem; }
.smartoffice-editorial .so-work { background: #fff; }
.smartoffice-editorial .so-work-grid { gap: 2rem; }
.smartoffice-editorial .so-work-grid .case-frame { padding: 0; }
.smartoffice-editorial .so-work-grid .crop { display: none; }
.smartoffice-editorial .so-work-grid .case figcaption { padding-inline: 0; }
.smartoffice-editorial .case figcaption::before { display: none; }
.smartoffice-editorial .case-desc { font-size: .9rem; }
.smartoffice-editorial .faq summary { font-family: var(--font-text); font-weight: 700; }
.smartoffice-editorial .so-final { background: #222323; text-align: left; }
.smartoffice-editorial .so-final-inner { align-items: flex-start; }
.smartoffice-editorial .so-final-mark { width: 64px; margin-bottom: 2rem; }
.smartoffice-editorial .so-final .h2 em { color: #ec9d96; border: 0; }
.smartoffice-editorial .so-final p { color: #d0d0cc; }
@media (max-width: 1080px) {
  .smartoffice-editorial .so-hero-grid { gap: 2rem; }
  .smartoffice-editorial .so-product-stage { padding: 1.5rem; }
  .smartoffice-editorial .so-chat-bar { flex-wrap: wrap; }
  .smartoffice-editorial .so-chat-bar small { flex-basis: 100%; margin: 0 0 0 1rem; }
  .smartoffice-editorial .so-plan { padding: 1.5rem; }
}
@media (max-width: 860px) {
  .smartoffice-editorial .so-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .smartoffice-editorial .so-hero-copy { max-width: 38rem; }
  .smartoffice-editorial .so-product-stage { display: grid; grid-template-columns: 1fr 1.7fr; gap: 1rem 2rem; align-items: start; }
  .smartoffice-editorial .so-stage-label { flex-direction: column; gap: .5rem; margin: 0; }
  .smartoffice-editorial .so-chat { grid-column: 2; grid-row: span 2; }
  .smartoffice-editorial .so-stage-caption { margin-top: 0; }
  .smartoffice-editorial .so-chat-bar small { flex-basis: auto; margin-left: auto; }
  .smartoffice-editorial .so-plans { grid-template-columns: 1fr; max-width: 560px; gap: 1.25rem; }
  .smartoffice-editorial .so-price b { font-size: 3rem; }
  .smartoffice-editorial .so-pains { grid-template-columns: 1fr; gap: 1.5rem; }
  .smartoffice-editorial .so-pains li { display: flex; gap: 1.5rem; }
  .smartoffice-editorial .so-no { margin: .2rem 0 0; }
  .smartoffice-editorial .so-solution-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .smartoffice-editorial .so-work-grid { grid-template-columns: 1fr 1fr; }
  .smartoffice-editorial .so-work-grid .case:last-child { grid-column: 1 / -1; max-width: 70%; }
}
@media (max-width: 600px) {
  body.smartoffice-editorial main > section { padding-block: 3rem; }
  body.smartoffice-editorial main > .so-hero { padding-top: 3rem; }
  .smartoffice-editorial .so-hero h1 { font-size: clamp(2rem, 8.2vw, 2.8rem); }
  .smartoffice-editorial .so-hero h1 br { display: initial; }
  .smartoffice-editorial .so-eyebrow { font-size: .62rem; gap: .6rem; letter-spacing: .1em; }
  .smartoffice-editorial .so-hero .so-lead { font-size: 1rem; }
  .smartoffice-editorial .so-actions { gap: .6rem; }
  .smartoffice-editorial .so-actions .btn { flex: 1 1 auto; padding-inline: .8rem; font-size: .9rem; min-height: 48px; }
  .smartoffice-editorial .so-product-stage { display: block; padding: 1.25rem; }
  .smartoffice-editorial .so-stage-label { flex-direction: row; font-size: .6rem; margin-bottom: 1.25rem; }
  .smartoffice-editorial .so-stage-caption { margin-top: 1.25rem; font-size: 1.05rem; }
  .smartoffice-editorial .so-stage-caption br { display: none; }
  .smartoffice-editorial .so-chat-bar { padding: .8rem; font-size: .75rem; gap: .4rem; }
  .smartoffice-editorial .so-chat-bar small { flex-basis: 100%; margin-left: .95rem; }
  .smartoffice-editorial .so-msg { font-size: .85rem; margin-inline: .8rem; }
  .smartoffice-editorial .so-msg-out { margin-left: auto; margin-right: .8rem; }
  .smartoffice-editorial .so-studio-bar { font-size: .7rem; align-items: start; }
  .smartoffice-editorial .so-studio-bar > span { max-width: 12rem; gap: .4rem; }
  .smartoffice-editorial .so-studio-bar a { max-width: 6rem; }
  .smartoffice-editorial .so-studio-bar a span { margin-left: .5rem; }
  .smartoffice-editorial .h2 { font-size: clamp(1.9rem, 6vw, 2.7rem); }
  .smartoffice-editorial .so-demo .so-section-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .smartoffice-editorial .so-demo-intro { font-size: 1rem; }
  .smartoffice-editorial .so-demo-intro br { display: none; }
  .smartoffice-editorial .so-shots { grid-template-columns: 1fr; gap: 2rem; }
  .smartoffice-editorial .so-shot:first-child { grid-row: auto; }
  .smartoffice-editorial .so-shot:first-child .so-shot-frame { padding: 0; }
  .smartoffice-editorial .so-work-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .smartoffice-editorial .so-work-grid .case:nth-child(n) { display: block; max-width: none; grid-column: auto; }
  .smartoffice-editorial .so-work-grid .case-frame img { aspect-ratio: 1 / 1; object-position: center 40%; }
}
