@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #283d35;
  background: #f7f5ef;
  font-synthesis: none;
  --green: #30654e;
  --muted: #7b8179;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #eee;
  outline-offset: 5px;
}
header {
  max-width: 1280px;
  margin: auto;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.header-brand .brand {
  flex-shrink: 0;
}
.header-brand .eyebrow {
  text-align: left;
}
header {
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 650px) {
  .header-brand {
    gap: 12px;
  }
  .header-brand .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
}
.brand-icon {
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 11px;
  width: 34px;
  height: 34px;
  font-size: 26px;
}
.header-note {
  font-size: 13px;
  color: var(--muted);
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 20px 32px 0;
}
.eyebrow {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green);
}
.eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86a084;
  margin: 0 8px 2px 0;
}
h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(40px, 5.2vw, 62px);
  line-height: 1.14;
  letter-spacing: -3px;
  text-align: center;
  margin: 22px 0 20px;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
.intro {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.page-introduction {
  overflow-anchor: none;
}
.page-introduction-inner {
  min-height: 0;
  overflow: hidden;
}
.page-introduction h1,
.page-introduction .intro {
  transition:
    font-size 300ms ease,
    margin 300ms ease,
    letter-spacing 300ms ease;
}
.page-introduction.is-compact h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -1.5px;
  margin: 12px 0 12px;
}
.page-introduction.is-compact .intro {
  font-size: 13px;
  margin-bottom: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .page-introduction h1,
  .page-introduction .intro {
    transition: none;
  }
}
.lab {
  -webkit-user-select: none;
  user-select: none;
  background: #fffefa;
  border: 1px solid #e6e5dc;
  border-radius: 22px;
  padding: 22px 32px 20px;
  box-shadow: 0 12px 40px #354d3510;
}
.lab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 700;
}
.lab-top i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #9db196;
  border-radius: 50%;
  margin-right: 8px;
}
.reset {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--muted);
  padding: 7px;
  letter-spacing: 0;
  font-weight: 500;
}
#number {
  display: block;
  position: relative;
  width: min(100%, 620px);
  padding: 10px;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: clamp(40px, 5vw, 55px);
  line-height: 1.2;
  letter-spacing: 2px;
  font-weight: 800;
  margin: 20px auto 28px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #30654e;
  text-shadow: 0 1px 0 #ffffffb3;
  border-radius: 7px;
}

