:root {
  --page-yellow: #ffcc00;
  --ink: #000000;
  --muted-ink: rgba(32, 32, 32, 0.4);
  --soft-ink: rgba(32, 32, 32, 0.2);
  --glass: rgba(255, 255, 255, 0.2);
  --button-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

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

html {
  min-height: 100%;
  background: var(--page-yellow);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--page-yellow);
  color: var(--ink);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100%, 1365px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(44px, 7vh, 90px) clamp(18px, 3vw, 32px) 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fade-up 720ms ease-out both;
}

.brand-mark {
  width: 76px;
  height: auto;
}

.brand-lockup h1 {
  margin: 7px 0 0;
  font-size: clamp(2rem, 3.4vw, 2.62rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-lockup p {
  margin: 10px 0 0;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--muted-ink);
}

.hero-band {
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(44px, 7vh, 112px);
  display: grid;
  grid-template-columns: minmax(160px, 181px) auto;
  justify-content: center;
  align-items: center;
  column-gap: clamp(40px, 8vw, 156px);
  animation: fade-up 860ms ease-out both;
  animation-delay: 120ms;
}

.phone-preview {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-carousel {
  position: relative;
  width: clamp(160px, 22vw, 181px);
  height: calc(clamp(160px, 22vw, 181px) * 2.1739130435);
  overflow: hidden;
  border-radius: 2px;
}

.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.phone-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.screen-screen {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 12px 8px 52px;
  background: #f5f5f5;
  overflow: hidden;
}

.screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-brand-badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #ffcc00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.screen-brand-badge img {
  width: 12px;
  height: auto;
}

.screen-brand-badge-wide {
  width: auto;
  padding: 4px 8px;
  gap: 6px;
}

.screen-brand-badge-wide span {
  font-size: 7px;
  font-weight: 700;
}

.screen-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.screen-search-chip,
.screen-avatar-chip {
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.screen-search-chip {
  width: 30px;
  background: #ffffff;
  position: relative;
}

.screen-search-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.3px solid #202020;
  border-radius: 50%;
  position: absolute;
  left: 10px;
}

.screen-search-chip::after {
  content: "";
  width: 5px;
  height: 1.4px;
  background: #202020;
  position: absolute;
  right: 10px;
  bottom: 6px;
  transform: rotate(45deg);
  transform-origin: center;
}

.screen-avatar-chip {
  min-width: 29px;
  padding: 0 10px;
  background: #202020;
  color: #ffffff;
  font-size: 7px;
  font-weight: 700;
}

.screen-section-label {
  margin-top: 14px;
  text-align: center;
  font-size: 7px;
  color: #9b9b9b;
}

.screen-card {
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.screen-card-empty {
  margin-top: 7px;
  padding: 13px 10px;
}

.screen-card-empty p,
.screen-card-note p,
.screen-chat-bubble,
.screen-live-caption {
  margin: 0;
  color: #a0a0a0;
}

.screen-card-empty p {
  font-size: 6px;
}

.screen-card-note {
  margin-top: 7px;
  padding: 10px;
}

.screen-note-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 5px;
  color: #9a9a9a;
}

.screen-menu-dots {
  margin-left: auto;
  letter-spacing: 0.08em;
}

.screen-card-note h3,
.screen-card-meeting h3 {
  margin: 6px 0 0;
  font-size: 8px;
  line-height: 1.3;
  font-weight: 500;
  color: #202020;
}

.screen-card-note p {
  margin-top: 6px;
  font-size: 6px;
  line-height: 1.5;
}

.screen-card-meeting {
  margin-top: 7px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-meeting-time {
  font-size: 5px;
  color: #9a9a9a;
}

.screen-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff1f1f;
  flex: 0 0 auto;
}

.screen-card-wave {
  margin-top: 7px;
  padding: 16px 10px;
}

.screen-wave-bars {
  height: 32px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
}

.screen-wave-bars span {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #202020 0%, #ffcc00 100%);
  animation: pulse-wave 900ms ease-in-out infinite;
}

.screen-wave-bars span:nth-child(1),
.screen-wave-bars span:nth-child(7) {
  height: 10px;
}

.screen-wave-bars span:nth-child(2),
.screen-wave-bars span:nth-child(6),
.screen-wave-bars span:nth-child(11) {
  height: 18px;
  animation-delay: 120ms;
}

.screen-wave-bars span:nth-child(3),
.screen-wave-bars span:nth-child(9) {
  height: 24px;
  animation-delay: 220ms;
}

.screen-wave-bars span:nth-child(4),
.screen-wave-bars span:nth-child(8),
.screen-wave-bars span:nth-child(12) {
  height: 14px;
  animation-delay: 340ms;
}

.screen-wave-bars span:nth-child(5),
.screen-wave-bars span:nth-child(10) {
  height: 28px;
  animation-delay: 440ms;
}

.screen-live-caption {
  margin-top: 8px;
  text-align: center;
  font-size: 6px;
}

.screen-card-chat {
  margin-top: 7px;
  padding: 10px;
  display: grid;
  gap: 7px;
}

.screen-chat-bubble {
  padding: 8px;
  border-radius: 6px;
  background: #fbfbfb;
  font-size: 6px;
  line-height: 1.45;
}

.screen-chat-bubble-alt {
  background: #fff7d1;
  color: #7f7b66;
}

.screen-rec-pill {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 8px;
  font-weight: 700;
  color: #202020;
}

.screen-rec-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff1f1f;
}

