/* Triquid Notes page: the original design, for the page's editable blocks.
   Every rule is scoped to .tqn, the group that wraps the page. */

/* Blocks bring WordPress's flow spacing; the design sets its own. Later rules win on equal weight. */
.tqn.is-layout-flow>*,.tqn .is-layout-flow>*{margin-block:0}
.tqn figure.wp-block-image{margin:0}
.tqn .wp-block-image img{height:auto}

body:has(.tqn){overflow-x:clip}
.tqn{--tqn-lh:26.35px;--tqn-ink:#1d1d1f;--tqn-soft:#6e6c68;--tqn-card:#f6f4f1;--tqn-line:rgba(0,0,0,.08);--tqn-coral:#e8776f;--tqn-leaf:#4f9a4a;font-size:17px;line-height:1.55;color:var(--tqn-ink)}
.tqn *{box-sizing:border-box}
.tqn .tqn-bleed{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}
.tqn .tqn-hero{overflow:hidden;color:#f3f1ec;background:radial-gradient(120% 80% at 50% 0%,#17384a 0%,#13222c 45%,#141114 100%);padding:88px 20px 0;text-align:center;border-radius:0 0 36px 36px}
.tqn .tqn-hero:before,.tqn .tqn-hero:after,.tqn .tqn-hero-inner:after{content:"";position:absolute;border-radius:50%;filter:blur(60px);opacity:.55;pointer-events:none;animation:tqn-drift 18s ease-in-out infinite alternate}
.tqn .tqn-hero:before{width:420px;height:420px;background:#2f7d6b;top:-120px;left:-80px}
.tqn .tqn-hero:after{width:360px;height:360px;background:#e8776f;top:40px;right:-120px;opacity:.35;animation-duration:22s}
.tqn .tqn-hero-inner:after{width:300px;height:300px;background:#5b8def;top:calc(100% + 120px);left:10%;z-index:-1;opacity:.25;animation-duration:26s}
@keyframes tqn-drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(40px,30px,0) scale(1.12)}}
.tqn .tqn-hero-inner{position:relative;z-index:1;max-width:820px;margin:0 auto}
.tqn .tqn-hero .tqn-icon{width:132px;height:132px;margin:0 auto;overflow:hidden;border-radius:30px;box-shadow:0 30px 60px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08);animation:tqn-float 6s ease-in-out infinite}
@keyframes tqn-float{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-10px) rotate(2deg)}}
.tqn .tqn-hero h1{font-size:clamp(40px,7vw,68px);line-height:1.05;margin:28px 0 12px;letter-spacing:-.02em;color:#fff}
.tqn .tqn-hero h1 em{font-style:normal;background:linear-gradient(90deg,#f2a29b,#e8776f 40%,#9fd39a);-webkit-background-clip:text;background-clip:text;color:transparent}
.tqn .tqn-lead{font-size:clamp(18px,2.4vw,22px);color:rgba(243,241,236,.82);max-width:620px;margin:0 auto 28px}
.tqn .tqn-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:56px}
.tqn .tqn-pills .wp-block-button__link{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;font-weight:600;font-size:15px;text-decoration:none!important;transition:transform .2s ease,background .2s ease}
.tqn .tqn-pills .wp-block-button__link:hover{transform:translateY(-2px)}
.tqn .tqn-pills .wp-block-button__link{background:var(--tqn-coral);color:#1b1212!important}
.tqn .tqn-pills .is-style-ghost .wp-block-button__link{background:rgba(255,255,255,.08);color:#f3f1ec!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.tqn .tqn-stage{position:relative;z-index:1;max-width:1080px;margin:0 auto;height:clamp(320px,56vw,620px);overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,#000 70%,transparent);mask-image:linear-gradient(to bottom,#000 70%,transparent)}
.tqn .tqn-ipad{position:absolute;left:6%;top:0;width:66%;border-radius:28px;padding:10px;background:#0b0b0d;box-shadow:0 40px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.08);animation:tqn-rise 1.2s cubic-bezier(.2,.8,.2,1) both}
.tqn .tqn-iphone{position:absolute;right:8%;top:90px;width:24%;border-radius:36px;padding:7px;background:#0b0b0d;box-shadow:0 40px 80px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.1);animation:tqn-rise 1.2s .25s cubic-bezier(.2,.8,.2,1) both}
.tqn .tqn-ipad img,.tqn .tqn-iphone img{display:block;width:100%;height:auto;border-radius:20px}
.tqn .tqn-iphone img{border-radius:30px}
@keyframes tqn-rise{from{opacity:0;transform:translateY(80px)}to{opacity:1;transform:none}}
.tqn .tqn-section{max-width:1080px;margin:96px auto 0;padding:0 20px}
.tqn .tqn-eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tqn-coral);margin:0 0 10px}
.tqn h2.tqn-title{font-size:clamp(30px,4.4vw,44px);line-height:1.1;letter-spacing:-.015em;margin:0 0 14px}
.tqn .tqn-sub{color:var(--tqn-soft);max-width:640px;margin:0 0 40px}
.tqn .tqn-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.tqn .tqn-card{background:var(--tqn-card);border-radius:22px;padding:26px;box-shadow:inset 0 0 0 1px var(--tqn-line);transition:transform .3s ease,box-shadow .3s ease}
.tqn .tqn-card:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1px var(--tqn-line),0 18px 40px rgba(0,0,0,.08)}
.tqn .tqn-card h3{font-size:19px;margin:14px 0 6px}
.tqn .tqn-card p{margin:0;color:var(--tqn-soft);font-size:16px}
.tqn .tqn-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.tqn .tqn-split.flip .tqn-split-media{order:-1}
.tqn .tqn-split-media{display:flex;justify-content:center;gap:18px}
.tqn .tqn-phone{width:min(260px,44%);border-radius:34px;padding:7px;background:#0b0b0d;box-shadow:0 30px 60px rgba(0,0,0,.22)}
.tqn .tqn-phone img{display:block;width:100%;border-radius:28px}
.tqn .tqn-phone.tilt-l{transform:rotate(-4deg) translateY(16px)}
.tqn .tqn-phone.tilt-r{transform:rotate(4deg)}
.tqn .tqn-list{list-style:none;padding:0;margin:0}
.tqn .tqn-list li{padding:10px 0 10px 32px;position:relative;border-top:1px solid var(--tqn-line)}
.tqn .tqn-list li:first-child{border-top:0}
.tqn .tqn-list li:before{content:"";position:absolute;left:0;top:15px;width:18px;height:18px;border-radius:6px;background:var(--tqn-coral);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat}
.tqn .tqn-duo{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.tqn .tqn-duo figure{margin:0}
.tqn .tqn-duo img{display:block;width:100%;border-radius:22px;box-shadow:0 24px 50px rgba(0,0,0,.18)}
.tqn .tqn-duo figcaption{color:var(--tqn-soft);font-size:15px;margin-top:10px;text-align:center}
.tqn .tqn-quote{background:linear-gradient(135deg,#17384a,#141114);color:#f3f1ec;border-radius:32px;padding:clamp(32px,6vw,64px);position:relative;overflow:hidden}
.tqn .tqn-quote:before{content:"\201C";position:absolute;top:-30px;left:24px;font-size:220px;line-height:1;color:rgba(232,119,111,.25);font-family:Georgia,serif}
.tqn .tqn-quote .tqn-quote-text{margin:0;border:0;padding:0;font-size:clamp(22px,3vw,30px);line-height:1.35;position:relative;font-style:normal}
.tqn .tqn-quote .tqn-quote-by{display:flex;align-items:center;gap:14px;margin-top:28px;font-style:normal;font-size:16px;color:rgba(243,241,236,.75)}
.tqn .tqn-quote .tqn-quote-by img{display:block;width:44px;height:44px;border-radius:12px}
.tqn .tqn-quote .tqn-quote-by strong{color:#fff;display:block}
.tqn .tqn-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.tqn .tqn-spec{border-radius:20px;padding:22px;box-shadow:inset 0 0 0 1px var(--tqn-line)}
.tqn .tqn-spec h3{font:inherit;letter-spacing:normal;font-weight:700;display:block;font-size:15px;margin-bottom:4px}
.tqn .tqn-spec p{margin:0;color:var(--tqn-soft);font-size:15px;line-height:var(--tqn-lh)}
.tqn .tqn-cta{text-align:center;margin:96px auto 24px;max-width:720px;padding:0 20px}
.tqn .tqn-cta figure img{display:inline-block;width:84px;height:84px;border-radius:20px;box-shadow:0 16px 30px rgba(0,0,0,.18)}
.tqn .tqn-cta .tqn-pills{margin:20px 0 10px}
.tqn .tqn-cta .tqn-pills .is-style-ghost .wp-block-button__link{color:var(--tqn-ink)!important;background:var(--tqn-card);box-shadow:inset 0 0 0 1px var(--tqn-line)}
.tqn .tqn-fine{color:var(--tqn-soft);font-size:14px}
.tqn-js .tqn-reveal{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.tqn-js .tqn-reveal.is-in{opacity:1;transform:none}
.tqn-js .tqn-grid .tqn-reveal:nth-child(2){transition-delay:.08s}
.tqn-js .tqn-grid .tqn-reveal:nth-child(3){transition-delay:.16s}
.tqn-js .tqn-grid .tqn-reveal:nth-child(4){transition-delay:.08s}
.tqn-js .tqn-grid .tqn-reveal:nth-child(5){transition-delay:.16s}
.tqn-js .tqn-grid .tqn-reveal:nth-child(6){transition-delay:.24s}
.tqn .tqn-duo-wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.tqn .tqn-duo-stage{position:relative;height:clamp(380px,46vw,520px);display:grid;place-items:center;background:radial-gradient(70% 60% at 50% 45%,rgba(94,196,182,.18),transparent 70%);border-radius:32px}
.tqn .tqn-duo-dev{--w:560px;position:relative;width:min(var(--w),92%);aspect-ratio:951/669;border-radius:30px;padding:9px;background:#0b0b0d;box-shadow:0 34px 70px rgba(0,0,0,.28),0 0 0 1px rgba(0,0,0,.2);animation:tqn-duo-shape 12s cubic-bezier(.65,0,.35,1) infinite}
.tqn .tqn-duo-dev:after{content:"";position:absolute;left:50%;top:9px;bottom:9px;width:2px;margin-left:-1px;background:linear-gradient(rgba(255,255,255,.05),rgba(255,255,255,.12),rgba(255,255,255,.05));animation:tqn-duo-hinge 12s infinite;pointer-events:none}
.tqn .tqn-duo-screen{position:relative;width:100%;height:100%;border-radius:22px;overflow:hidden;background:#111}
.tqn .tqn-duo-screen figure{opacity:0}
.tqn .tqn-duo-screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tqn .tqn-duo-screen .s1{animation:tqn-duo-s1 12s infinite}
.tqn .tqn-duo-screen .s2{animation:tqn-duo-s2 12s infinite}
.tqn .tqn-duo-screen .s3{animation:tqn-duo-s3 12s infinite}
@keyframes tqn-duo-shape{
 0%,26%{aspect-ratio:951/669;width:min(560px,92%);transform:rotate(0)}
 31%{transform:rotate(-8deg)}
 36%,60%{aspect-ratio:669/951;width:min(300px,56%);transform:rotate(0)}
 68%,88%{aspect-ratio:466/678;width:min(212px,40%);transform:rotate(0)}
 96%,100%{aspect-ratio:951/669;width:min(560px,92%);transform:rotate(0)}}
@keyframes tqn-duo-hinge{0%,26%{opacity:1;transform:none}36%,60%{opacity:1;transform:rotate(90deg) scaleY(.7)}64%,92%{opacity:0}96%,100%{opacity:1;transform:none}}
@keyframes tqn-duo-s1{0%,27%{opacity:1}33%,93%{opacity:0}98%,100%{opacity:1}}
@keyframes tqn-duo-s2{0%,29%{opacity:0}35%,61%{opacity:1}66%,100%{opacity:0}}
@keyframes tqn-duo-s3{0%,63%{opacity:0}68%,89%{opacity:1}95%,100%{opacity:0}}
.tqn .tqn-duo-steps{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:10px}
.tqn .tqn-duo-steps li{position:relative;padding:14px 16px 14px 42px;color:var(--tqn-soft);font-size:15px;line-height:var(--tqn-lh);border-radius:16px;box-shadow:inset 0 0 0 1px var(--tqn-line);transition:background .3s}
.tqn .tqn-duo-steps strong{display:block;color:var(--tqn-ink);font-size:17px}
.tqn .tqn-duo-steps li:before{content:"";position:absolute;left:16px;top:20px;width:12px;height:12px;border-radius:50%;background:var(--tqn-line)}
.tqn .tqn-duo-steps li:nth-child(1):before{animation:tqn-duo-d1 12s infinite}
.tqn .tqn-duo-steps li:nth-child(2):before{animation:tqn-duo-d2 12s infinite}
.tqn .tqn-duo-steps li:nth-child(3):before{animation:tqn-duo-d3 12s infinite}
@keyframes tqn-duo-d1{0%,28%{background:#5ec4b6}33%,93%{background:rgba(0,0,0,.08)}98%,100%{background:#5ec4b6}}
@keyframes tqn-duo-d2{0%,30%{background:rgba(0,0,0,.08)}35%,61%{background:#5ec4b6}66%,100%{background:rgba(0,0,0,.08)}}
@keyframes tqn-duo-d3{0%,63%{background:rgba(0,0,0,.08)}68%,89%{background:#5ec4b6}95%,100%{background:rgba(0,0,0,.08)}}
@media (max-width:760px){.tqn .tqn-duo-wrap{grid-template-columns:1fr;gap:28px}
.tqn .tqn-duo-stage{height:clamp(300px,80vw,420px)}}
@media (prefers-reduced-motion:reduce){.tqn .tqn-duo-screen .s1{opacity:1}}
.tqn .tqn-ai-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:40px}
.tqn .tqn-ai{border-radius:18px;padding:18px;box-shadow:inset 0 0 0 1px var(--tqn-line)}
.tqn .tqn-ai h3{font:inherit;letter-spacing:normal;font-weight:700;margin-top:0;display:block;margin-bottom:4px}
.tqn .tqn-ai p:not(.tqn-ai-tag){margin:0;color:var(--tqn-soft);font-size:15px;line-height:var(--tqn-lh)}
.tqn .tqn-ai .tqn-ai-tag{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7b5cd6;margin:0;line-height:var(--tqn-lh)}
.tqn .tqn-trilium{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
@media (max-width:640px){.tqn .tqn-trilium{grid-template-columns:1fr}}
.tqn .tqn-trilium .tqn-card h3{margin-top:4px}
.tqn .tqn-faq{max-width:780px}
.tqn .tqn-faq details{border-top:1px solid var(--tqn-line);padding:18px 0}
.tqn .tqn-faq details:last-child{border-bottom:1px solid var(--tqn-line)}
.tqn .tqn-faq summary{cursor:pointer;font-weight:600;font-size:18px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.tqn .tqn-faq summary::-webkit-details-marker{display:none}
.tqn .tqn-faq summary:after{content:"+";display:inline-block;color:var(--tqn-coral);font-weight:400;font-size:24px;line-height:1;transition:transform .25s}
.tqn .tqn-faq details[open] summary:after{transform:rotate(45deg)}
.tqn .tqn-faq details p{color:var(--tqn-soft);margin:12px 0 0}
@media (max-width:760px){.tqn .tqn-split{grid-template-columns:1fr;gap:32px}
.tqn .tqn-split.flip .tqn-split-media{order:0}
.tqn .tqn-duo{grid-template-columns:1fr}
.tqn .tqn-hero{padding-top:64px}
.tqn .tqn-stage{height:clamp(300px,96vw,520px)}
.tqn .tqn-ipad{left:0;width:80%}
.tqn .tqn-iphone{right:0;width:36%;top:60px}}
@media (prefers-reduced-motion:reduce){.tqn *,.tqn *:before,.tqn *:after{animation:none!important;transition:none!important}
.tqn-js .tqn-reveal{opacity:1;transform:none}}

/* Feature card badges: k1-k6 on a card draw its colored tile (:before) and white icon (:after). */
.tqn .tqn-card[class*="k"]{position:relative}
.tqn .tqn-card.k1:before,.tqn .tqn-card.k2:before,.tqn .tqn-card.k3:before,.tqn .tqn-card.k4:before,.tqn .tqn-card.k5:before,.tqn .tqn-card.k6:before{content:"";display:block;width:46px;height:46px;border-radius:14px;background:var(--k-bg)}
.tqn .tqn-card.k1:after,.tqn .tqn-card.k2:after,.tqn .tqn-card.k3:after,.tqn .tqn-card.k4:after,.tqn .tqn-card.k5:after,.tqn .tqn-card.k6:after{content:"";position:absolute;left:37px;top:37px;width:24px;height:24px;background:#fff;-webkit-mask:var(--k-icon) center/contain no-repeat;mask:var(--k-icon) center/contain no-repeat}
.tqn .tqn-card.k1{--k-bg:linear-gradient(135deg,#b06ef0,#5b8def);--k-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l1.8 4.6L18 9.4l-4.2 1.8L12 16l-1.8-4.8L6 9.4l4.2-1.8z%22/%3E%3Cpath d=%22M19 15l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z%22/%3E%3C/svg%3E")}
.tqn .tqn-card.k2{--k-bg:linear-gradient(135deg,#f2a29b,#e8776f);--k-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22/%3E%3C/svg%3E")}
.tqn .tqn-card.k3{--k-bg:linear-gradient(135deg,#5ec4b6,#2f7d6b);--k-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 3l18 18%22/%3E%3Cpath d=%22M8.5 8.5A5 5 0 0 0 6 18h11%22/%3E%3Cpath d=%22M12.5 6.1A6 6 0 0 1 18 11a4 4 0 0 1 2.7 6.4%22/%3E%3C/svg%3E")}
.tqn .tqn-card.k4{--k-bg:linear-gradient(135deg,#f6c453,#ef8e3b);--k-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 7h6l2 2h10v10H3z%22/%3E%3C/svg%3E")}
.tqn .tqn-card.k5{--k-bg:linear-gradient(135deg,#7aa7ff,#3b6fe0);--k-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22M21 21l-4.3-4.3%22/%3E%3C/svg%3E")}
.tqn .tqn-card.k6{--k-bg:linear-gradient(135deg,#9fd39a,#4f9a4a);--k-icon:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3a9 9 0 1 0 0 18c1.1 0 1.6-.9 1.2-1.8-.5-1.2.2-2.2 1.4-2.2H17a4 4 0 0 0 4-4c0-5-4-10-9-10z%22/%3E%3Ccircle cx=%227.5%22 cy=%2211%22 r=%221%22/%3E%3Ccircle cx=%2211%22 cy=%227.5%22 r=%221%22/%3E%3Ccircle cx=%2215.5%22 cy=%228.5%22 r=%221%22/%3E%3C/svg%3E")}

/* The original ran the 15px texts of tiles and steps inline in a 17px line: --tqn-lh keeps that line height.
   Inline styles the original carried, as classes. */
.tqn .tqn-sub.tqn-flush{margin-bottom:0}
.tqn .tqn-cta .tqn-title{margin-top:22px}
.tqn .tqn-cta .tqn-sub{margin:0 auto}
.tqn .tqn-cta .tqn-fine{margin-top:16px}
.tqn .tqn-pills{justify-content:center}
.tqn .tqn-split .tqn-sub:last-child{margin-bottom:0}
.tqn .tqn-duo figcaption{margin-bottom:0}
/* The original's icons were inline images, standing on a text line a few pixels taller than they are:
   the heading below takes that extra room (on the icon itself it would collapse into the heading's margin). */
.tqn .tqn-hero .tqn-icon+h1{margin-top:36px}
.tqn .tqn-cta figure+.tqn-title{margin-top:28px}
.tqn .tqn-ai .tqn-ai-tag{margin-bottom:3px}
