* {
  box-sizing:border-box
}

:root {
  color-scheme:dark;
  --background:#000;
  --text:#f5f5f7;
  --muted:#929297;
  --line:#28282b;
  --surface:#101012;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  background:var(--background);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  scroll-behavior:smooth
}

body {
  margin:0;
  overflow-wrap:anywhere
}

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

button {
  font:inherit;
  color:inherit;
  cursor:pointer
}

button:disabled {
  cursor:default
}

:focus-visible {
  outline:2px solid #b0b0b5;
  outline-offset:5px
}

.template-header {
  height:90px;
  padding:0 6vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--line)
}

.template-wordmark {
  font-size:16px;
  font-weight:600;
  letter-spacing:-.03em;
  white-space:nowrap;
  position:relative;
  top:3px
}

.template-label,.template-switch,.breadcrumb,.phone-template-label {
  font-size:11px;
  color:var(--muted)
}

.template-switch:hover,.breadcrumb a:hover,.text-link:hover {
  color:#fff
}

.product-page {
  max-width:1120px;
  margin:0 auto
}

.computer-page {
  padding:0 40px
}

.breadcrumb {
  display:flex;
  justify-content:space-between;
  padding:30px 0
}

.product-hero {
  display:grid;
  grid-template-columns:156px minmax(0,1fr) auto;
  align-items:center;
  gap:32px;
  padding:12px 0 20px
}

.app-icon {
  display:grid;
  place-items:center;
  aspect-ratio:1;
  border:1px solid #3b3b40;
  border-radius:30px;
  background:#151517;
  font-size:76px;
  font-weight:500;
  letter-spacing:-.08em;
  padding-right:6px;
  user-select:none
}


h1 {
  font-size:36px;
  line-height:1.2;
  letter-spacing:-.04em;
  font-weight:650;
  margin:0
}


.developer-name {
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted)
}
.product-version {
  margin:0;
  color:var(--muted);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}

.product-identity {
  display:grid;
  gap:6px;
  min-width:0;
}

.product-identity .developer-name {
  margin:0;
}

.product-action {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-self:end;
  gap:8px
}

.product-action>span {
  font-size:10px;
  color:var(--muted)
}












.page-section {
  padding:30px 0;
  border-bottom:1px solid var(--line);
  scroll-margin-top:24px
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px
}

.detail-line-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section-heading--privacy { justify-content: flex-start; gap: 10px; }
.detail-permissions { display: grid; gap: 14px; padding: 0; margin: 16px 0; list-style: none; }
.detail-permissions li { display: flex; align-items: flex-start; gap: 10px; }
.detail-permissions svg { margin-top: 2px; color: var(--secondary); }
.detail-permissions h3 { margin: 0; font-size: 14px; line-height: 1.5; }
.detail-permissions .body-copy { margin: 4px 0 0; }

h2 {
  font-size:21px;
  line-height:1.3;
  font-weight:650;
  letter-spacing:-.02em;
  margin:0
}

.gallery-controls {
  display:flex;
  gap:8px
}

.gallery-controls button {
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border:1px solid #343438;
  border-radius:50%;
  background:transparent;
  color:#d7d7dc;
  font-size:14px
}

.gallery-controls button:hover {
  background:#242427
}

.preview-gallery {
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  scrollbar-color:#343438 transparent;
  padding:0 0 12px
}

.preview-item {
  flex:0 0 76%;
  display:block;
  scroll-snap-align:start;
  overflow:hidden;
  padding:0;
  border:1px solid #29292d;
  border-radius:12px;
  background:#0c0c0f;
  line-height:0;
  cursor:zoom-in
}

.preview-item img {
  display:block;
  width:100%;
  height:auto
}

.preview-caption {
  margin:10px 0 0;
  font-size:10px;
  color:#737379
}

.desktop-details {
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:56px
}

.detail-primary,.detail-sidebar {
  min-width:0
}

.description-copy {
  font-size:13px;
  line-height:1.85;
  color:#c0c0c6
}

.description-copy p {
  margin:0 0 16px
}

.description-copy p:last-child {
  margin-bottom:0
}

.description-copy > p { margin-bottom: 0; }
.description-copy:has(.description-extra:not(.is-open)) > p {
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.description-extra p:first-child { margin-top: 16px; }
.detail-reveal {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 300ms ease, opacity 240ms ease, visibility 0s 300ms;
}
.detail-reveal.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.detail-reveal-inner { min-height: 0; overflow: hidden; }

.text-button {
  padding:0;
  border:0;
  background:transparent;
  font-size:12px;
  font-weight:500;
  color:#e5e5ea
}

.description-toggle {
  display:block;
  margin:12px 0 0 auto
}

.text-link {
  font-size:11px;
  color:#aaaab0;
  white-space:nowrap
}

.release-meta {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
  font-size:11px;
  color:var(--muted)
}

.body-copy {
  margin:0;
  font-size:13px;
  line-height:1.85;
  color:#b8b8bf
}

.version-history {
  margin-top:20px;
  font-size:12px;
  color:#aaaab0;
  scroll-margin-top:24px
}

.history-toggle {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:44px;
  padding:10px 0;
  border:0;
  background:transparent;
  text-align:left
}

.history-indicator { transition: transform 240ms ease; }
.history-toggle[aria-expanded="true"] .history-indicator { transform:rotate(45deg); }

.history-content {
  padding:12px 0 0;
  font-size:11px;
  line-height:1.8
}

.history-content p {
  margin:8px 0 0;
  color:var(--muted)
}





.muted-note {
  margin:16px 0 0;
  font-size:11px;
  line-height:1.8;
  color:var(--muted)
}

.information-list {
  margin:0;
  font-size:12px
}

.information-list>div {
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  gap:24px;
  padding:14px 0;
  border-bottom:1px solid #202023
}

.information-list>div:last-child {
  border-bottom:0
}

.information-list dt {
  color:var(--muted)
}

.information-list dd {
  margin:0;
  text-align:right;
  line-height:1.65;
  color:#c3c3c9
}


.template-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:36px 0 48px;
  font-size:10px;
  color:#74747b
}

