/* Readable type and a denser home page. Loaded after the foundation sheet. */

.preview-notice,
.preview-notice a {
  font-size: 14px;
}

.brand small {
  font-size: 11px;
  letter-spacing: 0.12em;
}

nav > a {
  font-size: 15px;
}

.button {
  font-size: 15px;
}

.hero-actions .button.silver {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  padding: 16px 18px 16px 22px;
  gap: 12px;
  border-radius: 12px;
  color: #1c2438;
  background: linear-gradient(180deg, #f8fafc 0%, #e6edf6 58%, #d5deea 100%);
  border: 1px solid #f7f9fc;
  border-bottom-color: #8d9aaf;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 0 rgba(86, 100, 124, 0.28),
    0 6px 0 rgba(8, 12, 24, 0.38),
    0 12px 18px rgba(6, 10, 20, 0.28);
}

.hero-actions .button.silver:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 58%, #e2eaf3 100%);
  transform: translateY(-2px);
}

.buy-price {
  display: inline-flex;
  align-items: center;
  background: #1c2438;
  color: #f6f8fb;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.button.small {
  font-size: 14px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  font-size: 19px;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.hero-intro {
  font-size: 17px;
}

.hero-note,
.hero-bottom,
.visual-caption,
.caption,
.operating-note,
.price-foot,
.sample-foot,
.footer-bottom,
.review-example,
.review-disclosure {
  font-size: 14px;
}

.visual-index,
.sample-label,
.example-tag,
.example-detail span,
.status,
.steps article > span,
.price-edition,
.feature-number {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.window-bar,
.menu-toggle,
.search-label,
.search-count,
.footer button,
.footer-top > p {
  font-size: 14px;
}

.section-aside,
.feature-panel > p,
.feature-tabs small,
.example-detail p,
.steps p,
.check-list,
.price-description,
.scope-note,
details p,
.closing p,
.resource-links b,
.resource-links > a > span:not(.resource-icon):not(.resource-arrow),
.resource-links button > span:not(.resource-icon):not(.resource-arrow),
input[type="search"],
summary,
.dialog-intro,
.dialog-note,
.article-copy,
.page-intro,
.notice,
.draft-banner {
  font-size: 15px;
}

.feature-tabs b {
  font-size: 17px;
}

.resource-links b {
  font-size: 16px;
}

.footer-links,
.footer-links a {
  font-size: 14px;
}

.section {
  padding: 76px 0;
}

.proof {
  --per: 3;
  padding: 6px 0 34px;
}

.proof-viewport {
  overflow: hidden;
  width: 100%;
  outline: none;
  padding: 3px 4px 18px;
}

.proof-track {
  display: flex;
  width: 100%;
}

.proof-card {
  flex: 0 0 calc(100% / var(--per));
  min-width: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.proof-card > div {
  min-height: 44px;
  height: 100%;
  padding: 6px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(133, 151, 174, 0.6);
  border: 1px solid rgba(232, 238, 246, 0.38);
  border-bottom-color: rgba(18, 24, 38, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(24, 32, 48, 0.38),
    0 4px 0 rgba(12, 16, 28, 0.42),
    0 8px 12px rgba(6, 10, 20, 0.28);
}

.proof-card strong {
  display: block;
  width: 100%;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
  color: #f4f7fb;
  text-shadow: none;
}

.proof-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 0 8px;
}

.proof-cta {
  color: #d5deec;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid rgba(213, 222, 236, 0.35);
}

.proof-cta:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.proof-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-pause {
  background: none;
  color: #c5d0e2;
  font-size: 13px;
  padding: 4px 2px;
}

.proof-pause:hover {
  color: #fff;
}

.proof-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.proof-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #8ea0bb;
  cursor: pointer;
}

.proof-dot[aria-current="true"] {
  width: 22px;
  background: #f3ecdf;
}

@media (max-width: 700px) {
  .proof {
    --per: 1;
  }

  .proof-card > div {
    min-height: 48px;
    padding: 8px 16px;
    justify-content: center;
    text-align: center;
  }

  .proof-card strong {
    font-size: 24px;
  }

  .proof-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-track {
    transition: none !important;
  }

  .crest-halo span {
    animation: none;
    opacity: 0.5;
  }

  .crest-halo span:nth-child(1) {
    transform: translate(-50%, -50%) scale(1);
  }

  .crest-halo span:nth-child(2) {
    transform: translate(-50%, -50%) scale(0.84);
  }

  .crest-halo span:nth-child(3) {
    transform: translate(-50%, -50%) scale(0.68);
  }
}

.hero-card {
  position: absolute;
  z-index: 2;
  width: 210px;
  text-align: left;
  background: #fafbfd;
  color: #252b40;
  border: 1px solid #d7e0ed;
  border-radius: 12px;
  padding: 12px 14px 13px;
  box-shadow: 0 18px 40px #0c132938;
}

.hero-card .example-tag {
  color: #5b6a83;
}

.hero-card b {
  display: block;
  margin: 6px 0 4px;
  font-size: 15px;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.hero-card p {
  font-size: 14px;
  line-height: 1.45;
  color: #5d677a;
}

.hero-card-a {
  top: 6%;
  left: 0;
}

.hero-card-b {
  right: 0;
  bottom: 22%;
}

.glance-section {
  background: #fff;
  padding-top: 64px;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.glance-grid article {
  background: #f7f8fb;
  border: 1px solid #dce1eb;
  border-radius: 12px;
  padding: 18px 16px 20px;
}

.glance-grid article > span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #6d7f99;
}

.glance-grid h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
}

.glance-grid p {
  font-size: 15px;
  line-height: 1.55;
  color: #5d677a;
}

@media (max-width: 1060px) {
  .hero-intro,
  .hero-bottom,
  .feature-tabs small {
    font-size: 15px;
  }

  .hero-card {
    width: 180px;
  }
}

@media (max-width: 900px) {
  .glance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-crest {
    align-self: center;
  }

  .hero-card,
  .hero-card-a,
  .hero-card-b {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 10px;
  }

  .visual-caption,
  .visual-index {
    position: static;
    margin-top: 12px;
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  .menu-toggle,
  .visual-caption,
  .hero-intro,
  .section-aside {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .preview-notice,
  .preview-notice a,
  .preview-notice button {
    font-size: 13px;
  }

  .preview-long {
    display: inline;
  }

  .preview-notice {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 4px 8px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .hero-intro,
  .hero-note,
  .hero-bottom,
  .hero-actions .button,
  .hero-actions .text-button,
  .caption,
  .feature-panel > p,
  .feature-tabs small,
  .scope-note,
  .operating-note,
  .price-description,
  .check-list,
  .resource-links b,
  .resource-links > a > span:not(.resource-icon):not(.resource-arrow),
  .footer-bottom,
  .footer-links,
  summary,
  details p {
    font-size: 15px;
  }

  .window-bar,
  .sample-label,
  .dashboard-cta,
  .example-tag,
  .status,
  .visual-caption,
  .brand small {
    font-size: 12px;
  }

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

  .hero-visual {
    height: auto;
    min-height: 0;
  }
}

.crest-halo {
  border-color: transparent;
  background: radial-gradient(circle, rgba(167, 189, 210, 0.1), transparent 62%);
  overflow: visible;
}

.crest-halo::before,
.crest-halo::after {
  content: none;
}

.crest-halo span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(163, 184, 210, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  animation: crest-pulse 4.2s cubic-bezier(0.15, 0.65, 0.3, 1) infinite;
  pointer-events: none;
}

.crest-halo span:nth-child(2) {
  animation-delay: -1.4s;
}

.crest-halo span:nth-child(3) {
  animation-delay: -2.8s;
}

@keyframes crest-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.46);
    opacity: 0;
  }

  22% {
    opacity: 0.9;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.desk-section {
  background: #fff;
  padding-top: 64px;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.desk-card {
  background: #fff;
  border: 1px solid #dce1eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 14px 30px rgba(28, 36, 56, 0.06);
}

.desk-card figure {
  margin: 0;
  background: #1c2438;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.desk-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.desk-casper img {
  object-position: center 30%;
}

.desk-card > div {
  padding: 18px 18px 20px;
}

.desk-card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 10px;
}

.desk-card p:last-child {
  font-size: 15px;
  line-height: 1.55;
  color: #5d677a;
  margin: 0;
}

@media (max-width: 900px) {
  .desk-grid {
    grid-template-columns: 1fr;
  }
}

.hero .hero-grid {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  min-height: 0;
  gap: 36px;
}

.hero .hero-visual {
  height: auto;
  min-height: 0;
  display: block;
  position: relative;
  align-self: center;
}

.hero-desk {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid rgba(232, 238, 246, 0.45);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 18px 0 rgba(8, 12, 24, 0.18),
    0 28px 40px rgba(6, 10, 20, 0.35);
  text-decoration: none;
}

.hero-desk .window-bar {
  height: 36px;
  background: #eef2f7;
  color: #5d6b84;
  font-size: 12px;
}

.hero-console {
  width: 100%;
  height: auto;
  display: block;
}

.hero .hero-crest {
  position: absolute;
  left: -18px;
  top: -18px;
  width: 78px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 12px rgba(8, 12, 24, 0.35));
}

.hero-dial {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  background: #f6f1e6;
  color: #1c2438;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 0 rgba(12, 16, 28, 0.22);
}

.hero-dial svg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
}

.hero-dial circle {
  fill: none;
  stroke-width: 5;
}

.dial-track {
  stroke: rgba(28, 36, 56, 0.16);
}

.dial-value {
  stroke: #266654;
  stroke-linecap: round;
  stroke-dasharray: 175.93;
  stroke-dashoffset: 175.93;
  transform: rotate(-90deg);
  transform-origin: 36px 36px;
  animation: dial-fill 6.5s ease-in-out infinite;
}

.hero-dial strong {
  position: relative;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-dial small {
  position: absolute;
  bottom: 16px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d677a;
}

@keyframes dial-fill {
  0% { stroke-dashoffset: 175.93; }
  28% { stroke-dashoffset: 49.26; }
  78% { stroke-dashoffset: 49.26; }
  100% { stroke-dashoffset: 175.93; }
}

@media (max-width: 800px) {
  .hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero .hero-crest {
    width: 64px;
    left: -8px;
    top: -10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dial-value {
    animation: none;
    stroke-dashoffset: 49.26;
  }
}

.hero-hopper {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: auto;
  height: auto;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

.hero-hopper-bird {
  position: absolute;
  left: 0;
  top: 0;
  width: 112px;
  height: 112px;
  animation: none;
}

.hero-hopper-bird svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 6px rgba(8, 12, 24, 0.28));
}

.hero-hopper .casper-wing-near,
.hero-hopper .casper-wing-far,
.hero-hopper .casper-leg {
  transform-box: fill-box;
}

.hero-hopper-bird.is-jumping .casper-wing-near {
  transform-origin: 85% 25%;
  animation: casper-wing 2.4s ease-in-out infinite;
}

.hero-hopper-bird.is-jumping .casper-wing-far {
  transform-origin: 15% 25%;
  animation: casper-wing-far 2.4s ease-in-out infinite;
}

.hero-hopper .casper-leg-near {
  transform-origin: center top;
  animation: casper-leg 1.05s ease-in-out infinite;
}

.hero-hopper .casper-leg-far {
  transform-origin: center top;
  animation: casper-leg 1.05s ease-in-out infinite reverse;
}

@keyframes casper-wing {
  0%, 100% { transform: rotate(6deg); }
  50% { transform: rotate(-34deg); }
}

@keyframes casper-wing-far {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(30deg); }
}

@keyframes casper-leg {
  0%, 100% { transform: rotate(10deg); }
  42% { transform: rotate(-22deg); }
}

@media (max-width: 800px) {
  .hero-hopper-bird {
    width: 84px;
    height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hopper-bird,
  .hero-hopper-bird svg,
  .hero-hopper .casper-wing-near,
  .hero-hopper .casper-wing-far,
  .hero-hopper .casper-leg-near,
  .hero-hopper .casper-leg-far {
    animation: none;
  }
}

.hero .eyebrow span {
  width: 28px;
  height: 7px;
  border-radius: 99px;
  background: #f3eadc;
}

.hero h1 em {
  color: #f3eadc;
  background: none;
  padding: 0;
}

.hero-note {
  display: inline;
  border-bottom: 3px solid #f3eadc;
  padding-bottom: 1px;
}

.section .eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 7px;
  margin-right: 10px;
  border-radius: 99px;
  background: #f3eadc;
  vertical-align: 1px;
}

.glance-grid article > span,
.steps article > span,
.price-edition {
  display: inline-block;
  background: #f3eadc;
  color: #3a465c;
  border-radius: 99px;
  padding: 3px 8px;
}

.feature-number {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: #f3eadc;
  color: #3a465c;
}

.feature-tabs button[aria-selected="true"] {
  box-shadow: inset 3px 0 0 #e4d3b4;
}

.desk-card h3 {
  background-image: linear-gradient(#f3eadc, #f3eadc);
  background-repeat: no-repeat;
  background-size: 2.4em 0.32em;
  background-position: 0 88%;
}

.resource-icon {
  display: inline-block;
  width: fit-content;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f3eadc;
  color: #3a465c;
}

.faq-list details[open] summary {
  box-shadow: inset 3px 0 0 #e4d3b4;
}

.closing h2 {
  background-image: linear-gradient(#f3eadc, #f3eadc);
  background-repeat: no-repeat;
  background-size: 4.5em 0.28em;
  background-position: center 92%;
}

.inline-link {
  border-bottom-color: #e4d3b4;
}

.hero::before,
.pricing-section::before,
.section:not(.pricing-section)::before,
.closing::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero,
.pricing-section,
.section,
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before,
.pricing-section::before {
  inset: -18%;
  background:
    radial-gradient(ellipse 38% 32% at 18% 28%, rgba(243, 234, 220, 0.18), transparent 70%),
    radial-gradient(ellipse 34% 40% at 82% 18%, rgba(141, 163, 191, 0.34), transparent 68%),
    radial-gradient(ellipse 42% 36% at 62% 88%, rgba(243, 234, 220, 0.1), transparent 72%);
  animation: field-drift 18s ease-in-out infinite alternate;
}

.hero::after,
.pricing-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 42%, rgba(243, 234, 220, 0.09) 50%, transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 220% 100%, 84px 84px, 84px 84px;
  animation: field-sweep 16s linear infinite;
}

.section:not(.pricing-section)::before,
.closing::before {
  inset: 0;
  background:
    radial-gradient(ellipse 46% 55% at 0% 0%, rgba(243, 234, 220, 0.7), transparent 72%),
    radial-gradient(ellipse 40% 48% at 100% 100%, rgba(133, 151, 174, 0.16), transparent 70%);
  animation: paper-drift 24s ease-in-out infinite alternate;
}

.hero .wrap,
.pricing-section .wrap,
.section:not(.pricing-section) > .wrap,
.closing .wrap {
  position: relative;
  z-index: 1;
}

@keyframes field-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

@keyframes field-sweep {
  from { background-position: 130% 0, 0 0, 0 0; }
  to { background-position: -130% 0, 84px 42px, -42px 84px; }
}

@keyframes paper-drift {
  from { transform: translate3d(-2%, 0, 0); }
  to { transform: translate3d(2%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .pricing-section::before,
  .pricing-section::after,
  .section:not(.pricing-section)::before,
  .closing::before {
    animation: none;
  }
}

nav > a.nav-soon {
  cursor: default;
}

nav > a.nav-soon:hover {
  color: #4b556b;
  text-decoration: none;
}
