/* The public pages of dumasnap.com: home, privacy notice, 404 and server error, on top of the
   tokens in app.css. Design: docs/DumaSnap/Public Site.dc.html, phone first. No inline styles
   and no scripts. Icons are Bootstrap Icons (MIT), drawn from the vendored icon font as inline
   SVG in portal/templates/portal/icons, so the page needs no icon font. */

body.ds-public {
  background: var(--ds-surface);
  font-size: 16px;
  line-height: 24px;
}
.ds-public h1, .ds-public h2, .ds-public h3 {
  margin: 0;
  text-wrap: balance;
}
.ds-public p {
  margin: 0;
  text-wrap: pretty;
}
.ds-public a:focus-visible {
  outline: 3px solid var(--ds-sand-500);
  outline-offset: 2px;
}
.ds-p-icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.ds-p-wrap {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.ds-p-wide {
  display: none;
}

/* ---- Buttons ---- */

.ds-p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
}
.ds-p-btn .ds-p-icon {
  font-size: 18px;
}
.ds-p-btn-primary {
  background: var(--ds-navy-700);
  color: #FFFFFF;
}
.ds-p-btn-primary:hover {
  background: var(--ds-navy-900);
  color: #FFFFFF;
}
.ds-p-btn-secondary {
  background: var(--ds-surface);
  border-color: var(--ds-border);
  color: var(--ds-navy-700);
}
.ds-p-btn-secondary:hover {
  border-color: var(--ds-navy-700);
  color: var(--ds-navy-900);
}
.ds-p-btn-light {
  background: #FFFFFF;
  color: var(--ds-navy-700);
}
.ds-p-btn-light:hover {
  background: var(--ds-sand-100);
  color: var(--ds-navy-900);
}
.ds-p-btn-big {
  min-height: 54px;
}
.ds-p-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---- Header and footer ---- */

.ds-p-header {
  background: var(--ds-surface);
  border-bottom: 1px solid var(--ds-line-soft);
}
.ds-p-header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding-left: 16px;
  padding-right: 12px;
}
.ds-p-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ds-navy-900);
  text-decoration: none;
}
.ds-p-brand img {
  width: 30px;
  height: 30px;
}
.ds-p-wordmark {
  display: flex;
  flex-direction: column;
}
.ds-p-wordmark b {
  font-size: 15px;
  letter-spacing: .08em;
  line-height: 18px;
}
.ds-p-wordmark small {
  display: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  line-height: 13px;
  color: var(--ds-sand-700);
}
.ds-p-nav {
  display: none;
}
.ds-p-header-end {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ds-p-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 8px;
  border: 1px dashed var(--ds-border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ds-muted);
  cursor: default;
}
.ds-p-lang-long {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ds-p-btn-head {
  width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
}
.ds-p-head-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ds-p-header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
}
.ds-p-footer {
  border-top: 1px solid var(--ds-line-soft);
  font-size: 14px;
  color: var(--ds-muted);
}
.ds-p-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  padding-bottom: 18px;
}
.ds-p-footer-inner img {
  display: none;
}
.ds-p-footer-inner a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
}
/* Her way into the studio: there for her, quiet for parents. */
.ds-p-footer-inner .ds-p-footer-studio {
  font-size: 13px;
  color: var(--ds-muted);
}

/* ---- Home: the promise ---- */

.ds-p-hero {
  background: var(--ds-bg);
}
.ds-p-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 28px;
}
.ds-p-hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ds-p-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--ds-sand-700);
}
.ds-p-hero h1 {
  font-size: 34px;
  line-height: 40px;
}
.ds-p-lead {
  max-width: 560px;
  font-size: 17px;
  line-height: 26px;
  color: var(--ds-strong);
}

/* The sample card: only the front on a phone, the back behind it on a wide screen. */
.ds-p-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding-top: 6px;
}
.ds-p-card {
  aspect-ratio: 540 / 856;
  border-radius: 6% / 3.8%;
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(28, 44, 62, .2);
}
.ds-p-card svg {
  display: block;
  width: 100%;
  height: 100%;
}
.ds-p-card-front {
  width: 150px;
  transform: rotate(-3deg);
}
.ds-p-card-back {
  display: none;
}
.ds-p-card text {
  font-family: var(--bs-font-sans-serif);
  font-weight: 700;
}
.ds-p-card-school {
  font-size: 34px;
  letter-spacing: 1.4px;
}
.ds-p-card-name {
  font-size: 40px;
  letter-spacing: .8px;
}
.ds-p-card .ds-p-card-grade {
  font-size: 25px;
  font-weight: 400;
}
.ds-p-cards figcaption {
  font-size: 12px;
  line-height: 18px;
  color: var(--ds-muted);
  text-align: center;
}

