/* Cloud Gaze 2 — painted skies, paper, and a little room to daydream. */
:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #253e4d;
  --muted: #576b76;
  --blue: #28637c;
  --line: #d9e0de;
  --wash: #eaf1f2;
  --card: #f1f3ed;
  --peach: #f3e9de;
  --sky: #cde6ee;
  --button: #253e4d;
  --button-ink: #fff;
  --color-text-main: var(--ink);
  --color-link: var(--blue);
}
.theme-dark {
  color-scheme: dark;
  --paper: #192b35;
  --ink: #f1f1e8;
  --muted: #b4c7cd;
  --blue: #a2d6e5;
  --line: #3c515c;
  --wash: #223b48;
  --card: #2b4045;
  --peach: #443e3b;
  --sky: #34596b;
  --button: #e6eef0;
  --button-ink: #203b48;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .045; z-index: 3; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%2384969e' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: #c2dfe9; color: #203b48; }
figure, p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); text-wrap: pretty; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3.6rem, 5.65vw, 5.6rem); line-height: 1.08; letter-spacing: -.055em; }
h2 { font-size: clamp(2.5rem, 4.1vw, 4rem); line-height: 1.14; letter-spacing: -.045em; }
h3 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); line-height: 1.2; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--blue); font-weight: 400; }
.section-wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { margin-bottom: 1.45rem; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.skip-link { position: fixed; z-index: 5; left: 1rem; top: 1rem; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--paper); }
.skip-link:focus { width: auto; height: auto; padding: .7rem 1rem; clip-path: none; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; white-space: nowrap; font-size: 1.18rem; font-weight: 600; letter-spacing: -.04em; }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
.site-nav { display: flex; gap: 2rem; margin-left: auto; }
.site-nav a, .nav-download { text-decoration: none; font-size: .85rem; font-weight: 500; transition: color 180ms, background-color 180ms; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); text-decoration: underline; }
.nav-download { border: 1px solid var(--line); border-radius: 6px; padding: .65rem 1rem; }
.nav-download span { margin-left: .7rem; }
.nav-download:hover { background: var(--wash); }
.nav-download:active { transform: translateY(1px); }
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 2rem; align-items: center; padding-top: 64px; padding-bottom: 30px; position: relative; }
.hero-copy { padding: 1.7rem 0 2rem; z-index: 1; }
.hero .eyebrow { display: flex; align-items: center; gap: .65rem; }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; background: #6c9681; border-radius: 50%; }
.hero-description { font-size: 1.13rem; line-height: 1.65; max-width: 24rem; margin-top: 1.7rem; color: var(--ink); }
.hero-detail { font-size: .94rem; max-width: 23rem; margin-top: .8rem; }
.app-store-link { display: inline-flex; align-items: center; gap: .8rem; padding: .75rem 1.35rem .8rem; margin-top: 1.9rem; background: var(--button); color: var(--button-ink); border-radius: 9px; text-decoration: none; line-height: 1.2; transition: transform 180ms, box-shadow 180ms; }
.app-store-link:hover { transform: translateY(-2px); box-shadow: 0 5px 14px #21445b26; }
.app-store-link:active { transform: translateY(1px); }
.app-store-link > span { display: grid; }
.store-small { font-size: .66rem; letter-spacing: .01em; }
.store-large { font-size: 1.4rem; font-weight: 500; letter-spacing: -.035em; }
.download-note { margin-top: .9rem; font-size: .72rem; }
.hero-art { position: relative; min-width: 0; aspect-ratio: 1 / 1.04; display: grid; place-items: center; }
.hero-sky { position: absolute; inset: 1% 1% 10% 4%; border-radius: 48% 48% 42% 42%; background: var(--sky); transform: rotate(-8deg); }
.hero-sky::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("/assets/brand/sky-texture-a2789c17.webp") center / cover; opacity: .16; mix-blend-mode: multiply; }
.hero-cat { position: relative; width: 104%; max-width: none; transform: rotate(-5deg) translate(-1%, -3%); }
.hero-art figcaption { position: absolute; bottom: 1.5%; width: 100%; text-align: center; font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; font-style: italic; color: var(--blue); transform: rotate(-5deg); }
.art-spark { position: absolute; color: var(--blue); z-index: 1; font-weight: 400; line-height: 1; }
.art-spark-one { top: 8%; right: 5%; font-size: 3rem; transform: rotate(12deg); }
.art-spark-two { bottom: 15%; left: -4%; font-size: 3rem; transform: rotate(-15deg); }
.scroll-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; padding-top: 2rem; font-size: .72rem; text-decoration: none; color: var(--muted); }
.scroll-note span { font-size: 1.25rem; color: var(--blue); }
.imagine-section { padding-block: 110px 92px; }
.section-intro { text-align: center; max-width: 38rem; margin: 0 auto; }
.section-intro > p:last-child { max-width: 33rem; margin: 1.4rem auto 0; }
.cloud-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 2.2rem; }
.cloud-study:nth-child(2) { padding-top: 2rem; }
.cloud-layers { position: relative; aspect-ratio: 1; background: radial-gradient(ellipse at 50% 60%, var(--sky), transparent 69%); }
.cloud-layers img { position: absolute; inset: 0; width: 100%; }
.drawing-layer { transition: opacity 450ms ease; }
.cloud-study figcaption { text-align: center; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.1rem; }
.cloud-label { display: none; }
.cloud-gallery.is-clouds-only .drawing-layer { opacity: 0; }
.cloud-gallery.is-clouds-only .drawing-label { display: none; }
.cloud-gallery.is-clouds-only .cloud-label { display: inline; }
.reveal-action { margin-top: 2rem; text-align: center; }
.text-button { border: 0; background: transparent; padding: .7rem .2rem; border-bottom: 1px solid var(--blue); color: var(--blue); cursor: pointer; font-size: .88rem; font-weight: 500; transition: opacity 180ms; }
.text-button > span + span { margin-left: 1.3rem; }
.text-button:hover { opacity: .72; }
.text-button:active { transform: translateY(1px); }
.reveal-action p { margin-top: .7rem; font-size: .7rem; }
.release-section { background: var(--wash); padding-block: 86px 54px; }
.release-heading, .pro-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 5rem; }
.release-heading h2 { max-width: 31rem; }
.release-heading > p, .pro-heading > p { max-width: 26rem; padding-bottom: .4rem; }
.release-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.1rem; margin-top: 3rem; }
.feature { padding: 2.5rem; border-radius: 6px; }
.feature-number { margin-bottom: 1.4rem; font-size: .72rem; font-weight: 500; color: var(--blue); }
.feature p { font-size: .93rem; margin-top: 1rem; max-width: 27rem; }
.feature-video { grid-row: span 2; overflow: hidden; background: var(--paper); padding-bottom: 0; }
.feature-library { background: var(--card); }
.feature-files { background: var(--peach); }
.motion-study { position: relative; min-height: 268px; margin-top: .5rem; }
.motion-study img { position: absolute; width: 280px; max-width: 90%; left: 50%; top: -8%; transform: translateX(-50%); }
.motion-caption { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: .95rem; color: var(--blue); }
.tools-note { display: flex; align-items: center; gap: 1.5rem; max-width: 54rem; margin: 2.2rem auto 0; }
.tools-mark { color: var(--blue); font-size: 2rem; }
.tools-note p { font-size: .83rem; }
.together-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5.5rem; padding-block: 108px; }
.together-copy h2 { max-width: 25rem; }
.together-copy > p:not(.eyebrow) { margin-top: 1.4rem; }
.small-note { font-size: .8rem; }
.together-art { position: relative; aspect-ratio: 1.15; }
.together-orbit { position: absolute; inset: 8% 8% 8%; border: 1px dashed var(--line); border-radius: 50%; transform: rotate(-16deg); }
.together-cat { position: absolute; width: 78%; left: 8%; top: 8%; }
.friend { position: absolute; width: 21%; padding: 7px; border-radius: 50%; background: var(--paper); }
/* Match Avatar.backgroundColor; the character exports retain transparent pixels. */
.friend img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: var(--avatar-background); }
.friend-fox { --avatar-background: color(srgb .79 .89 .85); top: 0; left: 7%; transform: rotate(-12deg); }
.friend-bear { --avatar-background: color(srgb .96 .82 .71); right: 0; top: 24%; transform: rotate(10deg); }
.friend-dragon { --avatar-background: color(srgb .84 .79 .94); left: 11%; bottom: 0; transform: rotate(-8deg); }
.pro-section { border-top: 1px solid var(--line); padding-block: 80px 70px; }
.pro-heading { grid-template-columns: 1fr 1fr; }
.pro-heading h2 { max-width: 20rem; }
.sky-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }
.sky-sample { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 5px; }
.sky-swatch figcaption { margin-top: .8rem; font-size: .85rem; font-weight: 500; }
.swatch-note { margin-top: 1rem; font-size: .72rem; max-width: 47rem; }
.pro-details { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5rem; margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.pro-details p { font-size: .8rem; }
.pro-details strong { display: block; margin-bottom: .25rem; font-weight: 500; color: var(--ink); }
.download-section { text-align: center; padding-block: 2rem 110px; }
.sleeping-cat { width: 280px; margin: 0 auto .5rem; }
.download-section h2 { max-width: 43rem; margin-inline: auto; }
.download-section > p:not(.eyebrow, .download-note) { margin-top: 1.3rem; }
.download-section .app-store-link { margin-top: 1.5rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.2rem 2rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-top .brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-top > p { font-family: 'Fraunces', Georgia, serif; font-size: 1.1rem; font-style: italic; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.8rem; font-size: .72rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-bottom a { text-decoration: none; color: var(--muted); }
.footer-bottom a:hover { text-decoration: underline; }
.theme-button { border: 0; padding: .4rem 0; background: transparent; font-size: .72rem; cursor: pointer; }
.theme-button > span:first-child { color: var(--muted); }
.theme-button > span:last-child { border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .motion-study img { animation: cloud-drift 4.5s ease-in-out 1; }
  @keyframes cloud-drift {
    0%, 100% { transform: translate(-50%, 0) rotate(-3deg); }
    50% { transform: translate(-50%, -8px) rotate(3deg); }
  }
}
@media (max-width: 1000px) {
  .section-wrap { width: calc(100% - 64px); }
  .hero { gap: 1rem; padding-top: 40px; }
  .hero-copy { padding-top: 0; }
  .hero-art { aspect-ratio: 1 / 1.2; }
  .hero-art figcaption { font-size: .9rem; bottom: 3%; }
  .hero-description { font-size: 1rem; }
  .hero-detail { font-size: .85rem; }
  .release-heading, .pro-heading, .pro-details { gap: 2.5rem; }
  .feature { padding: 1.8rem; }
  .feature-video { padding-bottom: 0; }
  .together-section { gap: 3rem; }
  .site-nav { gap: 1.2rem; }
}
@media (max-width: 720px) {
  .section-wrap { width: calc(100% - 40px); }
  .site-header { min-height: 86px; gap: .8rem; flex-wrap: wrap; padding-block: 1rem; }
  .site-header .brand { font-size: 1.07rem; }
  .site-header .brand img { width: 39px; height: 39px; border-radius: 10px; }
  .site-nav { order: 3; width: 100%; justify-content: center; gap: 2rem; padding-top: .2rem; }
  .site-nav a { font-size: .75rem; }
  .nav-download { font-size: .72rem; padding: .55rem .7rem; }
  .nav-download span { margin-left: .2rem; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; gap: 0; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  .hero-description, .hero-detail { max-width: 28rem; }
  .eyebrow { font-size: .67rem; margin-bottom: 1.1rem; }
  .hero-art { width: min(420px, 100%); margin: 1rem auto 0; aspect-ratio: 1 / 1.02; }
  .hero-cat { width: 105%; }
  .art-spark-two { left: 0; }
  .hero-art figcaption { bottom: 1%; }
  .scroll-note { padding-top: 1.7rem; justify-content: center; }
  .imagine-section { padding-block: 65px 60px; }
  .section-intro p:last-child { font-size: .9rem; }
  .cloud-gallery { gap: .15rem; margin-top: 1.8rem; }
  .cloud-study:nth-child(2) { padding-top: 1rem; }
  .cloud-study figcaption { font-size: .83rem; }
  .cloud-gallery.is-clouds-only .cloud-label { font-size: .67rem; }
  .reveal-action { margin-top: 1.5rem; }
  .release-section { padding-block: 54px 40px; }
  .release-heading, .pro-heading, .pro-details { grid-template-columns: 1fr; gap: 1.4rem; }
  .release-heading > p, .pro-heading > p { max-width: 32rem; font-size: .9rem; }
  .release-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .feature { padding: 1.8rem; }
  .feature-video { padding-bottom: 0; }
  .feature h3 { max-width: 22rem; }
  .motion-study { min-height: 260px; }
  .tools-note { gap: 1rem; margin-top: 1.7rem; }
  .tools-note p { font-size: .78rem; }
  .together-section { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 65px; }
  .together-art { max-width: 340px; width: 100%; margin-inline: auto; }
  .together-copy { order: -1; }
  .pro-section { padding-block: 55px 45px; }
  .pro-heading h2 { max-width: 100%; }
  .sky-swatches { gap: .65rem; margin-top: 1.8rem; }
  .sky-sample { aspect-ratio: .8; }
  .sky-swatch figcaption { font-size: .7rem; line-height: 1.4; }
  .swatch-note { font-size: .67rem; }
  .pro-details { gap: 1rem; }
  .download-section { padding-block: 1rem 65px; }
  .download-section h2 { max-width: 24rem; }
  .sleeping-cat { width: 230px; }
  .download-note { font-size: .67rem; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .footer-top > p { font-size: 1rem; }
  .footer-bottom { margin-top: 1.4rem; }
  .footer-bottom nav { gap: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
