/* Stickyyy landing.
   Desk: cool grey (light) / graphite (dark), like the app's window shell.
   Paper colors come from Palette.all; the yellow paper is the one accent (CTA).
   Type: the system face (SF), the same one the app uses. */

:root {
  --desk: #ECECEE;
  --desk-2: #E2E2E6;
  --ink: #1D1D1F;
  --ink-2: #4A4A50;
  --line: rgba(0, 0, 0, .10);
  --surface: #F7F7F8;
  --yellow: #FFE680;
  --pink: #FFB8D1;
  --green: #B9F0B0;
  --blue: #A8D8FF;
  --purple: #D7C4FF;
  --paper-ink: #1D1D1F;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-paper: 0 1px 1px rgba(0,0,0,.06), 0 10px 24px -8px rgba(0,0,0,.22);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --desk: #1B1B1D;
    --desk-2: #232326;
    --ink: #F2F2F4;
    --ink-2: #A8A8B0;
    --line: rgba(255, 255, 255, .10);
    --surface: #26262A;
    --shadow-paper: 0 1px 1px rgba(0,0,0,.3), 0 14px 30px -10px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 800; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid #1F5FBF; outline-offset: 3px; border-radius: 6px; }

/* language: both versions live in the page, one is hidden */
html[lang="pt-BR"] body [lang="en"],
html[lang="en"] body [lang="pt-BR"] { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--desk); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 650; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform 140ms var(--ease), background-color 150ms ease;
}
.btn:active { transform: scale(0.96); }
.btn-paper { background: var(--yellow); color: #1D1D1F; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08), var(--shadow-paper); }
.btn-ink { background: #1D1D1F; color: #FFE680; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.btn-quiet { background: transparent; color: inherit; border: 1px solid var(--line); min-height: 44px; font-size: 15px; padding: 0 16px; }
@media (hover: hover) and (pointer: fine) {
  .btn-paper:hover { background: #FFDD55; }
  .btn-quiet:hover { background: var(--line); }
}

/* top */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1240px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-left));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; min-height: 44px; }
.top-nav { display: flex; align-items: center; gap: 8px; }
.top-link { text-decoration: none; padding: 10px 10px; color: var(--ink-2); font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.top-link:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.lang button {
  background: none; border: 0; color: var(--ink-2); font: 600 13px/1 inherit; font-family: inherit;
  min-width: 40px; min-height: 36px; border-radius: 8px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--desk); }