/* ---- Home: sections ---- */

.ds-p-section {
  padding-top: 36px;
  padding-bottom: 36px;
}
.ds-p-section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 700px;
}
.ds-p-section h2, .ds-p-contact h2 {
  font-size: 26px;
  line-height: 32px;
}
.ds-p-section-head p {
  font-size: 16px;
  line-height: 24px;
  color: var(--ds-strong);
}
.ds-p-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ds-p-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ds-p-step-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ds-p-step-n {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ds-navy-700);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
}
.ds-p-step-line {
  display: none;
}
.ds-p-steps h3 {
  padding-top: 8px;
  font-size: 18px;
  line-height: 24px;
}
.ds-p-steps p {
  margin-top: 4px;
  color: var(--ds-strong);
}
.ds-p-pay {
  background: var(--ds-sand-100);
}
.ds-p-split {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ds-p-pay-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ds-p-pay-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #FFFFFF;
  line-height: 22px;
}
.ds-p-pay-list .ds-p-icon {
  font-size: 22px;
  color: var(--ds-navy-700);
}
.ds-p-pay-list b {
  display: block;
  font-size: 17px;
}
.ds-p-pay-list span {
  display: block;
  font-size: 14px;
  color: var(--ds-muted);
}
.ds-p-faq > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--ds-line);
}
.ds-p-faq h3 {
  font-size: 18px;
  line-height: 24px;
}
.ds-p-faq p {
  color: var(--ds-strong);
}

/* ---- Home: contact ---- */

.ds-p-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 -8px 24px;
  padding: 24px 20px;
  border-radius: 16px;
  background: var(--ds-navy-700);
  color: #FFFFFF;
}
.ds-p-contact h2 {
  font-size: 24px;
  line-height: 30px;
}
.ds-p-contact-list {
  display: flex;
  flex-direction: column;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.ds-p-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #FFFFFF;
  text-decoration: none;
}
.ds-p-contact-list a:hover {
  text-decoration: underline;
}
.ds-p-contact .ds-p-email {
  word-break: break-all;
}

/* ---- Privacy notice ---- */

.ds-p-doc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #2B3643;
}
.ds-p-doc h1 {
  font-size: 32px;
  line-height: 1.15;
  color: var(--ds-navy-900);
}
.ds-p-doc h2 {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.25;
  color: var(--ds-navy-900);
}
.ds-p-doc b, .ds-p-doc strong {
  color: var(--ds-navy-900);
}
.ds-p-doc ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 22px;
}
.ds-p-doc ul ul {
  margin-top: 6px;
  padding-left: 20px;
}
.ds-p-doc a {
  overflow-wrap: anywhere;
}
.ds-p-doc .ds-p-updated {
  font-size: 15px;
  color: var(--ds-muted);
}

/* ---- 404 and server error ---- */

