/* Both the landing page and the embedded onboarding scene use these rails. */
:root {
  --landing-content-width: min(94%, 1248px);
}

.dc-section, .inbox-section, .bk-section, .feature-review,
.campaign-showcase, #faq {
  padding-inline: 0;
}

.dh-bar, .ds-hero .ds-gallery, .dc-wrap, .ib-workspace, .handoff-layout,
.bk-example, .od-shell, main.reel, .fr-wrap, .campaign-wrap,
#dana-pricing .r, #faq > div, .df-wrap {
  box-sizing: border-box;
  width: var(--landing-content-width);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* Keep the rotated edges of the cards inside the hero's content area. */
.ds-hero .ds-gallery {
  padding-inline: 12px;
}

.od-feed { width: 100% }
.od-intro { justify-self: start }

@media (min-width: 1024px) {
  .dh-nav .dh-signup {font-size:18px;min-height:48px;padding:9px 24px}
  .feature-review, #faq {padding-block:clamp(48px,4vw,68px)}
  .fr-directory {display:grid;grid-template-columns:auto 1fr;align-items:center;gap:26px}
  .feature-review h2 {margin:0}
  .fr-directory .fr-group-picker {justify-self:end;margin:0}
  .fr-directory .fr-group-picker button {font-size:18px}
  .fr-explorer {grid-column:1/-1;display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);border:1px solid #e8dce2;border-radius:24px;overflow:hidden}
  .fr-feature-menu {display:flex;flex-direction:column;gap:4px;padding:16px;background:#faf7f8;border-inline-end:1px solid #e8dce2}
  .fr-feature-menu button {display:flex;align-items:center;gap:14px;text-align:start;padding:10px 14px;border:1px solid transparent;border-radius:12px;font:inherit;font-size:20px;font-weight:650;line-height:1.45;cursor:pointer}
  .fr-feature-menu button:hover {background:#fff}
  .fr-feature-menu button[aria-pressed=true] {color:#911747;background:white;border-color:#eabacf;box-shadow:inset -3px 0 #c50b60}
  [dir=ltr] .fr-feature-menu button[aria-pressed=true] {box-shadow:inset 3px 0 #c50b60}
  #fr-feature-detail {padding:clamp(20px,2.25vw,34px)}
  #fr-feature-detail header {display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #eadfe4}
  #fr-feature-detail h3 {font-size:26px;font-weight:700}
  #fr-feature-detail ul {list-style:disc;padding-inline-start:22px;margin:15px 0 0;line-height:1.65}
  #fr-feature-detail li {font-size:19px}
  #fr-feature-detail li::marker {color:#b81b60}
  #fr-feature-detail li+li {margin-top:10px}

  #faq > div {display:block}
  #faq > div > :first-child {display:grid;grid-template-columns:50px 1fr;align-items:center;gap:4px 14px;text-align:start;margin:0 0 22px}
  #faq > div > :first-child > div {grid-row:1/3;width:50px;height:50px;margin:0;background:#fbe6ef;color:#a21c53}
  #faq > div > :first-child svg {color:inherit}
  #faq h2 {font-size:clamp(38px,3.4vw,52px);margin:0}
  #faq > div > :first-child p {font-size:19px}
  #faq > div > :nth-child(2) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;padding:0;background:transparent;box-shadow:none}
  #faq .faq-answer-card, #faq > div > :nth-child(2) > div {border-radius:16px;border:1px solid #e6dee3;background:white;padding:19px 22px}
  #faq .faq-answer-card {align-self:stretch}
  #faq .faq-answer-card h3,#faq button[aria-expanded] > span {font-size:21px;font-weight:700}
  #faq .faq-answer-card p {margin:7px 0 0;font-size:18px;line-height:1.65;color:#5a505a}
  #faq button[aria-expanded] {padding:0;min-height:40px}
  #faq button+div p {padding-block:8px 0}
  #faq > div > :nth-child(2) > button {grid-column:1/-1;justify-self:center;width:auto;padding:8px 18px;min-height:44px;color:#a41554}
  #faq > div > :last-child {margin-top:12px}

  #dana-conversation .dc-wrap {grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);column-gap:clamp(32px,4vw,60px)}
  #dana-conversation legend {font-size:18px;margin-bottom:8px}
  #dana-conversation .dc-dialects button {font-size:19px;gap:8px}
  html:not([data-style]) #dana-conversation .dc-sector-row button {flex-direction:row;gap:9px;min-height:68px;font-size:clamp(17px,1.4vw,21px);padding:7px 9px}
  #dana-conversation .dc-sector-row .dc-activity-icon {flex:none}

  #owner-view .ib-panes {grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
  #owner-view .ib-dialog {max-width:600px;margin-inline:auto;gap:10px}
  #owner-view .ib-thread header {max-width:600px;margin-inline:auto}
  #owner-view .ib-title h3,#owner-view .ib-thread h4 {font-size:22px}
  #owner-view .ib-list .ib-sender strong {font-size:18px}
  #owner-view .ib-list li p {font-size:17px}
  #owner-view .ib-sender small,#owner-view .ib-top small,#owner-view .ib-thread small,#owner-view .ib-bubble strong {font-size:15px}
  #owner-view .ib-bubble p {font-size:20px}
  #owner-view .ib-channel-icon {width:40px;height:40px}
  #owner-view .ib-channel-icon :is(svg,img) {width:24px;height:24px}
  #owner-view .ib-dana figcaption,#owner-view .ib-dana figcaption b {font-size:16px}
  #owner-view .ib-dana figure img {width:106px;height:86px}
}