/* sections */
main { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sec { padding: clamp(72px, 10vw, 128px) 0; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: clamp(24px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 850; }
.lede { margin-top: 22px; font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-note { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.soon-line { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

.desk { position: relative; aspect-ratio: 6 / 5; }
.window {
  position: absolute; inset: 6% 0 10% 8%; margin: 0;
  border-radius: 14px; overflow: hidden; background: #0D0D0F;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.2);
}
.window img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* stickies (the identity motif: real paper, real content) */
.st {
  --paper: var(--yellow);
  position: relative; background: var(--paper); color: var(--paper-ink);
  border-radius: 10px; box-shadow: var(--shadow-paper);
  padding: 0 18px 18px; font-size: 15px; line-height: 1.45;
}
.st-bar { height: 26px; margin: 0 -18px 12px; border-radius: 10px 10px 0 0; background: rgba(0,0,0,.05); display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; }
.st-h { font-weight: 750; font-size: 17px; margin-bottom: 4px; }
.st p + p { margin-top: 6px; }
.st-yellow { --paper: var(--yellow); }
.st-green { --paper: var(--green); }
.st-pink { --paper: var(--pink); }
.st-blue { --paper: var(--blue); }
.st-purple { --paper: var(--purple); }

.desk .st { position: absolute; width: min(46%, 270px); }
.h1-a { left: 0; top: 0; transform: rotate(-3deg); min-height: 150px; }
.h1-b { right: -2%; top: 38%; transform: rotate(2.5deg); }
.h1-c { left: 18%; bottom: 0; transform: rotate(-1.2deg); width: min(36%, 210px) !important; }

.peer { font-size: 11px; font-weight: 700; color: #fff; background: var(--peer); padding: 1px 7px; border-radius: 5px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--peer); vertical-align: -0.18em; margin-left: 1px; }
.js .caret { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.peer-tag { font-size: 10px; font-weight: 700; color: #fff; background: var(--peer); padding: 0 5px; border-radius: 4px; margin-left: 4px; vertical-align: 0.2em; }

.chip { display: inline-block; font-size: 12.5px; font-weight: 650; color: #fff; background: var(--chip); padding: 1px 8px; border-radius: 6px; }
.chip-date { background: rgba(0,0,0,.08); color: #1D1D1F; }
.mention { font-weight: 650; color: #205785; }
.link-chip { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; background: rgba(255,255,255,.55); padding: 0 7px 0 4px; border-radius: 6px; }
.link-chip img { border-radius: 3px; }

.ck { list-style: none; margin: 4px 0 0; padding: 0; }
.ck li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 3px 0; }
.ck i { flex: none; width: 15px; height: 15px; border: 1.5px solid rgba(0,0,0,.45); border-radius: 4px; transform: translateY(2px); }
.ck .done i { background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: transparent; }
.ck .done { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.45); }
.ck small { font-size: 12px; color: #4F4F55; text-decoration: none; display: inline-block; }

/* hero entrance: one orchestrated moment */
.js .desk .st, .js .desk .window { opacity: 0; translate: 0 14px; transition: opacity 600ms var(--ease), translate 700ms var(--ease); }
.js .desk.in .window { opacity: 1; translate: 0 0; }
.js .desk.in .st { opacity: 1; translate: 0 0; }
.js .desk.in .h1-a { transition-delay: 120ms; }
.js .desk.in .h1-b { transition-delay: 220ms; }
.js .desk.in .h1-c { transition-delay: 320ms; }

/* together */
.together { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.together-copy p { margin-top: 18px; color: var(--ink-2); max-width: 32em; }
.together-copy .signin { color: var(--ink); font-weight: 600; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.screen { background: var(--desk-2); border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.screen-who { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.screen .st { min-height: 170px; }
.ghost { opacity: .55; }

/* library */
.library-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.library-head p { color: var(--ink-2); max-width: 34em; }
.viewer { margin-top: 36px; }
.switch { display: inline-flex; background: var(--desk-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 16px; }
.switch button { border: 0; background: none; color: var(--ink-2); font: 600 15px/1 inherit; font-family: inherit; padding: 0 18px; min-height: 40px; border-radius: 999px; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--desk); }
.window-flat { position: relative; inset: auto; aspect-ratio: 1400 / 938; }
.window-flat img { transition: opacity 180ms ease, filter 180ms ease; }
.window-flat img.swap { opacity: 0; filter: blur(6px); }

/* inside */
.inside h2 { max-width: 14em; }
.inside-grid {
  margin-top: 48px; display: grid; gap: 28px 40px;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas:
    "big t1"
    "big t2"
    "t3 chart"
    "snap t4";
  align-items: start;
}
.big { grid-area: big; transform: rotate(-1deg); font-size: 16px; padding-bottom: 22px; }
.big p { margin-top: 8px; }
.t1 { grid-area: t1; align-self: end; }
.t2 { grid-area: t2; }
.t3 { grid-area: t3; align-self: center; }
.t4 { grid-area: t4; align-self: center; }
.chart { grid-area: chart; transform: rotate(1.5deg); display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.chart .st-bar { grid-column: 1 / -1; margin-bottom: 0; }
.code { margin: 0; white-space: pre-wrap; font-size: 12.5px; line-height: 1.5; color: #1B3F63; }
.pie { width: 110px; height: 110px; }
.inside-text p { margin-top: 8px; color: var(--ink-2); max-width: 30em; }
.inside-text code { background: var(--line); padding: 1px 5px; border-radius: 5px; }
.snap { grid-area: snap; position: relative; height: 190px; }
.snap-a, .snap-b { position: absolute; width: 42%; height: 130px; border-radius: 10px; box-shadow: var(--shadow-paper); }
.snap-a { background: var(--pink); left: 6%; top: 30px; }
.snap-b { background: var(--green); left: calc(6% + 42% + 14px); top: 30px; }
.guide { position: absolute; background: #FF453A; }
.gv { width: 1px; top: 0; bottom: 0; left: calc(6% + 42% + 7px); }
.gh { height: 1px; left: 0; right: 0; top: 30px; }
.js .snap.in .snap-b { animation: snapIn 900ms var(--ease) both; }
.js .snap .guide { opacity: 0; }
.js .snap.in .guide { animation: guideFlash 1400ms ease both; }
@keyframes snapIn { from { translate: 26px 14px; } 60% { translate: 2px 1px; } to { translate: 0 0; } }
@keyframes guideFlash { 0%, 30% { opacity: 0; } 100% { opacity: .9; } }

/* claude */
.claude { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.claude-copy p { margin-top: 18px; color: var(--ink-2); max-width: 32em; }
.connect { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 14px; min-width: 0; }
.connect p { font-size: 15px; color: var(--ink-2); }
.connect strong { color: var(--ink); }
.url-row { display: flex; gap: 10px; align-items: stretch; min-width: 0; }
.url { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; background: var(--desk); border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px; font-size: 13.5px; }
.copy-status { min-height: 1.4em; font-size: 14px; }

/* phones */
.phones { border-top: 1px solid var(--line); }
.soon { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.soon li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.soon strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.soon-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* end */
.end { display: grid; justify-items: center; text-align: center; }
.end-note { width: min(100%, 520px); transform: rotate(-1.5deg); padding: 0 32px 32px; }
.end-note .st-bar { margin: 0 -32px 22px; }
.end-note h2 { color: #1D1D1F; }
.end-note .cta { justify-content: center; }
.end-note .cta-note { color: #4F4F55; }
.privacy { margin-top: 40px; max-width: 36em; font-size: 15px; color: var(--ink-2); }

/* footer */
.foot { max-width: 1240px; margin: 0 auto; padding: 28px 16px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* narrow */
@media (max-width: 900px) {
  .hero, .together, .library-head, .claude { grid-template-columns: 1fr; }
  .desk { margin-top: 8px; }
  .inside-grid { grid-template-columns: 1fr; grid-template-areas: "big" "t1" "t2" "chart" "t3" "snap" "t4"; }
  .t1 { align-self: start; }
}
@media (max-width: 560px) {
  .top-link { display: none; }
  .pair { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr; }
  .desk { aspect-ratio: 4 / 5; }
  .window { inset: 14% 0 18% 0; }
  .desk .st { width: 62%; font-size: 14px; }
  .h1-b { right: 0; top: 46%; }
  .h1-c { left: 4%; width: 48% !important; }
  .chart { grid-template-columns: 1fr; }
  .pie { justify-self: center; }
  .url-row { flex-direction: column; }
  .end-note { padding: 0 20px 24px; }
  .end-note .st-bar { margin: 0 -20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .desk .st, .js .desk .window { translate: none !important; transition: opacity 200ms ease; }
  .js .caret { animation: none; }
  .js .snap.in .snap-b { animation: none; }
  .js .snap .guide { opacity: 1; }
  .js .snap.in .guide { animation: none; }
  .btn:active { transform: none; }
}