body.ds-p-error-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ds-bg);
}
.ds-p-error {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 48px;
}
.ds-p-error-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}
.ds-p-error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ds-navy-50);
  color: var(--ds-navy-700);
  font-size: 28px;
}
.ds-p-error-icon.is-problem {
  background: var(--ds-problem-bg);
  color: var(--ds-problem);
}
.ds-p-error h1 {
  font-size: 30px;
  line-height: 1.2;
}
.ds-p-error p {
  font-size: 17px;
  line-height: 26px;
  color: var(--ds-strong);
}
.ds-p-error .ds-p-actions {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

/* ---- Wider phones and tablets ---- */

@media (min-width: 600px) {
  .ds-p-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ds-p-pay-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ds-p-contact {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ---- Laptop ---- */

@media (min-width: 992px) {
  .ds-p-wrap {
    padding-left: 64px;
    padding-right: 64px;
  }
  .ds-p-wide {
    display: inline;
  }
  .ds-p-header-inner {
    gap: 28px;
    min-height: 76px;
  }
  .ds-p-brand img {
    width: 36px;
    height: 36px;
  }
  .ds-p-wordmark b {
    font-size: 18px;
    line-height: 21px;
  }
  .ds-p-wordmark small {
    display: block;
  }
  .ds-p-nav {
    display: flex;
    gap: 26px;
    margin-left: 24px;
  }
  .ds-p-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ds-navy-900);
    text-decoration: none;
  }
  .ds-p-nav a:hover {
    text-decoration: underline;
  }
  .ds-p-header-end {
    gap: 14px;
  }
  .ds-p-lang {
    gap: 6px;
    padding: 0 10px;
    font-size: 14px;
  }
  .ds-p-lang-long {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .ds-p-lang-short {
    display: none;
  }
  .ds-p-btn-head {
    width: auto;
    padding: 0 18px;
    font-size: 15px;
  }
  .ds-p-head-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
  .ds-p-btn-big {
    min-height: 56px;
    padding: 0 24px;
    font-size: 17px;
  }
  .ds-p-footer-inner {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .ds-p-footer-inner img {
    display: block;
  }
  .ds-p-footer-inner a {
    align-self: auto;
    margin-left: auto;
  }
  .ds-p-footer-inner a + a {
    margin-left: 0;
  }

  .ds-p-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 80px;
  }
  .ds-p-hero-text {
    gap: 22px;
  }
  .ds-p-eyebrow {
    font-size: 15px;
    line-height: 20px;
  }
  .ds-p-hero h1 {
    font-size: 54px;
    line-height: 60px;
  }
  .ds-p-lead {
    font-size: 20px;
    line-height: 30px;
  }
  .ds-p-hero .ds-p-actions {
    padding-top: 6px;
  }
  .ds-p-cards {
    display: block;
    position: relative;
    height: 440px;
    padding: 0;
  }
  .ds-p-card-back {
    display: block;
    position: absolute;
    left: 52%;
    top: 18px;
    width: 210px;
    transform: rotate(6deg);
    box-shadow: 0 10px 30px rgba(28, 44, 62, .18);
  }
  .ds-p-card-front {
    position: absolute;
    left: 18%;
    top: 40px;
    width: 230px;
    transform: rotate(-4deg);
    box-shadow: 0 14px 36px rgba(28, 44, 62, .22);
  }
  .ds-p-cards figcaption {
    position: absolute;
    left: 18%;
    bottom: 0;
    font-size: 13px;
    text-align: left;
  }

  .ds-p-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .ds-p-section-head {
    gap: 10px;
  }
  .ds-p-section h2 {
    font-size: 36px;
    line-height: 42px;
  }
  .ds-p-section-head p {
    font-size: 18px;
    line-height: 27px;
  }
  .ds-p-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 36px;
  }
  .ds-p-steps li {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ds-p-step-n {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
  .ds-p-step-line {
    display: block;
    flex: 1;
    height: 2px;
    background: var(--ds-line);
  }
  .ds-p-steps h3 {
    padding-top: 0;
    font-size: 21px;
    line-height: 27px;
  }
  .ds-p-steps p {
    margin-top: 12px;
    font-size: 17px;
    line-height: 26px;
  }
  .ds-p-pay {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .ds-p-split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
  }
  .ds-p-pay-list {
    gap: 14px;
  }
  .ds-p-pay-list li {
    padding: 20px;
    border-radius: 14px;
    line-height: 24px;
  }
  .ds-p-pay-list .ds-p-icon {
    font-size: 26px;
  }
  .ds-p-pay-list b {
    font-size: 18px;
  }
  .ds-p-pay-list span {
    font-size: 15px;
  }
  .ds-p-faq > div {
    gap: 8px;
    padding: 20px 0;
  }
  .ds-p-faq h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .ds-p-faq p {
    font-size: 17px;
    line-height: 26px;
  }
  .ds-p-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
    margin-bottom: 72px;
    padding: 48px;
    border-radius: 20px;
  }
  .ds-p-contact h2 {
    font-size: 34px;
    line-height: 40px;
  }
  .ds-p-contact-list {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 28px;
    margin-top: 10px;
    font-size: 17px;
  }

  .ds-p-doc {
    padding: 56px 24px 72px;
    font-size: 17px;
  }
  .ds-p-doc h1 {
    font-size: 44px;
  }
  .ds-p-doc h2 {
    font-size: 24px;
  }

  .ds-p-error h1 {
    font-size: 40px;
  }
}
