/*
 * The cream look for every page after the home page. Loaded AFTER tellmycrm.css.
 * It restyles the class names the pages already use (from site.css), so the
 * wording and structure of each page stay exactly as they are.
 */
:root {
  /* The names the pages' own small <style> blocks use, mapped onto the cream palette. */
  --fg: var(--ink);
  --card: #FFFFFF;
  --border: rgb(27 27 26 / .12);
  --primary: var(--green-2);
  --accent: var(--mint);
  --accent-fg: var(--ink);
  --bubble-in: #2A2A27;
  --bubble-out: #1F5E4F;
  --ink-fg: #F6F5EA;
  --ink-muted: #B9B7A9;
  --ink-line: rgb(255 255 255 / .14);
}

h3 { font-family: var(--sans); font-weight: 650; font-size: 20px; line-height: 1.3; }
section { padding: 110px 0; }
.eyebrow { display: block; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.lede p, .section-head p { font-size: 19px; color: var(--muted); }
.lede p + p { margin-top: 16px; }
.note { margin-top: 28px; font-size: 17px; color: var(--muted); max-width: 820px; }
.more { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; color: var(--ink); }
.card a:not(.btn), .lede a:not(.btn), .note a { color: var(--green-2); font-weight: 600; }
strong { font-weight: 650; }

/* Buttons: the solid green one and a green outline. */
.btn-primary { background: var(--green); color: var(--cream); border: 0; }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn-ghost:hover { background: var(--cream-2); }
.film-tri { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ── Hero: cream, not dark. Two columns when there's a mock, centred text when not. */
.hero.ink { background: transparent; color: var(--ink); text-align: left; padding: 72px 0 110px; }
.hero.ink .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.hero.ink .wrap[style*="grid-template-columns:1fr"] { display: block; text-align: center; }
.hero.ink .wrap[style*="grid-template-columns:1fr"] > div { margin: 0 auto; }
.hero.ink .wrap[style*="grid-template-columns:1fr"] .sub { margin-left: auto; margin-right: auto; }
.hero.ink h1 { font-size: clamp(50px, 6.2vw, 84px); line-height: .98; }
.hero.ink .sub { margin-top: 26px; font-size: 20px; line-height: 1.55; color: var(--ink); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero.ink .wrap[style*="grid-template-columns:1fr"] .hero-cta { justify-content: center; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .rise.d1 { animation-delay: .05s } .rise.d2 { animation-delay: .15s } .rise.d3 { animation-delay: .28s } .rise.d4 { animation-delay: .4s } .rise.d5 { animation-delay: .52s }
}

/* ── Bands: .mint becomes the green rounded panel; the close is the dark one. */
section.mint { background: var(--green); color: #fff; border-radius: 56px; margin: 0 12px; }
section.mint h2, section.mint h3:not(.card h3), section.mint strong:not(.card strong) { color: #fff; }
section.mint .eyebrow { color: rgb(255 255 255 / .7); }
section.mint .lede p, section.mint .note, section.mint .numbered p, section.mint > .wrap > p { color: rgb(255 255 255 / .82); }
section.mint .numbered .n { color: var(--mint-ink); opacity: .75; }
section.mint .more { color: #fff; }
section.mint .note a, section.mint .lede a { color: var(--mint-ink); }
section.mint .btn-ghost { color: #fff; border-color: #fff; }
section.mint .btn-ghost:hover { background: rgb(255 255 255 / .08); }
section.mint .figs-note { color: rgb(255 255 255 / .65); }
section.mint .ticks li { color: rgb(255 255 255 / .85); }
section.mint .card .ticks li { color: var(--muted); }

section.ink.close { background: var(--ink); color: #fff; border-radius: 56px 56px 0 0; margin-top: 40px; text-align: center; padding: 120px 0 130px; }
section.ink.close h2 { color: #fff; }
section.ink.close p { margin: 22px auto 0; max-width: 660px; font-size: 19.5px; color: rgb(255 255 255 / .82); }
section.ink.close p strong { color: #fff; }
section.ink.close .hero-cta { justify-content: center; }
section.ink.close .btn-ghost { color: #fff; border-color: #fff; }
section.ink.close .btn-ghost:hover { background: rgb(255 255 255 / .08); }
section.ink.close .pull { color: #fff; }
.site-footer { padding-top: 90px; }

/* ── Layouts ─────────────────────────────────────────────────────────── */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cards { display: grid; gap: 18px; margin-top: 52px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--beige); border-radius: 26px; padding: 32px 32px 34px; color: var(--ink); }
section.mint .card { background: #fff; }
.card h3 + p, .card h3 + ul { margin-top: 12px; }
.card p { color: var(--muted); font-size: 17px; }
.card .n { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--green-2); opacity: .55; margin-bottom: 20px; }
.card em { font-style: italic; color: var(--ink); }

.numbered { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 30px; }
.numbered li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; }
.numbered .n { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--green-2); opacity: .5; }
.numbered h3 { margin-bottom: 6px; }
.numbered p { color: var(--muted); font-size: 17px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--muted); font-size: 17px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231B1B1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.photo { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.figs { display: grid; gap: 12px; }
.fig { background: #fff; border-radius: 18px; padding: 18px 22px 20px; color: var(--ink); }
.fig .top { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); }
.fig .top .aside { color: var(--green-2); font-weight: 600; }
.fig .v { display: block; margin-top: 4px; font-family: var(--serif); font-size: 36px; line-height: 1.1; }
.figs-note { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

.screen { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--muted); font-weight: 600; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--beige); }
.screen-bar span { margin-left: 10px; }
.screen figcaption { padding: 12px 16px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--border); }
.screen-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.screen-links .btn { font-size: 15px; padding: 11px 16px; }

/* ── The phone mock: dark, on cream or on green ─────────────────────── */
.phone { width: 100%; max-width: 440px; margin-left: auto; padding: 10px; border-radius: 40px; background: #2A2A27; box-shadow: 0 40px 80px -34px rgb(0 0 0 / .55); color: var(--ink-fg); font-size: 16px; line-height: 1.5; }
.phone-inner { background: var(--ink); border-radius: 31px; padding: 20px 18px 22px; }
.phone-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-line); }
.phone-head .avatar img { width: 40px; height: 40px; border-radius: 50%; }
.phone-head .who { display: block; font-weight: 650; font-size: 16px; }
.phone-head .where { display: block; font-size: 13.5px; color: var(--mint-ink); }
.thread { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 18px; background: var(--bubble-in); }
.msg.them { align-self: flex-start; border-top-left-radius: 5px; }
.msg.me { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 5px; }
.msg .line { display: block; }
.msg .meta { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-muted); }
.msg .meta.ok, .msg .tick { color: var(--mint-ink); font-weight: 600; }
.brief-lines { white-space: pre-line; font-size: 15.5px; }
.msg .cite { font-size: 13px; color: var(--mint-ink); opacity: .85; white-space: nowrap; }
.card-quote { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin-top: 10px; font-size: 14.5px; }
.card-quote .row { display: contents; }
.card-quote .k { color: var(--ink-muted); }

/* ── Films on the inner pages sit on the green panel ────────────────── */
section.mint .films { margin-top: 44px; }

/* ── Narrow screens ─────────────────────────────────────────────────── */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero.ink { padding: 48px 0 80px; }
  .hero.ink .wrap, .two { grid-template-columns: 1fr; gap: 44px; }
  .phone { margin: 0 auto; }
  .cards.c2, .cards.c3 { grid-template-columns: 1fr; }
  section.mint { border-radius: 36px; margin: 0 8px; }
  section.ink.close { border-radius: 36px 36px 0 0; padding: 90px 0; }
}
@media (max-width: 560px) {
  .card { padding: 26px 22px 28px; }
  .phone { padding: 7px; border-radius: 32px; }
  .phone-inner { padding: 16px 13px 18px; border-radius: 26px; }
  .msg { max-width: 94%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* Fixes after the first look (26 Sep). */
.figs { grid-template-columns: 1fr; margin-top: 0; }
section.mint .faq details { color: var(--ink); }
.screen img { width: 100%; }
section.ink.close .pull cite { color: rgb(255 255 255 / .62); }

/* Phone screens are light, like a real WhatsApp chat: the frame stays dark. */
.phone-inner { background: #F4F1E6; color: var(--ink); }
.phone-head { border-bottom-color: rgb(27 27 26 / .1); }
.phone-head .who { color: var(--ink); }
.phone-head .where { color: #1E9A58; }
.msg { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
.msg.me { background: #D9FDD3; }
.msg .meta, .card-quote .k { color: #6F6D63; }
.msg .meta.ok, .msg .tick { color: #0E7A55; }
.msg .cite { color: #0E7A55; background: #EAF6EE; border-radius: 6px; padding: 0 5px; opacity: 1; }
.msg strong { color: var(--ink); }
