/* Oats marketing site
   Palette and radii follow the app theme in /workspace/oats/src/theme.ts
   (oat/wheat neutrals with a sage-green accent). */

:root {
  --bg: #f7f2ea;
  --surface: #fffdf9;
  --surface-alt: #efe6d6;
  --border: #e4d8c4;
  --text: #2e2a24;
  --text-muted: #5c554b; /* slightly darker than the app muted for WCAG AA on oat */
  --text-soft: #6f665a;
  --accent: #3f6b4f;
  --accent-hover: #345a42;
  --accent-soft: #e1ebdf;
  --on-accent: #ffffff;
  --wheat: #c9a66b;
  --wheat-deep: #a8844d;
  --good: #3f7d55;
  --fair: #b7791f;
  --poor: #b5473a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --font-sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(46, 42, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(46, 42, 36, 0.08);
  --shadow-phone: 0 28px 60px rgba(46, 42, 36, 0.18), 0 0 0 1px rgba(46, 42, 36, 0.08);
  --wrap: 72rem;
  --header-h: 4.25rem;
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--accent);
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--on-accent);
}

/* Layout -------------------------------------------------------------- */

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
}

/* Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.wordmark {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover {
  color: var(--text);
}

.wordmark .dot {
  color: var(--wheat);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.4rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--on-accent);
}

.btn:active {
  transform: translateY(1px);
}

.btn-small {
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

/* Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
}

.hero::before {
  /* faint health-ring motif, decorative */
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -8rem;
  top: -6rem;
  border: 28px solid color-mix(in srgb, var(--accent-soft) 70%, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow .pip {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--wheat);
  border-radius: 50%;
}

.hero h1,
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.hero-lead,
.section-lead {
  margin: 1.15rem 0 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
}

/* Phones -------------------------------------------------------------- */

.phone {
  margin: 0;
  background: var(--text);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  width: min(100%, 17.5rem);
  overflow: hidden; /* inner corner radius ≈ 22px (32px pad 10px); avoids overflow:clip on img */
}

.phone img {
  width: 100%;
  height: auto;
  background: var(--surface-alt);
}

.phone figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero-phones {
  display: flex;
  justify-content: center;
}

.hero-phones .phone-primary {
  width: min(100%, 18.5rem);
}

.hero-phones .phone-secondary {
  display: none;
}

.phone-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* How it works -------------------------------------------------------- */

.section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wheat-deep);
}

.section-alt {
  background: var(--surface-alt);
}

.roles {
  display: grid;
  gap: 1.25rem;
}

.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.role-card .phone {
  width: min(100%, 15.5rem);
  margin-inline: auto;
}

.role-copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.role-copy p {
  margin: 0;
  color: var(--text-muted);
}

.role-num {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wheat-deep);
  margin-bottom: 0.35rem;
}

/* Features ------------------------------------------------------------ */

.feature-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-md);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-spotlight {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-spotlight + .feature-spotlight {
  margin-top: 1.25rem;
}

.feature-spotlight .copy h3 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.feature-spotlight .copy p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.feature-spotlight .copy p:last-child {
  margin-bottom: 0;
}

.feature-spotlight .phones {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-spotlight .phone {
  width: min(100%, 15.5rem);
}

.chat-rules {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.chat-rules li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
}

.chat-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--wheat);
  border-radius: 50%;
}

/* Early access -------------------------------------------------------- */

.early {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--accent-soft) 80%, transparent), transparent 55%),
    var(--surface-alt);
}

.early-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  max-width: 36rem;
  margin-inline: auto;
}

.early-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.early-card .lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.waitlist-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.optional {
  font-weight: 450;
  color: var(--text-muted);
}

