/* Public release page. Shared controls and tokens are defined in theme.css. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
  padding-block: 70px 80px;
}
.hero-copy {
  padding-block: 20px;
}
.release-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  color: var(--accent-strong);
  margin-bottom: 32px;
}
.release-badge .icon {
  width: 14px;
  height: 14px;
  margin-left: 5px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: #34a77b;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #34a77b15;
}
.hero-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.15em;
}
h1 {
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -0.055em;
}
h1 span {
  color: var(--accent);
}
.hero-description {
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 30px;
}
.hero-platforms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 26px;
}
.hero-platforms .icon {
  width: 15px;
  height: 15px;
}
.hero-platforms span {
  margin-inline: 4px;
  color: #aeb6c5;
}
.preview-showcase {
  min-width: 0;
  padding: 22px;
  position: relative;
  background: #eaf0ff;
  border: 1px solid #dce5fb;
  border-radius: 30px 30px 30px 8px;
}
.showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #53668e;
  font-size: 10px;
}
.showcase-heading > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.showcase-heading > span:last-child {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.showcase-heading i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.preview-stage {
  position: relative;
  touch-action: pan-y pinch-zoom;
}
.preview-visual {
  min-height: 524px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}
.preview-showcase.is-enhanced .preview-stage {
  height: 524px;
}
.is-enhanced .preview-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: preview-enter 0.35s ease both;
}
.is-enhanced .preview-visual {
  flex: 1;
  min-height: 0;
}
.preview-visual .workspace {
  width: 100%;
  border-color: #c9d4ed;
  border-radius: 12px;
  box-shadow: 0 24px 36px -22px #526eae80;
}
.preview-visual .phone {
  flex-shrink: 0;
  width: 238px;
  height: 488px;
  box-shadow: 0 22px 32px -20px #33477880;
}
.workspace-body {
  grid-template-columns: 48px 148px minmax(0, 1fr);
}
.conversation small {
  display: none;
}
.conversation p {
  max-width: 88px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-navigation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  min-height: 44px;
}
.preview-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.preview-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.preview-track {
  display: block;
  width: 16px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #8291b2;
  transition:
    width 0.25s ease,
    background 0.2s ease;
}
.preview-tab[aria-selected='true'] .preview-track {
  width: 28px;
  background: var(--accent);
}
.preview-tab:hover .preview-track {
  background: var(--accent-strong);
}
.preview-track > span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: var(--accent-strong);
}
.preview-pause {
  position: absolute;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #53668e;
  background: transparent;
  border: 0;
  border-radius: 50%;
  transition:
    color 0.2s,
    background 0.2s;
}
.preview-pause:hover {
  color: var(--accent-strong);
  background: #dce5fa;
}
.preview-pause svg {
  width: 16px;
  height: 16px;
}
.preview-pause .play-symbol,
.preview-pause[data-paused='true'] .pause-symbol {
  display: none;
}
.preview-pause[data-paused='true'] .play-symbol {
  display: block;
}
.showcase-caption {
  text-align: center;
  color: #53668e;
  margin-top: 0;
  font-size: 10px;
}
@keyframes preview-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.features {
  padding-block: 28px 80px;
}
.section-top .eyebrow {
  margin-bottom: 12px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.feature-grid article {
  padding: 27px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 13px;
  margin-bottom: 25px;
}
.feature-grid article:nth-child(2) .feature-icon {
  background: #fdf0ed;
  color: #c06c59;
}
.feature-grid article:nth-child(3) .feature-icon {
  background: #eaf6f0;
  color: #328464;
}
.feature-icon .icon {
  width: 23px;
  height: 23px;
}
.feature-grid h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}
.download-section {
  padding-block: 76px;
  background: white;
  border-block: 1px solid var(--border);
}
.download-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
#version-info {
  white-space: pre-line;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
}
.invite-download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px;
  border: 1px solid #dce5fb;
  background: #f3f6ff;
  border-radius: 18px;
  margin-bottom: 24px;
}
.invite-download-panel .eyebrow {
  margin-bottom: 7px;
}
.invite-download-panel h3 {
  font-size: 19px;
  font-weight: 600;
}
.invite-download-panel p:not(.eyebrow) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}
.invite-verify-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  align-items: center;
  gap: 8px 10px;
}
.invite-verify-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #ced8f0;
  border-radius: 10px;
  background: white;
  font-size: 13px;
  color: var(--text);
}
.invite-verify-form .text-link {
  grid-column: 1 / -1;
  min-height: 26px;
  font-size: 12px;
}
.invite-status {
  grid-column: 1 / -1;
  line-height: 1.6;
}
.invite-status:empty {
  display: none;
}
.invite-download-panel .invite-status.success {
  color: #217446;
}
.invite-download-panel .invite-status.error {
  color: #aa2846;
}
.load-status {
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #fff6de;
  color: #8b6520;
  font-size: 13px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.download-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fafbfe;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.download-card:hover {
  border-color: #bfcdf1;
  box-shadow: var(--shadow);
}
.platform-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.platform-heading > .icon {
  width: 32px;
  height: 32px;
}
.platform-tag {
  padding: 4px 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-size: 10px;
}
.platform-tag.limited {
  background: #fff1ea;
  border-color: #fae4d6;
  color: #955425;
}
.download-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.requirements {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.platform-download {
  width: 100%;
  margin-top: 26px;
}
.file-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.platform-note,
.chip-support {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  margin-top: 22px;
}
.chip-support {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}
.chip-support strong {
  font-weight: 600;
  color: var(--text);
}
.secondary-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  min-height: 32px;
  font-size: 12px;
  color: var(--accent-strong);
}
.secondary-download .icon {
  width: 15px;
  height: 15px;
}
.disabled {
  color: #657089;
  background: #e9edf5;
  box-shadow: none;
  pointer-events: none;
}
.download-footnote {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted);
}
.changelog {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-block: 80px;
}
.notes-heading {
  align-self: start;
  position: sticky;
  top: 120px;
}
.notes-heading > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.notes-heading .text-link {
  margin-top: 18px;
}
.notes-content {
  min-width: 0;
  border-left: 1px solid #dce3f0;
  padding-left: 30px;
}
.release-entry {
  position: relative;
  margin-bottom: 22px;
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.release-entry::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 38px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--canvas);
  background: #a4b2d0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #dce3f0;
}
.release-entry:first-child::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.release-entry:last-child {
  margin-bottom: 0;
}
.release-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.release-meta h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.release-meta time {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.latest-tag {
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
}
.release-entry h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.release-entry p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.release-entry ul {
  padding-left: 16px;
  margin: 22px 0 0;
}
.release-entry li {
  padding-left: 3px;
  margin-top: 17px;
}
.release-entry li::marker {
  color: #8c9dc6;
  font-size: 9px;
}
.release-entry li strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
@media (max-width: 1100px) {
  .hero {
    gap: 35px;
  }
  .preview-showcase {
    padding: 18px;
  }
  .workspace-body {
    grid-template-columns: 42px 110px minmax(0, 1fr);
  }
  .sidebar-item {
    width: 34px;
  }
  .conversation {
    padding-inline: 3px;
  }
  .conversation .avatar {
    width: 22px;
    height: 25px;
  }
  .conversation strong {
    font-size: 9px;
  }
  .conversation p {
    max-width: 55px;
  }
  .chat-messages {
    padding-inline: 10px;
  }
  .download-card {
    padding: 23px;
  }
  .changelog {
    gap: 36px;
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 42px 55px;
  }
  .hero-copy {
    text-align: center;
  }
  h1 {
    font-size: 58px;
  }
  .release-badge {
    margin-bottom: 24px;
  }
  .hero-actions,
  .hero-platforms {
    justify-content: center;
  }
  .preview-showcase {
    width: min(620px, 100%);
    margin-inline: auto;
  }
  .workspace-body {
    grid-template-columns: 48px 148px minmax(0, 1fr);
  }
  .conversation p {
    max-width: 88px;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature-grid article {
    padding: 22px;
  }
  .feature-grid p br {
    display: none;
  }
  .invite-download-panel {
    flex-direction: column;
    align-items: stretch;
  }
  .invite-verify-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .download-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
  }
  .platform-heading,
  .download-card h3,
  .requirements {
    grid-column: 1;
  }
  .platform-heading {
    justify-content: start;
    margin-bottom: 12px;
  }
  .platform-download {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    margin-top: 0;
  }
  .file-meta {
    grid-column: 2;
    grid-row: 3;
  }
  .platform-note,
  .chip-support,
  .secondary-download {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .page-release .navbar nav a:first-child,
  .page-release .navbar nav a:nth-child(3),
  .page-release .navbar nav a:nth-child(4) {
    display: none;
  }
  .navbar .nav-download .icon {
    display: none;
  }
  .hero {
    padding-block: 28px 44px;
    gap: 26px;
  }
  h1 {
    font-size: clamp(39px, 10.7vw, 52px);
  }
  .hero-kicker {
    font-size: 11px;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 22px;
  }
  .hero-actions {
    gap: 18px;
    margin-top: 25px;
  }
  .hero-platforms {
    margin-top: 24px;
  }
  .preview-showcase {
    padding: 17px;
    border-radius: 22px 22px 22px 6px;
  }
  .preview-showcase.is-enhanced .preview-stage {
    height: 500px;
  }
  .preview-visual {
    min-height: 500px;
  }
  .preview-visual .phone {
    width: 230px;
    height: 470px;
  }
  .workspace-body {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .conversation-list {
    display: none;
  }
  .sidebar {
    padding-inline: 3px;
  }
  .features {
    padding-block: 10px 45px;
  }
  h2 {
    font-size: 27px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .feature-grid article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 17px;
    padding: 23px;
  }
  .feature-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }
  .feature-grid h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .feature-grid p {
    grid-column: 2;
  }
  .download-section {
    padding-block: 45px;
  }
  .download-heading {
    display: block;
    margin-bottom: 25px;
  }
  #version-info {
    text-align: left;
    margin-top: 14px;
  }
  .invite-download-panel {
    padding: 22px;
    gap: 20px;
  }
  .invite-verify-form {
    grid-template-columns: 1fr;
  }
  .invite-verify-form input {
    font-size: 16px;
  }
  .download-card {
    display: block;
    padding: 25px;
  }
  .platform-heading {
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .platform-download {
    margin-top: 22px;
  }
  .download-footnote {
    flex-direction: column;
    gap: 8px;
  }
  .changelog {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 45px;
  }
  .notes-heading {
    position: static;
  }
  .notes-heading > p:not(.eyebrow) {
    margin-top: 12px;
  }
  .notes-heading br {
    display: none;
  }
  .notes-content {
    padding-left: 20px;
    margin-left: 4px;
  }
  .release-entry {
    padding: 21px;
  }
  .release-entry::before {
    left: -26px;
  }
  .release-meta {
    gap: 8px;
  }
  .release-meta h3 {
    font-size: 21px;
  }
  .release-meta time {
    width: 100%;
    margin-left: 0;
  }
}