.screen-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  padding-top: 7px;
}

.screen-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 6px;
  color: #202020;
}

.screen-tab-active {
  font-weight: 700;
}

.screen-tab-icon {
  display: block;
  position: relative;
}

.screen-tab-icon-bars {
  width: 12px;
  height: 10px;
}

.screen-tab-icon-bars::before,
.screen-tab-icon-bars::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: #202020;
}

.screen-tab-icon-bars::before {
  left: 1px;
  height: 7px;
}

.screen-tab-icon-bars::after {
  right: 1px;
  height: 8px;
}

.screen-tab-icon-bars {
  background:
    linear-gradient(#ffcc00, #ffcc00) 5px 0 / 2px 10px no-repeat,
    linear-gradient(#202020, #202020) 9px 3px / 2px 5px no-repeat;
}

.screen-tab-icon-brain {
  width: 13px;
  height: 11px;
}

.screen-tab-icon-brain::before,
.screen-tab-icon-brain::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 5px;
  height: 8px;
  border: 1.4px solid #202020;
  border-radius: 6px;
}

.screen-tab-icon-brain::before {
  left: 0;
}

.screen-tab-icon-brain::after {
  right: 0;
}

.screen-tab-icon-me {
  width: 12px;
  height: 11px;
}

.screen-tab-icon-me::before,
.screen-tab-icon-me::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.screen-tab-icon-me::before {
  top: 0;
  width: 5px;
  height: 5px;
  border: 1.3px solid #202020;
  border-radius: 50%;
}

.screen-tab-icon-me::after {
  bottom: 0;
  width: 10px;
  height: 5px;
  border: 1.3px solid #202020;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 0;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #ffffff;
}

.cta-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}

.try-button {
  margin-top: 0;
  width: 140px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--ink);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--button-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.try-button:hover,
.try-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
  background: #101010;
}

.try-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 4px;
}

.try-button-icon {
  width: 14px;
  height: 17px;
  flex: 0 0 auto;
}

.feature-row {
  width: min(100%, 900px);
  margin-top: clamp(44px, 8vh, 96px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  animation: fade-up 980ms ease-out both;
  animation-delay: 220ms;
}

.feature-card {
  display: grid;
  grid-template-rows: 86px minmax(38px, auto);
  justify-items: center;
  align-items: start;
  text-align: center;
  min-width: 0;
}

.feature-icon {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  align-self: end;
}

.feature-icon-summary {
  width: min(86px, 100%);
  aspect-ratio: 85.9545 / 66.3547;
}

.feature-icon-calendar {
  width: min(62px, 100%);
  aspect-ratio: 62.1299 / 57.2451;
}

.feature-icon-translation {
  width: min(66px, 100%);
  aspect-ratio: 66.1486 / 61.6009;
}

.feature-icon-chat {
  width: min(73px, 100%);
  aspect-ratio: 72.8452 / 64.8972;
}

.feature-card h2 {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 700;
  max-width: 10ch;
  text-wrap: balance;
  align-self: start;
}

.site-footer {
  margin-top: clamp(54px, 10vh, 120px);
  padding-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fade-up 1120ms ease-out both;
  animation-delay: 320ms;
}

.footer-brand {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.3);
}

.footer-copy {
  margin: 10px 0 0;
  font-size: 0.75rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.2);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-wave {
  0%,
  100% {
    transform: scaleY(0.8);
    opacity: 0.82;
  }

  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .page {
    padding-top: 44px;
  }

  .hero-band {
    width: 100%;
    grid-template-columns: 1fr;
    row-gap: 34px;
    justify-items: center;
  }

  .cta-cluster {
    align-items: center;
    justify-self: center;
  }

  .feature-row {
    width: min(100%, 620px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }
}

@media (max-width: 560px) {
  .page {
    padding-inline: 18px;
    padding-bottom: 22px;
  }

  .brand-lockup h1 {
    font-size: 2.125rem;
  }

  .feature-row {
    width: 100%;
    gap: 32px 18px;
  }

  .feature-card h2 {
    margin-top: 16px;
    font-size: 0.95rem;
  }

  .site-footer {
    margin-top: 64px;
  }
}

@media (max-width: 390px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-card h2 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