.template-footer a {
  padding:8px 0
}

.preview-dialog {
  width:min(1120px,calc(100vw - 48px));
  max-height:calc(100dvh - 48px);
  padding:0;
  border:1px solid #3a3a40;
  border-radius:12px;
  background:#101012;
  color:#eee;
  overflow:auto
}

.preview-dialog::backdrop {
  background:rgba(0,0,0,.9)
}

.dialog-toolbar {
  position:sticky;
  top:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:16px 20px;
  background:#101012;
  border-bottom:1px solid #2c2c30;
  font-size:12px
}

.dialog-toolbar button {
  padding:8px 0;
  border:0;
  background:none;
  color:#bbb;
  font-size:12px
}

.preview-dialog>img {
  display:block;
  max-width:100%;
  max-height:calc(100dvh - 130px);
  width:auto;
  height:auto;
  margin:0 auto
}

body.has-preview-open {
  overflow:hidden
}

.phone-page {
  width:100%;
  max-width:440px;
  margin:0 auto;
  padding:0 22px
}

.phone-header {
  height:70px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--line)
}

.phone-header .back-link {
  font-size:36px;
  line-height:1;
  font-weight:300;
  color:#b9b9c0
}

.phone-header .template-wordmark {
  font-size:16px;
  justify-self:center
}

.phone-header .template-switch {
  font-size:10px
}

.phone-template-label {
  margin:22px 0 20px;
  font-size:10px
}

.phone-template .product-hero {
  grid-template-columns:106px minmax(0,1fr) 44px;
  gap:14px;
  padding:0 0 14px;
  align-items:center
}

.phone-template .app-icon {
  border-radius:24px;
  font-size:54px
}

.phone-template h1 {
  font-size:24px;
  line-height:1.25;
  margin-top:0
}


.phone-template .developer-name {
  font-size:10px;
  margin-top:6px
}
.phone-template .product-version { font-size:10px; }

.phone-template .product-action {
  flex-direction:column;
  align-items:center;
  justify-content:center;
  align-self:center;
  justify-self:end;
  gap:8px;
  margin-top:0
}

.phone-template .product-action>span {
  font-size:9px
}








.phone-template .page-section {
  padding:24px 0
}

.phone-template h2 {
  font-size:19px
}

.phone-template .preview-gallery {
  gap:12px;
  margin-right:-22px;
  padding-right:22px
}

.phone-template .preview-item {
  flex-basis:74%;
  border-radius:14px
}

.phone-template .description-copy {
  font-size:12px
}

.phone-template .release-meta {
  font-size:10px
}

.phone-template .body-copy {
  font-size:12px
}

.phone-template .information-list>div {
  grid-template-columns:90px minmax(0,1fr)
}


.phone-template .template-footer {
  padding-bottom:max(36px,env(safe-area-inset-bottom,0px))
}

.phone-template .preview-dialog {
  width:min(430px,calc(100vw - 24px))
}

@media(max-width:760px) {
  .template-header {
    height:72px;
    padding:0 22px
  }
  .template-label {
    display:none
  }
  .computer-page {
    padding:0 22px
  }
  .computer-template .product-hero {
    grid-template-columns:100px minmax(0,1fr) 44px;
    gap:14px;
    padding-bottom:14px
  }
  .computer-template .app-icon {
    font-size:50px;
    border-radius:24px
  }
  .computer-template .product-action {
    align-items:center
  }
  .computer-template h1 {
    font-size:27px
  }
  .computer-template .product-version { font-size:10px; }
  .desktop-details {
    grid-template-columns:minmax(0,1fr);
    gap:0
  }
  .preview-item {
    flex-basis:90%
  }
  .preview-dialog {
    width:calc(100vw - 24px);
    max-height:calc(100dvh - 24px)
  }
}

@media(prefers-reduced-motion:reduce) {
  .detail-reveal, .history-indicator { transition: none; }
  :root {
    scroll-behavior:auto
  }
}

.intro-section {
  border-top: 1px solid var(--line);
}

.get-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
}

.get-button:hover:not(:disabled) {
  background: #e6e6eb;
}

.get-button:disabled {
  color: #000;
}

.get-arrow {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-template .get-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
}
