/* /get: a clickable copy of the GreenCube window (Hector 11 Nov 23:04). Nothing here runs AI: it replays example
   answers so a visitor gets a feel for the app before buying. Looks follow the real app (sidebar, composer, cards,
   side panel, slide styles). */
.gd { padding: 70px 0 30px; }
.gd-head { text-align: center; margin: 0 auto 26px; padding: 0 20px; }
.gd-head h2 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 8px; }
.gd-head p { margin: 0; color: var(--ink-soft, #55524A); font-size: 16.5px; }
.gd-win { --ap: #E9E4DA; --ap2: #F2EEE6; --ink: #1F1E1B; --mute: #77736A; --line: rgba(31,30,27,.10); --moss: #7E8A5A;
  position: relative; width: min(1120px, calc(100% - 32px)); height: 640px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr;
  border-radius: 18px; overflow: hidden; background: var(--ap); border: 1px solid rgba(26,26,26,.12);
  box-shadow: 0 2px 6px rgba(72,82,47,.10), 0 40px 90px -30px rgba(72,82,47,.45); font-family: var(--sans, system-ui); color: var(--ink); text-align: left; }
.gd-side { background: #E3DDD1; border-right: 1px solid var(--line); padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; min-width: 0; }
.gd-logo { display: flex; align-items: center; gap: 8px; font-family: Georgia, serif; font-weight: 700; font-size: 18px; padding: 2px 8px 12px; }
.gd-logo i { width: 15px; height: 15px; border: 1.6px solid var(--ink); border-radius: 4px; }
.gd-tabs { display: flex; background: #D9D2C4; border-radius: 10px; padding: 3px; margin-bottom: 8px; }
.gd-tabs span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; color: var(--mute); }
.gd-tabs span.on { background: #F4F0E8; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gd-new { background: #C9CDAE; color: #3C4228; font-weight: 600; border-radius: 10px; padding: 8px 12px; margin-bottom: 6px; cursor: pointer; border: 0; text-align: left; font: inherit; }
.gd-nav { padding: 7px 12px; color: #4A4740; border-radius: 8px; }
.gd-rec { margin: 12px 10px 4px; font-size: 11.5px; color: var(--mute); }
.gd-side .gd-r { padding: 6px 12px; color: #4A4740; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-side .gd-r.on { background: #D6CFC1; }
.gd-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.gd-chat { flex: 1; overflow-y: auto; padding: 26px clamp(18px, 4vw, 54px) 10px; scroll-behavior: smooth; }
.gd-hello { text-align: center; margin-top: 70px; }
.gd-hello h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; }
.gd-hello p { margin: 0; color: var(--mute); font-size: 14px; }
.gd-msg { display: flex; margin: 0 0 14px; animation: gd-in .35s ease both; }
.gd-msg.u { justify-content: flex-end; }
.gd-msg.u span { background: #DCD5C7; padding: 10px 15px; border-radius: 16px 16px 4px 16px; max-width: 75%; font-size: 14.5px; line-height: 1.45; }
.gd-msg.a { flex-direction: column; font-size: 14.5px; line-height: 1.55; max-width: 92%; }
.gd-dots { display: inline-flex; gap: 5px; padding: 6px 0; }
.gd-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); animation: gd-dot 1s ease-in-out infinite; }
.gd-dots i:nth-child(2) { animation-delay: .15s; } .gd-dots i:nth-child(3) { animation-delay: .3s; }
.gd-card { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #F6F1DF;
  border: 1.5px solid #E3CF8E; cursor: pointer; max-width: 460px; text-align: left; font: inherit; color: inherit; transition: transform .2s; }
.gd-card:hover { transform: translateY(-1px); }
.gd-card .ic { width: 38px; height: 38px; border-radius: 10px; background: #EFE3B8; display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.gd-card small { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }
.gd-card b { display: block; font-size: 14.5px; }
.gd-card em { font-style: normal; font-size: 12.5px; color: var(--mute); }
.gd-card .open { margin-left: auto; color: var(--moss); font-weight: 600; font-size: 13px; white-space: nowrap; }
.gd-note { font-size: 11.5px; color: var(--mute); margin-top: 6px; }
.gd-follow { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.gd-follow button, .gd-chips button { font: inherit; font-size: 13px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(31,30,27,.18);
  background: #F4F0E8; cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s; }
.gd-follow button:hover, .gd-chips button:hover { background: #fff; border-color: rgba(31,30,27,.4); }
.gd-compose { margin: 0 clamp(18px, 4vw, 54px) 8px; background: #F4F0E8; border: 1px solid rgba(31,30,27,.14); border-radius: 18px; padding: 12px 14px 10px; }
.gd-input { min-height: 44px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.gd-input.ph { color: var(--mute); }
.gd-input .cur { display: inline-block; width: 1.5px; height: 1.1em; background: var(--ink); vertical-align: -2px; margin-left: 1px; animation: gd-blink 1s steps(1) infinite; }
.gd-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.gd-plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(31,30,27,.2); display: grid; place-items: center; color: var(--mute); }
.gd-eng { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(31,30,27,.18); color: #4A4740; }
.gd-send { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #1F1E1B; color: #F4F0E8; cursor: pointer; font-size: 16px;
  box-shadow: 0 0 0 0 rgba(126,138,90,.5); animation: gd-pulse 2.2s ease-in-out infinite; }
.gd-send:disabled { background: #BDB7AA; animation: none; cursor: default; }
.gd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 16px 6px; }
.gd-foot { text-align: center; font-size: 11.5px; color: var(--mute); padding: 4px 0 12px; }
/* side panel */
.gd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 56%); background: #F1ECE3; border-left: 1px solid var(--line);
  transform: translateX(102%); transition: transform .45s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; z-index: 3; }
.gd-panel.on { transform: none; }
.gd-ph { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.gd-ph small { display: block; font-size: 10.5px; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }
.gd-ph b { font-size: 16px; }
.gd-ph .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.gd-ph .acts button { font: inherit; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(31,30,27,.18); background: #F8F5EE; cursor: pointer; color: var(--ink); }
.gd-ph .acts .x { border: 0; background: none; font-size: 18px; padding: 2px 6px; color: var(--mute); }
.gd-pb { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.gd-tip { position: absolute; z-index: 5; background: #1F1E1B; color: #F4F0E8; font-size: 12px; padding: 6px 10px; border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.gd-label { text-align: center; font-size: 12.5px; color: var(--ink-mute, #6B6455); margin: 14px auto 0; padding: 0 20px; max-width: 760px; }
.gd-cta { text-align: center; margin-top: 18px; }
/* slides: drawn from the app's exported scenes (same boxes, fonts and colours as the app) */
.scn { position: relative; width: 100%; aspect-ratio: 16 / 9; flex: 0 0 auto; overflow: hidden; container-type: inline-size; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.10); animation: gd-in .4s ease both; }
.scn > span, .scn > div { position: absolute; }
.gd-styles { display: none; max-height: 52%; overflow-y: auto; padding: 10px 16px 12px; border-bottom: 1px solid var(--line); background: #ECE6DB; flex: 0 0 auto; }
.gd-styles.on { display: block; }
.gd-mood small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 8px 0 6px; }
.gd-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gd-look { font: inherit; font-size: 11.5px; padding: 4px; border-radius: 10px; border: 1.5px solid transparent; background: #F8F5EE; cursor: pointer; color: var(--ink); text-align: center; }
.gd-look .scn { border-radius: 6px; box-shadow: none; animation: none; }
.gd-look span { display: block; margin-top: 4px; }
.gd-look.on { border-color: #1F1E1B; }
.gd-paint { display: flex; gap: 12px; align-items: center; background: #F4F0E8; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; max-width: 420px; }
.gd-turtle { font-size: 26px; animation: gd-dot 1.4s ease-in-out infinite; }
.gd-paint small { color: var(--mute); font-size: 12px; }
.gd-bar2 { height: 6px; border-radius: 99px; background: #E0D9CC; overflow: hidden; margin: 6px 0; width: 240px; max-width: 100%; }
.gd-bar2 i { display: block; height: 100%; width: 0; background: var(--moss); animation: gd-fill 3s linear forwards; }
@keyframes gd-fill { to { width: 100%; } }
.gd-ul { margin: 6px 0 0; padding-left: 18px; } .gd-ul li { margin: 3px 0; }
.gd-fig { margin: 10px 0 0; background: #FAF7F0; border: 1px solid var(--line); border-radius: 14px; padding: 10px; max-width: 520px; }
.gd-fig img, .gd-pic img { display: block; width: 100%; height: auto; border-radius: 10px; }
.gd-fig figcaption, .gd-pic figcaption { font-size: 12px; color: var(--mute); margin-top: 8px; line-height: 1.45; }
.gd-pic { margin: 0; }
/* quiz + flashcards */
.qz { background: #FAF7F0; border: 1px solid var(--line); border-radius: 12px; padding: 14px; animation: gd-in .4s ease both; }
.qz p { margin: 0 0 10px; font-weight: 600; font-size: 14px; line-height: 1.4; }
.qz button { display: flex; gap: 10px; width: 100%; text-align: left; font: inherit; font-size: 13.5px; padding: 9px 12px; margin-top: 6px; border-radius: 10px;
  border: 1px solid rgba(31,30,27,.14); background: #fff; cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s; }
.qz button i { font-style: normal; font-weight: 700; color: var(--mute); width: 1.2em; }
.qz button.ok { background: #E3F0D8; border-color: #7E9A5C; } .qz button.no { background: #F6DEDA; border-color: #C9776B; }
.qz-score { font-size: 13px; color: var(--mute); }
@keyframes gd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes gd-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes gd-blink { 50% { opacity: 0; } }
@keyframes gd-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(126,138,90,.0); } 50% { box-shadow: 0 0 0 6px rgba(126,138,90,.25); } }

/* sidebar buttons, views */
.gd-side button { font: inherit; text-align: left; border: 0; background: none; color: inherit; cursor: pointer; }
.gd-tabs button { flex: 1; text-align: center !important; padding: 6px 0; border-radius: 8px; color: var(--mute) !important; }
.gd-tabs button.on { background: #F4F0E8 !important; color: var(--ink) !important; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gd-nav.on, button.gd-nav:hover { background: #D6CFC1 !important; }
.gd-count { float: right; font-size: 11.5px; color: var(--mute); }
.gd-view { flex: 1; min-height: 0; overflow-y: auto; }
.gd-arts { padding: 26px clamp(18px, 4vw, 44px); }
.gd-vh h3 { font-family: Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 4px; }
.gd-vh p { margin: 0 0 18px; color: var(--mute); font-size: 13.5px; }
.gd-empty { padding: 40px; text-align: center; color: var(--mute); border: 1.5px dashed rgba(31,30,27,.18); border-radius: 14px; }
.gd-agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gd-art { font: inherit; text-align: left; padding: 8px 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: #F6F2EA; cursor: pointer; color: var(--ink); transition: transform .2s; }
.gd-art:hover { transform: translateY(-2px); }
.gd-art .th { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #E6E0D4; display: grid; place-items: center; margin-bottom: 8px; }
.gd-art .th img { width: 100%; height: 100%; object-fit: cover; }
.gd-art .th .scn { animation: none; box-shadow: none; border-radius: 0; }
.gd-big { font-size: 34px; }
.gd-art small { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 0 4px; }
.gd-art b { display: block; font-size: 13.5px; padding: 0 4px; }
/* flashcards like the app (wisteria theme) */
.fd { display: grid; gap: 12px; }
.fd-card { perspective: 1200px; cursor: pointer; border-radius: 16px; outline: none; }
.fd-card:focus-visible { box-shadow: 0 0 0 2px #3D5E93; }
.fd-in { position: relative; aspect-ratio: 16 / 10; transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.fd-card.flip .fd-in { transform: rotateY(180deg); }
.fd-f, .fd-b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  padding: 6% 8%; box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.fd-f { background: #F4F7FD; border: 1px solid rgba(74,88,116,.2); }
.fd-f > i { position: absolute; top: 0; bottom: 0; left: 0; width: 1.6%; background: #8EABE1; }
.fd-b { background: #3D5E93; transform: rotateY(180deg); }
.fd-top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3D5E93; }
.fd-b .fd-top { color: #C9D7F2; }
.fd-txt { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-family: Literata, Georgia, 'Times New Roman', serif; color: #15213A; }
.fd-b .fd-txt { color: #F4F7FD; }
.fd-txt.xl { font-size: 24px; line-height: 1.33; } .fd-txt.l { font-size: 20px; line-height: 1.4; } .fd-txt.m { font-size: 16px; line-height: 1.5; }
.fd-hint { text-align: center; font-size: 11px; color: #4A5874; opacity: .7; }
.fd-rule { margin: 12px auto 0; width: 48px; height: 3px; border-radius: 99px; background: #8EABE1; }
.fd-prog { height: 6px; border-radius: 99px; background: rgba(142,171,225,.2); overflow: hidden; }
.fd-prog i { display: block; height: 100%; border-radius: 99px; background: #3D5E93; transition: width .3s; }
.fd-ctl { display: flex; justify-content: center; align-items: center; gap: 8px; }
.fd-r { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(31,30,27,.25); background: none; cursor: pointer; font-size: 15px; color: var(--ink); transition: transform .2s; }
.fd-r:hover:not(:disabled) { transform: scale(1.05); } .fd-r:disabled { opacity: .35; cursor: default; }
.fd-show { height: 36px; padding: 0 20px; border-radius: 99px; border: 0; background: #3D5E93; color: #F4F7FD; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.fd-show:hover { filter: brightness(1.1); }
@media (max-width: 860px) {
  .gd-win { grid-template-columns: 1fr; height: 620px; }
  .gd-side { display: none; }
  .gd-panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .gd-send, .gd-dots i, .gd-input .cur { animation: none; } .gd-panel { transition: none; } }

.gd-win [hidden] { display: none !important; }
.gd-imgs:not([hidden]) { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.gi-top { flex: 1; min-height: 0; overflow-y: auto; padding: 26px clamp(18px, 4vw, 44px) 10px; }
.gi-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gi-lib .gd-empty { grid-column: 1 / -1; }
.gi-th { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #E6E0D4; padding: 0; cursor: pointer; animation: gd-in .4s ease both; }
.gi-th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gi-th:hover img { transform: scale(1.04); }
.gi-drawing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px; text-align: center; cursor: default; font-size: 13px; }
.gi-drawing small { font-size: 11px; color: var(--mute); } .gi-drawing .gd-bar2 { width: 80%; }
.gi-bottom { flex: 0 0 auto; }
.gi-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 16px 8px; }
.gi-opts button { font: inherit; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(31,30,27,.18); background: #F4F0E8; cursor: pointer; color: var(--ink); }
.gi-opts button:hover { background: #fff; } .gi-opts button.done { opacity: .55; }
.gi-big { position: absolute; inset: 0; z-index: 4; background: #ECE6DB; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; padding: 20px; align-items: center; animation: gd-in .3s ease both; }
.gi-big img { width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); }
.gi-x { position: absolute; top: 12px; left: 12px; font: inherit; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(31,30,27,.18); background: #F8F5EE; cursor: pointer; z-index: 1; }
.gi-meta b { font-size: 16px; } .gi-meta p { font-size: 13.5px; color: #4A4740; line-height: 1.5; } .gi-meta small { font-size: 12px; color: var(--mute); line-height: 1.45; display: block; }
@media (max-width: 860px) { .gi-big { grid-template-columns: 1fr; align-content: start; overflow-y: auto; padding-top: 50px; } }

/* the turtle says "Click here" next to the send button, until the first message is sent */
.gd-bar { position: relative; }
.gd-click { position: absolute; right: 14px; bottom: calc(100% - 10px); z-index: 2; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.gd-click b { position: relative; margin-bottom: 46px; background: #FDFBF5; color: #1F1E1B; font-size: 16px; font-weight: 700; white-space: nowrap; padding: 7px 13px; border-radius: 14px;
  border: 1.5px solid #1F1E1B; box-shadow: 2px 3px 0 rgba(31,30,27,.18); animation: gd-bob 1.6s ease-in-out infinite; }
.gd-click b::after { content: ''; position: absolute; right: -7px; bottom: 9px; width: 11px; height: 11px; background: #FDFBF5; border-right: 1.5px solid #1F1E1B; border-bottom: 1.5px solid #1F1E1B; transform: rotate(-45deg); }
.gd-click img { width: 84px; height: auto; transform: scaleX(-1); }
.gd-compose { position: relative; }
@keyframes gd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .gd-click { animation: none; } }

/* "Try it" at the top of the hero, an arrow down to the demo */
.try-it { display: inline-flex; flex-direction: column; align-items: center; gap: 0; margin: 14px auto 0; color: #2F6B45; text-decoration: none; }
.try-it span { white-space: nowrap; font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; font-weight: 700; font-size: 34px; transform: rotate(-3deg); }
.try-it svg { width: 50px; height: 78px; animation: gd-down 1.6s ease-in-out infinite; }
.try-it:hover span { text-decoration: underline; text-underline-offset: 4px; }
@keyframes gd-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero > .try-it { position: absolute; z-index: 6; margin: 0; align-items: flex-start; }
.hero > .try-it svg.long { width: 60px; height: 150px; margin-left: 10px; }
@media (max-width: 760px) { .hero .wrap > .try-it { position: static; margin: 10px auto 0; align-items: center; } .hero > .try-it svg.long { height: 60px; } }
#try { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) { .try-it svg { animation: none; } }

/* /get: "Try it right here" at the window's top-right corner, arrow into the window */
.gd-try { width: max-content; position: absolute; z-index: 5; left: calc(100% + 10px); top: -6px; display: flex; flex-direction: column; align-items: flex-start; color: #2F6B45; pointer-events: none; }
.gd-try span { font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; font-weight: 700; font-size: 30px; line-height: 1.1; transform: rotate(-4deg); white-space: nowrap; }
.gd-try svg { width: 110px; height: 64px; margin-top: 2px; animation: gd-nudge2 1.8s ease-in-out infinite; }
@keyframes gd-nudge2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, 3px); } }
@media (max-width: 1599px) { .gd .gd-head { margin-bottom: 84px; } .gd-try { left: auto; right: 10px; top: auto; bottom: calc(100% + 4px); flex-direction: row; align-items: flex-end; } .gd-try svg { width: 70px; height: 46px; transform: scaleX(-1) rotate(20deg); animation: none; } }
@media (prefers-reduced-motion: reduce) { .gd-try svg { animation: none; } }

.gd-wrap { position: relative; width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.gd-wrap > .gd-win { width: 100%; }