.wheels {
  touch-action: manipulation;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 13px;
}
.column {
  min-width: 0;
  text-align: center;
  --tint: #e9eee8;
  --ink: #4e6a52;
}
.column:first-child,
#breakdown .term[data-place="6"],
#number-words [data-place="6"] {
  --ink: #4e6a52;
}
.column:nth-child(2),
#breakdown .term[data-place="5"],
#number-words [data-place="5"] {
  --tint: #eef0e5;
  --ink: #788354;
}
.column:nth-child(3),
#breakdown .term[data-place="4"],
#number-words [data-place="4"] {
  --tint: #f4eddc;
  --ink: #a08b48;
}
.column:nth-child(4),
#breakdown .term[data-place="3"],
#number-words [data-place="3"] {
  --tint: #f4e8de;
  --ink: #b08461;
}
.column:nth-child(5),
#breakdown .term[data-place="2"],
#number-words [data-place="2"] {
  --tint: #e9edf1;
  --ink: #627e94;
}
.column:nth-child(6),
#breakdown .term[data-place="1"],
#number-words [data-place="1"] {
  --tint: #ebe8f1;
  --ink: #89769e;
}
.column:nth-child(7),
#breakdown .term[data-place="0"],
#number-words [data-place="0"] {
  --tint: #e3eee7;
  --ink: #386b50;
}
.place {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 9px;
}
.arrow {
  touch-action: manipulation;
  display: block;
  margin: auto;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  width: 100%;
  height: 31px;
}
.arrow.up {
  border-radius: 10px;
}
.arrow.down {
  border-radius: 10px;
}
.arrow:hover {
  background: var(--tint);
  color: var(--ink);
}
.wheel {
  position: relative;
  height: 152px;
  overflow: hidden;
  background: var(--tint);
  border: 1px solid #00000005;
  border-radius: 12px;
  cursor: ns-resize;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  color: var(--ink);
}
.digits {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.digit {
  height: 64px;
  flex-shrink: 0;
  line-height: 64px;
  font-size: 53px;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.digit.side {
  opacity: 0.18;
  font-size: 40px;
}
.wheel:after {
  content: "";
  position: absolute;
  inset: 44px 0;
  border-top: 1px solid #ffffff7a;
  border-bottom: 1px solid #ffffff7a;
  pointer-events: none;
}
.weight {
  display: block;
  color: #9a9e93;
  font-size: 10px;
  margin: 7px 0;
}
.wheel-help {
  position: relative;
  flex: 0 0 auto;
  letter-spacing: 0;
}
.wheel-help > summary {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  list-style: none;
}
.wheel-help > summary::-webkit-details-marker {
  display: none;
}
.wheel-help > summary span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}
.wheel-help > summary:hover,
.wheel-help[open] > summary {
  color: var(--green);
}
.wheel-help > summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 50%;
}
.wheel-help > p {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 5;
  width: min(260px, calc(100vw - 60px));
  margin: 6px 0 0;
  padding: 12px 14px;
  border: 1px solid #dce3d4;
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 4px 16px #354d351a;
  color: #617354;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.message {
  border-radius: 9px;
  background: #f0f4ec;
  color: #617354;
  font-size: 12px;
  line-height: 1.6;
  padding: 14px 18px;
  text-align: center;
  min-height: 47px;
}
.examples {
  text-align: center;
  margin: 10px 15px 0px 15px;
}
.examples > span,
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #91978b;
}
.examples > div {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.examples button {
  border: 1px solid #dddfd4;
  border-radius: 30px;
  padding: 9px 18px;
  background: transparent;
  color: #52624f;
  font-size: 12px;
}
.examples button:hover {
  background: #e8ecdf;
  border-color: #bac7af;
}
.examples button span {
  color: #97a18e;
  margin: 0 9px;
}
.explanation {
  padding: 30px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
h2 {
  font-family: Manrope, sans-serif;
  font-size: 23px;
  letter-spacing: -0.8px;
  margin: 11px 0;
}
.explanation p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.breakdown {
  border: 1px solid #e3e4d9;
  background: #f0f1e9;
  border-radius: 12px;
  padding: 20px;
}
#breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2.3vw, 15px);
  align-items: center;
  margin-top: 15px;
  font-size: clamp(1.125rem, 0.7rem + 2.1vw, 1.5625rem);
  font-weight: 500;
  min-height: 60px;
}
#breakdown small {
  font-size: clamp(0.75rem, 0.57rem + 0.9vw, 0.9375rem);
  font-weight: 400;
  color: var(--ink, var(--muted));
  display: block;
  margin-top: 4px;
}
#breakdown .term {
  display: inline-block;
  color: var(--ink, inherit);
}
#breakdown .plus {
  color: #a2aa96;
  font-weight: 400;
}
footer {
  max-width: 1016px;
  margin: auto;
  padding: 20px 0 26px;
  border-top: 1px solid #e1e3d8;
  color: #9b9f94;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 10px;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover {
  color: var(--green);
}
@media (max-width: 650px) {
  header {
    padding: 22px;
  }
  .header-note {
    font-size: 10px;
  }
  main {
    padding: 22px 14px 0;
  }
  h1 {
    letter-spacing: -2px;
  }
  .intro {
    font-size: 13px;
  }
  .lab {
    padding: 16px 10px;
  }
  .wheels {
    gap: 5px;
  }
  .place {
    font-size: 8px;
    letter-spacing: -0.2px;
  }
  .wheel {
    height: 122px;
    border-radius: 8px;
  }
  .digit {
    font-size: 34px;
    height: 52px;
    line-height: 52px;
  }
  .digit.side {
    font-size: 27px;
  }
  .wheel:after {
    inset: 35px 0;
  }
  .weight {
    font-size: 8px;
  }
  .lab-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .lab-top .lab-actions {
    gap: 8px;
    margin-left: auto;
  }
  .message {
    font-size: 11px;
    padding: 12px;
  }
  .explanation {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .examples {
    margin-bottom: 30px;
  }
  footer {
    margin: 0 18px;
  }
  .desktop-break {
    display: none;
  }
  #number {
    font-size: clamp(28px, 8vw, 44px);
    letter-spacing: 1px;
    padding: 17px 12px 24px;
    border-radius: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wheel.changed .digits {
    animation: none;
  }
}

.digits {
  inset: 50% 0 auto;
  height: 0;
  display: block;
}
.digits .digit {
  position: absolute;
  top: -32px;
  left: 0;
  width: 100%;
  will-change: transform, opacity;
  pointer-events: none;
}
.wheel {
  cursor: grab;
  perspective: 500px;
  box-shadow:
    inset 0 7px 12px #283d3512,
    inset 0 -7px 12px #283d3510,
    0 2px 3px #283d3508;
}
.wheel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #283d3520,
    transparent 32%,
    #ffffff24 48%,
    transparent 68%,
    #283d3520
  );
}
.wheel .digits {
  transform-style: preserve-3d;
}
.wheel .digit {
  backface-visibility: hidden;
  text-shadow:
    0 -1px 1px #172c3545,
    0 1px 0 #ffffffcc,
    0 2px 1px #ffffff40;
}
.wheel::after {
  z-index: 2;
}
.wheel:focus {
  outline: none;
}
.wheel:focus::before {
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 5px #ffffffa6;
}
.wheel:focus::after {
  border-color: #ffffff40;
  background: #ffffff24;
}
.column.is-calculating {
  background: var(--tint);
  border-radius: 12px;
}
.column.is-calculating .wheel::before {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.column.is-calculating .place {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.column.is-preparing .wheel::before {
  animation: calculation-ready 900ms ease-in-out 2;
}
@keyframes calculation-ready {
  0%,
  100% {
    box-shadow: inset 0 0 0 2px var(--ink);
  }
  50% {
    box-shadow:
      inset 0 0 0 4px var(--ink),
      inset 0 0 0 7px #ffffffb3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .column.is-preparing .wheel::before {
    animation: none;
  }
}
#addition-form button[data-running="true"] {
  background: #795447;
}
#addition-form button[data-running="true"]:hover {
  background: #624337;
}
@media (forced-colors: active) {
  .wheel:focus {
    outline: 3px solid Highlight;
    outline-offset: -5px;
  }
}
.wheel:active {
  cursor: grabbing;
}
@media (max-width: 650px) {
  .digits .digit {
    top: -26px;
  }
}
.pronunciation {
  margin-top: 0;
  padding: 14px 18px;
  border: 1px solid #e3e4d9;
  border-radius: 12px;
  background: #f7f5ef;
  margin: 22px 0 0 0;
}

