/* Circled — the app's darkroom: slate, marker yellow (keep), safelight red (remove), New York headlines. Layout from
   the Rocky Stone Labs template (as onbook.rockystonelabs.com and stillwater.rockystonelabs.com). */
:root {
  /* The app's darkroom: slate, warm-white type, marker yellow for keep, safelight red for remove. */
  --stage: #15171a;
  --raise: #1e2125;
  --paper: #e9ecef;
  --mist: rgba(233, 236, 239, 0.74);
  --faint: rgba(233, 236, 239, 0.52);
  --read: rgba(233, 236, 239, 0.34);
  --marker: #f7c21b;
  --marker-soft: rgba(247, 194, 27, 0.14);
  --safelight: #e0634d;
  --control: #5b8dbf;
  --hair: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.04);
  --sans:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  /* Headlines in New York, as in the app. */
  --display:
    "New York", ui-serif, -apple-system-ui-serif, "Songti SC", "Noto Serif SC",
    Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--stage);
  color: var(--paper);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--marker);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  background: rgba(21, 23, 26, 0.78);
  border-bottom: 1px solid var(--hair);
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 650;
  font-size: 18px;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.brand:hover {
  text-decoration: none;
}
nav .links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
nav .links a {
  color: var(--mist);
}
nav .links a:hover {
  color: var(--paper);
  text-decoration: none;
}
@media (max-width: 720px) {
  nav .links a:not(.lang) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn small {
  font-weight: 550;
  font-size: 13.5px;
  margin-top: 3px;
}
.btn-primary {
  background: var(--marker);
  color: #1a1100;
  box-shadow: 0 14px 44px rgba(247, 194, 27, 0.24);
}
.btn-primary small {
  color: #4a3300;
}
.btn-ghost {
  border: 1.5px solid rgba(244, 244, 239, 0.4);
  color: var(--paper);
}
.btn-ghost small {
  color: var(--mist);
}
/* Not on the store yet: the same shape, plainly not a link. */
.btn.soon {
  background: var(--card);
  border: 1.5px dashed rgba(247, 194, 27, 0.6);
  color: var(--paper);
  box-shadow: none;
  cursor: default;
}
.btn.soon:hover {
  transform: none;
}
.btn.soon small {
  color: var(--mist);
}
a:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--marker);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Hero: words on the left, the contact sheet on the right */
.hero {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: 76px 24px 40px;
}
.hero img.icon {
  width: 84px;
  height: 84px;
  border-radius: 19px;
  margin: 0 0 22px;
  box-shadow:
    0 0 0 1px var(--hair),
    0 18px 50px rgba(247, 194, 27, 0.12);
}
h1 {
  font: 600 clamp(40px, 6vw, 68px)/1.04 var(--display);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 13ch;
}
/* As on Stillwater: the second half of a headline in the accent, in italic (not in Chinese, which has no italic). */
h1 em,
h2 em {
  color: var(--marker);
}
:lang(zh) h1 em,
:lang(zh) h2 em {
  font-style: normal;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--marker);
  margin: 0 0 10px;
}
:lang(zh) .eyebrow {
  letter-spacing: 0.08em;
  font-size: 13.5px;
}
:lang(zh) h1 {
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 11em;
}
.lede {
  color: var(--mist);
  font-size: clamp(18px, 2.2vw, 21px);
  max-width: 38ch;
  margin: 20px 0 32px;
}
:lang(zh) .lede {
  max-width: 26em;
}
.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust {
  margin-top: 18px;
  font-size: 14px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

/* The hero: a contact sheet of real bursts from Circled's showcase library (stock photos). sheet.js circles the
   sharpest frame in each row, as the app does, marks the rest to go, then they dissolve and the space freed counts up. */
.sheet {
  position: relative;
  background: var(--raise);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.sheet .rows {
  display: grid;
  gap: 18px;
}
.sheet .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sheet .print {
  position: relative;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}
/* The picture itself, so a print can fade while its badge stays vivid. */
.sheet .print .img {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--raise) var(--photo) center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    filter 0.45s ease,
    opacity 0.45s ease;
}
.sheet .print svg {
  position: absolute;
  inset: -9px;
  width: calc(100% + 18px);
  height: calc(100% + 18px);
  overflow: visible;
  pointer-events: none;
}
.sheet .print svg path {
  fill: none;
  stroke: var(--marker);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(247, 194, 27, 0.45));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.3, 0.1, 0.25, 1);
}
.sheet .print.keep svg path {
  stroke-dashoffset: 0;
}
.sheet .print .badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--safelight);
  border: 1.5px solid #fff;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.sheet .print .badge::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 7px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
}
.sheet .print.go {
  transform: scale(0.93);
}
.sheet .print.go .img {
  filter: saturate(0.35);
  opacity: 0.72;
}
.sheet .print.go .badge {
  transform: scale(1);
}
.sheet .print.gone {
  filter: blur(8px);
  opacity: 0;
  transform: translateY(-18px) scale(0.88);
  transition:
    filter 0.55s ease-in,
    opacity 0.55s ease-in,
    transform 0.55s ease-in;
}
.sheet .freed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 22px;
  min-height: 44px;
}
.sheet .freed .num {
  white-space: nowrap;
  font: 600 36px/1 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.sheet .freed small {
  color: var(--faint);
  font-size: 14px;
}
.sheet .legend {
  position: absolute;
  top: -13px;
  left: 22px;
  display: flex;
  gap: 8px;
}
.sheet .legend span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--stage);
  border: 1px solid var(--hair);
  color: var(--mist);
}
.sheet .legend .k::before,
.sheet .legend .r::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 0;
}
.sheet .legend .k::before {
  border: 2px solid var(--marker);
  width: 7px;
  height: 7px;
}
.sheet .legend .r::before {
  background: var(--safelight);
}
.sheet .caption {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--read);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 46px;
    padding-top: 54px;
  }
  h1,
  .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .cta,
  .trust {
    justify-content: center;
  }
  .hero img.icon {
    margin: 0 auto 20px;
  }
}

