/* Curious Colour: the same paper, type and ink as the app. */
@font-face{font-family:CCBree;src:url('/assets/fonts/BreeSerif-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:CCABeeZee;src:url('/assets/fonts/ABeeZee-Regular.ttf') format('truetype');font-display:swap}
.btn{padding-block:12px;white-space:normal;word-break:normal;overflow-wrap:normal;text-align:center;line-height:1.35;justify-content:center;max-width:100%}
.btn svg{flex:0 0 18px}
.brand svg{flex-shrink:0}
.p-cc{--bg:#fffaf0;--fg:#2e4747;--muted:#526560;--line:#d5dfd3;--panel:#f5eedf;--accent:#2e4747;--on-accent:#fffaf0;--sans:CCABeeZee,system-ui,sans-serif;--serif:CCBree,Georgia,serif;color-scheme:light}
.p-cc h1,.p-cc h2,.p-cc h3{font-family:CCBree,Georgia,serif;font-weight:400;letter-spacing:-.025em;line-height:1.1}
.p-cc .serif{font-family:inherit;font-style:normal}
.p-cc .site-header{height:64px;position:relative}
.p-cc .site-header .brand,.p-cc .site-header .nav{font-family:system-ui,sans-serif}
.p-cc .site-footer{background:#2e4747;color:#fffaf0;--muted:#d3dfd5;--line:#657a73;padding-top:64px}
.p-cc .site-footer h2{font-family:CCABeeZee,system-ui,sans-serif;font-size:15px}
.cc-nav{border-bottom:1px solid var(--line);background:var(--bg)}
.cc-nav>.wrap{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:12px}
.cc-nav-logo{flex:0 1 225px}
.cc-nav-logo img{width:225px;height:auto}
.cc-nav>div>div{display:flex;flex-wrap:wrap;gap:6px 22px}
.cc-nav a{text-decoration:none;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.cc-nav a:hover{text-decoration:underline}
.cc-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-family:CCABeeZee,system-ui,sans-serif;color:#526560;line-height:1.6}
.cc-hero{padding-block:clamp(44px,6vw,88px)}
.cc-hero-grid{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:clamp(30px,4vw,64px)}
.cc-hero h1{font-size:clamp(2.75rem,4.65vw,4.5rem);margin:16px 0 20px;line-height:1.05}
.cc-hero h1 span{color:#b34634}
.cc-intro{font-size:clamp(17px,1.45vw,20px);line-height:1.65;max-width:43ch}
.cc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}
.cc-availability{font-size:14px;margin-top:16px;color:var(--muted)}
.cc-hero-art{background:#e8ede0;border:1px solid var(--line);border-radius:clamp(16px,2.3vw,30px);padding:clamp(10px,2vw,28px)}
.cc-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.2vw,16px)}
.cc-comparison figure{overflow:hidden;background:#fff;border:1px solid #d8e0d4;border-radius:clamp(9px,1.5vw,16px);box-shadow:0 4px 12px #2e474710}
.cc-comparison img{width:100%;height:auto}
.cc-comparison figcaption{border-top:1px solid #e4e8e0;padding:clamp(7px,1vw,13px);text-align:center;font-size:clamp(.8125rem,1.2vw,1rem);line-height:1.3}
.cc-example-caption{margin-top:clamp(10px,1.3vw,16px);text-align:center;color:var(--muted);font-size:.8125rem}
.cc-trust{border-block:1px solid var(--line);background:#eef1e5}
.cc-trust .wrap{display:flex;justify-content:space-between;gap:24px;padding-block:22px}
.cc-trust p{font-size:14px}
.cc-section{padding-block:clamp(60px,8vw,110px)}
.cc-section-heading{max-width:660px;margin:0 auto 50px;text-align:center}
.cc-section h2{font-size:clamp(2.2rem,4.3vw,4.1rem);margin:15px 0 24px}
.cc-section-heading>p:last-child{max-width:48ch;margin:auto;line-height:1.75}
.cc-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cc-feature{border-radius:28px;padding:clamp(24px,3vw,44px) clamp(24px,3vw,44px) 0;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:30px}
.cc-feature>div{align-self:stretch;max-width:49ch}
.cc-feature h3{font-size:clamp(1.85rem,2.8vw,2.7rem);margin-bottom:12px}
.cc-feature p{line-height:1.75}
.cc-peach{background:#f6e0ce}.cc-lilac{background:#e9e4f3}.cc-mint{background:#dceadd}.cc-sky{background:#dce9ed}
.cc-screen{max-width:255px;width:65%;border:4px solid #2e4747;border-bottom:0;border-radius:24px 24px 0 0;overflow:hidden;margin-top:auto;background:var(--bg)}
.cc-screen img{width:100%;height:auto}
.cc-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8%;align-items:start}
.cc-two-col>div>p+p{margin-top:20px}
.cc-paper-section{align-items:center}
.cc-tablet{max-width:380px;width:90%;justify-self:center;border:8px solid var(--fg);border-radius:24px;overflow:hidden;box-shadow:0 14px 35px #2e474716;transform:rotate(3deg)}
.cc-small{font-size:13px;line-height:1.7;color:var(--muted)}
.cc-private{background:#e9eee3}
.cc-text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:20px}
.cc-help{text-align:center}
.cc-help .wrap{max-width:800px}
.cc-help .cc-actions{justify-content:center}
.cc-help h2{font-size:clamp(2rem,4vw,3rem)}
.p-cc .page-head{padding-block:55px 35px}
.p-cc .page-head h1{font-size:clamp(2.6rem,6vw,5rem)}
.p-cc .page-head p{max-width:52ch}
.p-cc .prose{font-size:17px;line-height:1.8}
.p-cc .prose h2{font-size:1.65rem;line-height:1.25}
.p-cc .toc a{line-height:1.5;padding-block:8px;word-break:normal}
.p-cc .legal{padding-bottom:85px}
.cc-support{padding-top:20px}
.cc-faq h2,.cc-support .card h2,.cc-downloads h2{font-size:1.8rem;margin-top:0}
.cc-faq details{padding:18px 0;border-bottom:1px solid var(--line)}
.cc-faq summary{cursor:pointer;line-height:1.55;font-size:17px;padding-right:15px}
.cc-faq details p{margin-top:15px;line-height:1.8;font-size:15px}
.cc-support .card{padding:28px;border-radius:18px;background:#f2eddf}
.cc-downloads{padding:30px;background:#eef1e5;border-radius:24px}
.cc-downloads figure{padding:20px 0 35px}
.cc-downloads figure img{width:100%;height:auto}
.cc-downloads ul{padding-left:20px;margin:20px 0}
.cc-downloads li{margin:12px 0;line-height:1.7}
@media(max-width:1000px){
  .cc-hero-grid{grid-template-columns:1fr;gap:28px}
  .cc-hero-copy,.cc-hero-art{width:100%;max-width:680px;margin-inline:auto}
  .cc-hero-copy{text-align:center}
  .cc-hero h1{font-size:clamp(2.75rem,7.5vw,4.5rem);max-width:16ch;margin-inline:auto}
  .cc-intro{margin-inline:auto}
  .cc-actions{justify-content:center}
  .cc-two-col{gap:5%}
  .cc-features{gap:16px}
  .cc-screen{width:75%}
}
@media(max-width:650px){
  .p-cc .site-header .brand{font-size:15px}
  .p-cc .site-header .brand small{font-size:12px}
  .cc-nav>.wrap{align-items:center;gap:8px;flex-direction:column;padding-block:12px 4px}
  .cc-nav-logo{flex-basis:auto}
  .cc-nav-logo img{width:190px}
  .cc-nav>div>div{justify-content:center;gap:0 20px}
  .cc-nav a{min-height:44px}
  .cc-hero{padding-block:30px 34px}
  .cc-hero h1{font-size:clamp(2.4rem,8.5vw,3.4rem)}
  .cc-actions{margin-top:20px}
  .cc-availability{margin-top:12px}
  .cc-trust .wrap{justify-content:center;flex-wrap:wrap;gap:6px 18px;padding-block:14px}
  .cc-features,.cc-two-col{grid-template-columns:1fr;gap:24px}
  .cc-feature{padding:28px 25px 0;border-radius:24px;gap:22px}
  .cc-feature h3{font-size:2rem}
  .cc-screen{max-width:225px;width:70%}
  .cc-section h2{font-size:2.3rem}
  .cc-two-col>div{min-width:0}
  .cc-tablet{max-width:310px;width:80%;margin-top:10px}
  .cc-support .card,.cc-downloads{padding:24px}
  .p-cc .page-head{padding-top:35px}
  .p-cc .prose{font-size:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cc-tablet{transform:none}}
.cc-tablet img{width:100%;height:auto}

/* Long support addresses stay within narrow screens. */
.cc-support a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Reading and library tools */
.cc-reading{background:#f6e0ce}
.cc-reading .cc-two-col{align-items:center}
.cc-story-screen{max-width:300px;justify-self:center;border:5px solid white;border-radius:26px;overflow:hidden;box-shadow:0 18px 40px #2e47471a}
.cc-story-screen img{width:100%;height:auto}
.cc-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.cc-detail-grid h3{font-size:28px;margin-bottom:12px}
.cc-detail-grid p{line-height:1.75}
.cc-organise{background:#eef1e5}
@media(max-width:760px){
  .cc-detail-grid{grid-template-columns:1fr;gap:24px}
  .cc-story-screen{max-width:260px}
}

/* Real photo to page examples */
.cc-examples{background:#f7f2e6}
.cc-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,32px);align-items:start}
.cc-pair{background:#e8ede0;border:1px solid var(--line);border-radius:clamp(16px,2vw,26px);padding:clamp(10px,1.6vw,20px) clamp(10px,1.6vw,20px) clamp(14px,1.8vw,22px)}
.cc-pair-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(8px,1.2vw,14px)}
.cc-pair figure,.cc-number-steps figure{margin:0;overflow:hidden;background:#fff;border:1px solid #d8e0d4;border-radius:clamp(9px,1.4vw,16px);box-shadow:0 4px 12px #2e474710;display:flex;flex-direction:column}
.cc-pair figure img{width:100%;aspect-ratio:var(--ratio,4/5);object-fit:contain;padding:clamp(6px,1vw,12px);height:auto}
.cc-pair figure:first-child img{padding:0;object-fit:cover}
.cc-pair figcaption,.cc-number-steps figcaption{border-top:1px solid #e4e8e0;padding:clamp(7px,.9vw,11px);text-align:center;font-size:clamp(.8125rem,1.1vw,.95rem);line-height:1.3;margin-top:auto}
.cc-pair h3{font-size:clamp(1.2rem,1.7vw,1.5rem);margin-top:clamp(12px,1.4vw,18px);text-align:center}
.cc-examples .cc-example-caption{margin-top:28px}
.cc-numbers{background:#e9e4f3}
.cc-number-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.6vw,22px);max-width:1000px;margin:auto;align-items:start}
.cc-number-steps img{width:100%;height:auto;aspect-ratio:600/900;object-fit:contain}
.cc-step-photo img{object-fit:cover}
.cc-step-page img,.cc-step-guide img{padding:clamp(8px,1.2vw,16px)}
@media(max-width:650px){
  .cc-pairs{grid-template-columns:1fr}
  .cc-number-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cc-step-page{grid-column:span 2;grid-row:2}
}
