/* What the three product-area pages share (views/sw_areas.templ): Website, Schedule and Booking as Paper draws them.
   On the kit in swiss.css. Daybook values only; the drawn screens sit on Daybook's raised white. */

/* A section: the head on the ink rule (label, then the 48/50 title), its drawing across the whole column below. */
.swa-sec {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: min(var(--sw-col), 100% - 2 * var(--sw-gutter));
  margin-inline: auto;
}
.swa-sec .swa-sec__head {
  width: 100%;
}
.swa-h2 {
  max-width: 940px;
  font-size: clamp(30px, 1.2rem + 2.1vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
.swa-sec__wide {
  min-width: 0;
}

/* The three notes under a drawing. */
.swa-notes {
  display: flex;
  gap: 24px;
}
.swa-notes li {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 24px;
  font-size: 17px;
  line-height: 24px;
  color: var(--db-fg-2);
}
.swa-notes__t {
  font-size: clamp(22px, 1rem + 0.6vw, 26px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 36px;
  color: var(--db-fg);
}
@media (max-width: 760px) {
  .swa-notes {
    flex-direction: column;
    gap: 20px;
  }
}

/* A drawn tile: white, a faint edge, 14px corners; its drawing above, its words along its foot. */
.swa-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--db-edge);
  border-radius: 14px;
  background: var(--db-raised);
}
.swa-tile__words {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.swa-tile__t {
  font-size: clamp(22px, 1rem + 0.6vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 30px;
}
.swa-tile__d {
  font-size: 16px;
  line-height: 23px;
  color: var(--db-fg-2);
}
@media (max-width: 600px) {
  .swa-tile {
    padding: 20px;
  }
}

/* The five kinds of business, a field each, side by side: the white card they lead with, then the name and line. */
.swa-kinds {
  display: flex;
  min-height: 420px;
}
.swa-kinds li {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  background: var(--db-field);
  color: var(--db-field-ink);
}
.swa-kind {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px;
}
.swa-page .swa-kind,
.sw-page .swa-kind {
  color: var(--db-field-ink);
}
.swa-kind__card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px;
  border-radius: 10px;
  background: var(--db-raised);
  color: var(--db-fg);
}
.swa-kind__k {
  font-family: var(--sw-sans);
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 16px;
  color: var(--db-fg-3);
}
.swa-kind__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 22px;
}
.swa-kind__meta {
  font-size: 14px;
  line-height: 19px;
  color: var(--db-fg-3);
}
.swa-kind__btn {
  margin-top: 9px;
  padding-block: 8px;
  border-radius: 999px;
  background: var(--db-field);
  color: var(--db-field-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
}
.swa-kind__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.swa-kind__name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 25px;
  letter-spacing: -0.025em;
  line-height: 30px;
}
.swa-kind__name span:last-child {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 24px;
}
.swa-kind__text {
  min-height: 63px;
  font-size: 15px;
  line-height: 21px;
}
.swa-kind:hover .swa-kind__name span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
@media (max-width: 1100px) {
  .swa-kinds {
    flex-wrap: wrap;
  }
  .swa-kinds li {
    flex: 1 1 260px;
  }
  .swa-kind {
    min-height: 340px;
  }
}
@media (max-width: 600px) {
  .swa-kinds li {
    flex-basis: 100%;
  }
  .swa-kind {
    min-height: 0;
  }
  .swa-kind__text {
    min-height: 0;
  }
}

/* The pricing row: … is included, the price line, See pricing at the end. */
.swa-inc__body {
  display: flex;
  flex: 1;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  min-width: 0;
}
.swa-inc__words {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.swa-inc__sub {
  font-size: clamp(17px, 1rem + 0.3vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--db-fg-2);
}
.swa-page .swa-inc__more,
.sw-page .swa-inc__more {
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}
@media (max-width: 760px) {
  .swa-inc__body {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }
}