/* Sections */
section {
  padding: 88px 0;
}
h2 {
  font: 600 clamp(30px, 4vw, 44px)/1.12 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
:lang(zh) h2 {
  letter-spacing: 0;
}
.sub {
  color: var(--mist);
  max-width: 56ch;
  margin: 0;
}
.center {
  text-align: center;
}
.center .sub {
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
  text-align: left;
}
.pillar {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 26px;
}
.pillar h3 {
  margin: 0 0 8px;
  font-size: 19px;
}
.pillar p {
  margin: 0;
  color: var(--mist);
  font-size: 16px;
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* Features: a real screen beside its words */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 50px 0;
}
.feature.flip .text {
  order: 2;
}
.feature h3 {
  font: 600 30px/1.16 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.feature .text {
  max-width: 460px;
}
:lang(zh) .feature h3 {
  letter-spacing: 0;
}
.feature p {
  color: var(--mist);
  margin: 0 0 10px;
}
/* Each screen is a real capture in its device, on a softened photo from the same library (scripts/site-images.swift),
   framed as Stillwater frames its windows. */
.feature .shot {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--hair);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}
.feature .shot.tall {
  max-width: 470px;
  justify-self: center;
}
.feature:has(.desk-shot) {
  grid-template-columns: 0.8fr 1.2fr;
}
.feature.flip:has(.desk-shot) {
  grid-template-columns: 1.2fr 0.8fr;
}
@media (max-width: 860px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature.flip .text {
    order: 0;
  }
}

/* Pricing */
.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 38px auto 0;
  max-width: 940px;
}
.langs span {
  white-space: nowrap;
  font-size: 17px;
  padding: 7px 15px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
}
.langs span.mixed {
  border-color: rgba(247, 194, 27, 0.55);
  background: var(--marker-soft);
}
.note {
  color: var(--faint);
  font-size: 14px;
  margin-top: 20px;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--hair);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 18px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  float: right;
  color: var(--marker);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after {
  content: "–";
}
details p {
  color: var(--mist);
  margin: 10px 0 0;
}
.faq {
  max-width: 760px;
  margin: 30px auto 0;
}

.final {
  text-align: center;
  padding: 100px 0 110px;
}
.final h2 {
  margin-bottom: 28px;
}

footer {
  border-top: 1px solid var(--hair);
  padding: 34px 0 50px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
footer a {
  color: var(--mist);
}
footer .right {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Text pages: privacy, support */
.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}
.doc h1 {
  font-size: clamp(36px, 5vw, 48px);
  max-width: none;
  margin-bottom: 10px;
}
.doc h2 {
  font-size: 26px;
  margin: 44px 0 10px;
}
.doc p,
.doc li {
  color: var(--mist);
}
.doc li {
  margin: 6px 0;
}
.doc strong {
  color: var(--paper);
}
.doc .meta {
  color: var(--faint);
  font-size: 15px;
}
.doc .switch {
  margin: 18px 0 0;
  font-size: 15px;
}
.doc hr {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 70px 0 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .sheet .print,
  .sheet .print .img,
  .sheet .print svg path,
  .sheet .print .badge {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
.pillars.after {
  margin-top: 30px;
}

/* Fresh sheet between plays: no transitions while the marks come off. */
.sheet.reset .print,
.sheet.reset .print .img,
.sheet.reset .print svg path,
.sheet.reset .print .badge {
  transition: none;
}

/* Pricing: free, and one purchase */
.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}
.price {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 26px 28px 22px;
}
.price.best {
  border-color: rgba(247, 194, 27, 0.45);
  box-shadow: 0 0 0 1px rgba(247, 194, 27, 0.18), 0 20px 60px rgba(247, 194, 27, 0.08);
}
.price h3 {
  margin: 0;
  font-size: 17px;
  color: var(--mist);
  font-weight: 600;
}
.price .amount {
  font: 600 44px/1.1 var(--display);
  margin: 10px 0 14px;
}
.price .amount small {
  font: 500 16px var(--sans);
  color: var(--faint);
}
.price ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
}
.price li {
  padding: 5px 0 5px 24px;
  position: relative;
}
.price li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--marker);
}
@media (max-width: 720px) {
  .prices {
    grid-template-columns: 1fr;
  }
}

/* Headlines break evenly (no lone character on the last line, which Chinese is prone to). */
h1,
h2,
h3 {
  text-wrap: balance;
}