.explanation > :first-child {
  grid-column: 1 / -1;
}

.explanation > .breakdown,
.explanation > .pronunciation {
  min-width: 0;
}

.pronunciation h2 {
  font-size: 13px;
  letter-spacing: 0;
  color: #91978b;
}

.pronunciation .pronunciation-row p {
  margin: 0;
  font-size: clamp(1.125rem, 0.7rem + 2.1vw, 1.5625rem);
  line-height: 1.6;
  color: #30654e;
  overflow-wrap: anywhere;
  font-weight: bold;
}

.pronunciation-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

#number-words .spoken-part {
  color: var(--ink);
}
#number-words [data-secondary="0"] {
  --secondary-ink: #386b50;
}
#number-words [data-secondary="3"] {
  --secondary-ink: #b08461;
}
@supports (background-clip: text) {
  #number-words [data-secondary] {
    background: linear-gradient(to right, var(--ink), var(--secondary-ink));
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  #number-words [data-secondary] {
    background: none;
    color: CanvasText;
  }
}

.pronunciation-row p {
  flex: 1;
  min-width: 0;
}

.pronunciation-row .speak {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 52px;
  padding: 8px 0 8px 16px;
  border: 0;
  background: transparent;
  color: #30654e;
  font-size: 22px;
}

.pronunciation-row .speak:hover {
  cursoir: pointer;
}

.number-details {
  position: relative;
}
.number-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dce3d4;
  border-radius: 10px;
  background: #f0f4ec;
  color: #526b45;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}
