/* Circled's own site: a paper calendar. Warm paper, deep teal ink, rounded type, and dates circled by hand in aqua.
   Nothing here is shared with the other apps' sites. */
:root {
  --paper: #FBF6EC;
  --sheet: #FFFDF8;
  --ink: #0F3440;
  --muted: #47636B;
  --teal: #024B59;
  --aqua: #1CCAC1;
  --sand: #F6E3C1;
  --rule: #E8DFCD;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  /* A pen loop drawn round a word or a date. */
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M112 9C60 4 12 20 8 50c-4 30 44 46 98 43 52-3 90-22 86-47C188 22 150 8 100 10 66 11 40 18 30 27' fill='none' stroke='%231CCAC1' stroke-width='5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #062F38; --sheet: #0B3D48; --ink: #F3EADB; --muted: #B5C9CB; --teal: #0A5C6C; --rule: #1A5160; }
}
:root[data-theme="dark"] { --paper: #062F38; --sheet: #0B3D48; --ink: #F3EADB; --muted: #B5C9CB; --teal: #0A5C6C; --rule: #1A5160; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--round); }
a { color: inherit; text-decoration-color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 760px) { .wrap { padding-inline: 36px; } }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; margin: 0; }
.ring { position: relative; white-space: nowrap; }
.ring { margin-inline: 0.3em; }
/* A capsule hugs a phrase better than an ellipse, so long words aren't cut at the corners. Tilted a touch, like a pen mark. */
.ring::after { content: ""; position: absolute; inset: -0.06em -0.3em -0.02em; border: 0.075em solid var(--aqua); border-radius: 999px; transform: rotate(-1.6deg); pointer-events: none; }

.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; font-size: 0.95rem; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--aqua); }

/* Hero: the headline beside a calendar page with dates circled. */
.hero { display: grid; gap: 40px; align-items: center; padding-block: 32px 64px; }
@media (min-width: 880px) { .hero { grid-template-columns: 1fr 1fr; padding-block: 56px 80px; } }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 3.9rem); line-height: 1.2; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); margin: 22px 0 24px; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--sand); color: #3B2E14; border-radius: 999px; padding: 5px 13px; font-size: 0.9rem; font-weight: 600; }

.calendar { background: var(--sheet); border-radius: 22px; box-shadow: 0 2px 0 var(--rule), 0 24px 60px rgba(15, 52, 64, 0.14); overflow: hidden; transform: rotate(1.2deg); max-width: 460px; justify-self: center; width: 100%; }
.calendar header { background: var(--teal); color: #FFFFFF; padding: 26px 22px 14px; position: relative; display: flex; justify-content: space-between; align-items: baseline; }
.calendar header::before, .calendar header::after { content: ""; position: absolute; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 2px 3px rgba(0,0,0,0.3); }
.calendar header::before { left: 28%; } .calendar header::after { right: 28%; }
.calendar header b { font-size: 1.5rem; }
.calendar header span { opacity: 0.8; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 14px 14px 18px; text-align: center; }
.grid .dow { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: 4px; }
.grid .d { position: relative; padding: 9px 0 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.grid .d.c::after { content: ""; position: absolute; inset: 2px 4px; background: var(--ring) center / 100% 100% no-repeat; }
.grid .d i { position: absolute; left: 0; right: 0; bottom: -3px; font-style: normal; font-size: 0.8rem; }
.grid .d.today { color: var(--aqua); }

/* Features: tear-off pages, each with a "days to go" stub. */
.pages { display: grid; gap: 36px; padding-block: 16px 56px; }
.pagecard { background: var(--sheet); border-radius: 26px; padding: 30px 22px; display: grid; gap: 28px; align-items: center; position: relative; box-shadow: 0 1px 0 var(--rule); }
.pagecard::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; border-top: 3px dashed var(--rule); }
@media (min-width: 820px) { .pagecard { grid-template-columns: 1.05fr 0.95fr; padding: 44px 48px; } .pagecard.flip .phone { order: -1; } }
.stub { display: inline-flex; align-items: baseline; gap: 8px; background: var(--teal); color: #FFFFFF; border-radius: 14px; padding: 6px 14px; margin-bottom: 16px; }
.stub b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.pagecard h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.3; margin-bottom: 14px; }
.pagecard p { color: var(--muted); margin: 0 0 12px; }
.pagecard ul { margin: 0; padding: 0; list-style: none; }
.pagecard li { padding: 6px 0 6px 30px; position: relative; color: var(--muted); }
.pagecard li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 13px; background: var(--ring) center / 100% 100% no-repeat; }
.phone { justify-self: center; width: min(270px, 78%); padding: 9px; background: #10181B; border-radius: 40px; box-shadow: 0 20px 50px rgba(15, 52, 64, 0.25); transform: rotate(-1.5deg); }
.pagecard.flip .phone { transform: rotate(1.5deg); }
.phone img { border-radius: 32px; }

.yours { background: var(--teal); color: #FFFFFF; border-radius: 30px; padding: 40px 24px; margin-bottom: 40px; }
@media (min-width: 760px) { .yours { padding: 52px 52px; } }
.yours h2 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.3; margin-bottom: 26px; }
.yours ul { display: grid; gap: 22px; margin: 0 0 24px; padding: 0; list-style: none; }
@media (min-width: 760px) { .yours ul { grid-template-columns: repeat(2, 1fr); } }
.yours strong { display: block; font-size: 1.15rem; color: var(--sand); }
.yours span { opacity: 0.88; }
.yours a { color: #FFFFFF; font-weight: 700; }

/* Text pages. */
.page { max-width: calc(44em + 72px); padding-block: 36px 64px; }
.page h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.3; margin-bottom: 18px; }
.page .meta { display: inline-block; background: var(--sand); color: #3B2E14; border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 0.92rem; margin-bottom: 30px; }
.page h2 { font-size: 1.5rem; margin: 40px 0 10px; }
.page ul { padding-left: 1.2em; } .page li { margin-bottom: 8px; }
.contact { background: var(--sheet); border-radius: 24px; padding: 26px; margin: 4px 0 32px; box-shadow: 0 1px 0 var(--rule); }
.contact h2 { margin: 0 0 8px; }
.button { display: inline-block; background: var(--teal); color: #FFFFFF; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; margin-top: 6px; }
details { background: var(--sheet); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

.small { font-size: 0.9rem; color: var(--muted); }
.foot .wrap { border-top: 2px dashed var(--rule); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; padding-block: 22px 40px; font-size: 0.9rem; color: var(--muted); }
.foot nav { display: flex; gap: 18px; }

.lost { text-align: center; padding-block: 72px 40px; }
.lost .big .ring::after { border-width: 0.05em; }
.lost .big { font-size: clamp(5rem, 22vw, 9rem); font-weight: 800; line-height: 1; color: var(--teal); }
.lost p { color: var(--muted); font-size: 1.15rem; }
