/* Original content layout, retained at the user's request. */
main.legacy-content {
  --ground: #ffffff;
  --surface: #f9f9f9;
  --chrome: #f7f6f2;
  --border: #eaeaea;
  --rule: #f3f3f3;
  --text: #1f201d;
  --accent: #1b6e66;
  --accent-deep: #155e57;
  --accent-soft: #e8f5f3;
  --positive: #2e7d32;
  --warning: #92400e;
  --radius-control: 10px;
  --radius-card: 16px;
  font-size: 16px;
  .wrap {
    width: auto;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
  }
  @media (min-width: 640px) {
    .wrap {
      padding: 0 24px;
    }
  }
  ul {
    list-style: disc;
  }
  .prose ul {
    list-style: disc;
  }
  h1,
  h2,
  h3 {
    text-wrap: initial;
  }
  /* Buttons */

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 1.15rem;
    border-radius: var(--radius-control);
    border: 1px solid transparent;
    font: inherit;
    font-weight: 500;
    text-decoration: none;
    transition:
      background-color 0.15s ease,
      border-color 0.15s ease;
  }

  .button-primary {
    background: var(--accent);
    color: #ffffff;
  }

  .button-primary:hover {
    background: var(--accent-deep);
    color: #ffffff;
  }

  .button-secondary {
    background: var(--ground);
    border-color: #d9d9d6;
    color: var(--text);
  }

  .button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Typography */

  .eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
  }

  h1,
  .display {
    margin: 0 0 16px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(2.3rem, 5.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  h2 {
    margin: 0 0 12px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(1.7rem, 3.4vw, 2.2rem);
    line-height: 1.15;
  }

  h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
  }

  .lead {
    margin: 0 0 28px;
    max-width: 38rem;
    font-size: 18px;
    color: var(--muted);
  }

  p {
    margin: 0 0 12px;
  }

  .muted {
    color: var(--muted);
  }

  /* Sections */

  .hero {
    padding: 56px 0 64px;
  }

  .hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
  }

  @media (min-width: 900px) {
    .hero {
      padding: 88px 0 96px;
    }

    .hero-grid {
      grid-template-columns: 1.05fr 1fr;
    }
  }

  .page-intro {
    padding: 56px 0 32px;
  }

  .page-intro .lead {
    margin-bottom: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section-sheet {
    background: var(--ground);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .section-head {
    max-width: 40rem;
    margin-bottom: 32px;
  }

  .section-head p {
    color: var(--muted);
  }

  /* Run-of-show illustration on the home page */

  .ros {
    background: var(--ground);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow:
      0 1px 2px rgba(31, 32, 29, 0.04),
      0 12px 32px -12px rgba(31, 32, 29, 0.12);
    overflow: hidden;
    font-size: 14px;
  }

  .ros-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }

  .ros-head strong {
    font-weight: 600;
  }

  .ros-head span {
    color: var(--muted);
    font-size: 13px;
  }

  .ros ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .ros li {
    display: grid;
    grid-template-columns: 3.4rem 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 11px 20px;
    border-bottom: 1px solid var(--rule);
  }

  .ros li:last-child {
    border-bottom: 0;
  }

  .ros time {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }

  .ros .who {
    display: block;
    color: var(--muted);
    font-size: 13px;
  }

  .status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
  }

  .status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
  }

  .status-ok {
    background: #edf6ee;
    color: var(--positive);
  }

  .status-wait {
    background: #fbf3e8;
    color: var(--warning);
  }

  /* Feature lists */

  .pillars {
    display: grid;
    gap: 16px;
  }

  @media (min-width: 760px) {
    .pillars {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .card {
    background: var(--ground);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
  }

  .card p:last-child {
    margin-bottom: 0;
  }

  .card .muted {
    font-size: 15px;
  }

  .icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: var(--radius-control);
    background: var(--accent-soft);
    color: var(--accent);
  }

  .icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-group {
    display: grid;
    gap: 24px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
  }

  .feature-group:first-of-type {
    border-top: 0;
    padding-top: 8px;
  }

  @media (min-width: 860px) {
    .feature-group {
      grid-template-columns: 17rem 1fr;
      gap: 48px;
    }
  }

  .feature-group > header p {
    color: var(--muted);
    font-size: 15px;
  }

  .feature-list {
    display: grid;
    gap: 24px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  @media (min-width: 640px) {
    .feature-list {
      grid-template-columns: 1fr 1fr;
    }
  }

  .feature-list p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
  }

  .badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    vertical-align: 2px;
  }

  .checks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .checks li {
    position: relative;
    padding-left: 28px;
  }

  .checks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.45em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
  }

  .two-col {
    display: grid;
    gap: 32px;
  }

  @media (min-width: 860px) {
    .two-col {
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: start;
    }
  }

  /* Screenshots */

  .shots {
    display: grid;
    gap: 48px;
  }

  .shot {
    margin: 0;
    display: grid;
    gap: 20px;
  }

  @media (min-width: 900px) {
    .shot {
      grid-template-columns: 1.6fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .shot:nth-child(even) {
      grid-template-columns: 1fr 1.6fr;
    }

    .shot:nth-child(even) .shot-frame {
      order: 2;
    }
  }

  .shot-frame {
    position: relative;
    background: var(--ground);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 8px;
    box-shadow: 0 12px 32px -16px rgba(31, 32, 29, 0.18);
  }

  .shot-frame img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--rule);
  }

  .shot-frame.is-phone {
    max-width: 320px;
    justify-self: center;
  }

  .shot-placeholder {
    display: none;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    background:
      repeating-linear-gradient(
        0deg,
        transparent 0 27px,
        var(--rule) 27px 28px
      ),
      var(--surface);
    place-items: center;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    padding: 16px;
  }

  .is-phone .shot-placeholder {
    aspect-ratio: 9 / 16;
  }

  .shot-frame.is-missing img {
    display: none;
  }

  .shot-frame.is-missing .shot-placeholder {
    display: grid;
  }

  .shot figcaption h2 {
    font-size: 1.7rem;
  }

  .shot figcaption p {
    color: var(--muted);
  }

  /* Pricing */

  .plans {
    display: grid;
    gap: 16px;
  }

  @media (min-width: 860px) {
    .plans {
      grid-template-columns: 1fr 1fr;
    }
  }

  .plan {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 32px;
  }

  .plan h2,
  .plan p {
    margin: 0;
  }

  .plan-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
  }

  .price {
    font-family: var(--sans);
    font-size: 2.6rem;
    line-height: 1.1;
  }

  .price span {
    display: block;
    margin-top: 4px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--muted);
  }

  .plan .actions {
    margin-top: 8px;
  }

  /* Long text (terms and privacy) */

  .prose {
    max-width: 46rem;
  }

  .prose h2 {
    margin-top: 40px;
  }

  .prose h2:first-child {
    margin-top: 0;
  }

  .prose h3 {
    margin: 28px 0 6px;
    font-size: 1rem;
  }

  .prose ul {
    padding-left: 1.2em;
  }

  .prose li {
    margin-bottom: 10px;
  }

  /* Call to action band */

  .cta {
    padding: 64px 0;
  }

  .cta-box {
    display: grid;
    gap: 24px;
    padding: 32px;
    border-radius: var(--radius-card);
    background: var(--accent-deep);
    color: #ffffff;
  }

  .cta-box h2 {
    margin-bottom: 8px;
  }

  .cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
  }

  .cta-box .button-primary {
    background: #ffffff;
    color: var(--accent-deep);
  }

  .cta-box .button-primary:hover {
    background: var(--accent-soft);
  }

  .cta-box .button-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
  }

  .cta-box .button-secondary:hover {
    border-color: #ffffff;
    color: #ffffff;
  }

  @media (min-width: 860px) {
    .cta-box {
      grid-template-columns: 1fr auto;
      align-items: center;
      padding: 40px 48px;
    }
  }
}
/* Clear layout properties introduced by the redesign, then use the original breakpoints. */
main.legacy-content {
  .hero-grid,
  .feature-group,
  .feature-list,
  .two-col,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    font-size: inherit;
    max-width: none;
  }
  .hero h1 {
    max-width: none;
  }
  .actions {
    margin-top: 0;
    align-items: stretch;
  }
  .cta {
    background: transparent;
  }
  .checks li::before {
    border: 0;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
  }
  .button:hover {
    transform: none;
  }
  @media (min-width: 640px) {
    .feature-list {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (min-width: 860px) {
    .feature-group {
      grid-template-columns: 17rem 1fr;
    }
    .two-col {
      grid-template-columns: 1fr 1fr;
    }
    .cta-box {
      grid-template-columns: 1fr auto;
    }
  }
  @media (min-width: 900px) {
    .hero-grid {
      grid-template-columns: 1.05fr 1fr;
    }
  }
}