.field input,
.field select {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.field input:hover,
.field select:hover {
  border-color: color-mix(in srgb, var(--text-soft) 50%, var(--border));
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
  outline-offset: 0;
}

.field input[aria-invalid="true"] {
  border-color: var(--poor);
}

.form-note,
.form-error {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-error {
  color: var(--poor);
}

.waitlist-form .btn {
  width: 100%;
  margin-top: 0.25rem;
  padding-block: 0.9rem;
}

.form-success {
  padding: 0.5rem 0;
}

.form-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.form-success p {
  margin: 0;
  color: var(--text-muted);
}

.coming-soon {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
}

/* FAQ ----------------------------------------------------------------- */

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 2.75rem 1rem 1.15rem;
  list-style: none;
  position: relative;
  border-radius: var(--radius-md);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list .answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  margin: 0;
}

.faq-list .answer p {
  margin: 0 0 0.7rem;
}

.faq-list .answer p:last-child {
  margin-bottom: 0;
}

/* Footer -------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.75rem 0 2rem;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 1.25rem;
}

.footer-links h2 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.placeholder-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Inner pages --------------------------------------------------------- */

.page-hero {
  padding: 2.5rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.draft-banner {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  background: #f8ecd6;
  border: 1px solid #e4c992;
  border-radius: var(--radius-md);
  color: var(--text);
}

.draft-banner strong {
  color: #8a5a12;
}

.prose {
  padding-bottom: 4rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 0.9rem;
}

.prose ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem 0 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.credits-table th,
.credits-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.credits-table th {
  background: var(--surface-alt);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.credits-table tr:last-child th,
.credits-table tr:last-child td {
  border-bottom: 0;
}

.credits-table td {
  color: var(--text);
}

.credits-table a {
  overflow-wrap: anywhere;
}

/* Responsive ---------------------------------------------------------- */

@media (min-width: 700px) {
  .roles {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .early-card {
    padding: 2.5rem;
  }

  .waitlist-form {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }

  .waitlist-form .form-note,
  .waitlist-form .form-error,
  .waitlist-form .btn {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: block !important;
  }

  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding-block: 1.5rem 2rem;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
  }

  .feature-spotlight {
    grid-template-columns: minmax(20rem, 1fr) auto;
    gap: 2.5rem;
    padding: 2rem 2.25rem;
  }

  .feature-spotlight.is-flipped {
    grid-template-columns: auto 1fr;
  }

  .feature-spotlight.is-flipped .copy {
    order: 2;
  }
}

@media (min-width: 1040px) {
  .hero-phones {
    position: relative;
    min-height: 36rem;
    justify-content: flex-end;
  }

  .hero-phones .phone-secondary {
    display: block;
    position: absolute;
    width: 15.25rem;
    left: 0.5rem;
    top: 3.5rem;
    transform: rotate(-9deg);
    z-index: 1;
  }

  .hero-phones .phone-primary {
    position: relative;
    z-index: 2;
    width: 18.75rem;
    margin-right: 0.5rem;
    transform: rotate(3deg);
  }
}

/* Reduced motion & body lock when menu is open ------------------------ */

@media (max-width: 879px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.4rem;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 0.35rem;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-phones .phone-primary,
  .hero-phones .phone-secondary {
    transform: none;
  }
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 2rem;
}

.table-wrap .credits-table {
  margin: 0;
  min-width: 40rem;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.feature-spotlight.is-stack {
  grid-template-columns: 1fr;
}

.feature-spotlight.is-stack .copy {
  max-width: 42rem;
}

.feature-spotlight.is-stack .phones {
  justify-content: center;
}

.no-break {
  white-space: nowrap;
}

.credits-table th:nth-child(4),
.credits-table td:nth-child(4),
.credits-table th:nth-child(5),
.credits-table td:nth-child(5) {
  white-space: nowrap;
}

@media (max-width: 699px) {
  .table-wrap .credits-table {
    min-width: 0;
  }

  .credits-table thead {
    display: none;
  }

  .credits-table,
  .credits-table tbody,
  .credits-table tr,
  .credits-table th,
  .credits-table td {
    display: block;
    width: 100%;
  }

  .credits-table tr {
    padding: 0.9rem 0.2rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .credits-table tr:last-child {
    border-bottom: 0;
  }

  .credits-table td {
    border: 0;
    padding: 0.15rem 0.85rem 0.15rem 7.25rem;
    position: relative;
    overflow-wrap: anywhere;
  }

  .credits-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.85rem;
    top: 0.15rem;
    width: 6.1rem;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .credits-table td:nth-child(4),
  .credits-table td:nth-child(5) {
    white-space: normal;
  }
}