.number-details > summary::-webkit-details-marker {
  display: none;
}
.number-details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.number-details[data-expanded="true"] > summary {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 3;
  width: fit-content;
  margin-left: auto;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.number-details[data-expanded="true"] > summary::after {
  display: none;
}
.number-details > summary:hover {
  background: #e8efdf;
}
.number-details[data-expanded="true"] > summary:hover {
  background: transparent;
  color: var(--green);
}
.number-details > summary:focus-visible {
  outline: 2px solid #30654e;
  outline-offset: 3px;
}
.number-details-content {
  padding-top: 0;
  margin-top: 10px;
}
.number-details-panel {
  padding: 20px;
  border: 1px solid #e3e4d9;
  border-radius: 12px;
  background: #f0f1e9;
}
.number-details-panel .breakdown {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.number-details-panel .breakdown > .section-label {
  display: block;
  padding-right: 50px;
}
.number-details-panel .pronunciation {
  margin: 18px 0 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid #dce1d4;
  border-radius: 0;
  background: transparent;
}

.free-wheels-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}
.lab-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lab-actions .reset {
  border-left: 1px solid #e3e4d9;
  padding-left: 12px;
  white-space: nowrap;
}
.free-wheels-toggle input {
  appearance: none;
  width: 34px;
  height: 20px;
  margin: 0;
  border: 1px solid #9aa48f;
  border-radius: 20px;
  background: #dfe3d9;
  cursor: pointer;
}
.free-wheels-toggle input::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px #283d3530;
}
.free-wheels-toggle input:checked {
  background: #30654e;
  border-color: #30654e;
}
.free-wheels-toggle input:checked::before {
  transform: translateX(14px);
}
.free-wheels-toggle input:focus-visible {
  outline: 3px solid #cc8c35;
  outline-offset: 3px;
}
.free-wheels-toggle small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.addition-lab {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid #e3e4d9;
  border-radius: 16px;
  background: #fffefa;
}
.addition-lab h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
.addition-lab p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
#addition-form {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-top: 18px;
}
#addition-form label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #617354;
}
#addition-form input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid #cfd8c8;
  border-radius: 8px;
  background: #f7f8f2;
  color: #283d35;
  font: inherit;
  font-size: 18px;
}
#addition-form input:focus-visible {
  outline: 2px solid #30654e;
  outline-offset: 2px;
}
#addition-form input[aria-invalid="true"] {
  border-color: #a14432;
}
#calculation-operation {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid #cfd8c8;
  border-radius: 8px;
  background: #f7f8f2;
  color: #30654e;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
  touch-action: manipulation;
}
#calculation-operation:focus-visible {
  outline: 2px solid #30654e;
  outline-offset: 2px;
}
#addition-form button {
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: #30654e;
  color: white;
  touch-action: manipulation;
  min-width: 170px;
}
#addition-form button:hover {
  background: #254f3d;
}
.addition-lab .addition-hint {
  font-size: 11px;
}
#addition-status {
  margin-bottom: 0;
  color: #30654e;
  text-align: center;
}
@media (max-width: 650px) {
  .addition-lab {
    padding: 18px;
  }
  #addition-form {
    flex-wrap: wrap;
    gap: 10px;
  }
  #addition-form button {
    width: 100%;
  }
}

.number-discovery {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 6px;
  padding-top: 32px;
  border-top: 1px solid #dedfd5;
}
.discovery-heading {
  max-width: 680px;
}
.number-discovery h2 {
  font-size: clamp(26px, 4vw, 36px);
}
.number-discovery h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.5px;
}
.number-discovery p + p {
  margin-top: 14px;
}
.number-wonders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0 36px;
}
.number-wonders article {
  padding: 24px;
  border: 1px solid #e3e4d9;
  border-radius: 16px;
  background: #fffefa;
}
.wonder-symbol {
  display: block;
  font-size: 30px;
  color: #628267;
  margin-bottom: 14px;
  font-weight: 600;
}
.counting-times {
  margin: 18px 0;
  font-size: 12px;
}
.counting-times > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e7e9df;
}
.counting-times dt {
  color: #7b8179;
}
.counting-times dd {
  margin: 0;
  font-weight: 600;
}
.number-discovery .discovery-note {
  font-size: 11px;
}
.number-discovery .wonder-question {
  color: #30654e;
  border-left: 2px solid #adc19f;
  padding-left: 14px;
}
.large-number-examples table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 12px;
  font-size: 13px;
  text-align: left;
}
.large-number-examples th,
.large-number-examples td {
  padding: 13px 10px;
  border-bottom: 1px solid #e1e3d8;
}
.large-number-examples thead {
  color: #7b8179;
  font-size: 11px;
}
.large-number-examples tbody th {
  font-weight: 500;
}
.large-number-examples tr > :last-child {
  text-align: right;
}
.large-number {
  font-family: ui-monospace, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: #30654e;
}
.googol-card {
  padding: 28px;
  margin-top: 32px;
  border-radius: 16px;
  background: #edf1e7;
  border: 1px solid #dce3d4;
}
.googol-card h3 {
  margin-top: 10px;
  font-size: 25px;
}
.googol-digits {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 12px;
  font:
    18px/1.8 ui-monospace,
    Consolas,
    monospace;
}
.googol-digits > strong {
  color: #30654e;
  padding: 3px 0;
}
.zero-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.zero-group {
  background: #ffffff80;
  color: #56764e;
  padding: 3px 7px;
  border-radius: 5px;
}
.zero-group:nth-child(even) {
  background: #dce7d5;
}
.number-discovery .googol-caption {
  margin: 0 0 20px;
  color: #617354;
  font-size: 11px;
}
.number-discovery .discovery-sources {
  margin-top: 18px;
  font-size: 11px;
}
.discovery-sources a {
  color: #617354;
  text-underline-offset: 3px;
}
@media (max-width: 650px) {
  .number-wonders {
    grid-template-columns: 1fr;
  }
  .number-wonders article,
  .googol-card {
    padding: 20px;
  }
  .large-number-examples th,
  .large-number-examples td {
    padding: 10px 5px;
  }
  .large-number-examples table {
    font-size: 11px;
  }
  .large-number {
    overflow-wrap: anywhere;
  }
  .googol-digits {
    font-size: 15px;
    gap: 8px;
  }
}
